diff
stringlengths
41
2.03M
msg
stringlengths
1
1.5k
repo
stringlengths
5
40
sha
stringlengths
40
40
time
stringlengths
20
20
mmm a / src / platform - linux . cc <nl> ppp b / src / platform - linux . cc <nl> PosixMemoryMappedFile : : ~ PosixMemoryMappedFile ( ) { <nl> fclose ( file_ ) ; <nl> } <nl> <nl> + <nl> # ifdef ENABLE_LOGGING_AND_PROFILING <nl> - static unsigned StringToLongLong ( char * buffer ) { <nl> - return static_cast < unsigned > ( strtoll ( buffer , NULL , 16 ) ) ; / / NOLINT <nl> + static unsigned StringToLong ( char * buffer ) { <nl> + return static_cast < unsigned > ( strtol ( buffer , NULL , 16 ) ) ; / / NOLINT <nl> } <nl> - <nl> # endif <nl> <nl> + <nl> void OS : : LogSharedLibraryAddresses ( ) { <nl> # ifdef ENABLE_LOGGING_AND_PROFILING <nl> static const int MAP_LENGTH = 1024 ; <nl> void OS : : LogSharedLibraryAddresses ( ) { <nl> addr_buffer [ 10 ] = 0 ; <nl> int result = read ( fd , addr_buffer + 2 , 8 ) ; <nl> if ( result < 8 ) break ; <nl> - unsigned start = StringToLongLong ( addr_buffer ) ; <nl> + unsigned start = StringToLong ( addr_buffer ) ; <nl> result = read ( fd , addr_buffer + 2 , 1 ) ; <nl> if ( result < 1 ) break ; <nl> if ( addr_buffer [ 2 ] ! = ' - ' ) break ; <nl> result = read ( fd , addr_buffer + 2 , 8 ) ; <nl> if ( result < 8 ) break ; <nl> - unsigned end = StringToLongLong ( addr_buffer ) ; <nl> + unsigned end = StringToLong ( addr_buffer ) ; <nl> char buffer [ MAP_LENGTH ] ; <nl> int bytes_read = - 1 ; <nl> do { <nl>
Remove use of strtoll in favor of strtol which should be supported on
v8/v8
ced1493d01cc6bfd63837e11c539a193f0265dac
2008-11-21T08:36:30Z
mmm a / tensorflow / contrib / tensorrt / convert / convert_graph . cc <nl> ppp b / tensorflow / contrib / tensorrt / convert / convert_graph . cc <nl> limitations under the License . <nl> # include " tensorflow / core / lib / strings / numbers . h " <nl> # include " tensorflow / core / platform / logging . h " <nl> # include " tensorflow / core / platform / types . h " <nl> - # include " tensorflow / core / protobuf / config . pb . h " / / NOLINT <nl> + # include " tensorflow / core / protobuf / config . pb . h " / / NOLINT <nl> # include " tensorflow / core / protobuf / device_properties . pb . h " / / NOLINT <nl> - # include " tensorflow / core / protobuf / rewriter_config . pb . h " / / NOLINT <nl> + # include " tensorflow / core / protobuf / rewriter_config . pb . h " / / NOLINT <nl> # include " tensorflow / core / util / device_name_utils . h " <nl> <nl> # if GOOGLE_CUDA <nl> mmm a / tensorflow / contrib / tensorrt / convert / convert_nodes . cc <nl> ppp b / tensorflow / contrib / tensorrt / convert / convert_nodes . cc <nl> void GetInputProperties ( const grappler : : GraphProperties & graph_properties , <nl> <nl> void GetOutputProperties ( const grappler : : GraphProperties & graph_properties , <nl> const Node * outside_node , const int in_port , <nl> - PartialTensorShape * shape , <nl> - tensorflow : : DataType * dtype ) { <nl> + PartialTensorShape * shape , <nl> + tensorflow : : DataType * dtype ) { <nl> if ( graph_properties . HasInputProperties ( outside_node - > name ( ) ) ) { <nl> auto input_params = <nl> graph_properties . GetInputProperties ( outside_node - > name ( ) ) ; <nl> void GetOutputProperties ( const grappler : : GraphProperties & graph_properties , <nl> tensorflow : : Status ValidateInputProperties ( const PartialTensorShape & shape , <nl> const tensorflow : : DataType dtype , <nl> nvinfer1 : : DataType * trt_dtype ) { <nl> + / / TODO ( aaroey ) : some of these checks also apply to IsTensorRTCandidate ( ) , so <nl> + / / put them there instead . <nl> TF_RETURN_IF_ERROR ( ConvertDType ( dtype , trt_dtype ) ) ; <nl> if ( shape . dims ( ) < 0 ) { <nl> - return tensorflow : : errors : : InvalidArgument ( <nl> - " Input tensor rank is unknown . " ) ; <nl> + return tensorflow : : errors : : InvalidArgument ( " Input tensor rank is unknown . " ) ; <nl> } <nl> if ( shape . dims ( ) > 8 ) { <nl> return tensorflow : : errors : : OutOfRange ( <nl> tensorflow : : Status ValidateInputProperties ( const PartialTensorShape & shape , <nl> for ( int d = 1 ; d < shape . dims ( ) ; + + d ) { <nl> if ( shape . dim_size ( d ) < 0 ) { <nl> return tensorflow : : errors : : InvalidArgument ( <nl> - " Input tensor has a unknow non - batch dimemension at dim " , d ) ; <nl> + " Input tensor has a unknown non - batch dimemension at dim " , d ) ; <nl> } <nl> } <nl> return Status : : OK ( ) ; <nl> tensorflow : : Status ConvertGraphDefToEngine ( <nl> auto status = ValidateInputProperties ( <nl> shape , node_def . attr ( ) . at ( " dtype " ) . type ( ) , & dtype ) ; <nl> if ( ! status . ok ( ) ) { <nl> - const string error_message = StrCat ( <nl> - " Validation failed for " , node_name , " and input slot " , <nl> - slot_number , " : " , status . error_message ( ) ) ; <nl> + const string error_message = <nl> + StrCat ( " Validation failed for " , node_name , " and input slot " , <nl> + slot_number , " : " , status . error_message ( ) ) ; <nl> LOG ( WARNING ) < < error_message ; <nl> return Status ( status . code ( ) , error_message ) ; <nl> } <nl>
Fix review comments and formatting issues .
tensorflow/tensorflow
e02fbb25784498b44e73d9370da65a3f23f6de15
2018-07-17T15:02:04Z
mmm a / tensorflow / compiler / mlir / tensorflow / ir / tf_generated_ops . td <nl> ppp b / tensorflow / compiler / mlir / tensorflow / ir / tf_generated_ops . td <nl> the source data format . <nl> TF_DerivedOperandTypeAttr T = TF_DerivedOperandTypeAttr < 0 > ; <nl> } <nl> <nl> + def TF_DataFormatVecPermuteOp : TF_Op < " DataFormatVecPermute " , [ NoSideEffect , SameOperandsAndResultType ] > { <nl> + let summary = " Permute input tensor from ` src_format ` to ` dst_format ` . " ; <nl> + <nl> + let description = [ { <nl> + Input tensor must be a vector of size 4 , or a 4x2 tensor . <nl> + <nl> + For example , with ` src_format ` of ` NHWC ` , ` dst_format ` of ` NCHW ` , and inputs : <nl> + ` ` ` <nl> + [ 1 , 2 , 3 , 4 ] <nl> + ` ` ` <nl> + and <nl> + ` ` ` <nl> + [ [ 1 , 2 , 3 , 4 ] , <nl> + [ 5 , 6 , 7 , 8 ] ] <nl> + ` ` ` <nl> + , the outputs will be ( respectively ) : <nl> + ` ` ` <nl> + [ 1 , 4 , 2 , 3 ] <nl> + ` ` ` <nl> + and <nl> + ` ` ` <nl> + [ [ 1 , 4 , 2 , 3 ] , <nl> + [ 5 , 8 , 6 , 7 ] ] <nl> + ` ` ` <nl> + } ] ; <nl> + <nl> + let arguments = ( ins <nl> + TF_I32OrI64Tensor : $ x , <nl> + <nl> + DefaultValuedAttr < StrAttr , " NHWC " > : $ src_format , <nl> + DefaultValuedAttr < StrAttr , " NCHW " > : $ dst_format <nl> + ) ; <nl> + <nl> + let results = ( outs <nl> + TF_I32OrI64Tensor : $ y <nl> + ) ; <nl> + <nl> + TF_DerivedOperandTypeAttr T = TF_DerivedOperandTypeAttr < 0 > ; <nl> + <nl> + let verifier = [ { return Verify ( * this ) ; } ] ; <nl> + } <nl> + <nl> def TF_DebugIdentityV2Op : TF_Op < " DebugIdentityV2 " , [ ] > { <nl> let summary = " Debug Identity V2 Op . " ; <nl> <nl> def TF_MaximumOp : TF_Op < " Maximum " , [ NoSideEffect , ResultsBroadcastableShape , TF <nl> TF_DerivedOperandTypeAttr T = TF_DerivedOperandTypeAttr < 0 > ; <nl> } <nl> <nl> + def TF_MeanOp : TF_Op < " Mean " , [ NoSideEffect , TF_FoldOperandsTransposeInterface ] > { <nl> + let summary = " Computes the mean of elements across dimensions of a tensor . " ; <nl> + <nl> + let description = [ { <nl> + Reduces ` input ` along the dimensions given in ` axis ` . Unless <nl> + ` keep_dims ` is true , the rank of the tensor is reduced by 1 for each entry in <nl> + ` axis ` . If ` keep_dims ` is true , the reduced dimensions are <nl> + retained with length 1 . <nl> + } ] ; <nl> + <nl> + let arguments = ( ins <nl> + TensorOf < [ BF16 , F16 , F32 , F64 , I16 , I32 , I64 , I8 , TF_Complex128 , TF_Complex64 , TF_Qint32 , TF_Qint8 , TF_Quint8 , TF_Uint16 , TF_Uint32 , TF_Uint64 , TF_Uint8 ] > : $ input , <nl> + TF_I32OrI64Tensor : $ reduction_indices , <nl> + <nl> + DefaultValuedAttr < BoolAttr , " false " > : $ keep_dims <nl> + ) ; <nl> + <nl> + let results = ( outs <nl> + TensorOf < [ BF16 , F16 , F32 , F64 , I16 , I32 , I64 , I8 , TF_Complex128 , TF_Complex64 , TF_Qint32 , TF_Qint8 , TF_Quint8 , TF_Uint16 , TF_Uint32 , TF_Uint64 , TF_Uint8 ] > : $ output <nl> + ) ; <nl> + <nl> + TF_DerivedOperandTypeAttr T = TF_DerivedOperandTypeAttr < 0 > ; <nl> + TF_DerivedOperandTypeAttr Tidx = TF_DerivedOperandTypeAttr < 1 > ; <nl> + <nl> + let extraClassDeclaration = [ { <nl> + / / TF_FoldOperandsTransposeInterface : <nl> + SmallVector < unsigned , 4 > GetLayoutDependentArgs ( ) { return { 0 } ; } <nl> + SmallVector < unsigned , 4 > GetLayoutDependentResults ( ) { return { } ; } <nl> + LogicalResult FoldOperandsPermutation ( ArrayRef < int64_t > permutation ) ; <nl> + } ] ; <nl> + } <nl> + <nl> def TF_MergeSummaryOp : TF_Op < " MergeSummary " , [ NoSideEffect , SameOperandsAndResultType ] > { <nl> let summary = " Merges summaries . " ; <nl> <nl> Examples : <nl> TF_DerivedOperandSizeAttr N = TF_DerivedOperandSizeAttr < 0 > ; <nl> } <nl> <nl> + def TF_StringToHashBucketFastOp : TF_Op < " StringToHashBucketFast " , [ NoSideEffect ] > { <nl> + let summary = [ { <nl> + Converts each string in the input Tensor to its hash mod by a number of buckets . <nl> + } ] ; <nl> + <nl> + let description = [ { <nl> + The hash function is deterministic on the content of the string within the <nl> + process and will never change . However , it is not suitable for cryptography . <nl> + This function may be used when CPU time is scarce and inputs are trusted or <nl> + unimportant . There is a risk of adversaries constructing inputs that all hash <nl> + to the same bucket . To prevent this problem , use a strong hash function with <nl> + ` tf . string_to_hash_bucket_strong ` . <nl> + <nl> + Examples : <nl> + <nl> + > > > tf . strings . to_hash_bucket_fast ( [ " Hello " , " TensorFlow " , " 2 . x " ] , 3 ) . numpy ( ) <nl> + array ( [ 0 , 2 , 2 ] ) <nl> + } ] ; <nl> + <nl> + let arguments = ( ins <nl> + TF_StrTensor : $ input , <nl> + <nl> + Confined < I64Attr , [ IntMinValue < 1 > ] > : $ num_buckets <nl> + ) ; <nl> + <nl> + let results = ( outs <nl> + I64Tensor : $ output <nl> + ) ; <nl> + } <nl> + <nl> def TF_SubOp : TF_Op < " Sub " , [ NoSideEffect , ResultsBroadcastableShape , TF_CwiseBinary , TF_SameOperandsAndResultElementTypeResolveRef ] > , <nl> WithBroadcastableBinOpBuilder { <nl> let summary = " Returns x - y element - wise . " ; <nl> def TF_ZerosLikeOp : TF_Op < " ZerosLike " , [ NoSideEffect , SameOperandsAndResultType <nl> TF_DerivedOperandTypeAttr T = TF_DerivedOperandTypeAttr < 0 > ; <nl> } <nl> <nl> + def TF__FusedBatchNormExOp : TF_Op < " _FusedBatchNormEx " , [ NoSideEffect ] > { <nl> + let summary = " Internal FusedBatchNorm operation : reserved for internal use . " ; <nl> + <nl> + let description = [ { <nl> + Do not invoke this operator directly in Python . A fusion optimization is <nl> + expected to create these operators . <nl> + } ] ; <nl> + <nl> + let arguments = ( ins <nl> + TensorOf < [ F16 , F32 ] > : $ x , <nl> + F32Tensor : $ scale , <nl> + F32Tensor : $ offset , <nl> + F32Tensor : $ mean , <nl> + F32Tensor : $ variance , <nl> + Variadic < TensorOf < [ F16 , F32 ] > > : $ side_input , <nl> + <nl> + DefaultValuedAttr < F32Attr , " 0 . 0001f " > : $ epsilon , <nl> + DefaultValuedAttr < F32Attr , " 1 . 0f " > : $ exponential_avg_factor , <nl> + DefaultValuedAttr < StrAttr , " Identity " > : $ activation_mode , <nl> + DefaultValuedAttr < TF_ConvnetDataFormatAttr , " NHWC " > : $ data_format , <nl> + DefaultValuedAttr < BoolAttr , " true " > : $ is_training <nl> + ) ; <nl> + <nl> + let results = ( outs <nl> + TensorOf < [ F16 , F32 ] > : $ y , <nl> + F32Tensor : $ batch_mean , <nl> + F32Tensor : $ batch_variance , <nl> + F32Tensor : $ reserve_space_1 , <nl> + F32Tensor : $ reserve_space_2 , <nl> + F32Tensor : $ reserve_space_3 <nl> + ) ; <nl> + <nl> + TF_DerivedOperandTypeAttr T = TF_DerivedOperandTypeAttr < 0 > ; <nl> + TF_DerivedOperandTypeAttr U = TF_DerivedOperandTypeAttr < 1 > ; <nl> + TF_DerivedOperandSizeAttr num_side_inputs = TF_DerivedOperandSizeAttr < 5 > ; <nl> + } <nl> + <nl> def TF__FusedConv2DOp : TF_Op < " _FusedConv2D " , [ NoSideEffect ] > { <nl> let summary = [ { <nl> Performs a convolution followed by a specified series of operations . <nl> mmm a / tensorflow / compiler / mlir / tensorflow / ir / tf_ops . td <nl> ppp b / tensorflow / compiler / mlir / tensorflow / ir / tf_ops . td <nl> source_target_pairs = ` [ [ 0 , 1 ] , [ 1 , 2 ] , [ 2 , 3 ] , [ 3 , 0 ] ] ` gets the outputs : <nl> TF_DerivedOperandTypeAttr T = TF_DerivedOperandTypeAttr < 0 > ; <nl> } <nl> <nl> - <nl> - def TF_DataFormatVecPermuteOp : TF_Op < " DataFormatVecPermute " , [ NoSideEffect , SameOperandsAndResultType ] > { <nl> - let summary = " Permute input tensor from ` src_format ` to ` dst_format ` " ; <nl> - <nl> - let description = [ { <nl> - Input tensor must be a vector of size 4 , or a 4x2 tensor . <nl> - } ] ; <nl> - <nl> - let arguments = ( ins <nl> - TF_I32OrI64Tensor : $ x , <nl> - <nl> - DefaultValuedAttr < StrAttr , " NHWC " > : $ src_format , <nl> - DefaultValuedAttr < StrAttr , " NCHW " > : $ dst_format <nl> - ) ; <nl> - <nl> - let results = ( outs <nl> - TF_I32OrI64Tensor : $ y <nl> - ) ; <nl> - <nl> - TF_DerivedOperandTypeAttr T = TF_DerivedOperandTypeAttr < 0 > ; <nl> - <nl> - let verifier = [ { return Verify ( * this ) ; } ] ; <nl> - } <nl> - <nl> def TF_EmptyTensorListOp : TF_TensorListInitOp < " EmptyTensorList " > { <nl> let summary = " Creates and returns an empty tensor list . " ; <nl> <nl> else_branch : A region that computes the outputs of the op if cond = false . <nl> } ] ; <nl> } <nl> <nl> - def TF_MeanOp : TF_Op < " Mean " , [ NoSideEffect , TF_FoldOperandsTransposeInterface ] > { <nl> - let summary = " Computes the mean of elements across dimensions of a tensor . " ; <nl> - <nl> - let description = [ { <nl> - Reduces ` input ` along the dimensions given in ` axis ` . Unless <nl> - ` keep_dims ` is true , the rank of the tensor is reduced by 1 for each entry in <nl> - ` axis ` . If ` keep_dims ` is true , the reduced dimensions are <nl> - retained with length 1 . <nl> - } ] ; <nl> - <nl> - let arguments = ( ins <nl> - TF_NumberTensor : $ input , <nl> - TF_I32OrI64Tensor : $ reduction_indices , <nl> - <nl> - DefaultValuedAttr < BoolAttr , " false " > : $ keep_dims <nl> - ) ; <nl> - <nl> - let results = ( outs <nl> - TF_NumberTensor : $ output <nl> - ) ; <nl> - <nl> - TF_DerivedOperandTypeAttr T = TF_DerivedOperandTypeAttr < 0 > ; <nl> - TF_DerivedOperandTypeAttr Tidx = TF_DerivedOperandTypeAttr < 1 > ; <nl> - <nl> - let extraClassDeclaration = [ { <nl> - / / TF_FoldOperandsTransposeInterface : <nl> - SmallVector < unsigned , 4 > GetLayoutDependentArgs ( ) { return { 0 } ; } <nl> - SmallVector < unsigned , 4 > GetLayoutDependentResults ( ) { return { } ; } <nl> - LogicalResult FoldOperandsPermutation ( ArrayRef < int64_t > permutation ) ; <nl> - } ] ; <nl> - } <nl> - <nl> def TF_LegacyCallOp : TF_Op < " LegacyCall " , <nl> [ CallOpInterface , NoSideEffect ] > { <nl> let summary = <nl> Example : <nl> TF_DerivedOperandOrResultHandleShapeAttr < " resource " > ; <nl> } <nl> <nl> - / / Not generated because it begins with an underscore , which isn ' t allowed by <nl> - / / the C + + standard . <nl> - def TF_FusedBatchNormExOp : TF_Op < " _FusedBatchNormEx " , [ NoSideEffect ] > { <nl> - let summary = " Internal FusedBatchNorm operation : reserved for internal use " ; <nl> - <nl> - let description = [ { <nl> - Do not invoke this operator directly in Python . A fusion optimization is <nl> - expected to create these operators . <nl> - } ] ; <nl> - <nl> - let arguments = ( ins <nl> - TensorOf < [ F16 , F32 ] > : $ x , <nl> - F32Tensor : $ scale , <nl> - F32Tensor : $ offset , <nl> - F32Tensor : $ mean , <nl> - F32Tensor : $ variance , <nl> - Variadic < TensorOf < [ F16 , F32 ] > > : $ side_input , <nl> - <nl> - DefaultValuedAttr < F32Attr , " 0 . 0001f " > : $ epsilon , <nl> - DefaultValuedAttr < F32Attr , " 1 . 0f " > : $ exponential_avg_factor , <nl> - DefaultValuedAttr < StrAttr , " Identity " > : $ activation_mode , <nl> - DefaultValuedAttr < TF_ConvnetDataFormatAttr , " NHWC " > : $ data_format , <nl> - DefaultValuedAttr < BoolAttr , " true " > : $ is_training <nl> - ) ; <nl> - <nl> - let results = ( outs <nl> - TensorOf < [ F16 , F32 ] > : $ y , <nl> - F32Tensor : $ batch_mean , <nl> - F32Tensor : $ batch_variance , <nl> - F32Tensor : $ reserve_space_1 , <nl> - F32Tensor : $ reserve_space_2 , <nl> - F32Tensor : $ reserve_space_3 <nl> - ) ; <nl> - <nl> - TF_DerivedOperandTypeAttr T = TF_DerivedOperandTypeAttr < 0 > ; <nl> - TF_DerivedOperandTypeAttr U = TF_DerivedOperandTypeAttr < 1 > ; <nl> - TF_DerivedOperandSizeAttr num_side_inputs = TF_DerivedOperandSizeAttr < 5 > ; <nl> - } <nl> - <nl> / / Multiple variadic operands with different sizes are not supported by the <nl> / / dialect generator , so we manually added the op . <nl> def TF_SendTPUEmbeddingGradientsOp : TF_Op < " SendTPUEmbeddingGradients " , [ AttrSizedOperandSegments ] > { <nl> This function is faster and numerically stabler than ` bessel_i1 ( x ) ` . <nl> TF_DerivedOperandTypeAttr T = TF_DerivedOperandTypeAttr < 0 > ; <nl> } <nl> <nl> - def TF_StringToHashBucketFastOp : TF_Op < " StringToHashBucketFast " , [ NoSideEffect ] > { <nl> - let summary = [ { <nl> - Converts each string in the input Tensor to its hash mod by a number of buckets . <nl> - } ] ; <nl> - <nl> - let description = [ { <nl> - The hash function is deterministic on the content of the string within the <nl> - process and will never change . However , it is not suitable for cryptography . <nl> - This function may be used when CPU time is scarce and inputs are trusted or <nl> - unimportant . There is a risk of adversaries constructing inputs that all hash <nl> - to the same bucket . To prevent this problem , use a strong hash function with <nl> - ` tf . string_to_hash_bucket_strong ` . <nl> - <nl> - Examples : <nl> - <nl> - > > > tf . strings . to_hash_bucket_fast ( [ " Hello " , " TensorFlow " , " 2 . x " ] , 3 ) . numpy ( ) <nl> - array ( [ 0 , 2 , 2 ] ) <nl> - } ] ; <nl> - <nl> - let arguments = ( ins <nl> - TF_StrTensor : $ input , <nl> - <nl> - Confined < I64Attr , [ IntMinValue < 1 > ] > : $ num_buckets <nl> - ) ; <nl> - <nl> - let results = ( outs <nl> - I64Tensor : $ output <nl> - ) ; <nl> - } <nl> - <nl> def TF_TPUPartitionedCallOp : TF_Op < " TPUPartitionedCall " , [ CallOpInterface ] > { <nl> let summary = " Calls a function placed on a specified TPU device . " ; <nl> <nl> mmm a / tensorflow / compiler / mlir / tensorflow / transforms / gpu_fusion . cc <nl> ppp b / tensorflow / compiler / mlir / tensorflow / transforms / gpu_fusion . cc <nl> struct ReluToFusedBatchNorm : public OpRewritePattern < ReluOp > { <nl> <nl> / / Build the newly fused operation to replace the batch norm <nl> OperationState state ( batch_norm . getLoc ( ) , <nl> - FusedBatchNormExOp : : getOperationName ( ) ) ; <nl> + _FusedBatchNormExOp : : getOperationName ( ) ) ; <nl> state . addOperands ( batch_norm . getOperands ( ) ) ; <nl> if ( side_input ) state . operands . push_back ( side_input ) ; <nl> state . addTypes ( batch_norm . getResultTypes ( ) ) ; <nl> mmm a / tensorflow / core / api_def / base_api / api_def_DataFormatVecPermute . pbtxt <nl> ppp b / tensorflow / core / api_def / base_api / api_def_DataFormatVecPermute . pbtxt <nl> END <nl> destination data format . <nl> END <nl> } <nl> - summary : " Returns the permuted vector / tensor in the destination data format given the " <nl> + summary : " Permute input tensor from ` src_format ` to ` dst_format ` . " <nl> description : < < END <nl> - one in the source data format . <nl> + Input tensor must be a vector of size 4 , or a 4x2 tensor . <nl> + <nl> + For example , with ` src_format ` of ` NHWC ` , ` dst_format ` of ` NCHW ` , and inputs : <nl> + ` ` ` <nl> + [ 1 , 2 , 3 , 4 ] <nl> + ` ` ` <nl> + and <nl> + ` ` ` <nl> + [ [ 1 , 2 , 3 , 4 ] , <nl> + [ 5 , 6 , 7 , 8 ] ] <nl> + ` ` ` <nl> + , the outputs will be ( respectively ) : <nl> + ` ` ` <nl> + [ 1 , 4 , 2 , 3 ] <nl> + ` ` ` <nl> + and <nl> + ` ` ` <nl> + [ [ 1 , 4 , 2 , 3 ] , <nl> + [ 5 , 8 , 6 , 7 ] ] <nl> + ` ` ` <nl> END <nl> } <nl> mmm a / tensorflow / core / ops / nn_ops . cc <nl> ppp b / tensorflow / core / ops / nn_ops . cc <nl> REGISTER_OP ( " _FusedBatchNormEx " ) <nl> . Attr ( " is_training : bool = true " ) <nl> . SetShapeFn ( shape_inference : : FusedBatchNormExShape ) <nl> . Doc ( R " doc ( <nl> - * NOTE * : Do not invoke this operator directly in Python . Grappler is <nl> + Internal FusedBatchNorm operation : reserved for internal use . <nl> + <nl> + Do not invoke this operator directly in Python . A fusion optimization is <nl> expected to create these operators . <nl> ) doc " ) ; <nl> <nl>
Update tf . DataFormatVecPermute , tf . Mean , tf . StringToHashBucketFast , and tf . _FusedBatchNormEx to be generated ops in TensorFlow MLIR ODS ( NFC ) .
tensorflow/tensorflow
0dc35b4d7d4dc56d50125cf58bd59ed8420566f8
2020-08-20T21:19:50Z
mmm a / benchmark / bench_parse_call . cpp <nl> ppp b / benchmark / bench_parse_call . cpp <nl> const char * GSOC_JSON = SIMDJSON_BENCHMARK_DATA_DIR " gsoc - 2018 . json " ; <nl> <nl> <nl> <nl> + static void unicode_validate_twitter ( State & state ) { <nl> + dom : : parser parser ; <nl> + padded_string docdata ; <nl> + auto error = padded_string : : load ( TWITTER_JSON ) . get ( docdata ) ; <nl> + if ( error ) { <nl> + cerr < < " could not parse twitter . json " < < error < < endl ; <nl> + return ; <nl> + } <nl> + / / we do not want mem . alloc . in the loop . <nl> + error = parser . allocate ( docdata . size ( ) ) ; <nl> + if ( error ) { <nl> + cout < < error < < endl ; <nl> + return ; <nl> + } <nl> + size_t bytes = 0 ; <nl> + for ( UNUSED auto _ : state ) { <nl> + bool is_ok = simdjson : : validate_utf8 ( docdata . data ( ) , docdata . size ( ) ) ; <nl> + bytes + = docdata . size ( ) ; <nl> + benchmark : : DoNotOptimize ( is_ok ) ; <nl> + } <nl> + / / Gigabyte : https : / / en . wikipedia . org / wiki / Gigabyte <nl> + state . counters [ " Gigabytes " ] = benchmark : : Counter ( <nl> + double ( bytes ) , benchmark : : Counter : : kIsRate , <nl> + benchmark : : Counter : : OneK : : kIs1000 ) ; / / For GiB : kIs1024 <nl> + state . counters [ " docs " ] = Counter ( double ( state . iterations ( ) ) , benchmark : : Counter : : kIsRate ) ; <nl> + } <nl> + BENCHMARK ( unicode_validate_twitter ) - > Repetitions ( 10 ) - > ComputeStatistics ( " max " , [ ] ( const std : : vector < double > & v ) - > double { <nl> + return * ( std : : max_element ( std : : begin ( v ) , std : : end ( v ) ) ) ; <nl> + } ) - > DisplayAggregatesOnly ( true ) ; <nl> + <nl> static void parse_twitter ( State & state ) { <nl> dom : : parser parser ; <nl> padded_string docdata ; <nl> static void parse_twitter ( State & state ) { <nl> for ( UNUSED auto _ : state ) { <nl> dom : : element doc ; <nl> bytes + = docdata . size ( ) ; <nl> - ; <nl> if ( ( error = parser . parse ( docdata ) . get ( doc ) ) ) { <nl> cerr < < " could not parse twitter . json " < < error < < endl ; <nl> return ; <nl>
This adds a validation benchmark ( )
simdjson/simdjson
af18d5ed81c617c89efa85c7444c97b6f0b316d5
2020-07-20T22:56:39Z
mmm a / util / hashtab . h <nl> ppp b / util / hashtab . h <nl> namespace mongo { <nl> int i = h % n ; <nl> int start = i ; <nl> int chain = 0 ; <nl> + int firstNonUsed = - 1 ; <nl> while ( 1 ) { <nl> if ( ! nodes [ i ] . inUse ( ) ) { <nl> - return i ; <nl> + if ( firstNonUsed < 0 ) <nl> + firstNonUsed = i ; <nl> } <nl> + <nl> if ( nodes [ i ] . hash = = h & & nodes [ i ] . k = = k ) { <nl> + if ( chain > = 200 ) <nl> + out ( ) < < " warning : hashtable " < < name < < " long chain " < < endl ; <nl> found = true ; <nl> return i ; <nl> } <nl> namespace mongo { <nl> return - 1 ; <nl> } <nl> if ( chain > = maxChain ) { <nl> + if ( firstNonUsed > = 0 ) <nl> + return firstNonUsed ; <nl> out ( ) < < " error : hashtable " < < name < < " max chain n : " < < n < < endl ; <nl> return - 1 ; <nl> } <nl> - if ( chain = = 200 ) <nl> - out ( ) < < " warning : hashtable " < < name < < " long chain " < < endl ; <nl> } <nl> } <nl> <nl> namespace mongo { <nl> bool found ; <nl> int i = _find ( k , found ) ; <nl> if ( i > = 0 & & found ) { <nl> - / / TEMP nodes [ i ] . k . kill ( ) ; <nl> + nodes [ i ] . k . kill ( ) ; <nl> nodes [ i ] . setUnused ( ) ; <nl> } <nl> } <nl>
fix hashtable so that deleted entries don ' t prevent finding later chained entries SERVER - 553
mongodb/mongo
693b5980dce96d28133b10e45fb484476f277af5
2010-01-19T15:58:35Z
mmm a / tensorflow / core / kernels / mkl_concat_op . cc <nl> ppp b / tensorflow / core / kernels / mkl_concat_op . cc <nl> class MklConcatOp : public OpKernel { <nl> mkl_common_format ) ; <nl> } else if ( dst_dims . size ( ) = = 2 & & <nl> mkl_common_format = = memory : : format : : nc ) { <nl> - / / When memory : : format : : nc , dst_dims are already in MKLDNN order <nl> + / / When memory : : format : : nc , dst_dims are already in MKL - DNN order <nl> dst_md = memory : : desc ( dst_dims , MklDnnType < T > ( ) , mkl_common_format ) ; <nl> } else { <nl> TF_CHECK_OK ( Status ( error : : Code : : FAILED_PRECONDITION , <nl> " Unsupported tensor dimension or " <nl> - " MKLDNN memory format " ) ) ; <nl> + " MKL - DNN memory format " ) ) ; <nl> } <nl> } else { <nl> / / All inputs are TF tensors . <nl> class MklConcatOp : public OpKernel { <nl> dnn_shape_dst ) ; <nl> DCHECK ( dst_tensor = = nullptr ) < < " Output tensor pointer is NULL " ; <nl> <nl> - dst_md = <nl> - dnn_shape_dst . IsMklTensor ( ) ? dnn_shape_dst . GetMklLayout ( ) : dst_md ; <nl> + if ( dnn_shape_dst . IsMklTensor ( ) ) dst_md = dnn_shape_dst . GetMklLayout ( ) ; <nl> dst . SetUsrMem ( dst_md , dst_tensor ) ; <nl> <nl> auto concat_op = concat ( concat_pd , inputs , dst . GetOpMem ( ) ) ; <nl>
refactored code for reviewer ' s comment
tensorflow/tensorflow
079dfc9c169be7bd26d3003eb40189c26902724c
2019-03-15T16:43:33Z
mmm a / src / api . cc <nl> ppp b / src / api . cc <nl> StartupData SnapshotCreator : : CreateBlob ( <nl> <nl> i : : HeapIterator heap_iterator ( isolate - > heap ( ) ) ; <nl> while ( i : : HeapObject * current_obj = heap_iterator . next ( ) ) { <nl> - / / Complete in - object slack tracking for all functions . <nl> if ( current_obj - > IsJSFunction ( ) ) { <nl> i : : JSFunction * fun = i : : JSFunction : : cast ( current_obj ) ; <nl> + <nl> + / / Complete in - object slack tracking for all functions . <nl> fun - > CompleteInobjectSlackTrackingIfActive ( ) ; <nl> + <nl> + / / Also , clear out feedback vectors . <nl> + fun - > feedback_cell ( ) - > set_value ( isolate - > heap ( ) - > undefined_value ( ) ) ; <nl> } <nl> <nl> / / Clear out re - compilable data from all shared function infos . Any <nl> StartupData SnapshotCreator : : CreateBlob ( <nl> if ( current_obj - > IsSharedFunctionInfo ( ) & & <nl> function_code_handling = = FunctionCodeHandling : : kClear ) { <nl> i : : SharedFunctionInfo * shared = i : : SharedFunctionInfo : : cast ( current_obj ) ; <nl> - if ( shared - > HasBytecodeArray ( ) ) { <nl> - shared - > ClearBytecodeArray ( ) ; <nl> - } else if ( shared - > HasAsmWasmData ( ) ) { <nl> - shared - > ClearAsmWasmData ( ) ; <nl> - } else if ( shared - > HasPreParsedScopeData ( ) ) { <nl> - shared - > ClearPreParsedScopeData ( ) ; <nl> + if ( shared - > CanFlushCompiled ( ) ) { <nl> + shared - > FlushCompiled ( ) ; <nl> } <nl> DCHECK ( shared - > HasCodeObject ( ) | | shared - > HasBuiltinId ( ) | | <nl> shared - > IsApiFunction ( ) ) ; <nl> mmm a / src / compiler - dispatcher / unoptimized - compile - job . cc <nl> ppp b / src / compiler - dispatcher / unoptimized - compile - job . cc <nl> UnoptimizedCompileJob : : UnoptimizedCompileJob ( Isolate * isolate , <nl> trace_compiler_dispatcher_jobs_ ( FLAG_trace_compiler_dispatcher_jobs ) { <nl> DCHECK ( ! shared_ - > is_toplevel ( ) ) ; <nl> / / TODO ( rmcilroy ) : Handle functions with non - empty outer scope info . <nl> - DCHECK ( shared_ - > outer_scope_info ( ) - > IsTheHole ( isolate ) | | <nl> - ScopeInfo : : cast ( shared_ - > outer_scope_info ( ) ) - > length ( ) = = 0 ) ; <nl> + DCHECK ( ! shared_ - > HasOuterScopeInfo ( ) ) ; <nl> HandleScope scope ( isolate ) ; <nl> Handle < Script > script ( Script : : cast ( shared_ - > script ( ) ) , isolate ) ; <nl> Handle < String > source ( String : : cast ( script - > source ( ) ) , isolate ) ; <nl> void UnoptimizedCompileJob : : PrepareOnMainThread ( Isolate * isolate ) { <nl> <nl> parser_ . reset ( new Parser ( parse_info_ . get ( ) ) ) ; <nl> MaybeHandle < ScopeInfo > outer_scope_info ; <nl> - if ( ! shared_ - > outer_scope_info ( ) - > IsTheHole ( isolate ) & & <nl> - ScopeInfo : : cast ( shared_ - > outer_scope_info ( ) ) - > length ( ) > 0 ) { <nl> - outer_scope_info = handle ( ScopeInfo : : cast ( shared_ - > outer_scope_info ( ) ) ) ; <nl> + if ( shared_ - > HasOuterScopeInfo ( ) ) { <nl> + outer_scope_info = handle ( shared_ - > GetOuterScopeInfo ( ) ) ; <nl> } <nl> parser_ - > DeserializeScopeChain ( parse_info_ . get ( ) , outer_scope_info ) ; <nl> <nl> mmm a / src / compiler . cc <nl> ppp b / src / compiler . cc <nl> void OptimizedCompilationJob : : RecordFunctionCompilation ( <nl> time_taken_to_execute_ . InMillisecondsF ( ) + <nl> time_taken_to_finalize_ . InMillisecondsF ( ) ; <nl> <nl> - LogFunctionCompilation ( tag , compilation_info ( ) - > shared_info ( ) , <nl> - parse_info ( ) - > script ( ) , abstract_code , true , <nl> - time_taken_ms , isolate ) ; <nl> + Handle < Script > script ( <nl> + Script : : cast ( compilation_info ( ) - > shared_info ( ) - > script ( ) ) ) ; <nl> + LogFunctionCompilation ( tag , compilation_info ( ) - > shared_info ( ) , script , <nl> + abstract_code , true , time_taken_ms , isolate ) ; <nl> } <nl> <nl> / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - <nl> void OptimizedCompilationJob : : RecordFunctionCompilation ( <nl> <nl> namespace { <nl> <nl> - void EnsureFeedbackMetadata ( UnoptimizedCompilationInfo * compilation_info , <nl> - Handle < SharedFunctionInfo > shared_info , <nl> - Isolate * isolate ) { <nl> - / / If no type feedback metadata exists , create it . At this point the <nl> - / / AstNumbering pass has already run . Note the snapshot can contain outdated <nl> - / / vectors for a different configuration , hence we also recreate a new vector <nl> - / / when the function is not compiled ( i . e . no code was serialized ) . <nl> - <nl> - if ( shared_info - > feedback_metadata ( ) - > is_empty ( ) | | <nl> - ! shared_info - > is_compiled ( ) ) { <nl> - Handle < FeedbackMetadata > feedback_metadata = FeedbackMetadata : : New ( <nl> - isolate , compilation_info - > feedback_vector_spec ( ) ) ; <nl> - shared_info - > set_feedback_metadata ( * feedback_metadata ) ; <nl> - } <nl> - <nl> - / / It ' s very important that recompiles do not alter the structure of the type <nl> - / / feedback vector . Verify that the structure fits the function literal . <nl> - CHECK ( ! shared_info - > feedback_metadata ( ) - > SpecDiffersFrom ( <nl> - compilation_info - > feedback_vector_spec ( ) ) ) ; <nl> - } <nl> - <nl> bool UseAsmWasm ( FunctionLiteral * literal , bool asm_wasm_broken ) { <nl> / / Check whether asm . js validation is enabled . <nl> if ( ! FLAG_validate_asm ) return false ; <nl> void InstallUnoptimizedCode ( UnoptimizedCompilationInfo * compilation_info , <nl> DCHECK_EQ ( shared_info - > language_mode ( ) , <nl> compilation_info - > literal ( ) - > language_mode ( ) ) ; <nl> <nl> - / / Ensure feedback metadata is installed . <nl> - EnsureFeedbackMetadata ( compilation_info , shared_info , isolate ) ; <nl> - <nl> / / Update the shared function info with the scope info . <nl> Handle < ScopeInfo > scope_info = compilation_info - > scope ( ) - > scope_info ( ) ; <nl> shared_info - > set_scope_info ( * scope_info ) ; <nl> - Scope * outer_scope = compilation_info - > scope ( ) - > GetOuterScopeWithContext ( ) ; <nl> - if ( outer_scope ) <nl> - shared_info - > set_outer_scope_info ( * outer_scope - > scope_info ( ) ) ; <nl> <nl> if ( compilation_info - > has_bytecode_array ( ) ) { <nl> DCHECK ( ! shared_info - > HasBytecodeArray ( ) ) ; / / Only compiled once . <nl> DCHECK ( ! compilation_info - > has_asm_wasm_data ( ) ) ; <nl> + DCHECK ( ! shared_info - > HasFeedbackMetadata ( ) ) ; <nl> + <nl> + Handle < FeedbackMetadata > feedback_metadata = FeedbackMetadata : : New ( <nl> + isolate , compilation_info - > feedback_vector_spec ( ) ) ; <nl> + <nl> shared_info - > set_bytecode_array ( * compilation_info - > bytecode_array ( ) ) ; <nl> + shared_info - > set_feedback_metadata ( * feedback_metadata ) ; <nl> } else { <nl> DCHECK ( compilation_info - > has_asm_wasm_data ( ) ) ; <nl> shared_info - > set_asm_wasm_data ( * compilation_info - > asm_wasm_data ( ) ) ; <nl> + shared_info - > set_feedback_metadata ( <nl> + isolate - > heap ( ) - > empty_feedback_metadata ( ) ) ; <nl> } <nl> <nl> / / Install coverage info on the shared function info . <nl> MaybeHandle < Code > GetOptimizedCode ( Handle < JSFunction > function , <nl> std : : unique_ptr < OptimizedCompilationJob > job ( <nl> compiler : : Pipeline : : NewCompilationJob ( function , has_script ) ) ; <nl> OptimizedCompilationInfo * compilation_info = job - > compilation_info ( ) ; <nl> - ParseInfo * parse_info = job - > parse_info ( ) ; <nl> <nl> compilation_info - > SetOptimizingForOsr ( osr_offset , osr_frame ) ; <nl> <nl> MaybeHandle < Code > GetOptimizedCode ( Handle < JSFunction > function , <nl> <nl> / / Reopen handles in the new CompilationHandleScope . <nl> compilation_info - > ReopenHandlesInNewHandleScope ( ) ; <nl> - parse_info - > ReopenHandlesInNewHandleScope ( ) ; <nl> <nl> if ( mode = = ConcurrencyMode : : kConcurrent ) { <nl> if ( GetOptimizedCodeLater ( job . get ( ) , isolate ) ) { <nl> MaybeHandle < SharedFunctionInfo > FinalizeTopLevel ( <nl> DCHECK_EQ ( kNoSourcePosition , <nl> parse_info - > literal ( ) - > function_token_position ( ) ) ; <nl> Handle < SharedFunctionInfo > shared_info = <nl> - isolate - > factory ( ) - > NewSharedFunctionInfoForLiteral ( parse_info - > literal ( ) , <nl> - parse_info - > script ( ) ) ; <nl> - shared_info - > set_is_toplevel ( true ) ; <nl> + isolate - > factory ( ) - > NewSharedFunctionInfoForLiteral ( <nl> + parse_info - > literal ( ) , parse_info - > script ( ) , true ) ; <nl> <nl> / / Finalize compilation of the unoptimized bytecode or asm - js data . <nl> if ( ! FinalizeUnoptimizedCode ( parse_info , isolate , shared_info , <nl> Handle < SharedFunctionInfo > Compiler : : GetSharedFunctionInfo ( <nl> <nl> / / Allocate a shared function info object which will be compiled lazily . <nl> Handle < SharedFunctionInfo > result = <nl> - isolate - > factory ( ) - > NewSharedFunctionInfoForLiteral ( literal , script ) ; <nl> - result - > set_is_toplevel ( false ) ; <nl> - Scope * outer_scope = literal - > scope ( ) - > GetOuterScopeWithContext ( ) ; <nl> - if ( outer_scope ) { <nl> - result - > set_outer_scope_info ( * outer_scope - > scope_info ( ) ) ; <nl> - } <nl> + isolate - > factory ( ) - > NewSharedFunctionInfoForLiteral ( literal , script , <nl> + false ) ; <nl> return result ; <nl> } <nl> <nl> mmm a / src / compiler . h <nl> ppp b / src / compiler . h <nl> class UnoptimizedCompilationJob : public CompilationJob { <nl> / / Each of the three phases can either fail or succeed . <nl> class OptimizedCompilationJob : public CompilationJob { <nl> public : <nl> - OptimizedCompilationJob ( uintptr_t stack_limit , ParseInfo * parse_info , <nl> + OptimizedCompilationJob ( uintptr_t stack_limit , <nl> OptimizedCompilationInfo * compilation_info , <nl> const char * compiler_name , <nl> State initial_state = State : : kReadyToPrepare ) <nl> : CompilationJob ( stack_limit , initial_state ) , <nl> - parse_info_ ( parse_info ) , <nl> compilation_info_ ( compilation_info ) , <nl> compiler_name_ ( compiler_name ) { } <nl> <nl> class OptimizedCompilationJob : public CompilationJob { <nl> void RecordFunctionCompilation ( CodeEventListener : : LogEventsAndTags tag , <nl> Isolate * isolate ) const ; <nl> <nl> - ParseInfo * parse_info ( ) const { return parse_info_ ; } <nl> OptimizedCompilationInfo * compilation_info ( ) const { <nl> return compilation_info_ ; <nl> } <nl> class OptimizedCompilationJob : public CompilationJob { <nl> virtual Status FinalizeJobImpl ( Isolate * isolate ) = 0 ; <nl> <nl> private : <nl> - / / TODO ( rmcilroy ) : Remove parse_info . <nl> - ParseInfo * parse_info_ ; <nl> OptimizedCompilationInfo * compilation_info_ ; <nl> base : : TimeDelta time_taken_to_prepare_ ; <nl> base : : TimeDelta time_taken_to_execute_ ; <nl> mmm a / src / compiler / pipeline . cc <nl> ppp b / src / compiler / pipeline . cc <nl> PipelineStatistics * CreatePipelineStatistics ( Handle < Script > script , <nl> <nl> class PipelineCompilationJob final : public OptimizedCompilationJob { <nl> public : <nl> - PipelineCompilationJob ( ParseInfo * parse_info , <nl> - Handle < SharedFunctionInfo > shared_info , <nl> + PipelineCompilationJob ( Handle < SharedFunctionInfo > shared_info , <nl> Handle < JSFunction > function ) <nl> / / Note that the OptimizedCompilationInfo is not initialized at the time <nl> / / we pass it to the CompilationJob constructor , but it is not <nl> / / dereferenced there . <nl> - : OptimizedCompilationJob ( parse_info - > stack_limit ( ) , parse_info , <nl> - & compilation_info_ , " TurboFan " ) , <nl> - parse_info_ ( parse_info ) , <nl> + : OptimizedCompilationJob ( <nl> + function - > GetIsolate ( ) - > stack_guard ( ) - > real_climit ( ) , <nl> + & compilation_info_ , " TurboFan " ) , <nl> + zone_ ( function - > GetIsolate ( ) - > allocator ( ) , ZONE_NAME ) , <nl> zone_stats_ ( function - > GetIsolate ( ) - > allocator ( ) ) , <nl> - compilation_info_ ( parse_info_ . get ( ) - > zone ( ) , function - > GetIsolate ( ) , <nl> - shared_info , function ) , <nl> - pipeline_statistics_ ( <nl> - CreatePipelineStatistics ( parse_info_ - > script ( ) , compilation_info ( ) , <nl> - function - > GetIsolate ( ) , & zone_stats_ ) ) , <nl> + compilation_info_ ( & zone_ , function - > GetIsolate ( ) , shared_info , <nl> + function ) , <nl> + pipeline_statistics_ ( CreatePipelineStatistics ( <nl> + handle ( Script : : cast ( shared_info - > script ( ) ) ) , compilation_info ( ) , <nl> + function - > GetIsolate ( ) , & zone_stats_ ) ) , <nl> data_ ( & zone_stats_ , function - > GetIsolate ( ) , compilation_info ( ) , <nl> pipeline_statistics_ . get ( ) ) , <nl> pipeline_ ( & data_ ) , <nl> class PipelineCompilationJob final : public OptimizedCompilationJob { <nl> void RegisterWeakObjectsInOptimizedCode ( Handle < Code > code , Isolate * isolate ) ; <nl> <nl> private : <nl> - std : : unique_ptr < ParseInfo > parse_info_ ; <nl> + Zone zone_ ; <nl> ZoneStats zone_stats_ ; <nl> OptimizedCompilationInfo compilation_info_ ; <nl> std : : unique_ptr < PipelineStatistics > pipeline_statistics_ ; <nl> class PipelineWasmCompilationJob final : public OptimizedCompilationJob { <nl> OptimizedCompilationInfo * info , Isolate * isolate , JSGraph * jsgraph , <nl> CallDescriptor * call_descriptor , SourcePositionTable * source_positions , <nl> WasmCompilationData * wasm_compilation_data , bool asmjs_origin ) <nl> - : OptimizedCompilationJob ( isolate - > stack_guard ( ) - > real_climit ( ) , nullptr , <nl> - info , " TurboFan " , State : : kReadyToExecute ) , <nl> + : OptimizedCompilationJob ( isolate - > stack_guard ( ) - > real_climit ( ) , info , <nl> + " TurboFan " , State : : kReadyToExecute ) , <nl> zone_stats_ ( isolate - > allocator ( ) ) , <nl> pipeline_statistics_ ( CreatePipelineStatistics ( <nl> Handle < Script > : : null ( ) , info , isolate , & zone_stats_ ) ) , <nl> Handle < Code > Pipeline : : GenerateCodeForTesting ( <nl> OptimizedCompilationJob * Pipeline : : NewCompilationJob ( <nl> Handle < JSFunction > function , bool has_script ) { <nl> Handle < SharedFunctionInfo > shared = handle ( function - > shared ( ) ) ; <nl> - ParseInfo * parse_info ; <nl> - if ( ! has_script ) { <nl> - parse_info = ParseInfo : : AllocateWithoutScript ( shared ) ; <nl> - } else { <nl> - parse_info = new ParseInfo ( shared ) ; <nl> - } <nl> - return new PipelineCompilationJob ( parse_info , shared , function ) ; <nl> + return new PipelineCompilationJob ( shared , function ) ; <nl> } <nl> <nl> / / static <nl> mmm a / src / debug / liveedit . cc <nl> ppp b / src / debug / liveedit . cc <nl> void LiveEdit : : ReplaceFunctionCode ( <nl> if ( shared_info - > is_compiled ( ) ) { <nl> / / Clear old bytecode . This will trigger self - healing if we do not install <nl> / / new bytecode . <nl> - shared_info - > ClearBytecodeArray ( ) ; <nl> + shared_info - > FlushCompiled ( ) ; <nl> shared_info - > set_bytecode_array ( new_shared_info - > bytecode_array ( ) ) ; <nl> <nl> if ( shared_info - > HasBreakInfo ( ) ) { <nl> void LiveEdit : : ReplaceFunctionCode ( <nl> handle ( shared_info - > GetDebugInfo ( ) ) ) ; <nl> } <nl> shared_info - > set_scope_info ( new_shared_info - > scope_info ( ) ) ; <nl> - shared_info - > set_outer_scope_info ( new_shared_info - > outer_scope_info ( ) ) ; <nl> + shared_info - > set_feedback_metadata ( new_shared_info - > feedback_metadata ( ) ) ; <nl> shared_info - > DisableOptimization ( BailoutReason : : kLiveEdit ) ; <nl> - / / Update the type feedback vector , if needed . <nl> - Handle < FeedbackMetadata > new_feedback_metadata ( <nl> - new_shared_info - > feedback_metadata ( ) ) ; <nl> - shared_info - > set_feedback_metadata ( * new_feedback_metadata ) ; <nl> } else { <nl> - / / Use an empty FeedbackMetadata . <nl> - Handle < FeedbackMetadata > feedback_metadata = FeedbackMetadata : : New ( isolate ) ; <nl> - shared_info - > set_feedback_metadata ( * feedback_metadata ) ; <nl> + / / There should not be any feedback metadata . Keep the outer scope info the <nl> + / / same . <nl> + DCHECK ( ! shared_info - > HasFeedbackMetadata ( ) ) ; <nl> } <nl> <nl> int start_position = compile_info_wrapper . GetStartPosition ( ) ; <nl> mmm a / src / factory . cc <nl> ppp b / src / factory . cc <nl> void Factory : : ReinitializeJSGlobalProxy ( Handle < JSGlobalProxy > object , <nl> } <nl> <nl> Handle < SharedFunctionInfo > Factory : : NewSharedFunctionInfoForLiteral ( <nl> - FunctionLiteral * literal , Handle < Script > script ) { <nl> + FunctionLiteral * literal , Handle < Script > script , bool is_toplevel ) { <nl> FunctionKind kind = literal - > kind ( ) ; <nl> Handle < SharedFunctionInfo > shared = NewSharedFunctionInfoForBuiltin ( <nl> literal - > name ( ) , Builtins : : kCompileLazy , kind ) ; <nl> - SharedFunctionInfo : : InitFromFunctionLiteral ( shared , literal ) ; <nl> + SharedFunctionInfo : : InitFromFunctionLiteral ( shared , literal , is_toplevel ) ; <nl> SharedFunctionInfo : : SetScript ( shared , script , false ) ; <nl> return shared ; <nl> } <nl> Handle < JSMessageObject > Factory : : NewJSMessageObject ( <nl> Handle < SharedFunctionInfo > Factory : : NewSharedFunctionInfoForApiFunction ( <nl> MaybeHandle < String > maybe_name , <nl> Handle < FunctionTemplateInfo > function_template_info , FunctionKind kind ) { <nl> - return NewSharedFunctionInfo ( maybe_name , function_template_info , <nl> - Builtins : : kNoBuiltinId , kind ) ; <nl> + Handle < SharedFunctionInfo > shared = NewSharedFunctionInfo ( <nl> + maybe_name , function_template_info , Builtins : : kNoBuiltinId , kind ) ; <nl> + return shared ; <nl> } <nl> <nl> Handle < SharedFunctionInfo > Factory : : NewSharedFunctionInfoForBuiltin ( <nl> MaybeHandle < String > maybe_name , int builtin_index , FunctionKind kind ) { <nl> - return NewSharedFunctionInfo ( maybe_name , MaybeHandle < Code > ( ) , builtin_index , <nl> - kind ) ; <nl> + Handle < SharedFunctionInfo > shared = NewSharedFunctionInfo ( <nl> + maybe_name , MaybeHandle < Code > ( ) , builtin_index , kind ) ; <nl> + return shared ; <nl> } <nl> <nl> Handle < SharedFunctionInfo > Factory : : NewSharedFunctionInfo ( <nl> Handle < SharedFunctionInfo > Factory : : NewSharedFunctionInfo ( <nl> } else { <nl> share - > set_builtin_id ( Builtins : : kIllegal ) ; <nl> } <nl> - share - > set_outer_scope_info ( * the_hole_value ( ) ) ; <nl> + / / Generally functions won ' t have feedback , unless they have been created <nl> + / / from a FunctionLiteral . Those can just reset this field to keep the <nl> + / / SharedFunctionInfo in a consistent state . <nl> + if ( maybe_builtin_index = = Builtins : : kCompileLazy ) { <nl> + share - > set_raw_outer_scope_info_or_feedback_metadata ( * the_hole_value ( ) , <nl> + SKIP_WRITE_BARRIER ) ; <nl> + } else { <nl> + share - > set_raw_outer_scope_info_or_feedback_metadata ( <nl> + * empty_feedback_metadata ( ) , SKIP_WRITE_BARRIER ) ; <nl> + } <nl> share - > set_script ( * undefined_value ( ) , SKIP_WRITE_BARRIER ) ; <nl> share - > set_debug_info ( Smi : : kZero , SKIP_WRITE_BARRIER ) ; <nl> share - > set_function_identifier ( * undefined_value ( ) , SKIP_WRITE_BARRIER ) ; <nl> - share - > set_feedback_metadata ( isolate ( ) - > heap ( ) - > empty_feedback_metadata ( ) , <nl> - SKIP_WRITE_BARRIER ) ; <nl> share - > set_function_literal_id ( FunctionLiteral : : kIdTypeInvalid ) ; <nl> # if V8_SFI_HAS_UNIQUE_ID <nl> share - > set_unique_id ( isolate ( ) - > GetNextUniqueSharedFunctionInfoId ( ) ) ; <nl> mmm a / src / factory . h <nl> ppp b / src / factory . h <nl> class V8_EXPORT_PRIVATE Factory final { <nl> FunctionKind kind = kNormalFunction ) ; <nl> <nl> Handle < SharedFunctionInfo > NewSharedFunctionInfoForLiteral ( <nl> - FunctionLiteral * literal , Handle < Script > script ) ; <nl> + FunctionLiteral * literal , Handle < Script > script , bool is_toplevel ) ; <nl> <nl> static bool IsFunctionModeWithPrototype ( FunctionMode function_mode ) { <nl> return ( function_mode & kWithPrototypeBits ) ! = 0 ; <nl> mmm a / src / ic / accessor - assembler . cc <nl> ppp b / src / ic / accessor - assembler . cc <nl> void AccessorAssembler : : BranchIfStrictMode ( Node * vector , Node * slot , <nl> Label * if_strict ) { <nl> Node * sfi = <nl> LoadObjectField ( vector , FeedbackVector : : kSharedFunctionInfoOffset ) ; <nl> - Node * metadata = <nl> - LoadObjectField ( sfi , SharedFunctionInfo : : kFeedbackMetadataOffset ) ; <nl> + TNode < FeedbackMetadata > metadata = CAST ( LoadObjectField ( <nl> + sfi , SharedFunctionInfo : : kOuterScopeInfoOrFeedbackMetadataOffset ) ) ; <nl> Node * slot_int = SmiToInt32 ( slot ) ; <nl> <nl> / / See VectorICComputer : : index ( ) . <nl> mmm a / src / objects - debug . cc <nl> ppp b / src / objects - debug . cc <nl> void SharedFunctionInfo : : SharedFunctionInfoVerify ( ) { <nl> <nl> VerifyObjectField ( kFunctionDataOffset ) ; <nl> VerifyObjectField ( kDebugInfoOffset ) ; <nl> - VerifyObjectField ( kFeedbackMetadataOffset ) ; <nl> + VerifyObjectField ( kOuterScopeInfoOrFeedbackMetadataOffset ) ; <nl> VerifyObjectField ( kFunctionIdentifierOffset ) ; <nl> VerifyObjectField ( kNameOrScopeInfoOffset ) ; <nl> - VerifyObjectField ( kOuterScopeInfoOffset ) ; <nl> VerifyObjectField ( kScriptOffset ) ; <nl> <nl> Object * value = name_or_scope_info ( ) ; <nl> void SharedFunctionInfo : : SharedFunctionInfoVerify ( ) { <nl> CHECK ( function_identifier ( ) - > IsUndefined ( isolate ) | | HasBuiltinFunctionId ( ) | | <nl> HasInferredName ( ) ) ; <nl> <nl> + if ( ! is_compiled ( ) ) { <nl> + CHECK ( ! HasFeedbackMetadata ( ) ) ; <nl> + CHECK ( outer_scope_info ( ) - > IsScopeInfo ( ) | | <nl> + outer_scope_info ( ) - > IsTheHole ( isolate ) ) ; <nl> + } else if ( HasBytecodeArray ( ) ) { <nl> + CHECK ( HasFeedbackMetadata ( ) ) ; <nl> + CHECK ( feedback_metadata ( ) - > IsFeedbackMetadata ( ) ) ; <nl> + } <nl> + <nl> int expected_map_index = Context : : FunctionMapIndex ( <nl> language_mode ( ) , kind ( ) , true , HasSharedName ( ) , needs_home_object ( ) ) ; <nl> CHECK_EQ ( expected_map_index , function_map_index ( ) ) ; <nl> mmm a / src / objects - printer . cc <nl> ppp b / src / objects - printer . cc <nl> void SharedFunctionInfo : : SharedFunctionInfoPrint ( std : : ostream & os ) { / / NOLINT <nl> os < < " \ n - no debug info " ; <nl> } <nl> os < < " \ n - scope info : " < < Brief ( scope_info ( ) ) ; <nl> + if ( HasOuterScopeInfo ( ) ) { <nl> + os < < " \ n - outer scope info : " < < Brief ( GetOuterScopeInfo ( ) ) ; <nl> + } <nl> os < < " \ n - length : " < < length ( ) ; <nl> os < < " \ n - feedback_metadata : " ; <nl> - feedback_metadata ( ) - > FeedbackMetadataPrint ( os ) ; <nl> + if ( HasFeedbackMetadata ( ) ) { <nl> + feedback_metadata ( ) - > FeedbackMetadataPrint ( os ) ; <nl> + } else { <nl> + os < < " < none > " ; <nl> + } <nl> os < < " \ n " ; <nl> } <nl> <nl> mmm a / src / objects . cc <nl> ppp b / src / objects . cc <nl> void SharedFunctionInfo : : DisableOptimization ( BailoutReason reason ) { <nl> } <nl> <nl> void SharedFunctionInfo : : InitFromFunctionLiteral ( <nl> - Handle < SharedFunctionInfo > shared_info , FunctionLiteral * lit ) { <nl> + Handle < SharedFunctionInfo > shared_info , FunctionLiteral * lit , <nl> + bool is_toplevel ) { <nl> / / When adding fields here , make sure DeclarationScope : : AnalyzePartially is <nl> / / updated accordingly . <nl> shared_info - > set_internal_formal_parameter_count ( lit - > parameter_count ( ) ) ; <nl> void SharedFunctionInfo : : InitFromFunctionLiteral ( <nl> IsClassConstructor ( lit - > kind ( ) ) ) ; <nl> shared_info - > set_requires_instance_fields_initializer ( <nl> lit - > requires_instance_fields_initializer ( ) ) ; <nl> + <nl> + shared_info - > set_is_toplevel ( is_toplevel ) ; <nl> + DCHECK ( shared_info - > outer_scope_info ( ) - > IsTheHole ( shared_info - > GetIsolate ( ) ) ) ; <nl> + if ( ! is_toplevel ) { <nl> + Scope * outer_scope = lit - > scope ( ) - > GetOuterScopeWithContext ( ) ; <nl> + if ( outer_scope ) { <nl> + shared_info - > set_outer_scope_info ( * outer_scope - > scope_info ( ) ) ; <nl> + } <nl> + } <nl> + <nl> / / For lazy parsed functions , the following flags will be inaccurate since we <nl> / / don ' t have the information yet . They ' re set later in <nl> / / SetSharedFunctionFlagsFromLiteral ( compiler . cc ) , when the function is <nl> mmm a / src / objects / shared - function - info - inl . h <nl> ppp b / src / objects / shared - function - info - inl . h <nl> DEFINE_DEOPT_ELEMENT_ACCESSORS ( SharedFunctionInfo , Object ) <nl> <nl> ACCESSORS ( SharedFunctionInfo , name_or_scope_info , Object , <nl> kNameOrScopeInfoOffset ) <nl> - ACCESSORS ( SharedFunctionInfo , feedback_metadata , FeedbackMetadata , <nl> - kFeedbackMetadataOffset ) <nl> ACCESSORS ( SharedFunctionInfo , function_data , Object , kFunctionDataOffset ) <nl> ACCESSORS ( SharedFunctionInfo , script , Object , kScriptOffset ) <nl> ACCESSORS ( SharedFunctionInfo , debug_info , Object , kDebugInfoOffset ) <nl> void SharedFunctionInfo : : set_scope_info ( ScopeInfo * scope_info , <nl> reinterpret_cast < Object * > ( scope_info ) , mode ) ; <nl> } <nl> <nl> - ACCESSORS ( SharedFunctionInfo , outer_scope_info , HeapObject , <nl> - kOuterScopeInfoOffset ) <nl> + ACCESSORS ( SharedFunctionInfo , raw_outer_scope_info_or_feedback_metadata , <nl> + HeapObject , kOuterScopeInfoOrFeedbackMetadataOffset ) <nl> + <nl> + HeapObject * SharedFunctionInfo : : outer_scope_info ( ) const { <nl> + DCHECK ( ! is_compiled ( ) ) ; <nl> + DCHECK ( ! HasFeedbackMetadata ( ) ) ; <nl> + return raw_outer_scope_info_or_feedback_metadata ( ) ; <nl> + } <nl> + <nl> + bool SharedFunctionInfo : : HasOuterScopeInfo ( ) const { <nl> + ScopeInfo * outer_info = nullptr ; <nl> + if ( ! is_compiled ( ) ) { <nl> + if ( ! outer_scope_info ( ) - > IsScopeInfo ( ) ) return false ; <nl> + outer_info = ScopeInfo : : cast ( outer_scope_info ( ) ) ; <nl> + } else { <nl> + if ( ! scope_info ( ) - > HasOuterScopeInfo ( ) ) return false ; <nl> + outer_info = scope_info ( ) - > OuterScopeInfo ( ) ; <nl> + } <nl> + return outer_info - > length ( ) > 0 ; <nl> + } <nl> + <nl> + ScopeInfo * SharedFunctionInfo : : GetOuterScopeInfo ( ) const { <nl> + DCHECK ( HasOuterScopeInfo ( ) ) ; <nl> + if ( ! is_compiled ( ) ) return ScopeInfo : : cast ( outer_scope_info ( ) ) ; <nl> + return scope_info ( ) - > OuterScopeInfo ( ) ; <nl> + } <nl> + <nl> + void SharedFunctionInfo : : set_outer_scope_info ( HeapObject * value , <nl> + WriteBarrierMode mode ) { <nl> + DCHECK ( ! is_compiled ( ) ) ; <nl> + DCHECK ( raw_outer_scope_info_or_feedback_metadata ( ) - > IsTheHole ( GetIsolate ( ) ) ) ; <nl> + DCHECK ( value - > IsScopeInfo ( ) | | value - > IsTheHole ( GetIsolate ( ) ) ) ; <nl> + return set_raw_outer_scope_info_or_feedback_metadata ( value , mode ) ; <nl> + } <nl> + <nl> + bool SharedFunctionInfo : : HasFeedbackMetadata ( ) const { <nl> + return raw_outer_scope_info_or_feedback_metadata ( ) - > IsFeedbackMetadata ( ) ; <nl> + } <nl> + <nl> + FeedbackMetadata * SharedFunctionInfo : : feedback_metadata ( ) const { <nl> + DCHECK ( HasFeedbackMetadata ( ) ) ; <nl> + return FeedbackMetadata : : cast ( raw_outer_scope_info_or_feedback_metadata ( ) ) ; <nl> + } <nl> + <nl> + void SharedFunctionInfo : : set_feedback_metadata ( FeedbackMetadata * value , <nl> + WriteBarrierMode mode ) { <nl> + DCHECK ( ! HasFeedbackMetadata ( ) ) ; <nl> + DCHECK ( value - > IsFeedbackMetadata ( ) ) ; <nl> + return set_raw_outer_scope_info_or_feedback_metadata ( value , mode ) ; <nl> + } <nl> <nl> bool SharedFunctionInfo : : is_compiled ( ) const { <nl> Object * data = function_data ( ) ; <nl> void SharedFunctionInfo : : set_bytecode_array ( BytecodeArray * bytecode ) { <nl> set_function_data ( bytecode ) ; <nl> } <nl> <nl> - void SharedFunctionInfo : : ClearBytecodeArray ( ) { <nl> - DCHECK ( function_data ( ) = = Smi : : FromEnum ( Builtins : : kCompileLazy ) | | <nl> - HasBytecodeArray ( ) ) ; <nl> - set_builtin_id ( Builtins : : kCompileLazy ) ; <nl> - } <nl> - <nl> bool SharedFunctionInfo : : HasAsmWasmData ( ) const { <nl> return function_data ( ) - > IsFixedArray ( ) ; <nl> } <nl> void SharedFunctionInfo : : set_asm_wasm_data ( FixedArray * data ) { <nl> set_function_data ( data ) ; <nl> } <nl> <nl> - void SharedFunctionInfo : : ClearAsmWasmData ( ) { <nl> - DCHECK ( HasAsmWasmData ( ) ) ; <nl> - set_builtin_id ( Builtins : : kCompileLazy ) ; <nl> - } <nl> - <nl> bool SharedFunctionInfo : : HasBuiltinId ( ) const { <nl> return function_data ( ) - > IsSmi ( ) ; <nl> } <nl> bool SharedFunctionInfo : : IsSubjectToDebugging ( ) { <nl> return IsUserJavaScript ( ) & & ! HasAsmWasmData ( ) ; <nl> } <nl> <nl> + bool SharedFunctionInfo : : CanFlushCompiled ( ) const { <nl> + bool can_decompile = <nl> + ( HasBytecodeArray ( ) | | HasAsmWasmData ( ) | | HasPreParsedScopeData ( ) ) ; <nl> + return can_decompile ; <nl> + } <nl> + <nl> + void SharedFunctionInfo : : FlushCompiled ( ) { <nl> + DisallowHeapAllocation no_gc ; <nl> + <nl> + DCHECK ( CanFlushCompiled ( ) ) ; <nl> + <nl> + Oddball * the_hole = GetIsolate ( ) - > heap ( ) - > the_hole_value ( ) ; <nl> + <nl> + if ( is_compiled ( ) ) { <nl> + HeapObject * outer_scope_info = the_hole ; <nl> + if ( ! is_toplevel ( ) ) { <nl> + if ( scope_info ( ) - > HasOuterScopeInfo ( ) ) { <nl> + outer_scope_info = scope_info ( ) - > OuterScopeInfo ( ) ; <nl> + } <nl> + } <nl> + / / Raw setter to avoid validity checks , since we ' re performing the unusual <nl> + / / task of decompiling . <nl> + set_raw_outer_scope_info_or_feedback_metadata ( outer_scope_info ) ; <nl> + } else { <nl> + DCHECK ( outer_scope_info ( ) - > IsScopeInfo ( ) | | is_toplevel ( ) ) ; <nl> + } <nl> + <nl> + set_builtin_id ( Builtins : : kCompileLazy ) ; <nl> + } <nl> + <nl> } / / namespace internal <nl> } / / namespace v8 <nl> <nl> mmm a / src / objects / shared - function - info . h <nl> ppp b / src / objects / shared - function - info . h <nl> class SharedFunctionInfo : public HeapObject { <nl> / / Start position of this function in the script source . <nl> inline int StartPosition ( ) const ; <nl> <nl> - / / The outer scope info for the purpose of parsing this function , or the hole <nl> - / / value if it isn ' t yet known . <nl> - DECL_ACCESSORS ( outer_scope_info , HeapObject ) <nl> + / / [ outer scope info | feedback metadata ] Shared storage for outer scope info <nl> + / / ( on uncompiled functions ) and feedback metadata ( on compiled functions ) . <nl> + DECL_ACCESSORS ( raw_outer_scope_info_or_feedback_metadata , HeapObject ) <nl> + <nl> + / / Get the outer scope info whether this function is compiled or not . <nl> + inline bool HasOuterScopeInfo ( ) const ; <nl> + inline ScopeInfo * GetOuterScopeInfo ( ) const ; <nl> + <nl> + / / [ feedback metadata ] Metadata template for feedback vectors of instances of <nl> + / / this function . <nl> + inline bool HasFeedbackMetadata ( ) const ; <nl> + DECL_ACCESSORS ( feedback_metadata , FeedbackMetadata ) <nl> <nl> / / Returns if this function has been compiled to native code yet . <nl> inline bool is_compiled ( ) const ; <nl> class SharedFunctionInfo : public HeapObject { <nl> / / function . The value is only reliable when the function has been compiled . <nl> DECL_INT_ACCESSORS ( expected_nof_properties ) <nl> <nl> - / / [ feedback_metadata ] - describes ast node feedback from full - codegen and <nl> - / / ( increasingly ) from crankshafted code where sufficient feedback isn ' t <nl> - / / available . <nl> - DECL_ACCESSORS ( feedback_metadata , FeedbackMetadata ) <nl> - <nl> / / [ function_literal_id ] - uniquely identifies the FunctionLiteral this <nl> / / SharedFunctionInfo represents within its script , or - 1 if this <nl> / / SharedFunctionInfo object doesn ' t correspond to a parsed FunctionLiteral . <nl> class SharedFunctionInfo : public HeapObject { <nl> inline bool HasBytecodeArray ( ) const ; <nl> inline BytecodeArray * bytecode_array ( ) const ; <nl> inline void set_bytecode_array ( BytecodeArray * bytecode ) ; <nl> - inline void ClearBytecodeArray ( ) ; <nl> inline bool HasAsmWasmData ( ) const ; <nl> inline FixedArray * asm_wasm_data ( ) const ; <nl> inline void set_asm_wasm_data ( FixedArray * data ) ; <nl> - inline void ClearAsmWasmData ( ) ; <nl> / / A brief note to clear up possible confusion : <nl> / / builtin_id corresponds to the auto - generated <nl> / / Builtins : : Name id , while builtin_function_id corresponds to <nl> class SharedFunctionInfo : public HeapObject { <nl> / / Whether this function is defined in user - provided JavaScript code . <nl> inline bool IsUserJavaScript ( ) ; <nl> <nl> + / / True if one can flush compiled code from this function , in such a way that <nl> + / / it can later be re - compiled . <nl> + inline bool CanFlushCompiled ( ) const ; <nl> + <nl> + / / Flush compiled data from this function , setting it back to CompileLazy and <nl> + / / clearing any feedback metadata . <nl> + inline void FlushCompiled ( ) ; <nl> + <nl> / / Check whether or not this function is inlineable . <nl> bool IsInlineable ( ) ; <nl> <nl> class SharedFunctionInfo : public HeapObject { <nl> <nl> / / Initialize a SharedFunctionInfo from a parsed function literal . <nl> static void InitFromFunctionLiteral ( Handle < SharedFunctionInfo > shared_info , <nl> - FunctionLiteral * lit ) ; <nl> + FunctionLiteral * lit , bool is_toplevel ) ; <nl> <nl> / / Sets the expected number of properties based on estimate from parser . <nl> void SetExpectedNofPropertiesFromEstimate ( FunctionLiteral * literal ) ; <nl> class SharedFunctionInfo : public HeapObject { <nl> # endif <nl> <nl> / / Layout description . <nl> - # define SHARED_FUNCTION_INFO_FIELDS ( V ) \ <nl> - / * Pointer fields . * / \ <nl> - V ( kStartOfPointerFieldsOffset , 0 ) \ <nl> - V ( kFunctionDataOffset , kPointerSize ) \ <nl> - V ( kNameOrScopeInfoOffset , kPointerSize ) \ <nl> - V ( kOuterScopeInfoOffset , kPointerSize ) \ <nl> - V ( kScriptOffset , kPointerSize ) \ <nl> - V ( kDebugInfoOffset , kPointerSize ) \ <nl> - V ( kFunctionIdentifierOffset , kPointerSize ) \ <nl> - V ( kFeedbackMetadataOffset , kPointerSize ) \ <nl> - V ( kEndOfPointerFieldsOffset , 0 ) \ <nl> - / * Raw data fields . * / \ <nl> - V ( kFunctionLiteralIdOffset , kInt32Size ) \ <nl> - V ( kUniqueIdOffset , kUniqueIdFieldSize ) \ <nl> - V ( kLengthOffset , kInt32Size ) \ <nl> - V ( kFormalParameterCountOffset , kInt32Size ) \ <nl> - V ( kExpectedNofPropertiesOffset , kInt32Size ) \ <nl> - V ( kStartPositionAndTypeOffset , kInt32Size ) \ <nl> - V ( kEndPositionOffset , kInt32Size ) \ <nl> - V ( kFunctionTokenPositionOffset , kInt32Size ) \ <nl> - V ( kFlagsOffset , kInt32Size ) \ <nl> - / * Total size . * / \ <nl> + # define SHARED_FUNCTION_INFO_FIELDS ( V ) \ <nl> + / * Pointer fields . * / \ <nl> + V ( kStartOfPointerFieldsOffset , 0 ) \ <nl> + V ( kFunctionDataOffset , kPointerSize ) \ <nl> + V ( kNameOrScopeInfoOffset , kPointerSize ) \ <nl> + V ( kOuterScopeInfoOrFeedbackMetadataOffset , kPointerSize ) \ <nl> + V ( kScriptOffset , kPointerSize ) \ <nl> + V ( kDebugInfoOffset , kPointerSize ) \ <nl> + V ( kFunctionIdentifierOffset , kPointerSize ) \ <nl> + V ( kEndOfPointerFieldsOffset , 0 ) \ <nl> + / * Raw data fields . * / \ <nl> + V ( kFunctionLiteralIdOffset , kInt32Size ) \ <nl> + V ( kUniqueIdOffset , kUniqueIdFieldSize ) \ <nl> + V ( kLengthOffset , kInt32Size ) \ <nl> + V ( kFormalParameterCountOffset , kInt32Size ) \ <nl> + V ( kExpectedNofPropertiesOffset , kInt32Size ) \ <nl> + V ( kStartPositionAndTypeOffset , kInt32Size ) \ <nl> + V ( kEndPositionOffset , kInt32Size ) \ <nl> + V ( kFunctionTokenPositionOffset , kInt32Size ) \ <nl> + V ( kFlagsOffset , kInt32Size ) \ <nl> + / * Total size . * / \ <nl> V ( kSize , 0 ) <nl> <nl> DEFINE_FIELD_OFFSET_CONSTANTS ( HeapObject : : kHeaderSize , <nl> class SharedFunctionInfo : public HeapObject { <nl> / / ScopeInfo . <nl> DECL_ACCESSORS ( name_or_scope_info , Object ) <nl> <nl> + / / [ outer scope info ] The outer scope info , needed to lazily parse this <nl> + / / function . <nl> + DECL_ACCESSORS ( outer_scope_info , HeapObject ) <nl> + <nl> inline void set_kind ( FunctionKind kind ) ; <nl> <nl> inline void set_needs_home_object ( bool value ) ; <nl> mmm a / src / parsing / parse - info . cc <nl> ppp b / src / parsing / parse - info . cc <nl> ParseInfo : : ParseInfo ( Handle < SharedFunctionInfo > shared ) <nl> set_module ( script - > origin_options ( ) . IsModule ( ) ) ; <nl> DCHECK ( ! ( is_eval ( ) & & is_module ( ) ) ) ; <nl> <nl> - Handle < HeapObject > scope_info ( shared - > outer_scope_info ( ) ) ; <nl> - if ( ! scope_info - > IsTheHole ( isolate ) & & <nl> - Handle < ScopeInfo > : : cast ( scope_info ) - > length ( ) > 0 ) { <nl> - set_outer_scope_info ( Handle < ScopeInfo > : : cast ( scope_info ) ) ; <nl> + if ( shared - > HasOuterScopeInfo ( ) ) { <nl> + set_outer_scope_info ( handle ( shared - > GetOuterScopeInfo ( ) ) ) ; <nl> } <nl> <nl> / / CollectTypeProfile uses its own feedback slots . If we have existing <nl> ParseInfo : : ParseInfo ( Handle < SharedFunctionInfo > shared ) <nl> / / has the appropriate slots . <nl> set_collect_type_profile ( <nl> isolate - > is_collecting_type_profile ( ) & & <nl> - ( shared - > feedback_metadata ( ) - > is_empty ( ) <nl> - ? script - > IsUserJavaScript ( ) <nl> - : shared - > feedback_metadata ( ) - > HasTypeProfileSlot ( ) ) ) ; <nl> + ( shared - > HasFeedbackMetadata ( ) <nl> + ? shared - > feedback_metadata ( ) - > HasTypeProfileSlot ( ) <nl> + : script - > IsUserJavaScript ( ) ) ) ; <nl> if ( block_coverage_enabled ( ) & & script - > IsUserJavaScript ( ) ) { <nl> AllocateSourceRangeMap ( ) ; <nl> } <nl> ParseInfo * ParseInfo : : AllocateWithoutScript ( Handle < SharedFunctionInfo > shared ) { <nl> p - > set_module ( false ) ; <nl> DCHECK_NE ( shared - > kind ( ) , FunctionKind : : kModule ) ; <nl> <nl> - Handle < HeapObject > scope_info ( shared - > outer_scope_info ( ) ) ; <nl> + Handle < HeapObject > scope_info ( shared - > GetOuterScopeInfo ( ) ) ; <nl> if ( ! scope_info - > IsTheHole ( isolate ) & & <nl> Handle < ScopeInfo > : : cast ( scope_info ) - > length ( ) > 0 ) { <nl> p - > set_outer_scope_info ( Handle < ScopeInfo > : : cast ( scope_info ) ) ; <nl> mmm a / src / profiler / heap - snapshot - generator . cc <nl> ppp b / src / profiler / heap - snapshot - generator . cc <nl> void V8HeapExplorer : : ExtractSharedFunctionInfoReferences ( <nl> SetInternalReference ( obj , entry , " function_identifier " , <nl> shared - > function_identifier ( ) , <nl> SharedFunctionInfo : : kFunctionIdentifierOffset ) ; <nl> - SetInternalReference ( obj , entry , " feedback_metadata " , <nl> - shared - > feedback_metadata ( ) , <nl> - SharedFunctionInfo : : kFeedbackMetadataOffset ) ; <nl> + SetInternalReference ( <nl> + obj , entry , " raw_outer_scope_info_or_feedback_metadata " , <nl> + shared - > raw_outer_scope_info_or_feedback_metadata ( ) , <nl> + SharedFunctionInfo : : kOuterScopeInfoOrFeedbackMetadataOffset ) ; <nl> } <nl> <nl> - <nl> void V8HeapExplorer : : ExtractScriptReferences ( int entry , Script * script ) { <nl> HeapObject * obj = script ; <nl> SetInternalReference ( obj , entry , <nl> mmm a / src / runtime / runtime - compiler . cc <nl> ppp b / src / runtime / runtime - compiler . cc <nl> RUNTIME_FUNCTION ( Runtime_InstantiateAsmJs ) { <nl> / / Remove wasm data , mark as broken for asm - > wasm , replace function code with <nl> / / CompileLazy , and return a smi 0 to indicate failure . <nl> if ( function - > shared ( ) - > HasAsmWasmData ( ) ) { <nl> - function - > shared ( ) - > ClearAsmWasmData ( ) ; <nl> + function - > shared ( ) - > FlushCompiled ( ) ; <nl> } <nl> function - > shared ( ) - > set_is_asm_wasm_broken ( true ) ; <nl> DCHECK ( function - > code ( ) = = <nl> mmm a / src / runtime / runtime - function . cc <nl> ppp b / src / runtime / runtime - function . cc <nl> RUNTIME_FUNCTION ( Runtime_SetCode ) { <nl> / / of the target shared function info . <nl> target_shared - > set_function_data ( source_shared - > function_data ( ) ) ; <nl> target_shared - > set_length ( source_shared - > GetLength ( ) ) ; <nl> - target_shared - > set_feedback_metadata ( source_shared - > feedback_metadata ( ) ) ; <nl> + target_shared - > set_raw_outer_scope_info_or_feedback_metadata ( <nl> + source_shared - > raw_outer_scope_info_or_feedback_metadata ( ) ) ; <nl> target_shared - > set_internal_formal_parameter_count ( <nl> source_shared - > internal_formal_parameter_count ( ) ) ; <nl> target_shared - > set_raw_start_position_and_type ( <nl> RUNTIME_FUNCTION ( Runtime_SetCode ) { <nl> target_shared - > set_function_literal_id ( source_shared - > function_literal_id ( ) ) ; <nl> <nl> target_shared - > set_scope_info ( source_shared - > scope_info ( ) ) ; <nl> - target_shared - > set_outer_scope_info ( source_shared - > outer_scope_info ( ) ) ; <nl> <nl> Handle < Object > source_script ( source_shared - > script ( ) , isolate ) ; <nl> if ( source_script - > IsScript ( ) ) { <nl> mmm a / test / cctest / compiler / function - tester . cc <nl> ppp b / test / cctest / compiler / function - tester . cc <nl> Handle < JSFunction > FunctionTester : : ForMachineGraph ( Graph * graph , <nl> <nl> Handle < JSFunction > FunctionTester : : Compile ( Handle < JSFunction > function ) { <nl> Handle < SharedFunctionInfo > shared ( function - > shared ( ) ) ; <nl> - ParseInfo parse_info ( shared ) ; <nl> - OptimizedCompilationInfo info ( parse_info . zone ( ) , function - > GetIsolate ( ) , <nl> - shared , function ) ; <nl> + Zone zone ( function - > GetIsolate ( ) - > allocator ( ) , ZONE_NAME ) ; <nl> + OptimizedCompilationInfo info ( & zone , function - > GetIsolate ( ) , shared , <nl> + function ) ; <nl> <nl> if ( flags_ & OptimizedCompilationInfo : : kInliningEnabled ) { <nl> info . MarkAsInliningEnabled ( ) ; <nl> Handle < JSFunction > FunctionTester : : Compile ( Handle < JSFunction > function ) { <nl> / / and replace the JSFunction ' s code with the result . <nl> Handle < JSFunction > FunctionTester : : CompileGraph ( Graph * graph ) { <nl> Handle < SharedFunctionInfo > shared ( function - > shared ( ) ) ; <nl> - ParseInfo parse_info ( shared ) ; <nl> - OptimizedCompilationInfo info ( parse_info . zone ( ) , function - > GetIsolate ( ) , <nl> - shared , function ) ; <nl> + Zone zone ( function - > GetIsolate ( ) - > allocator ( ) , ZONE_NAME ) ; <nl> + OptimizedCompilationInfo info ( & zone , function - > GetIsolate ( ) , shared , <nl> + function ) ; <nl> <nl> Handle < Code > code = <nl> Pipeline : : GenerateCodeForTesting ( & info , function - > GetIsolate ( ) , graph ) ; <nl> mmm a / test / cctest / heap / test - heap . cc <nl> ppp b / test / cctest / heap / test - heap . cc <nl> static void RemoveCodeAndGC ( const v8 : : FunctionCallbackInfo < v8 : : Value > & args ) { <nl> Isolate * isolate = CcTest : : i_isolate ( ) ; <nl> Handle < Object > obj = v8 : : Utils : : OpenHandle ( * args [ 0 ] ) ; <nl> Handle < JSFunction > fun = Handle < JSFunction > : : cast ( obj ) ; <nl> - fun - > shared ( ) - > ClearBytecodeArray ( ) ; / / Bytecode is code too . <nl> + fun - > shared ( ) - > FlushCompiled ( ) ; / / Bytecode is code too . <nl> fun - > set_code ( * BUILTIN_CODE ( isolate , CompileLazy ) ) ; <nl> CcTest : : CollectAllAvailableGarbage ( ) ; <nl> } <nl> mmm a / test / cctest / interpreter / interpreter - tester . h <nl> ppp b / test / cctest / interpreter / interpreter - tester . h <nl> class InterpreterTester { <nl> } <nl> if ( ! feedback_metadata_ . is_null ( ) ) { <nl> function - > set_feedback_cell ( isolate_ - > heap ( ) - > many_closures_cell ( ) ) ; <nl> - function - > shared ( ) - > set_feedback_metadata ( <nl> + / / Set the raw feedback metadata to circumvent checks that we are not <nl> + / / overwriting existing metadata . <nl> + function - > shared ( ) - > set_raw_outer_scope_info_or_feedback_metadata ( <nl> * feedback_metadata_ . ToHandleChecked ( ) ) ; <nl> JSFunction : : EnsureFeedbackVector ( function ) ; <nl> } <nl> mmm a / test / cctest / test - feedback - vector . h <nl> ppp b / test / cctest / test - feedback - vector . h <nl> Handle < FeedbackVector > NewFeedbackVector ( Isolate * isolate , Spec * spec ) { <nl> Handle < SharedFunctionInfo > shared = <nl> isolate - > factory ( ) - > NewSharedFunctionInfoForBuiltin ( <nl> isolate - > factory ( ) - > empty_string ( ) , Builtins : : kIllegal ) ; <nl> - shared - > set_feedback_metadata ( * metadata ) ; <nl> + / / Set the raw feedback metadata to circumvent checks that we are not <nl> + / / overwriting existing metadata . <nl> + shared - > set_raw_outer_scope_info_or_feedback_metadata ( * metadata ) ; <nl> return FeedbackVector : : New ( isolate , shared ) ; <nl> } <nl> <nl> mmm a / test / unittests / compiler - dispatcher / optimizing - compile - dispatcher - unittest . cc <nl> ppp b / test / unittests / compiler - dispatcher / optimizing - compile - dispatcher - unittest . cc <nl> namespace { <nl> class BlockingCompilationJob : public OptimizedCompilationJob { <nl> public : <nl> BlockingCompilationJob ( Isolate * isolate , Handle < JSFunction > function ) <nl> - : OptimizedCompilationJob ( isolate - > stack_guard ( ) - > real_climit ( ) , <nl> - & parse_info_ , & info_ , " BlockingCompilationJob " , <nl> + : OptimizedCompilationJob ( isolate - > stack_guard ( ) - > real_climit ( ) , & info_ , <nl> + " BlockingCompilationJob " , <nl> State : : kReadyToExecute ) , <nl> shared_ ( function - > shared ( ) ) , <nl> - parse_info_ ( shared_ ) , <nl> - info_ ( parse_info_ . zone ( ) , function - > GetIsolate ( ) , shared_ , function ) , <nl> + zone_ ( isolate - > allocator ( ) , ZONE_NAME ) , <nl> + info_ ( & zone_ , function - > GetIsolate ( ) , shared_ , function ) , <nl> blocking_ ( false ) , <nl> semaphore_ ( 0 ) { } <nl> ~ BlockingCompilationJob ( ) override = default ; <nl> class BlockingCompilationJob : public OptimizedCompilationJob { <nl> <nl> private : <nl> Handle < SharedFunctionInfo > shared_ ; <nl> - ParseInfo parse_info_ ; <nl> + Zone zone_ ; <nl> OptimizedCompilationInfo info_ ; <nl> base : : AtomicValue < bool > blocking_ ; <nl> base : : Semaphore semaphore_ ; <nl> mmm a / test / unittests / compiler / js - call - reducer - unittest . cc <nl> ppp b / test / unittests / compiler / js - call - reducer - unittest . cc <nl> class JSCallReducerTest : public TypedGraphTest { <nl> Handle < SharedFunctionInfo > shared = <nl> isolate ( ) - > factory ( ) - > NewSharedFunctionInfoForBuiltin ( <nl> isolate ( ) - > factory ( ) - > empty_string ( ) , Builtins : : kIllegal ) ; <nl> - shared - > set_feedback_metadata ( * metadata ) ; <nl> + / / Set the raw feedback metadata to circumvent checks that we are not <nl> + / / overwriting existing metadata . <nl> + shared - > set_raw_outer_scope_info_or_feedback_metadata ( * metadata ) ; <nl> Handle < FeedbackVector > vector = FeedbackVector : : New ( isolate ( ) , shared ) ; <nl> VectorSlotPair feedback ( vector , FeedbackSlot ( 0 ) ) ; <nl> return javascript ( ) - > Call ( arity , CallFrequency ( ) , feedback , <nl> mmm a / test / unittests / test - helpers . cc <nl> ppp b / test / unittests / test - helpers . cc <nl> Handle < SharedFunctionInfo > CreateSharedFunctionInfo ( <nl> isolate - > factory ( ) - > NewStringFromAsciiChecked ( " f " ) , <nl> Builtins : : kCompileLazy ) ; <nl> shared - > set_raw_end_position ( source - > length ( ) ) ; <nl> - shared - > set_outer_scope_info ( ScopeInfo : : Empty ( isolate ) ) ; <nl> + / / Make sure we have an outer scope info , even though it ' s empty <nl> + shared - > set_raw_outer_scope_info_or_feedback_metadata ( <nl> + ScopeInfo : : Empty ( isolate ) ) ; <nl> shared - > set_function_literal_id ( 1 ) ; <nl> SharedFunctionInfo : : SetScript ( shared , script ) ; <nl> return scope . CloseAndEscape ( shared ) ; <nl>
[ objects ] Merge SFI outer_scope_info and feedback_metadata
v8/v8
6bd1d3c28015b31d33f082e019c8d3cccc22be0a
2018-04-06T15:06:04Z
mmm a / dbms / include / DB / Common / Macros . h <nl> ppp b / dbms / include / DB / Common / Macros . h <nl> class Macros <nl> Macros ( ) ; <nl> Macros ( const Poco : : Util : : AbstractConfiguration & config , const String & key ) ; <nl> <nl> - / / / Заменить в строке подстроки вида { macro_name } на значение для macro_name , полученное из конфига . <nl> - String expand ( const String & s ) const ; <nl> + / * * Заменить в строке подстроки вида { macro_name } на значение для macro_name , полученное из конфига . <nl> + * level - уровень рекурсии . <nl> + * / <nl> + String expand ( const String & s , size_t level = 0 ) const ; <nl> <nl> private : <nl> typedef std : : map < String , String > MacroMap ; <nl> mmm a / dbms / src / Common / Macros . cpp <nl> ppp b / dbms / src / Common / Macros . cpp <nl> Macros : : Macros ( const Poco : : Util : : AbstractConfiguration & config , const String & <nl> } <nl> } <nl> <nl> - String Macros : : expand ( const String & s ) const <nl> + String Macros : : expand ( const String & s , size_t level ) const <nl> { <nl> if ( s . find ( ' { ' ) = = String : : npos ) <nl> return s ; <nl> <nl> + if ( level & & s . size ( ) > 65536 ) <nl> + throw Exception ( " Too long string while expanding macros " , ErrorCodes : : SYNTAX_ERROR ) ; <nl> + <nl> + if ( level > = 10 ) <nl> + throw Exception ( " Too deep recursion while expanding macros : ' " + s + " ' " , ErrorCodes : : SYNTAX_ERROR ) ; <nl> + <nl> String res ; <nl> size_t pos = 0 ; <nl> while ( true ) <nl> String Macros : : expand ( const String & s ) const <nl> + + begin ; <nl> size_t end = s . find ( ' } ' , begin ) ; <nl> if ( end = = String : : npos ) <nl> - throw Exception ( " Unbalanced { and } in string with macros : \ " " + s + " \ " " , ErrorCodes : : SYNTAX_ERROR ) ; <nl> + throw Exception ( " Unbalanced { and } in string with macros : ' " + s + " ' " , ErrorCodes : : SYNTAX_ERROR ) ; <nl> <nl> String macro_name = s . substr ( begin , end - begin ) ; <nl> <nl> String Macros : : expand ( const String & s ) const <nl> pos = end + 1 ; <nl> } <nl> <nl> - return res ; <nl> + return expand ( res , level + 1 ) ; <nl> } <nl> <nl> } <nl>
dbms : allowed recursive macros [ # METR - 13146 ] .
ClickHouse/ClickHouse
7ef7b5d81efbdc59192dc45ac1411e17989970b3
2014-10-15T19:38:46Z
mmm a / ports / rdkafka / CONTROL <nl> ppp b / ports / rdkafka / CONTROL <nl> <nl> Source : rdkafka <nl> - Version : v1 . 0 . 0 - RC8 - test - deps13 <nl> + Version : v1 . 0 . 0 <nl> Description : The Apache Kafka C / C + + library <nl> Build - Depends : openssl , zlib , zstd <nl> mmm a / ports / rdkafka / portfile . cmake <nl> ppp b / ports / rdkafka / portfile . cmake <nl> include ( vcpkg_common_functions ) <nl> vcpkg_from_github ( <nl> OUT_SOURCE_PATH SOURCE_PATH <nl> REPO edenhill / librdkafka <nl> - REF v1 . 0 . 0 - RC8 - test - deps13 <nl> - SHA512 08c48494eb2412335d0729ee831375da7ab21c7a9f00710f50f99d7fdac40b2520ece70d55919b6944372d852bd7b7d08166ca5c7557922d41df6ca2b6e2cf81 <nl> + REF v1 . 0 . 0 <nl> + SHA512 15ac1e4c9042debf8d4df602ccdc5eccae3a37b305be24d724fcaffc3d1d0aafa708fc8e29d6af51f51ed6c7daf74b3041b8b9b0444e6702cd73479c8078859a <nl> HEAD_REF master <nl> ) <nl> <nl>
[ librdkafka ] Update to v1 . 0 . 0
microsoft/vcpkg
af8fa46a03dad85068aa21e6fe6040d2adcb7dcf
2019-05-07T11:21:26Z
mmm a / core / io / image_loader . cpp <nl> ppp b / core / io / image_loader . cpp <nl> Error ImageLoader : : load_image ( String p_file , Ref < Image > p_image , FileAccess * p_c <nl> if ( ! loader [ i ] - > recognize ( extension ) ) <nl> continue ; <nl> Error err = loader [ i ] - > load_image ( p_image , f , p_force_linear , p_scale ) ; <nl> + if ( err ! = OK ) { <nl> + ERR_PRINTS ( " Error loading image : " + p_file ) ; <nl> + } <nl> <nl> if ( err ! = ERR_FILE_UNRECOGNIZED ) { <nl> <nl>
Merge pull request from capnm / capnm - print - corrupt - image - path
godotengine/godot
0411ab56f5d20ee026a3137d04325c842cb07c68
2019-05-30T12:52:55Z
mmm a / src / runtime / vm / translator / hopt / dce . cpp <nl> ppp b / src / runtime / vm / translator / hopt / dce . cpp <nl> void removeDeadInstructions ( Trace * trace ) { <nl> trace - > getInstructionList ( ) . remove_if ( instructionIsMarkedDead ) ; <nl> } <nl> <nl> + void removeDeadInstructions ( Trace * trace , const boost : : dynamic_bitset < > & live ) { <nl> + trace - > getInstructionList ( ) . remove_if ( [ & ] ( const IRInstruction * inst ) { <nl> + assert ( inst - > getIId ( ) < live . size ( ) ) ; <nl> + return ! live . test ( inst - > getIId ( ) ) ; <nl> + } ) ; <nl> + } <nl> + <nl> bool isUnguardedLoad ( IRInstruction * inst ) { <nl> Opcode opc = inst - > getOpcode ( ) ; <nl> SSATmp * dst = inst - > getDst ( ) ; <nl> mmm a / src / runtime / vm / translator / hopt / ir . cpp <nl> ppp b / src / runtime / vm / translator / hopt / ir . cpp <nl> namespace HPHP { <nl> namespace VM { <nl> namespace JIT { <nl> <nl> - IRInstruction : : IRInstruction ( IRFactory & factory , const IRInstruction * inst ) <nl> + IRInstruction : : IRInstruction ( Arena & arena , const IRInstruction * inst , IId iid ) <nl> : m_op ( inst - > m_op ) <nl> - , m_id ( 0 ) <nl> - , m_numSrcs ( inst - > m_numSrcs ) <nl> , m_typeParam ( inst - > m_typeParam ) <nl> - , m_srcs ( m_numSrcs ? new ( factory . arena ( ) ) SSATmp * [ m_numSrcs ] : nullptr ) <nl> + , m_numSrcs ( inst - > m_numSrcs ) <nl> + , m_iid ( iid ) <nl> + , m_id ( 0 ) <nl> + , m_srcs ( m_numSrcs ? new ( arena ) SSATmp * [ m_numSrcs ] : nullptr ) <nl> , m_dst ( NULL ) <nl> , m_asmAddr ( NULL ) <nl> , m_label ( inst - > m_label ) <nl> bool isRefCounted ( SSATmp * tmp ) { <nl> <nl> void IRInstruction : : convertToNop ( ) { <nl> IRInstruction nop ( Nop ) ; <nl> - * this = nop ; <nl> + / / copy all but m_iid and m_parent <nl> + m_op = nop . m_op ; <nl> + m_typeParam = nop . m_typeParam ; <nl> + m_numSrcs = nop . m_numSrcs ; <nl> + m_id = nop . m_id ; <nl> + m_srcs = nop . m_srcs ; <nl> + m_liveOutRegs = nop . m_liveOutRegs ; <nl> + m_dst = nop . m_dst ; <nl> + m_asmAddr = nop . m_asmAddr ; <nl> + m_label = nop . m_label ; <nl> + m_tca = nop . m_tca ; <nl> } <nl> <nl> IRInstruction * IRInstruction : : clone ( IRFactory * factory ) const { <nl> void IRInstruction : : setSrc ( uint32 i , SSATmp * newSrc ) { <nl> m_srcs [ i ] = newSrc ; <nl> } <nl> <nl> - void IRInstruction : : appendSrc ( IRFactory & factory , SSATmp * newSrc ) { <nl> - auto newSrcs = new ( factory . arena ( ) ) SSATmp * [ getNumSrcs ( ) + 1 ] ; <nl> + void IRInstruction : : appendSrc ( Arena & arena , SSATmp * newSrc ) { <nl> + auto newSrcs = new ( arena ) SSATmp * [ getNumSrcs ( ) + 1 ] ; <nl> std : : copy ( m_srcs , m_srcs + getNumSrcs ( ) , newSrcs ) ; <nl> newSrcs [ getNumSrcs ( ) ] = newSrc ; <nl> + + m_numSrcs ; <nl> mmm a / src / runtime / vm / translator / hopt / ir . h <nl> ppp b / src / runtime / vm / translator / hopt / ir . h <nl> enum OpcodeFlag : uint64_t { <nl> OPC ( Nop , ( NoFlags ) ) \ <nl> / * * / <nl> <nl> - enum Opcode { <nl> + enum Opcode : uint16_t { <nl> # define OPC ( name , flags ) name , <nl> IR_OPCODES <nl> # undef OPC <nl> struct IRInstruction { <nl> typedef std : : list < IRInstruction * > List ; <nl> typedef std : : list < IRInstruction * > : : iterator Iterator ; <nl> typedef std : : list < IRInstruction * > : : reverse_iterator ReverseIterator ; <nl> + enum IId { kTransient = 0xffffffff } ; <nl> <nl> explicit IRInstruction ( Opcode op , <nl> uint32_t numSrcs = 0 , <nl> SSATmp * * srcs = nullptr ) <nl> : m_op ( op ) <nl> - , m_id ( 0 ) <nl> - , m_numSrcs ( numSrcs ) <nl> , m_typeParam ( Type : : None ) <nl> + , m_numSrcs ( numSrcs ) <nl> + , m_iid ( kTransient ) <nl> + , m_id ( 0 ) <nl> , m_srcs ( srcs ) <nl> , m_dst ( nullptr ) <nl> , m_asmAddr ( nullptr ) <nl> struct IRInstruction { <nl> <nl> / * <nl> * Construct an IRInstruction as a deep copy of ` inst ' , using <nl> - * factory to allocate memory for its srcs / dests . <nl> + * arena to allocate memory for its srcs / dests . <nl> * / <nl> - explicit IRInstruction ( IRFactory & factory , const IRInstruction * inst ) ; <nl> + explicit IRInstruction ( Arena & arena , const IRInstruction * inst , <nl> + IId iid ) ; <nl> <nl> / * <nl> * Replace an instruction in place with a Nop . This sometimes may <nl> struct IRInstruction { <nl> } <nl> SSATmp * getSrc ( uint32 i ) const ; <nl> void setSrc ( uint32 i , SSATmp * newSrc ) ; <nl> - void appendSrc ( IRFactory & , SSATmp * ) ; <nl> + void appendSrc ( Arena & , SSATmp * ) ; <nl> SSARange getSrcs ( ) const { <nl> return SSARange ( m_srcs , m_numSrcs ) ; <nl> } <nl> struct IRInstruction { <nl> uint32 getId ( ) const { return m_id ; } <nl> void setId ( uint32 newId ) { m_id = newId ; } <nl> <nl> + / * <nl> + * Instruction id ( iid ) is stable and useful as an array index . <nl> + * / <nl> + uint32 getIId ( ) const { <nl> + assert ( m_iid ! = kTransient ) ; <nl> + return m_iid ; <nl> + } <nl> + <nl> void setAsmAddr ( void * addr ) { m_asmAddr = addr ; } <nl> void * getAsmAddr ( ) const { return m_asmAddr ; } <nl> RegSet getLiveOutRegs ( ) const { return m_liveOutRegs ; } <nl> struct IRInstruction { <nl> void printSrcs ( std : : ostream & ostream ) const ; <nl> <nl> private : <nl> - IRInstruction & operator = ( const IRInstruction & ) = default ; <nl> bool mayReenterHelper ( ) const ; <nl> <nl> private : <nl> Opcode m_op ; <nl> - uint32 m_id ; <nl> - uint16 m_numSrcs ; <nl> Type : : Tag m_typeParam ; <nl> + uint16 m_numSrcs ; <nl> + const IId m_iid ; <nl> + uint32 m_id ; <nl> SSATmp * * m_srcs ; <nl> RegSet m_liveOutRegs ; <nl> SSATmp * m_dst ; <nl> class ConstInstruction : public IRInstruction { <nl> setTypeParam ( Type : : TCA ) ; <nl> m_tca = tca ; <nl> } <nl> - explicit ConstInstruction ( IRFactory & factory , <nl> - const ConstInstruction * inst ) <nl> - : IRInstruction ( factory , inst ) <nl> - , m_strVal ( inst - > m_strVal ) <nl> - { } <nl> + explicit ConstInstruction ( Arena & arena , const ConstInstruction * inst , IId iid ) <nl> + : IRInstruction ( arena , inst , iid ) <nl> + , m_strVal ( inst - > m_strVal ) { <nl> + } <nl> <nl> bool getValAsBool ( ) const { <nl> assert ( getTypeParam ( ) = = Type : : Bool ) ; <nl> class LabelInstruction : public IRInstruction { <nl> , m_func ( func ) <nl> { } <nl> <nl> - explicit LabelInstruction ( IRFactory & factory , const LabelInstruction * inst ) <nl> - : IRInstruction ( factory , inst ) <nl> + explicit LabelInstruction ( Arena & arena , const LabelInstruction * inst , IId iid ) <nl> + : IRInstruction ( arena , inst , iid ) <nl> , m_labelId ( inst - > m_labelId ) <nl> , m_patchAddr ( 0 ) <nl> , m_func ( inst - > m_func ) <nl> class MarkerInstruction : public IRInstruction { <nl> , m_func ( f ) <nl> { } <nl> <nl> - explicit MarkerInstruction ( IRFactory & factory , const MarkerInstruction * inst ) <nl> - : IRInstruction ( factory , inst ) <nl> + explicit MarkerInstruction ( Arena & arena , const MarkerInstruction * inst , <nl> + IId iid ) <nl> + : IRInstruction ( arena , inst , iid ) <nl> , m_bcOff ( inst - > m_bcOff ) <nl> , m_stackOff ( inst - > m_stackOff ) <nl> , m_func ( inst - > m_func ) <nl> void numberInstructions ( Trace * ) ; <nl> uint32 numberInstructions ( Trace * trace , <nl> uint32 nextId , <nl> bool followControlFlow = true ) ; <nl> + <nl> + / * <nl> + * Remove any instruction whose id field = = DEAD <nl> + * / <nl> void removeDeadInstructions ( Trace * trace ) ; <nl> <nl> + / * <nl> + * Remove any instruction if live [ iid ] = = false <nl> + * / <nl> + void removeDeadInstructions ( Trace * trace , const boost : : dynamic_bitset < > & live ) ; <nl> + <nl> / * <nl> * Clears the IRInstructions ' ids , and the SSATmps ' use count and last use id <nl> * for the given trace and all its exit traces . <nl> mmm a / src / runtime / vm / translator / hopt / irfactory . cpp <nl> ppp b / src / runtime / vm / translator / hopt / irfactory . cpp <nl> IRInstruction * IRFactory : : mov ( SSATmp * dst , SSATmp * src ) { <nl> return inst ; <nl> } <nl> <nl> - <nl> } } } <nl> mmm a / src / runtime / vm / translator / hopt / irfactory . h <nl> ppp b / src / runtime / vm / translator / hopt / irfactory . h <nl> class IRFactory { <nl> IRFactory ( ) <nl> : m_nextLabelId ( 0 ) <nl> , m_nextOpndId ( 0 ) <nl> + , m_nextInstId ( 0 ) <nl> { } <nl> <nl> / * <nl> class IRFactory { <nl> <nl> template < class T > <nl> T * cloneInstruction ( const T * inst ) { <nl> - T * newInst = new ( m_arena ) T ( * this , inst ) ; <nl> + T * newInst = new ( m_arena ) T ( m_arena , inst , <nl> + IRInstruction : : IId ( m_nextInstId + + ) ) ; <nl> newSSATmp ( newInst ) ; <nl> return newInst ; <nl> } <nl> class IRFactory { <nl> Arena & arena ( ) { return m_arena ; } <nl> uint32_t numTmps ( ) const { return m_nextOpndId ; } <nl> uint32_t numLabels ( ) const { return m_nextLabelId ; } <nl> + uint32_t numInsts ( ) const { return m_nextInstId ; } <nl> <nl> private : <nl> void newSSATmp ( IRInstruction * inst ) { <nl> class IRFactory { <nl> <nl> uint32_t m_nextLabelId ; <nl> uint32_t m_nextOpndId ; <nl> + uint32_t m_nextInstId ; <nl> <nl> / / SSATmp and IRInstruction objects are allocated here . <nl> Arena m_arena ; <nl> mmm a / src / runtime / vm / translator / hopt / jumpsopts . cpp <nl> ppp b / src / runtime / vm / translator / hopt / jumpsopts . cpp <nl> <nl> <nl> # include " runtime / vm / translator / hopt / ir . h " <nl> # include " runtime / vm / translator / hopt / opt . h " <nl> + # include " runtime / vm / translator / hopt / irfactory . h " <nl> <nl> namespace HPHP { namespace VM { namespace JIT { <nl> <nl> static void hoistConditionalJumps ( Trace * trace , IRFactory * irFactory ) { <nl> if ( exitInst & & exitCcInst ) { <nl> / / Found both exits , link them to Jcc for codegen <nl> assert ( dst ) ; <nl> - exitCcInst - > appendSrc ( * irFactory , dst ) ; <nl> - exitInst - > appendSrc ( * irFactory , dst ) ; <nl> + exitCcInst - > appendSrc ( irFactory - > arena ( ) , dst ) ; <nl> + exitInst - > appendSrc ( irFactory - > arena ( ) , dst ) ; <nl> / / Set flag so Jcc and exits know this is active <nl> dst - > setTCA ( kIRDirectJccJmpActive ) ; <nl> } <nl> mmm a / src / runtime / vm / translator / hopt / memelim . cpp <nl> ppp b / src / runtime / vm / translator / hopt / memelim . cpp <nl> namespace { <nl> <nl> class MemMap { <nl> public : <nl> - MemMap ( IRFactory * factory ) : factory ( factory ) { <nl> + MemMap ( IRFactory * factory ) <nl> + : m_factory ( factory ) <nl> + , m_liveInsts ( factory - > numInsts ( ) ) { <nl> assert ( factory ! = NULL ) ; <nl> } <nl> <nl> ~ MemMap ( ) { <nl> - clearCountedMap ( unescaped ) ; <nl> - clearCountedMap ( unknown ) ; <nl> - clearCountedMap ( locs ) ; <nl> - clearCountedMap ( props ) ; <nl> + clearCountedMap ( m_unescaped ) ; <nl> + clearCountedMap ( m_unknown ) ; <nl> + clearCountedMap ( m_locs ) ; <nl> + clearCountedMap ( m_props ) ; <nl> } <nl> <nl> void optimizeMemoryAccesses ( Trace * trace ) ; <nl> class MemMap { <nl> void optimizeLoad ( IRInstruction * inst , int offset = - 1 ) ; <nl> void sinkStores ( StoreList & stores ) ; <nl> <nl> - RefMap unescaped ; / / refs that are known not to have escaped <nl> - RefMap unknown ; / / refs that have escaped or possibly escaped <nl> - LocalsMap locs ; / / locals <nl> - PropMap props ; / / property accesses <nl> - <nl> - IRFactory * factory ; / / needed to clone instructions for sinking <nl> - <nl> template < typename V > <nl> static inline void clearCountedMap ( hphp_hash_map < SSATmp * , V * > & map ) { <nl> typename hphp_hash_map < SSATmp * , V * > : : iterator it , copy , end ; <nl> class MemMap { <nl> return opc = = StRef | | opc = = StRefNT | | opc = = StLoc | | opc = = StLocNT | | <nl> opc = = StProp | | opc = = StPropNT ; <nl> } <nl> + <nl> + bool isLive ( IRInstruction * inst ) const { <nl> + assert ( inst - > getIId ( ) < m_liveInsts . size ( ) ) ; <nl> + return m_liveInsts . test ( inst - > getIId ( ) ) ; <nl> + } <nl> + <nl> + void setLive ( IRInstruction * inst , bool live ) { <nl> + assert ( inst - > getIId ( ) < m_liveInsts . size ( ) ) ; <nl> + m_liveInsts . set ( inst - > getIId ( ) , live ) ; <nl> + } <nl> + <nl> + private : <nl> + IRFactory * m_factory ; / / needed to clone instructions for sinking <nl> + RefMap m_unescaped ; / / refs that are known not to have escaped <nl> + RefMap m_unknown ; / / refs that have escaped or possibly escaped <nl> + LocalsMap m_locs ; / / locals <nl> + PropMap m_props ; / / property accesses <nl> + boost : : dynamic_bitset < > m_liveInsts ; / / live / dead bits for each instruction <nl> } ; <nl> <nl> void MemMap : : killRefInfo ( IRInstruction * save ) { <nl> assert ( save ! = NULL ) ; <nl> <nl> - RefMap : : iterator it , end ; <nl> - for ( it = unknown . begin ( ) , end = unknown . end ( ) ; it ! = end ; + + it ) { <nl> + for ( RefMap : : iterator it = m_unknown . begin ( ) , end = m_unknown . end ( ) ; <nl> + it ! = end ; + + it ) { <nl> / / if ' save ' is a load , then don ' t kill access info of refs that have a <nl> / / different type than ' save ' <nl> if ( ( isLoad ( save - > getOpcode ( ) ) | | save - > getOpcode ( ) = = LdMem ) ) { <nl> void MemMap : : killPropInfo ( IRInstruction * save ) { <nl> assert ( save ! = NULL ) ; <nl> <nl> PropInfoList * propInfoList = NULL ; <nl> - PropMap : : iterator find = props . find ( save - > getSrc ( 0 ) ) ; <nl> - if ( find ! = props . end ( ) ) { <nl> + PropMap : : iterator find = m_props . find ( save - > getSrc ( 0 ) ) ; <nl> + if ( find ! = m_props . end ( ) ) { <nl> propInfoList = find - > second ; <nl> } <nl> <nl> void MemMap : : killPropInfo ( IRInstruction * save ) { <nl> int offset = ( op = = LdProp | | op = = StProp | | op = = StPropNT ) ? <nl> save - > getSrc ( 1 ) - > getConstValAsInt ( ) : - 1 ; <nl> <nl> - PropMap : : iterator it , end ; <nl> - for ( it = props . begin ( ) , end = props . end ( ) ; it ! = end ; + + it ) { <nl> + for ( PropMap : : iterator it = m_props . begin ( ) , end = m_props . end ( ) ; <nl> + it ! = end ; + + it ) { <nl> / / ignore info blocks that alias the source object in ' save ' . we ' ve already <nl> / / updated their info <nl> if ( it - > second = = propInfoList ) { <nl> void MemMap : : killPropInfo ( IRInstruction * save ) { <nl> } <nl> <nl> void MemMap : : escapeRef ( SSATmp * ref ) { <nl> - RefMap : : iterator i = unescaped . find ( ref ) ; <nl> - assert ( i ! = unescaped . end ( ) ) ; <nl> + RefMap : : iterator i = m_unescaped . find ( ref ) ; <nl> + assert ( i ! = m_unescaped . end ( ) ) ; <nl> <nl> RefInfo * info = i - > second ; <nl> <nl> / / find all unescaped refs that alias ' ref ' and move them over into ' unknown ' <nl> - RefMap : : iterator it , end ; <nl> - for ( it = unescaped . begin ( ) , end = unescaped . end ( ) ; it ! = end ; ) { <nl> + for ( RefMap : : iterator it = m_unescaped . begin ( ) , end = m_unescaped . end ( ) ; <nl> + it ! = end ; ) { <nl> RefMap : : iterator copy = it ; <nl> + + it ; <nl> - <nl> if ( copy - > second = = info ) { <nl> - unknown . insert ( * copy ) ; <nl> - unescaped . erase ( copy ) ; <nl> + m_unknown . insert ( * copy ) ; <nl> + m_unescaped . erase ( copy ) ; <nl> } <nl> } <nl> } <nl> void MemMap : : processInstruction ( IRInstruction * inst ) { <nl> <nl> switch ( op ) { <nl> case Box : { <nl> - unescaped [ inst - > getDst ( ) ] = new RefInfo ( inst ) ; <nl> + m_unescaped [ inst - > getDst ( ) ] = new RefInfo ( inst ) ; <nl> break ; <nl> } <nl> <nl> void MemMap : : processInstruction ( IRInstruction * inst ) { <nl> SSATmp * home = inst - > getSrc ( 0 ) ; <nl> <nl> / / locals never alias , so no access info needs to be killed <nl> - if ( locs . count ( home ) > 0 ) { <nl> - locs [ home ] - > update ( inst ) ; <nl> + if ( m_locs . count ( home ) > 0 ) { <nl> + m_locs [ home ] - > update ( inst ) ; <nl> } else { <nl> - locs [ home ] = new RefInfo ( inst ) ; <nl> + m_locs [ home ] = new RefInfo ( inst ) ; <nl> } <nl> break ; <nl> } <nl> void MemMap : : processInstruction ( IRInstruction * inst ) { <nl> SSATmp * ref = inst - > getSrc ( 0 ) ; <nl> <nl> / / only need to kill access info of possibly escaped refs <nl> - if ( unescaped . count ( ref ) > 0 ) { <nl> - unescaped [ ref ] - > update ( inst ) ; <nl> + if ( m_unescaped . count ( ref ) > 0 ) { <nl> + m_unescaped [ ref ] - > update ( inst ) ; <nl> break ; <nl> } <nl> <nl> - if ( unknown . count ( ref ) > 0 ) { <nl> - unknown [ ref ] - > update ( inst ) ; <nl> + if ( m_unknown . count ( ref ) > 0 ) { <nl> + m_unknown [ ref ] - > update ( inst ) ; <nl> } else { <nl> - unknown [ ref ] = new RefInfo ( inst ) ; <nl> + m_unknown [ ref ] = new RefInfo ( inst ) ; <nl> } <nl> <nl> killRefInfo ( inst ) ; <nl> void MemMap : : processInstruction ( IRInstruction * inst ) { <nl> <nl> / / figure out which map the new alias is supposed to be inserted into <nl> if ( Type : : isBoxed ( source - > getType ( ) ) ) { <nl> - if ( unescaped . count ( source ) > 0 ) { <nl> - unescaped [ dest ] = unescaped [ source ] ; <nl> + if ( m_unescaped . count ( source ) > 0 ) { <nl> + m_unescaped [ dest ] = m_unescaped [ source ] ; <nl> if ( op = = IncRef ) { <nl> - unescaped [ dest ] - > inc ( ) ; <nl> + m_unescaped [ dest ] - > inc ( ) ; <nl> } <nl> - } else if ( unknown . count ( source ) > 0 ) { <nl> - unknown [ dest ] = unknown [ source ] ; <nl> + } else if ( m_unknown . count ( source ) > 0 ) { <nl> + m_unknown [ dest ] = m_unknown [ source ] ; <nl> if ( op = = IncRef ) { <nl> - unknown [ dest ] - > inc ( ) ; <nl> + m_unknown [ dest ] - > inc ( ) ; <nl> } <nl> } else { <nl> - unknown [ source ] = new RefInfo ( source - > getInstruction ( ) ) ; <nl> - unknown [ dest ] = unknown [ source ] ; <nl> + m_unknown [ source ] = new RefInfo ( source - > getInstruction ( ) ) ; <nl> + m_unknown [ dest ] = m_unknown [ source ] ; <nl> if ( op = = IncRef ) { <nl> - unknown [ dest ] - > inc ( ) ; <nl> + m_unknown [ dest ] - > inc ( ) ; <nl> } <nl> } <nl> } else if ( source - > getType ( ) = = Type : : Obj ) { <nl> - if ( props . count ( source ) > 0 ) { <nl> - props [ dest ] = props [ source ] ; <nl> + if ( m_props . count ( source ) > 0 ) { <nl> + m_props [ dest ] = m_props [ source ] ; <nl> if ( op = = IncRef ) { <nl> - props [ dest ] - > inc ( ) ; <nl> + m_props [ dest ] - > inc ( ) ; <nl> } <nl> } else { <nl> - props [ source ] = new PropInfoList ; <nl> - props [ dest ] = props [ source ] ; <nl> + m_props [ source ] = new PropInfoList ; <nl> + m_props [ dest ] = m_props [ source ] ; <nl> if ( op = = IncRef ) { <nl> - props [ dest ] - > inc ( ) ; <nl> + m_props [ dest ] - > inc ( ) ; <nl> } <nl> } <nl> } <nl> void MemMap : : processInstruction ( IRInstruction * inst ) { <nl> <nl> / / if ' val ' is an unescaped ref , then we need to escape all refs that <nl> / / alias ' val ' <nl> - if ( unescaped . count ( val ) > 0 ) { <nl> + if ( m_unescaped . count ( val ) > 0 ) { <nl> escapeRef ( val ) ; <nl> } <nl> <nl> / / storing into a local does not affect the info of any other ref <nl> - if ( locs . count ( home ) > 0 ) { <nl> - locs [ home ] - > update ( inst ) ; <nl> + if ( m_locs . count ( home ) > 0 ) { <nl> + m_locs [ home ] - > update ( inst ) ; <nl> } else { <nl> - locs [ home ] = new RefInfo ( inst ) ; <nl> + m_locs [ home ] = new RefInfo ( inst ) ; <nl> } <nl> break ; <nl> } <nl> void MemMap : : processInstruction ( IRInstruction * inst ) { <nl> <nl> / / we know all the refs that alias an unescaped ref , so just update their <nl> / / value <nl> - if ( unescaped . count ( ref ) > 0 ) { <nl> - unescaped [ alias ] = unescaped [ ref ] ; <nl> - unescaped [ alias ] - > update ( inst ) ; <nl> - unescaped . erase ( ref ) ; <nl> + if ( m_unescaped . count ( ref ) > 0 ) { <nl> + m_unescaped [ alias ] = m_unescaped [ ref ] ; <nl> + m_unescaped [ alias ] - > update ( inst ) ; <nl> + m_unescaped . erase ( ref ) ; <nl> break ; <nl> } <nl> <nl> / / storing to a possibly escaped ref means we need to kill the info of <nl> / / all other possibly escaped refs that may alias the source ref <nl> - if ( unknown . count ( ref ) > 0 ) { <nl> - unknown [ alias ] = unknown [ ref ] ; <nl> - unknown [ alias ] - > update ( inst ) ; <nl> - unknown . erase ( ref ) ; <nl> + if ( m_unknown . count ( ref ) > 0 ) { <nl> + m_unknown [ alias ] = m_unknown [ ref ] ; <nl> + m_unknown [ alias ] - > update ( inst ) ; <nl> + m_unknown . erase ( ref ) ; <nl> } else { <nl> - unknown [ alias ] = new RefInfo ( inst ) ; <nl> + m_unknown [ alias ] = new RefInfo ( inst ) ; <nl> } <nl> <nl> killRefInfo ( inst ) ; <nl> void MemMap : : processInstruction ( IRInstruction * inst ) { <nl> SSATmp * obj = inst - > getSrc ( 0 ) ; <nl> <nl> / / if we ' re storing out an unescaped ref , then it has now escaped <nl> - if ( op ! = LdProp & & unescaped . count ( inst - > getSrc ( 2 ) ) > 0 ) { <nl> + if ( op ! = LdProp & & m_unescaped . count ( inst - > getSrc ( 2 ) ) > 0 ) { <nl> escapeRef ( inst - > getSrc ( 2 ) ) ; <nl> } <nl> <nl> - if ( props . count ( obj ) > 0 ) { <nl> - props [ obj ] - > update ( inst ) ; <nl> + if ( m_props . count ( obj ) > 0 ) { <nl> + m_props [ obj ] - > update ( inst ) ; <nl> } else { <nl> PropInfoList * list = new PropInfoList ; <nl> int offset = inst - > getSrc ( 1 ) - > getConstValAsInt ( ) ; <nl> list - > accesses . push_back ( PropInfo ( inst , offset ) ) ; <nl> - props [ obj ] = list ; <nl> + m_props [ obj ] = list ; <nl> } <nl> <nl> killPropInfo ( inst ) ; <nl> void MemMap : : processInstruction ( IRInstruction * inst ) { <nl> <nl> int count = 0 ; <nl> <nl> - if ( unescaped . count ( ref ) > 0 ) { <nl> - count = unescaped [ ref ] - > dec ( ) ; <nl> - unescaped . erase ( ref ) ; <nl> - } else if ( unknown . count ( ref ) > 0 ) { <nl> - count = unknown [ ref ] - > dec ( ) ; <nl> - unknown . erase ( ref ) ; <nl> - } else if ( props . count ( ref ) > 0 ) { <nl> - count = props [ ref ] - > dec ( ) ; <nl> - props . erase ( ref ) ; <nl> + if ( m_unescaped . count ( ref ) > 0 ) { <nl> + count = m_unescaped [ ref ] - > dec ( ) ; <nl> + m_unescaped . erase ( ref ) ; <nl> + } else if ( m_unknown . count ( ref ) > 0 ) { <nl> + count = m_unknown [ ref ] - > dec ( ) ; <nl> + m_unknown . erase ( ref ) ; <nl> + } else if ( m_props . count ( ref ) > 0 ) { <nl> + count = m_props [ ref ] - > dec ( ) ; <nl> + m_props . erase ( ref ) ; <nl> } <nl> / / don ' t kill info if we know we haven ' t destroyed the object , or if we <nl> / / know that there won ' t be any destructors being called <nl> void MemMap : : processInstruction ( IRInstruction * inst ) { <nl> <nl> / / escape any boxes that are on the right hand side of the current <nl> / / instruction <nl> - RefMap : : iterator end = unescaped . end ( ) ; <nl> + RefMap : : iterator end = m_unescaped . end ( ) ; <nl> for ( SSATmp * src : inst - > getSrcs ( ) ) { <nl> - RefMap : : iterator find = unescaped . find ( src ) ; <nl> + RefMap : : iterator find = m_unescaped . find ( src ) ; <nl> if ( find ! = end ) { <nl> escapeRef ( find - > first ) ; <nl> break ; <nl> } <nl> } <nl> <nl> - clearCountedMap ( unknown ) ; <nl> - clearCountedMap ( props ) ; <nl> + clearCountedMap ( m_unknown ) ; <nl> + clearCountedMap ( m_props ) ; <nl> <nl> / / TODO always killing locals on an instruction that can modify refs <nl> / / is too conservative <nl> - clearCountedMap ( locs ) ; <nl> + clearCountedMap ( m_locs ) ; <nl> } <nl> break ; <nl> } <nl> void MemMap : : processInstruction ( IRInstruction * inst ) { <nl> assert ( offset > = - 1 ) ; \ <nl> / * check for property accesses * / \ <nl> if ( offset ! = - 1 ) { \ <nl> - PropMap : : iterator it = props . find ( ref ) ; \ <nl> - if ( it = = props . end ( ) ) { \ <nl> + PropMap : : iterator it = m_props . find ( ref ) ; \ <nl> + if ( it = = m_props . end ( ) ) { \ <nl> return NULL ; \ <nl> } \ <nl> PropList & list = it - > second - > accesses ; \ <nl> void MemMap : : processInstruction ( IRInstruction * inst ) { <nl> return NULL ; \ <nl> } \ <nl> / * otherwise , check all of our ref maps * / \ <nl> - RefMap : : iterator it = unescaped . find ( ref ) ; \ <nl> - if ( it ! = unescaped . end ( ) ) { \ <nl> + RefMap : : iterator it = m_unescaped . find ( ref ) ; \ <nl> + if ( it ! = m_unescaped . end ( ) ) { \ <nl> return it - > second - > FIELD ; \ <nl> } \ <nl> - it = unknown . find ( ref ) ; \ <nl> - if ( it ! = unknown . end ( ) ) { \ <nl> + it = m_unknown . find ( ref ) ; \ <nl> + if ( it ! = m_unknown . end ( ) ) { \ <nl> return it - > second - > FIELD ; \ <nl> } \ <nl> - it = locs . find ( ref ) ; \ <nl> - if ( it ! = locs . end ( ) ) { \ <nl> + it = m_locs . find ( ref ) ; \ <nl> + if ( it ! = m_locs . end ( ) ) { \ <nl> return it - > second - > FIELD ; \ <nl> } \ <nl> return NULL ; \ <nl> void MemMap : : optimizeMemoryAccesses ( Trace * trace ) { <nl> <nl> for ( IRInstruction * inst : trace - > getInstructionList ( ) ) { <nl> / / initialize each instruction as live <nl> - inst - > setId ( LIVE ) ; <nl> + setLive ( inst , true ) ; <nl> <nl> int offset = - 1 ; <nl> Opcode op = inst - > getOpcode ( ) ; <nl> void MemMap : : optimizeMemoryAccesses ( Trace * trace ) { <nl> inst - > setOpcode ( StRef ) ; <nl> } <nl> <nl> - access - > setId ( DEAD ) ; <nl> + setLive ( access , false ) ; <nl> } <nl> <nl> / / start tracking the current store <nl> void MemMap : : optimizeMemoryAccesses ( Trace * trace ) { <nl> for ( it = tracking . begin ( ) , end = tracking . end ( ) ; it ! = end ; ) { <nl> StoreList : : iterator copy = it ; <nl> + + it ; <nl> - if ( copy - > first - > getId ( ) ! = DEAD ) { <nl> + if ( isLive ( copy - > first ) ) { <nl> / / XXX : t1779667 <nl> tracking . erase ( copy ) ; <nl> } <nl> void MemMap : : optimizeMemoryAccesses ( Trace * trace ) { <nl> / / are not yet dead know about it <nl> if ( inst - > getLabel ( ) ! = NULL ) { <nl> for ( auto & entry : tracking ) { <nl> - if ( entry . first - > getId ( ) ! = DEAD ) { <nl> + if ( isLive ( entry . first ) ) { <nl> entry . second . push_back ( inst ) ; <nl> } <nl> } <nl> void MemMap : : optimizeMemoryAccesses ( Trace * trace ) { <nl> sinkStores ( tracking ) ; <nl> <nl> / / kill the dead stores <nl> - removeDeadInstructions ( trace ) ; <nl> + removeDeadInstructions ( trace , m_liveInsts ) ; <nl> } <nl> <nl> void MemMap : : optimizeLoad ( IRInstruction * inst , int offset ) { <nl> void MemMap : : sinkStores ( StoreList & stores ) { <nl> for ( it = stores . rbegin ( ) , end = stores . rend ( ) ; it ! = end ; + + it ) { <nl> IRInstruction * store = it - > first ; <nl> <nl> - if ( store - > getId ( ) ! = DEAD ) { <nl> - continue ; <nl> - } <nl> + if ( isLive ( store ) ) continue ; <nl> <nl> - std : : vector < IRInstruction * > : : iterator i , e ; <nl> - for ( i = it - > second . begin ( ) , e = it - > second . end ( ) ; i ! = e ; + + i ) { <nl> - IRInstruction * guard = * i ; <nl> - guard - > getLabel ( ) - > getParent ( ) - > prependInstruction ( store - > clone ( factory ) ) ; <nl> + for ( IRInstruction * guard : it - > second ) { <nl> + Trace * exit = guard - > getLabel ( ) - > getParent ( ) ; <nl> + exit - > prependInstruction ( store - > clone ( m_factory ) ) ; <nl> } <nl> <nl> / / StRefs cannot just be removed , they have to be converted into Movs <nl> void MemMap : : sinkStores ( StoreList & stores ) { <nl> store - > setOpcode ( Mov ) ; <nl> store - > setSrc ( 1 , NULL ) ; <nl> store - > setNumSrcs ( 1 ) ; <nl> - store - > setId ( LIVE ) ; <nl> + setLive ( store , true ) ; <nl> } <nl> } <nl> } <nl>
Add a const instruction id field we can use for array indexing .
facebook/hhvm
7e66f951f29eb2854eeaad63233ea762c7bcd5a0
2013-02-06T11:46:17Z
mmm a / folly / io / async / AsyncUDPServerSocket . h <nl> ppp b / folly / io / async / AsyncUDPServerSocket . h <nl> class AsyncUDPServerSocket : private AsyncUDPSocket : : ReadCallback , <nl> std : : shared_ptr < AsyncUDPSocket > socket , <nl> const folly : : SocketAddress & addr , <nl> std : : unique_ptr < folly : : IOBuf > buf , <nl> - bool truncated ) noexcept = 0 ; <nl> + bool truncated , <nl> + AsyncUDPSocket : : ReadCallback : : OnDataAvailableParams ) noexcept = 0 ; <nl> <nl> virtual ~ Callback ( ) = default ; <nl> } ; <nl> class AsyncUDPServerSocket : private AsyncUDPSocket : : ReadCallback , <nl> void onDataAvailable ( <nl> const folly : : SocketAddress & clientAddress , <nl> size_t len , <nl> - bool truncated ) noexcept override { <nl> + bool truncated , <nl> + folly : : AsyncUDPSocket : : ReadCallback : : OnDataAvailableParams <nl> + params ) noexcept override { <nl> buf_ . postallocate ( len ) ; <nl> auto data = buf_ . split ( len ) ; <nl> <nl> class AsyncUDPServerSocket : private AsyncUDPSocket : : ReadCallback , <nl> client = clientAddress , <nl> callback , <nl> data = std : : move ( data ) , <nl> - truncated ] ( ) mutable { <nl> - callback - > onDataAvailable ( socket , client , std : : move ( data ) , truncated ) ; <nl> + truncated , <nl> + params ] ( ) mutable { <nl> + callback - > onDataAvailable ( <nl> + socket , client , std : : move ( data ) , truncated , params ) ; <nl> } ; <nl> <nl> listeners_ [ listenerId ] . first - > runInEventBaseThread ( std : : move ( f ) ) ; <nl> mmm a / folly / io / async / AsyncUDPSocket . cpp <nl> ppp b / folly / io / async / AsyncUDPSocket . cpp <nl> void AsyncUDPSocket : : handleRead ( ) noexcept { <nl> auto rawAddr = reinterpret_cast < sockaddr * > ( & addrStorage ) ; <nl> rawAddr - > sa_family = localAddress_ . getFamily ( ) ; <nl> <nl> - ssize_t bytesRead = <nl> - netops : : recvfrom ( fd_ , buf , len , MSG_TRUNC , rawAddr , & addrLen ) ; <nl> + ssize_t bytesRead ; <nl> + ReadCallback : : OnDataAvailableParams params ; <nl> + <nl> + # ifdef FOLLY_HAVE_MSG_ERRQUEUE <nl> + if ( gro_ . has_value ( ) & & ( gro_ ! = 0 ) ) { <nl> + char control [ CMSG_SPACE ( sizeof ( uint16_t ) ) ] = { } ; <nl> + struct msghdr msg = { } ; <nl> + struct iovec iov = { } ; <nl> + struct cmsghdr * cmsg ; <nl> + uint16_t * grosizeptr ; <nl> + <nl> + iov . iov_base = buf ; <nl> + iov . iov_len = len ; <nl> + <nl> + msg . msg_iov = & iov ; <nl> + msg . msg_iovlen = 1 ; <nl> + <nl> + msg . msg_name = rawAddr ; <nl> + msg . msg_namelen = addrLen ; <nl> + <nl> + msg . msg_control = control ; <nl> + msg . msg_controllen = sizeof ( control ) ; <nl> + <nl> + bytesRead = netops : : recvmsg ( fd_ , & msg , MSG_TRUNC ) ; <nl> + <nl> + if ( bytesRead > = 0 ) { <nl> + addrLen = msg . msg_namelen ; <nl> + for ( cmsg = CMSG_FIRSTHDR ( & msg ) ; cmsg ! = nullptr ; <nl> + cmsg = CMSG_NXTHDR ( & msg , cmsg ) ) { <nl> + if ( cmsg - > cmsg_level = = SOL_UDP & & cmsg - > cmsg_type = = UDP_GRO ) { <nl> + grosizeptr = ( uint16_t * ) CMSG_DATA ( cmsg ) ; <nl> + params . gro_ = * grosizeptr ; <nl> + break ; <nl> + } <nl> + } <nl> + } <nl> + } else { <nl> + bytesRead = netops : : recvfrom ( fd_ , buf , len , MSG_TRUNC , rawAddr , & addrLen ) ; <nl> + } <nl> + # else <nl> + bytesRead = netops : : recvfrom ( fd_ , buf , len , MSG_TRUNC , rawAddr , & addrLen ) ; <nl> + # endif <nl> if ( bytesRead > = 0 ) { <nl> clientAddress_ . setFromSockaddr ( rawAddr , addrLen ) ; <nl> <nl> void AsyncUDPSocket : : handleRead ( ) noexcept { <nl> } <nl> <nl> readCallback_ - > onDataAvailable ( <nl> - clientAddress_ , size_t ( bytesRead ) , truncated ) ; <nl> + clientAddress_ , size_t ( bytesRead ) , truncated , params ) ; <nl> } <nl> } else { <nl> if ( errno = = EAGAIN | | errno = = EWOULDBLOCK ) { <nl> int AsyncUDPSocket : : getGSO ( ) { <nl> return gso_ . value ( ) ; <nl> } <nl> <nl> + bool AsyncUDPSocket : : setGRO ( bool bVal ) { <nl> + # ifdef FOLLY_HAVE_MSG_ERRQUEUE <nl> + int val = bVal ? 1 : 0 ; <nl> + int ret = netops : : setsockopt ( fd_ , SOL_UDP , UDP_GRO , & val , sizeof ( val ) ) ; <nl> + <nl> + gro_ = ret ? - 1 : val ; <nl> + <nl> + return ! ret ; <nl> + # else <nl> + ( void ) bVal ; <nl> + return false ; <nl> + # endif <nl> + } <nl> + <nl> + int AsyncUDPSocket : : getGRO ( ) { <nl> + / / check if we can return the cached value <nl> + if ( FOLLY_UNLIKELY ( ! gro_ . has_value ( ) ) ) { <nl> + # ifdef FOLLY_HAVE_MSG_ERRQUEUE <nl> + int gro = - 1 ; <nl> + socklen_t optlen = sizeof ( gro ) ; <nl> + if ( ! netops : : getsockopt ( fd_ , SOL_UDP , UDP_GRO , & gro , & optlen ) ) { <nl> + gro_ = gro ; <nl> + } else { <nl> + gro_ = - 1 ; <nl> + } <nl> + # else <nl> + gro_ = - 1 ; <nl> + # endif <nl> + } <nl> + <nl> + return gro_ . value ( ) ; <nl> + } <nl> + <nl> void AsyncUDPSocket : : setTrafficClass ( int tclass ) { <nl> if ( netops : : setsockopt ( <nl> fd_ , IPPROTO_IPV6 , IPV6_TCLASS , & tclass , sizeof ( int ) ) ! = 0 ) { <nl> mmm a / folly / io / async / AsyncUDPSocket . h <nl> ppp b / folly / io / async / AsyncUDPSocket . h <nl> class AsyncUDPSocket : public EventHandler { <nl> <nl> class ReadCallback { <nl> public : <nl> + struct OnDataAvailableParams { <nl> + int gro_ = - 1 ; <nl> + } ; <nl> / * * <nl> * Invoked when the socket becomes readable and we want buffer <nl> * to write to . <nl> class AsyncUDPSocket : public EventHandler { <nl> virtual void getReadBuffer ( void * * buf , size_t * len ) noexcept = 0 ; <nl> <nl> / * * <nl> - * Invoked when a new datagraom is available on the socket . ` len ` <nl> + * Invoked when a new datagram is available on the socket . ` len ` <nl> * is the number of bytes read and ` truncated ` is true if we had <nl> * to drop few bytes because of running out of buffer space . <nl> + * OnDataAvailableParams : : gro is the GRO segment size <nl> * / <nl> virtual void onDataAvailable ( <nl> const folly : : SocketAddress & client , <nl> size_t len , <nl> - bool truncated ) noexcept = 0 ; <nl> + bool truncated , <nl> + OnDataAvailableParams params ) noexcept = 0 ; <nl> <nl> / * * <nl> * Notifies when data is available . This is only invoked when <nl> class AsyncUDPSocket : public EventHandler { <nl> <nl> bool setGSO ( int val ) ; <nl> <nl> + / / generic receive offload get / set <nl> + / / negative return value means GRO is not available <nl> + int getGRO ( ) ; <nl> + <nl> + bool setGRO ( bool bVal ) ; <nl> + <nl> void setTrafficClass ( int tclass ) ; <nl> <nl> void applyOptions ( <nl> class AsyncUDPSocket : public EventHandler { <nl> / / See https : / / lwn . net / Articles / 188489 / for more details <nl> folly : : Optional < int > gso_ ; <nl> <nl> + / / generic receive offload value , if available <nl> + / / See https : / / lwn . net / Articles / 770978 / for more details <nl> + folly : : Optional < int > gro_ ; <nl> + <nl> ErrMessageCallback * errMessageCallback_ { nullptr } ; <nl> } ; <nl> <nl> similarity index 94 % <nl> rename from folly / io / async / test / AsyncUDPSocketGSOTest . cpp <nl> rename to folly / io / async / test / AsyncUDPSocketGSOGROTest . cpp <nl> mmm a / folly / io / async / test / AsyncUDPSocketGSOTest . cpp <nl> ppp b / folly / io / async / test / AsyncUDPSocketGSOGROTest . cpp <nl> class UDPAcceptor : public AsyncUDPServerSocket : : Callback { <nl> std : : shared_ptr < folly : : AsyncUDPSocket > socket , <nl> const folly : : SocketAddress & client , <nl> std : : unique_ptr < folly : : IOBuf > data , <nl> - bool / * unused * / ) noexcept override { <nl> - / / send pong <nl> - socket - > write ( client , data - > clone ( ) ) ; <nl> + bool / * unused * / , <nl> + folly : : AsyncUDPSocket : : ReadCallback : : OnDataAvailableParams <nl> + params ) noexcept override { <nl> + / / send pong ( s ) <nl> + if ( params . gro_ = = - 1 ) { <nl> + socket - > write ( client , data - > clone ( ) ) ; <nl> + } else { <nl> + int total = data - > length ( ) ; <nl> + size_t offset = 0 ; <nl> + while ( total > 0 ) { <nl> + auto size = ( total > params . gro_ ) ? params . gro_ : total ; <nl> + auto sendData = IOBuf : : copyBuffer ( data - > data ( ) + offset , size ) ; <nl> + offset + = size ; <nl> + total - = size ; <nl> + socket - > write ( client , sendData ) ; <nl> + } <nl> + } <nl> } <nl> <nl> private : <nl> class UDPServer { <nl> void start ( ) { <nl> CHECK ( evb_ - > isInEventBaseThread ( ) ) ; <nl> <nl> - socket_ = std : : make_unique < AsyncUDPServerSocket > ( evb_ , 1500 ) ; <nl> + socket_ = std : : make_unique < AsyncUDPServerSocket > ( evb_ , 64 * 1024 ) ; <nl> <nl> try { <nl> socket_ - > bind ( addr_ ) ; <nl> class UDPServer { <nl> LOG ( FATAL ) < < ex . what ( ) ; <nl> } <nl> <nl> + auto s = socket_ - > getSocket ( ) ; <nl> + s - > setGRO ( true ) ; <nl> + <nl> acceptors_ . reserve ( evbs_ . size ( ) ) ; <nl> threads_ . reserve ( evbs_ . size ( ) ) ; <nl> <nl> class UDPClient : private AsyncUDPSocket : : ReadCallback , private AsyncTimeout { <nl> void onDataAvailable ( <nl> const folly : : SocketAddress & / * unused * / , <nl> size_t len , <nl> - bool / * unused * / ) noexcept override { <nl> + bool / * unused * / , <nl> + folly : : AsyncUDPSocket : : ReadCallback : : OnDataAvailableParams <nl> + params ) noexcept override { <nl> + / / no GRO on the client side <nl> + CHECK_EQ ( params . gro_ , - 1 ) ; <nl> VLOG ( 0 ) < < " Got " < < len < < " bytes " ; <nl> if ( testData_ . appendOut ( len ) ) { <nl> shutdown ( ) ; <nl> TEST ( AsyncSocketGSOTest , send ) { <nl> folly : : AsyncUDPSocket server ( & evb ) ; <nl> server . bind ( folly : : SocketAddress ( " 127 . 0 . 0 . 1 " , 0 ) ) ; <nl> <nl> - / / send less than GSO in a single IOBuf <nl> - { <nl> - GSOSendTest test ( client , server . address ( ) , kGSO , kGSO - 1 ) ; <nl> - CHECK_LT ( test . get ( ) , 0 ) ; <nl> - } <nl> - <nl> - / / send less than GSO in multiple IOBufs <nl> - { <nl> - GSOSendTest test ( client , server . address ( ) , kGSO , kGSO1 - 1 , kGSO2 ) ; <nl> - CHECK_LT ( test . get ( ) , 0 ) ; <nl> - } <nl> - <nl> - / / send GSO in a single IOBuf <nl> - { <nl> - GSOSendTest test ( client , server . address ( ) , kGSO , kGSO ) ; <nl> - CHECK_LT ( test . get ( ) , 0 ) ; <nl> - } <nl> - <nl> - / / send GSO in multiple IOBuf <nl> - { <nl> - GSOSendTest test ( client , server . address ( ) , kGSO , kGSO1 , kGSO2 ) ; <nl> - CHECK_LT ( test . get ( ) , 0 ) ; <nl> - } <nl> - <nl> / / send more than GSO in a single IOBuf <nl> { <nl> GSOSendTest test ( client , server . address ( ) , kGSO , kGSO + 1 ) ; <nl> mmm a / folly / io / async / test / AsyncUDPSocketSendmmsgTest . cpp <nl> ppp b / folly / io / async / test / AsyncUDPSocketSendmmsgTest . cpp <nl> class UDPAcceptor : public AsyncUDPServerSocket : : Callback { <nl> std : : shared_ptr < folly : : AsyncUDPSocket > socket , <nl> const folly : : SocketAddress & client , <nl> std : : unique_ptr < folly : : IOBuf > data , <nl> - bool / * unused * / ) noexcept override { <nl> + bool / * unused * / , <nl> + folly : : AsyncUDPSocket : : ReadCallback : : <nl> + OnDataAvailableParams / * unused * / ) noexcept override { <nl> / / send pong <nl> socket - > write ( client , data - > clone ( ) ) ; <nl> } <nl> class UDPClient : private AsyncUDPSocket : : ReadCallback , private AsyncTimeout { <nl> void onDataAvailable ( <nl> const folly : : SocketAddress & / * unused * / , <nl> size_t len , <nl> - bool / * unused * / ) noexcept override { <nl> + bool / * unused * / , <nl> + folly : : AsyncUDPSocket : : ReadCallback : : <nl> + OnDataAvailableParams / * unused * / ) noexcept override { <nl> VLOG ( 0 ) < < " Got " < < len < < " bytes " ; <nl> if ( testData_ . appendOut ( buf_ , len ) ) { <nl> shutdown ( ) ; <nl> mmm a / folly / io / async / test / AsyncUDPSocketTest . cpp <nl> ppp b / folly / io / async / test / AsyncUDPSocketTest . cpp <nl> class UDPAcceptor : public AsyncUDPServerSocket : : Callback { <nl> std : : shared_ptr < folly : : AsyncUDPSocket > socket , <nl> const folly : : SocketAddress & client , <nl> std : : unique_ptr < folly : : IOBuf > data , <nl> - bool truncated ) noexcept override { <nl> + bool truncated , <nl> + folly : : AsyncUDPSocket : : ReadCallback : : <nl> + OnDataAvailableParams ) noexcept override { <nl> lastClient_ = client ; <nl> lastMsg_ = data - > clone ( ) - > moveToFbString ( ) . toStdString ( ) ; <nl> <nl> class UDPClient : private AsyncUDPSocket : : ReadCallback , private AsyncTimeout { <nl> void onDataAvailable ( <nl> const folly : : SocketAddress & client , <nl> size_t len , <nl> - bool truncated ) noexcept override { <nl> + bool truncated , <nl> + folly : : AsyncUDPSocket : : ReadCallback : : <nl> + OnDataAvailableParams ) noexcept override { <nl> VLOG ( 4 ) < < " Read " < < len < < " bytes ( trun : " < < truncated < < " ) from " <nl> < < client . describe ( ) < < " - " < < std : : string ( buf_ , len ) ; <nl> VLOG ( 4 ) < < n_ < < " left " ; <nl> class UDPNotifyClient : public UDPClient { <nl> SocketAddress addr ; <nl> addr . setFromSockaddr ( rawAddr , addrLen ) ; <nl> <nl> - onDataAvailable ( addr , size_t ( read ) , false ) ; <nl> + onDataAvailable ( <nl> + addr , <nl> + size_t ( read ) , <nl> + false , <nl> + folly : : AsyncUDPSocket : : ReadCallback : : OnDataAvailableParams ( ) ) ; <nl> } <nl> <nl> void onRecvMmsg ( AsyncUDPSocket & sock ) { <nl> class MockUDPReadCallback : public AsyncUDPSocket : : ReadCallback { <nl> onNotifyDataAvailable_ ( sock ) ; <nl> } <nl> <nl> - MOCK_METHOD3 ( <nl> + MOCK_METHOD4 ( <nl> onDataAvailable_ , <nl> - void ( const folly : : SocketAddress & , size_t , bool ) ) ; <nl> + void ( <nl> + const folly : : SocketAddress & , <nl> + size_t , <nl> + bool , <nl> + folly : : AsyncUDPSocket : : ReadCallback : : OnDataAvailableParams ) ) ; <nl> void onDataAvailable ( <nl> const folly : : SocketAddress & client , <nl> size_t len , <nl> - bool truncated ) noexcept override { <nl> - onDataAvailable_ ( client , len , truncated ) ; <nl> + bool truncated , <nl> + folly : : AsyncUDPSocket : : ReadCallback : : OnDataAvailableParams <nl> + params ) noexcept override { <nl> + onDataAvailable_ ( client , len , truncated , params ) ; <nl> } <nl> <nl> MOCK_METHOD1 ( onReadError_ , void ( const folly : : AsyncSocketException & ) ) ; <nl> TEST_F ( AsyncUDPSocketTest , TestDetachAttach ) { <nl> * buf = data . data ( ) ; <nl> * len = 1024 ; <nl> } ) ) ; <nl> - EXPECT_CALL ( readCb , onDataAvailable_ ( _ , _ , _ ) ) <nl> + EXPECT_CALL ( readCb , onDataAvailable_ ( _ , _ , _ , _ ) ) <nl> . WillRepeatedly ( Invoke ( <nl> - [ & ] ( const folly : : SocketAddress & , size_t , bool ) { packetsRecvd + + ; } ) ) ; <nl> + [ & ] ( const folly : : SocketAddress & , <nl> + size_t , <nl> + bool , <nl> + folly : : AsyncUDPSocket : : ReadCallback : : OnDataAvailableParams ) { <nl> + packetsRecvd + + ; <nl> + } ) ) ; <nl> socket_ - > resumeRead ( & readCb ) ; <nl> writeSocket - > write ( socket_ - > address ( ) , folly : : IOBuf : : copyBuffer ( " hello " ) ) ; <nl> while ( packetsRecvd ! = 1 ) { <nl> mmm a / folly / net / NetOps . h <nl> ppp b / folly / net / NetOps . h <nl> <nl> # define UDP_SEGMENT 103 <nl> # endif <nl> <nl> + # ifndef UDP_GRO <nl> + # define UDP_GRO 104 <nl> + # endif <nl> + <nl> # ifndef UDP_MAX_SEGMENTS <nl> # define UDP_MAX_SEGMENTS ( 1 < < 6UL ) <nl> # endif <nl>
Add UDP GRO support
facebook/folly
ac9a3c705af7dc4490a50738186288d0394b2304
2020-03-13T17:15:37Z
mmm a / plugins / net_plugin / net_plugin . cpp <nl> ppp b / plugins / net_plugin / net_plugin . cpp <nl> namespace eosio { <nl> return minimum_read - bytes_transferred ; <nl> } <nl> } ; <nl> - / * <nl> + <nl> if ( conn - > buffer_queue . write_queue_size ( ) > def_max_write_queue_size | | <nl> conn - > reads_in_flight > def_max_reads_in_flight | | <nl> conn - > trx_in_progress_size > def_max_trx_in_progress_size ) <nl> namespace eosio { <nl> } ) ) ; <nl> return ; <nl> } <nl> - * / <nl> + <nl> + + conn - > reads_in_flight ; <nl> boost : : asio : : async_read ( * conn - > socket , <nl> conn - > pending_message_buffer . get_buffer_sequence_for_boost_async_read ( ) , completion_handler , <nl> namespace eosio { <nl> } <nl> <nl> if ( close_connection ) { <nl> - connection_wptr weak_conn = conn ; <nl> app ( ) . post ( priority : : medium , [ this , weak_conn ] ( ) { <nl> auto conn = weak_conn . lock ( ) ; <nl> if ( ! conn ) return ; <nl>
Make delay_timer thread safe
EOSIO/eos
21f3607f47163e61afe2e7bcc24c378028a20b33
2019-03-07T13:38:59Z
mmm a / jvm - packages / xgboost4j - spark / src / main / scala / ml / dmlc / xgboost4j / scala / spark / XGBoost . scala <nl> ppp b / jvm - packages / xgboost4j - spark / src / main / scala / ml / dmlc / xgboost4j / scala / spark / XGBoost . scala <nl> private [ this ] case class XGBoostExecutionParams ( <nl> earlyStoppingParams : XGBoostExecutionEarlyStoppingParams , <nl> cacheTrainingSet : Boolean , <nl> treeMethod : Option [ String ] , <nl> - isLocal : Boolean ) { <nl> + isLocal : Boolean , <nl> + killSparkContextOnWorkerFailure : Boolean ) { <nl> <nl> private var rawParamMap : Map [ String , Any ] = _ <nl> <nl> private [ this ] class XGBoostExecutionParamsFactory ( rawParams : Map [ String , Any ] , s <nl> val cacheTrainingSet = overridedParams . getOrElse ( " cache_training_set " , false ) <nl> . asInstanceOf [ Boolean ] <nl> <nl> + val killSparkContext = overridedParams . getOrElse ( " kill_spark_context_on_worker_failure " , true ) <nl> + . asInstanceOf [ Boolean ] <nl> + <nl> val xgbExecParam = XGBoostExecutionParams ( nWorkers , round , useExternalMemory , obj , eval , <nl> missing , allowNonZeroForMissing , trackerConf , <nl> timeoutRequestWorkers , <nl> private [ this ] class XGBoostExecutionParamsFactory ( rawParams : Map [ String , Any ] , s <nl> xgbExecEarlyStoppingParams , <nl> cacheTrainingSet , <nl> treeMethod , <nl> - isLocal ) <nl> + isLocal , <nl> + killSparkContext ) <nl> xgbExecParam . setRawParamMap ( overridedParams ) <nl> xgbExecParam <nl> } <nl> object XGBoost extends Serializable { <nl> val ( booster , metrics ) = try { <nl> val parallelismTracker = new SparkParallelismTracker ( sc , <nl> xgbExecParams . timeoutRequestWorkers , <nl> - xgbExecParams . numWorkers ) <nl> + xgbExecParams . numWorkers , <nl> + xgbExecParams . killSparkContextOnWorkerFailure ) <nl> val rabitEnv = tracker . getWorkerEnvs <nl> val boostersAndMetrics = if ( hasGroup ) { <nl> trainForRanking ( transformedTrainingData . left . get , xgbExecParams , rabitEnv , prevBooster , <nl> object XGBoost extends Serializable { <nl> case t : Throwable = > <nl> / / if the job was aborted due to an exception <nl> logger . error ( " the job was aborted due to " , t ) <nl> - trainingData . sparkContext . stop ( ) <nl> + if ( xgbExecParams . killSparkContextOnWorkerFailure ) { <nl> + trainingData . sparkContext . stop ( ) <nl> + } <nl> throw t <nl> } finally { <nl> uncacheTrainingData ( xgbExecParams . cacheTrainingSet , transformedTrainingData ) <nl> mmm a / jvm - packages / xgboost4j - spark / src / main / scala / ml / dmlc / xgboost4j / scala / spark / params / LearningTaskParams . scala <nl> ppp b / jvm - packages / xgboost4j - spark / src / main / scala / ml / dmlc / xgboost4j / scala / spark / params / LearningTaskParams . scala <nl> private [ spark ] trait LearningTaskParams extends Params { <nl> <nl> final def getMaximizeEvaluationMetrics : Boolean = $ ( maximizeEvaluationMetrics ) <nl> <nl> - setDefault ( objective - > " reg : squarederror " , baseScore - > 0 . 5 , <nl> - trainTestRatio - > 1 . 0 , numEarlyStoppingRounds - > 0 , cacheTrainingSet - > false ) <nl> + / * * <nl> + * whether killing SparkContext when training task fails <nl> + * / <nl> + final val killSparkContextOnWorkerFailure = new BooleanParam ( this , <nl> + " killSparkContextOnWorkerFailure " , " whether killing SparkContext when training task fails " ) <nl> + <nl> + setDefault ( objective - > " reg : squarederror " , baseScore - > 0 . 5 , trainTestRatio - > 1 . 0 , <nl> + numEarlyStoppingRounds - > 0 , cacheTrainingSet - > false , killSparkContextOnWorkerFailure - > true ) <nl> } <nl> <nl> private [ spark ] object LearningTaskParams { <nl> mmm a / jvm - packages / xgboost4j - spark / src / main / scala / org / apache / spark / SparkParallelismTracker . scala <nl> ppp b / jvm - packages / xgboost4j - spark / src / main / scala / org / apache / spark / SparkParallelismTracker . scala <nl> package org . apache . spark <nl> import org . apache . commons . logging . LogFactory <nl> import org . apache . spark . scheduler . _ <nl> <nl> + import scala . collection . mutable . { HashMap , HashSet } <nl> + <nl> / * * <nl> * A tracker that ensures enough number of executor cores are alive . <nl> * Throws an exception when the number of alive cores is less than nWorkers . <nl> import org . apache . spark . scheduler . _ <nl> * @ param sc The SparkContext object <nl> * @ param timeout The maximum time to wait for enough number of workers . <nl> * @ param numWorkers nWorkers used in an XGBoost Job <nl> + * @ param killSparkContextOnWorkerFailure kill SparkContext or not when task fails <nl> * / <nl> class SparkParallelismTracker ( <nl> val sc : SparkContext , <nl> timeout : Long , <nl> - numWorkers : Int ) { <nl> + numWorkers : Int , <nl> + killSparkContextOnWorkerFailure : Boolean = true ) { <nl> <nl> private [ this ] val requestedCores = numWorkers * sc . conf . getInt ( " spark . task . cpus " , 1 ) <nl> private [ this ] val logger = LogFactory . getLog ( " XGBoostSpark " ) <nl> class SparkParallelismTracker ( <nl> } <nl> <nl> private [ this ] def safeExecute [ T ] ( body : = > T ) : T = { <nl> - val listener = new TaskFailedListener <nl> + val listener = new TaskFailedListener ( killSparkContextOnWorkerFailure ) <nl> sc . addSparkListener ( listener ) <nl> try { <nl> body <nl> class SparkParallelismTracker ( <nl> def execute [ T ] ( body : = > T ) : T = { <nl> if ( timeout < = 0 ) { <nl> logger . info ( " starting training without setting timeout for waiting for resources " ) <nl> - body <nl> + safeExecute ( body ) <nl> } else { <nl> logger . info ( s " starting training with timeout set as $ timeout ms for waiting for resources " ) <nl> if ( ! waitForCondition ( numAliveCores > = requestedCores , timeout ) ) { <nl> class SparkParallelismTracker ( <nl> } <nl> } <nl> <nl> - private [ spark ] class TaskFailedListener extends SparkListener { <nl> + class TaskFailedListener ( killSparkContext : Boolean = true ) extends SparkListener { <nl> <nl> private [ this ] val logger = LogFactory . getLog ( " XGBoostTaskFailedListener " ) <nl> <nl> + / / { jobId , [ stageId0 , stageId1 , . . . ] } <nl> + / / keep track of the mapping of job id and stage ids <nl> + / / when a task fails , find the job id and stage id the task belongs to , finally <nl> + / / cancel the jobs <nl> + private val jobIdToStageIds : HashMap [ Int , HashSet [ Int ] ] = HashMap . empty <nl> + <nl> + override def onJobStart ( jobStart : SparkListenerJobStart ) : Unit = { <nl> + if ( ! killSparkContext ) { <nl> + jobStart . stageIds . foreach ( stageId = > { <nl> + jobIdToStageIds . getOrElseUpdate ( jobStart . jobId , new HashSet [ Int ] ( ) ) + = stageId <nl> + } ) <nl> + } <nl> + } <nl> + <nl> + override def onJobEnd ( jobEnd : SparkListenerJobEnd ) : Unit = { <nl> + if ( ! killSparkContext ) { <nl> + jobIdToStageIds . remove ( jobEnd . jobId ) <nl> + } <nl> + } <nl> + <nl> override def onTaskEnd ( taskEnd : SparkListenerTaskEnd ) : Unit = { <nl> taskEnd . reason match { <nl> case taskEndReason : TaskFailedReason = > <nl> logger . error ( s " Training Task Failed during XGBoost Training : " + <nl> - s " $ taskEndReason , stopping SparkContext " ) <nl> - TaskFailedListener . startedSparkContextKiller ( ) <nl> + s " $ taskEndReason " ) <nl> + if ( killSparkContext ) { <nl> + logger . error ( " killing SparkContext " ) <nl> + TaskFailedListener . startedSparkContextKiller ( ) <nl> + } else { <nl> + val stageId = taskEnd . stageId <nl> + / / find job ids according to stage id and then cancel the job <nl> + <nl> + jobIdToStageIds . foreach { <nl> + case ( jobId , stageIds ) = > <nl> + if ( stageIds . contains ( stageId ) ) { <nl> + logger . error ( " Cancelling jobId : " + jobId ) <nl> + jobIdToStageIds . remove ( jobId ) <nl> + SparkContext . getOrCreate ( ) . cancelJob ( jobId ) <nl> + } <nl> + } <nl> + } <nl> case _ = > <nl> } <nl> } <nl> mmm a / jvm - packages / xgboost4j - spark / src / test / scala / ml / dmlc / xgboost4j / scala / spark / XGBoostRabitRegressionSuite . scala <nl> ppp b / jvm - packages / xgboost4j - spark / src / test / scala / ml / dmlc / xgboost4j / scala / spark / XGBoostRabitRegressionSuite . scala <nl> class XGBoostRabitRegressionSuite extends FunSuite with PerTest { <nl> assert ( waitAndCheckSparkShutdown ( 100 ) = = true ) <nl> } <nl> } <nl> + <nl> + test ( " test SparkContext should not be killed " ) { <nl> + val training = buildDataFrame ( Classification . train ) <nl> + / / mock rank 0 failure during 8th allreduce synchronization <nl> + Rabit . mockList = Array ( " 0 , 8 , 0 , 0 " ) . toList . asJava <nl> + <nl> + try { <nl> + new XGBoostClassifier ( Map ( <nl> + " eta " - > " 0 . 1 " , <nl> + " max_depth " - > " 10 " , <nl> + " verbosity " - > " 1 " , <nl> + " objective " - > " binary : logistic " , <nl> + " num_round " - > 5 , <nl> + " num_workers " - > numWorkers , <nl> + " kill_spark_context_on_worker_failure " - > false , <nl> + " rabit_timeout " - > 0 ) ) <nl> + . fit ( training ) <nl> + } catch { <nl> + case e : Throwable = > / / swallow anything <nl> + } finally { <nl> + / / wait 3s to check if SparkContext is killed <nl> + assert ( waitAndCheckSparkShutdown ( 3000 ) = = false ) <nl> + } <nl> + } <nl> } <nl> mmm a / jvm - packages / xgboost4j - spark / src / test / scala / org / apache / spark / SparkParallelismTrackerSuite . scala <nl> ppp b / jvm - packages / xgboost4j - spark / src / test / scala / org / apache / spark / SparkParallelismTrackerSuite . scala <nl> class SparkParallelismTrackerSuite extends FunSuite with PerTest { <nl> . config ( " spark . driver . memory " , " 512m " ) <nl> . config ( " spark . task . cpus " , 1 ) <nl> <nl> + private def waitAndCheckSparkShutdown ( waitMiliSec : Int ) : Boolean = { <nl> + var totalWaitedTime = 0L <nl> + while ( ! ss . sparkContext . isStopped & & totalWaitedTime < = waitMiliSec ) { <nl> + Thread . sleep ( 100 ) <nl> + totalWaitedTime + = 100 <nl> + } <nl> + ss . sparkContext . isStopped <nl> + } <nl> + <nl> test ( " tracker should not affect execution result when timeout is not larger than 0 " ) { <nl> val nWorkers = numParallelism <nl> val rdd : RDD [ Int ] = sc . parallelize ( 1 to nWorkers ) <nl> class SparkParallelismTrackerSuite extends FunSuite with PerTest { <nl> } <nl> } <nl> } <nl> + <nl> + test ( " tracker should not kill SparkContext when killSparkContextOnWorkerFailure = false " ) { <nl> + val nWorkers = numParallelism <nl> + val tracker = new SparkParallelismTracker ( sc , 0 , nWorkers , false ) <nl> + val rdd : RDD [ Int ] = sc . parallelize ( 1 to nWorkers , nWorkers ) <nl> + try { <nl> + tracker . execute { <nl> + rdd . map { i = > <nl> + val partitionId = TaskContext . get ( ) . partitionId ( ) <nl> + if ( partitionId = = 0 ) { <nl> + throw new RuntimeException ( " mocking task failing " ) <nl> + } <nl> + i <nl> + } . sum ( ) <nl> + } <nl> + } catch { <nl> + case e : Exception = > / / catch the exception <nl> + } finally { <nl> + / / wait 3s to check if SparkContext is killed <nl> + assert ( waitAndCheckSparkShutdown ( 3000 ) = = false ) <nl> + } <nl> + } <nl> + <nl> + test ( " tracker should cancel the correct job when killSparkContextOnWorkerFailure = false " ) { <nl> + val nWorkers = 2 <nl> + val tracker = new SparkParallelismTracker ( sc , 0 , nWorkers , false ) <nl> + val rdd : RDD [ Int ] = sc . parallelize ( 1 to 10 , nWorkers ) <nl> + val thread = new TestThread ( sc ) <nl> + thread . start ( ) <nl> + try { <nl> + tracker . execute { <nl> + rdd . map { i = > <nl> + Thread . sleep ( 100 ) <nl> + val partitionId = TaskContext . get ( ) . partitionId ( ) <nl> + if ( partitionId = = 0 ) { <nl> + throw new RuntimeException ( " mocking task failing " ) <nl> + } <nl> + i <nl> + } . sum ( ) <nl> + } <nl> + } catch { <nl> + case e : Exception = > / / catch the exception <nl> + } finally { <nl> + thread . join ( 8000 ) <nl> + / / wait 3s to check if SparkContext is killed <nl> + assert ( waitAndCheckSparkShutdown ( 3000 ) = = false ) <nl> + } <nl> + } <nl> + <nl> + private [ this ] class TestThread ( sc : SparkContext ) extends Thread { <nl> + override def run ( ) : Unit = { <nl> + var sum : Double = 0 . 0f <nl> + try { <nl> + val rdd = sc . parallelize ( 1 to 4 , 2 ) <nl> + sum = rdd . mapPartitions ( iter = > { <nl> + / / sleep 2s to ensure task is alive when cancelling other jobs <nl> + Thread . sleep ( 2000 ) <nl> + iter <nl> + } ) . sum ( ) <nl> + } finally { <nl> + / / get the correct result <nl> + assert ( sum . toInt = = 10 ) <nl> + } <nl> + } <nl> + } <nl> } <nl>
[ jvm - packages ] cancel job instead of killing SparkContext ( )
dmlc/xgboost
0e2d5669f660c712a91ca91fe2c40dfba901dee5
2020-09-02T21:20:59Z
mmm a / docs / api / browser - window . md <nl> ppp b / docs / api / browser - window . md <nl> supported values are : <nl> ( ` kCGDesktopWindowLevel - 1 ` ) . Note that desktop window will not receive <nl> focus , keyboard or mouse events , but you can use ` globalShortcut ` to receive <nl> input sparingly . <nl> - * On Windows , possible types are ` toolbar ` , <nl> + * On Windows , possible type is ` toolbar ` . <nl> <nl> The ` titleBarStyle ` option is only supported on macOS 10 . 10 Yosemite and newer . <nl> Possible values are : <nl> mmm a / docs / tutorial / quick - start . md <nl> ppp b / docs / tutorial / quick - start . md <nl> In Electron , we have several ways to communicate between the main process and <nl> renderer processes . Like [ ` ipcRenderer ` ] ( . . / api / ipc - renderer . md ) and <nl> [ ` ipcMain ` ] ( . . / api / ipc - main . md ) modules for sending messages , and the <nl> [ remote ] ( . . / api / remote . md ) module for RPC style communication . There is also <nl> - an FAQ entry on [ how to share data between web pages ] ( . . / faq . md / # how - to - share - data - between - web - pages ) . <nl> + an FAQ entry on [ how to share data between web pages ] [ share - data ] . <nl> <nl> # # Write your First Electron App <nl> <nl> $ cd electron - quick - start <nl> $ npm install & & npm start <nl> ` ` ` <nl> <nl> - [ share - data ] : . . / faq / electron - faq . md # how - to - share - data - between - web - pages <nl> + [ share - data ] : . . / faq . md # how - to - share - data - between - web - pages <nl>
Merge pull request from preco21 / document - fixes - 6
electron/electron
d3e63777cbade7fd9fc996a0b1c3ceb94ccedafb
2016-07-12T18:08:28Z
mmm a / examples / coroutine / behavior / tick . php <nl> ppp b / examples / coroutine / behavior / tick . php <nl> <nl> $ i = 0 ; <nl> while ( $ flag ) { <nl> $ i + + ; <nl> - $ a = $ i ; <nl> - $ a = $ i ; <nl> - $ a = $ i ; <nl> - $ a = $ i ; <nl> - $ a = $ i ; <nl> - / / sleep ( 0 . 5 ) ; <nl> } <nl> echo " coro 1 can exit \ n " ; <nl> } ) ; <nl>
add test
swoole/swoole-src
d85a3b81471d5c431db9b6248d6372693b413ccd
2019-02-14T09:58:05Z
mmm a / core / variant . h <nl> ppp b / core / variant . h <nl> class Variant { <nl> <nl> void static_assign ( const Variant & p_variant ) ; <nl> static void get_constructor_list ( Variant : : Type p_type , List < MethodInfo > * p_list ) ; <nl> - static void get_numeric_constants_for_type ( Variant : : Type p_type , List < StringName > * p_constants ) ; <nl> - static bool has_numeric_constant ( Variant : : Type p_type , const StringName & p_value ) ; <nl> - static int get_numeric_constant_value ( Variant : : Type p_type , const StringName & p_value , bool * r_valid = NULL ) ; <nl> + static void get_constants_for_type ( Variant : : Type p_type , List < StringName > * p_constants ) ; <nl> + static bool has_constant ( Variant : : Type p_type , const StringName & p_value ) ; <nl> + static Variant get_constant_value ( Variant : : Type p_type , const StringName & p_value , bool * r_valid = NULL ) ; <nl> <nl> typedef String ( * ObjectDeConstruct ) ( const Variant & p_object , void * ud ) ; <nl> typedef void ( * ObjectConstruct ) ( const String & p_text , void * ud , Variant & r_value ) ; <nl> mmm a / core / variant_call . cpp <nl> ppp b / core / variant_call . cpp <nl> <nl> <nl> # include " variant . h " <nl> <nl> + # include " core / color_names . inc " <nl> # include " core_string_names . h " <nl> # include " io / compression . h " <nl> # include " object . h " <nl> struct _VariantCall { <nl> # ifdef DEBUG_ENABLED <nl> List < StringName > value_ordered ; <nl> # endif <nl> + Map < StringName , Variant > variant_value ; <nl> } ; <nl> <nl> static ConstantData * constant_data ; <nl> struct _VariantCall { <nl> constant_data [ p_type ] . value_ordered . push_back ( p_constant_name ) ; <nl> # endif <nl> } <nl> + <nl> + static void add_variant_constant ( int p_type , StringName p_constant_name , const Variant & p_constant_value ) { <nl> + <nl> + constant_data [ p_type ] . variant_value [ p_constant_name ] = p_constant_value ; <nl> + } <nl> } ; <nl> <nl> _VariantCall : : TypeFunc * _VariantCall : : type_funcs = NULL ; <nl> void Variant : : get_constructor_list ( Variant : : Type p_type , List < MethodInfo > * p_lis <nl> } <nl> } <nl> <nl> - void Variant : : get_numeric_constants_for_type ( Variant : : Type p_type , List < StringName > * p_constants ) { <nl> + void Variant : : get_constants_for_type ( Variant : : Type p_type , List < StringName > * p_constants ) { <nl> <nl> ERR_FAIL_INDEX ( p_type , Variant : : VARIANT_MAX ) ; <nl> <nl> void Variant : : get_numeric_constants_for_type ( Variant : : Type p_type , List < StringNa <nl> p_constants - > push_back ( E - > key ( ) ) ; <nl> # endif <nl> } <nl> + <nl> + for ( Map < StringName , Variant > : : Element * E = cd . variant_value . front ( ) ; E ; E = E - > next ( ) ) { <nl> + <nl> + p_constants - > push_back ( E - > key ( ) ) ; <nl> + } <nl> } <nl> <nl> - bool Variant : : has_numeric_constant ( Variant : : Type p_type , const StringName & p_value ) { <nl> + bool Variant : : has_constant ( Variant : : Type p_type , const StringName & p_value ) { <nl> <nl> ERR_FAIL_INDEX_V ( p_type , Variant : : VARIANT_MAX , false ) ; <nl> _VariantCall : : ConstantData & cd = _VariantCall : : constant_data [ p_type ] ; <nl> - return cd . value . has ( p_value ) ; <nl> + return cd . value . has ( p_value ) | | cd . variant_value . has ( p_value ) ; <nl> } <nl> <nl> - int Variant : : get_numeric_constant_value ( Variant : : Type p_type , const StringName & p_value , bool * r_valid ) { <nl> + Variant Variant : : get_constant_value ( Variant : : Type p_type , const StringName & p_value , bool * r_valid ) { <nl> <nl> if ( r_valid ) <nl> * r_valid = false ; <nl> int Variant : : get_numeric_constant_value ( Variant : : Type p_type , const StringName & <nl> <nl> Map < StringName , int > : : Element * E = cd . value . find ( p_value ) ; <nl> if ( ! E ) { <nl> - return - 1 ; <nl> + Map < StringName , Variant > : : Element * E = cd . variant_value . find ( p_value ) ; <nl> + if ( E ) { <nl> + if ( r_valid ) <nl> + * r_valid = true ; <nl> + return E - > get ( ) ; <nl> + } else { <nl> + return - 1 ; <nl> + } <nl> } <nl> if ( r_valid ) <nl> * r_valid = true ; <nl> void register_variant_methods ( ) { <nl> <nl> / * REGISTER CONSTANTS * / <nl> <nl> + _populate_named_colors ( ) ; <nl> + for ( Map < String , Color > : : Element * color = _named_colors . front ( ) ; color ; color = color - > next ( ) ) { <nl> + _VariantCall : : add_variant_constant ( Variant : : COLOR , color - > key ( ) , color - > value ( ) ) ; <nl> + } <nl> + <nl> _VariantCall : : add_constant ( Variant : : VECTOR3 , " AXIS_X " , Vector3 : : AXIS_X ) ; <nl> _VariantCall : : add_constant ( Variant : : VECTOR3 , " AXIS_Y " , Vector3 : : AXIS_Y ) ; <nl> _VariantCall : : add_constant ( Variant : : VECTOR3 , " AXIS_Z " , Vector3 : : AXIS_Z ) ; <nl> + <nl> + _VariantCall : : add_variant_constant ( Variant : : VECTOR3 , " ZERO " , Vector3 ( 0 , 0 , 0 ) ) ; <nl> + _VariantCall : : add_variant_constant ( Variant : : VECTOR3 , " INF " , Vector3 ( Math_INF , Math_INF , Math_INF ) ) ; <nl> + _VariantCall : : add_variant_constant ( Variant : : VECTOR3 , " LEFT " , Vector3 ( - 1 , 0 , 0 ) ) ; <nl> + _VariantCall : : add_variant_constant ( Variant : : VECTOR3 , " RIGHT " , Vector3 ( 1 , 0 , 0 ) ) ; <nl> + _VariantCall : : add_variant_constant ( Variant : : VECTOR3 , " UP " , Vector3 ( 0 , 1 , 0 ) ) ; <nl> + _VariantCall : : add_variant_constant ( Variant : : VECTOR3 , " DOWN " , Vector3 ( 0 , - 1 , 0 ) ) ; <nl> + _VariantCall : : add_variant_constant ( Variant : : VECTOR3 , " FORWARD " , Vector3 ( 0 , 0 , - 1 ) ) ; <nl> + _VariantCall : : add_variant_constant ( Variant : : VECTOR3 , " BACK " , Vector3 ( 0 , 0 , 1 ) ) ; <nl> + <nl> + _VariantCall : : add_variant_constant ( Variant : : VECTOR2 , " ZERO " , Vector2 ( 0 , 0 ) ) ; <nl> + _VariantCall : : add_variant_constant ( Variant : : VECTOR2 , " INF " , Vector2 ( Math_INF , Math_INF ) ) ; <nl> + _VariantCall : : add_variant_constant ( Variant : : VECTOR2 , " LEFT " , Vector2 ( - 1 , 0 ) ) ; <nl> + _VariantCall : : add_variant_constant ( Variant : : VECTOR2 , " RIGHT " , Vector2 ( 1 , 0 ) ) ; <nl> + _VariantCall : : add_variant_constant ( Variant : : VECTOR2 , " UP " , Vector2 ( 0 , - 1 ) ) ; <nl> + _VariantCall : : add_variant_constant ( Variant : : VECTOR2 , " DOWN " , Vector2 ( 0 , 1 ) ) ; <nl> + <nl> + _VariantCall : : add_variant_constant ( Variant : : TRANSFORM2D , " IDENTITY " , Transform2D ( 1 , 0 , 0 , 1 , 0 , 0 ) ) ; <nl> + _VariantCall : : add_variant_constant ( Variant : : TRANSFORM2D , " FLIP_X " , Transform2D ( - 1 , 0 , 0 , 1 , 0 , 0 ) ) ; <nl> + _VariantCall : : add_variant_constant ( Variant : : TRANSFORM2D , " FLIP_Y " , Transform2D ( 1 , 0 , 0 , - 1 , 0 , 0 ) ) ; <nl> + <nl> + Transform identity_transform , transform_x , transform_y , transform_z ; <nl> + identity_transform . set ( 1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 ) ; <nl> + _VariantCall : : add_variant_constant ( Variant : : TRANSFORM , " IDENTITY " , identity_transform ) ; <nl> + transform_x . set ( - 1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 ) ; <nl> + _VariantCall : : add_variant_constant ( Variant : : TRANSFORM , " FLIP_X " , transform_x ) ; <nl> + transform_x . set ( 1 , 0 , 0 , 0 , - 1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 ) ; <nl> + _VariantCall : : add_variant_constant ( Variant : : TRANSFORM , " FLIP_Y " , transform_y ) ; <nl> + transform_x . set ( 1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , - 1 , 0 , 0 , 0 ) ; <nl> + _VariantCall : : add_variant_constant ( Variant : : TRANSFORM , " FLIP_Z " , transform_z ) ; <nl> + <nl> + _VariantCall : : add_variant_constant ( Variant : : PLANE , " X " , Plane ( Vector3 ( 1 , 0 , 0 ) , 0 ) ) ; <nl> + _VariantCall : : add_variant_constant ( Variant : : PLANE , " Y " , Plane ( Vector3 ( 0 , 1 , 0 ) , 0 ) ) ; <nl> + _VariantCall : : add_variant_constant ( Variant : : PLANE , " Z " , Plane ( Vector3 ( 0 , 0 , 1 ) , 0 ) ) ; <nl> + <nl> + _VariantCall : : add_variant_constant ( Variant : : QUAT , " IDENTITY " , Quat ( 0 , 0 , 0 , 1 ) ) ; <nl> + <nl> + CharType black_circle [ 2 ] = { 0x25CF , 0 } ; <nl> + _VariantCall : : add_variant_constant ( Variant : : STRING , " BLACK_CIRCLE " , String ( black_circle ) ) ; <nl> + CharType white_circle [ 2 ] = { 0x25CB , 0 } ; <nl> + _VariantCall : : add_variant_constant ( Variant : : STRING , " WHITE_CIRCLE " , String ( white_circle ) ) ; <nl> + CharType black_diamond [ 2 ] = { 0x25C6 , 0 } ; <nl> + _VariantCall : : add_variant_constant ( Variant : : STRING , " BLACK_DIAMOND " , String ( black_diamond ) ) ; <nl> + CharType white_diamond [ 2 ] = { 0x25C7 , 0 } ; <nl> + _VariantCall : : add_variant_constant ( Variant : : STRING , " WHITE_DIAMOND " , String ( white_diamond ) ) ; <nl> + <nl> + _VariantCall : : add_variant_constant ( Variant : : NODE_PATH , " CURRENT " , String ( " . " ) ) ; <nl> + _VariantCall : : add_variant_constant ( Variant : : NODE_PATH , " PARENT " , String ( " . . " ) ) ; <nl> } <nl> <nl> void unregister_variant_methods ( ) { <nl> mmm a / doc / classes / Color . xml <nl> ppp b / doc / classes / Color . xml <nl> <nl> < / brief_description > <nl> < description > <nl> A color is represented as red , green and blue ( r , g , b ) components . Additionally , " a " represents the alpha component , often used for transparency . Values are in floating point and usually range from 0 to 1 . Some methods ( such as set_modulate ( color ) ) may accept values & gt ; 1 . <nl> - You can also create a color from standardised color names with [ method @ GDScript . ColorN ] . <nl> + You can also create a color from standardised color names with Color . ColorN ( e . g . Color . green ) or [ method @ GDScript . ColorN ] . <nl> < / description > <nl> < tutorials > <nl> < / tutorials > <nl> mmm a / editor / doc / doc_data . cpp <nl> ppp b / editor / doc / doc_data . cpp <nl> void DocData : : generate ( bool p_basic_types ) { <nl> } <nl> <nl> List < StringName > constants ; <nl> - Variant : : get_numeric_constants_for_type ( Variant : : Type ( i ) , & constants ) ; <nl> + Variant : : get_constants_for_type ( Variant : : Type ( i ) , & constants ) ; <nl> <nl> for ( List < StringName > : : Element * E = constants . front ( ) ; E ; E = E - > next ( ) ) { <nl> <nl> ConstantDoc constant ; <nl> constant . name = E - > get ( ) ; <nl> - constant . value = itos ( Variant : : get_numeric_constant_value ( Variant : : Type ( i ) , E - > get ( ) ) ) ; <nl> + Variant value = Variant : : get_constant_value ( Variant : : Type ( i ) , E - > get ( ) ) ; <nl> + constant . value = value . get_type ( ) = = Variant : : INT ? itos ( value ) : value . get_construct_string ( ) ; <nl> c . constants . push_back ( constant ) ; <nl> } <nl> } <nl> mmm a / editor / editor_help . cpp <nl> ppp b / editor / editor_help . cpp <nl> Error EditorHelp : : _goto_desc ( const String & p_class , int p_vscr ) { <nl> <nl> constant_line [ constants [ i ] . name ] = class_desc - > get_line_count ( ) - 2 ; <nl> class_desc - > push_font ( doc_code_font ) ; <nl> + <nl> + if ( constants [ i ] . value . begins_with ( " Color ( " ) & & constants [ i ] . value . ends_with ( " ) " ) ) { <nl> + String stripped = constants [ i ] . value . replace ( " " , " " ) . replace ( " Color ( " , " " ) . replace ( " ) " , " " ) ; <nl> + Vector < float > color = stripped . split_floats ( " , " ) ; <nl> + if ( color . size ( ) > = 3 ) { <nl> + class_desc - > push_color ( Color ( color [ 0 ] , color [ 1 ] , color [ 2 ] ) ) ; <nl> + static const CharType prefix [ 3 ] = { 0x25CF / * filled circle * / , ' ' , 0 } ; <nl> + class_desc - > add_text ( String ( prefix ) ) ; <nl> + class_desc - > pop ( ) ; <nl> + } <nl> + } <nl> + <nl> class_desc - > push_color ( headline_color ) ; <nl> _add_text ( constants [ i ] . name ) ; <nl> class_desc - > pop ( ) ; <nl> Error EditorHelp : : _goto_desc ( const String & p_class , int p_vscr ) { <nl> class_desc - > push_color ( value_color ) ; <nl> _add_text ( constants [ i ] . value ) ; <nl> class_desc - > pop ( ) ; <nl> + <nl> class_desc - > pop ( ) ; <nl> if ( constants [ i ] . description ! = " " ) { <nl> class_desc - > push_font ( doc_font ) ; <nl> mmm a / modules / gdscript / gdscript_editor . cpp <nl> ppp b / modules / gdscript / gdscript_editor . cpp <nl> Error GDScriptLanguage : : complete_code ( const String & p_code , const String & p_base <nl> } break ; <nl> case GDScriptParser : : COMPLETION_BUILT_IN_TYPE_CONSTANT : { <nl> List < StringName > constants ; <nl> - Variant : : get_numeric_constants_for_type ( parser . get_completion_built_in_constant ( ) , & constants ) ; <nl> + Variant : : get_constants_for_type ( parser . get_completion_built_in_constant ( ) , & constants ) ; <nl> for ( List < StringName > : : Element * E = constants . front ( ) ; E ; E = E - > next ( ) ) { <nl> options . insert ( E - > get ( ) . operator String ( ) ) ; <nl> } <nl> static Error _lookup_symbol_from_base ( const GDScriptParser : : DataType & p_base , co <nl> case GDScriptParser : : DataType : : BUILTIN : { <nl> base_type . has_type = false ; <nl> <nl> - if ( Variant : : has_numeric_constant ( base_type . builtin_type , p_symbol ) ) { <nl> + if ( Variant : : has_constant ( base_type . builtin_type , p_symbol ) ) { <nl> r_result . type = ScriptLanguage : : LookupResult : : RESULT_CLASS_CONSTANT ; <nl> r_result . class_name = Variant : : get_type_name ( base_type . builtin_type ) ; <nl> r_result . class_member = p_symbol ; <nl> mmm a / modules / gdscript / gdscript_parser . cpp <nl> ppp b / modules / gdscript / gdscript_parser . cpp <nl> GDScriptParser : : Node * GDScriptParser : : _parse_expression ( Node * p_parent , bool p_s <nl> _set_error ( " Built - in type constant or static function expected after ' . ' " ) ; <nl> return NULL ; <nl> } <nl> - if ( ! Variant : : has_numeric_constant ( bi_type , identifier ) ) { <nl> + if ( ! Variant : : has_constant ( bi_type , identifier ) ) { <nl> <nl> if ( tokenizer - > get_token ( ) = = GDScriptTokenizer : : TK_PARENTHESIS_OPEN & & <nl> Variant : : is_method_const ( bi_type , identifier ) & & <nl> GDScriptParser : : Node * GDScriptParser : : _parse_expression ( Node * p_parent , bool p_s <nl> } else { <nl> <nl> ConstantNode * cn = alloc_node < ConstantNode > ( ) ; <nl> - cn - > value = Variant : : get_numeric_constant_value ( bi_type , identifier ) ; <nl> + cn - > value = Variant : : get_constant_value ( bi_type , identifier ) ; <nl> cn - > datatype = _type_from_variant ( cn - > value ) ; <nl> expr = cn ; <nl> } <nl> mmm a / modules / visual_script / visual_script_nodes . cpp <nl> ppp b / modules / visual_script / visual_script_nodes . cpp <nl> Variant : : Type VisualScriptBasicTypeConstant : : get_basic_type ( ) const { <nl> <nl> class VisualScriptNodeInstanceBasicTypeConstant : public VisualScriptNodeInstance { <nl> public : <nl> - int value ; <nl> + Variant value ; <nl> bool valid ; <nl> / / virtual int get_working_memory_size ( ) const { return 0 ; } <nl> <nl> class VisualScriptNodeInstanceBasicTypeConstant : public VisualScriptNodeInstanc <nl> VisualScriptNodeInstance * VisualScriptBasicTypeConstant : : instance ( VisualScriptInstance * p_instance ) { <nl> <nl> VisualScriptNodeInstanceBasicTypeConstant * instance = memnew ( VisualScriptNodeInstanceBasicTypeConstant ) ; <nl> - instance - > value = Variant : : get_numeric_constant_value ( type , name , & instance - > valid ) ; <nl> + instance - > value = Variant : : get_constant_value ( type , name , & instance - > valid ) ; <nl> return instance ; <nl> } <nl> <nl> void VisualScriptBasicTypeConstant : : _validate_property ( PropertyInfo & property ) c <nl> if ( property . name = = " constant " ) { <nl> <nl> List < StringName > constants ; <nl> - Variant : : get_numeric_constants_for_type ( type , & constants ) ; <nl> + Variant : : get_constants_for_type ( type , & constants ) ; <nl> <nl> if ( constants . size ( ) = = 0 ) { <nl> property . usage = 0 ; <nl>
Merge pull request from poke1024 / colorconstants
godotengine/godot
c76f444c4ec6971d5797568787b346ffde411c4a
2018-08-10T15:57:20Z
mmm a / lib / SILPasses / LoadStoreOpts . cpp <nl> ppp b / lib / SILPasses / LoadStoreOpts . cpp <nl> using namespace swift ; <nl> static llvm : : cl : : opt < bool > DisableGDSE ( " sil - disable - loadstore - dse " , <nl> llvm : : cl : : init ( false ) , llvm : : cl : : Hidden ) ; <nl> <nl> + STATISTIC ( NumSameValueStores , " Number of same value stores removed " ) ; <nl> STATISTIC ( NumDeadStores , " Number of dead stores removed " ) ; <nl> STATISTIC ( NumDupLoads , " Number of dup loads removed " ) ; <nl> STATISTIC ( NumForwardedLoads , " Number of loads forwarded " ) ; <nl> bool LSBBForwarder : : tryToEliminateDeadStores ( LSContext & Ctx , StoreInst * SI , <nl> / / If we are storing a value that is available in the load list then we <nl> / / know that no one clobbered that address and the current store is <nl> / / redundant and we can remove it . <nl> + / / <nl> + / / e . g . <nl> + / / % 0 = load % A <nl> + / / . . . nothing happens in middle and the % A contains the value of % 0 . <nl> + / / store % 0 to % A < mmm - no need to do this store . <nl> if ( auto * LdSrc = dyn_cast < LoadInst > ( SI - > getSrc ( ) ) ) { <nl> / / Check that the loaded value is live and that the destination address <nl> / / is the same as the loaded address . <nl> bool LSBBForwarder : : tryToEliminateDeadStores ( LSContext & Ctx , StoreInst * SI , <nl> / / do . <nl> if ( Iter ! = Loads . end ( ) & & LdSrcOp = = SI - > getDest ( ) ) { <nl> deleteUntrackedInstruction ( Ctx , SI , StoreMap ) ; <nl> - NumDeadStores + + ; <nl> + NumSameValueStores + + ; <nl> return true ; <nl> } <nl> } <nl>
separate number of dead stores with number of same - value stores in LoadStoreOpts . cpp
apple/swift
ee0599b892e8b941bee3a3c58151fd531f465a1a
2015-09-25T21:11:10Z
mmm a / . circleci / cimodel / data / pytorch_build_definitions . py <nl> ppp b / . circleci / cimodel / data / pytorch_build_definitions . py <nl> <nl> <nl> DOCKER_IMAGE_PATH_BASE = " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / " <nl> <nl> - # ARE YOU EDITING THIS NUMBER ? MAKE SURE YOU READ THE GUIDANCE AT THE <nl> - # TOP OF . circleci / config . yml <nl> - DOCKER_IMAGE_VERSION = " 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> - <nl> - <nl> @ dataclass <nl> class Conf : <nl> distro : str <nl> def get_parms ( self , for_docker ) : <nl> return result <nl> <nl> def gen_docker_image_path ( self ) : <nl> + return miniutils . quote ( <nl> + DOCKER_IMAGE_PATH_BASE + self . gen_docker_image_name ( ) <nl> + ) <nl> <nl> + def gen_docker_image_name ( self ) : <nl> parms_source = self . parent_build or self <nl> base_build_env_name = " - " . join ( parms_source . get_parms ( True ) ) <nl> - <nl> - return miniutils . quote ( DOCKER_IMAGE_PATH_BASE + base_build_env_name + " : " + str ( DOCKER_IMAGE_VERSION ) ) <nl> + return base_build_env_name <nl> <nl> def get_build_job_name_pieces ( self , build_or_test ) : <nl> return self . get_parms ( False ) + [ build_or_test ] <nl> def gen_workflow_job ( self , phase ) : <nl> job_def [ " name " ] = self . gen_build_name ( phase ) <nl> job_def [ " requires " ] = [ " setup " ] <nl> <nl> + if phase = = " build " : <nl> + job_def [ " requires " ] . append ( miniutils . quote ( " docker - " + self . gen_docker_image_name ( ) ) ) <nl> + <nl> if phase = = " test " : <nl> <nl> # TODO When merging the caffe2 and pytorch jobs , it might be convenient for a while to make a <nl> mmm a / . circleci / config . yml <nl> ppp b / . circleci / config . yml <nl> commands : <nl> name : Attaching workspace <nl> at : ~ / workspace <nl> <nl> + # Must be run after attaching workspace from previous steps <nl> + load_shared_env : <nl> + description : " Loads . circleci / shared / env_file into $ { BASH_ENV } " <nl> + parameters : <nl> + # For some weird reason we decide to reattach our workspace to ~ / workspace so <nl> + # in the vein of making it simple let ' s assume our share env_file is here <nl> + root : <nl> + type : string <nl> + default : " ~ / workspace " <nl> + steps : <nl> + - run : <nl> + name : " Load . circleci / shared / env_file into $ { BASH_ENV } " <nl> + command : | <nl> + cat < < parameters . root > > / . circleci / shared / env_file > > $ { BASH_ENV } <nl> + <nl> # This system setup script is meant to run before the CI - related scripts , e . g . , <nl> # installing Git client , checking out code , setting up CI env , and <nl> # building / testing . <nl> jobs : <nl> steps : <nl> # See Note [ Workspace for CircleCI scripts ] in job - specs - setup . yml <nl> - attach_scripts <nl> + - load_shared_env <nl> - setup_linux_system_environment <nl> - checkout <nl> - optional_merge_target_branch <nl> jobs : <nl> command : | <nl> set - e <nl> # Pull Docker image and run build <nl> - echo " DOCKER_IMAGE : " $ { DOCKER_IMAGE } <nl> - time docker pull $ { DOCKER_IMAGE } > / dev / null <nl> - export id = $ ( docker run - - cap - add = SYS_PTRACE - - security - opt seccomp = unconfined - - cap - add = SYS_PTRACE - - security - opt seccomp = unconfined - t - d - w / var / lib / jenkins $ { DOCKER_IMAGE } ) <nl> + echo " DOCKER_IMAGE : " $ { DOCKER_IMAGE } : $ { DOCKER_TAG } <nl> + time docker pull $ { DOCKER_IMAGE } : $ { DOCKER_TAG } > / dev / null <nl> + export id = $ ( docker run - - cap - add = SYS_PTRACE - - security - opt seccomp = unconfined - - cap - add = SYS_PTRACE - - security - opt seccomp = unconfined - t - d - w / var / lib / jenkins $ { DOCKER_IMAGE } : $ { DOCKER_TAG } ) <nl> <nl> git submodule sync & & git submodule update - q - - init - - recursive <nl> <nl> jobs : <nl> # The xla build uses the same docker image as <nl> # pytorch - linux - trusty - py3 . 6 - gcc5 . 4 - build . In the push step , we have to <nl> # distinguish between them so the test can pick up the correct image . <nl> - output_image = $ { DOCKER_IMAGE } - $ { CIRCLE_SHA1 } <nl> + output_image = $ { DOCKER_IMAGE } : $ { DOCKER_TAG } - $ { CIRCLE_SHA1 } <nl> if [ [ $ { BUILD_ENVIRONMENT } = = * " xla " * ] ] ; then <nl> export COMMIT_DOCKER_IMAGE = $ output_image - xla <nl> elif [ [ $ { BUILD_ENVIRONMENT } = = * " libtorch " * ] ] ; then <nl> jobs : <nl> steps : <nl> # See Note [ Workspace for CircleCI scripts ] in job - specs - setup . yml <nl> - attach_scripts <nl> + - load_shared_env <nl> - setup_linux_system_environment <nl> - setup_ci_environment <nl> - run : <nl> jobs : <nl> command : | <nl> set - e <nl> # See Note [ Special build images ] <nl> - output_image = $ { DOCKER_IMAGE } - $ { CIRCLE_SHA1 } <nl> + output_image = $ { DOCKER_IMAGE } : $ { DOCKER_TAG } - $ { CIRCLE_SHA1 } <nl> if [ [ $ { BUILD_ENVIRONMENT } = = * " xla " * ] ] ; then <nl> export COMMIT_DOCKER_IMAGE = $ output_image - xla <nl> elif [ [ $ { BUILD_ENVIRONMENT } = = * " libtorch " * ] ] ; then <nl> jobs : <nl> environment : <nl> BUILD_ENVIRONMENT : pytorch - python - doc - push <nl> # TODO : stop hardcoding this <nl> - DOCKER_IMAGE : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 . 6 - gcc5 . 4 : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + DOCKER_IMAGE : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 . 6 - gcc5 . 4 " <nl> resource_class : large <nl> machine : <nl> image : ubuntu - 1604 : 201903 - 01 <nl> steps : <nl> # See Note [ Workspace for CircleCI scripts ] in job - specs - setup . yml <nl> - attach_scripts <nl> + - load_shared_env <nl> - setup_linux_system_environment <nl> - setup_ci_environment <nl> - run : <nl> jobs : <nl> no_output_timeout : " 1h " <nl> command : | <nl> set - ex <nl> - export COMMIT_DOCKER_IMAGE = $ { DOCKER_IMAGE } - $ { CIRCLE_SHA1 } <nl> + export COMMIT_DOCKER_IMAGE = $ { DOCKER_IMAGE } : $ { DOCKER_TAG } - $ { CIRCLE_SHA1 } <nl> echo " DOCKER_IMAGE : " $ { COMMIT_DOCKER_IMAGE } <nl> time docker pull $ { COMMIT_DOCKER_IMAGE } > / dev / null <nl> export id = $ ( docker run - - cap - add = SYS_PTRACE - - security - opt seccomp = unconfined - t - d - w / var / lib / jenkins $ { COMMIT_DOCKER_IMAGE } ) <nl> jobs : <nl> pytorch_cpp_doc_push : <nl> environment : <nl> BUILD_ENVIRONMENT : pytorch - cpp - doc - push <nl> - DOCKER_IMAGE : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 . 6 - gcc5 . 4 : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + DOCKER_IMAGE : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 . 6 - gcc5 . 4 " <nl> resource_class : large <nl> machine : <nl> image : ubuntu - 1604 : 201903 - 01 <nl> steps : <nl> # See Note [ Workspace for CircleCI scripts ] in job - specs - setup . yml <nl> - attach_scripts <nl> + - load_shared_env <nl> - setup_linux_system_environment <nl> - setup_ci_environment <nl> - run : <nl> jobs : <nl> no_output_timeout : " 1h " <nl> command : | <nl> set - ex <nl> - export COMMIT_DOCKER_IMAGE = $ { DOCKER_IMAGE } - $ { CIRCLE_SHA1 } <nl> + export COMMIT_DOCKER_IMAGE = $ { DOCKER_IMAGE } : $ { DOCKER_TAG } - $ { CIRCLE_SHA1 } <nl> echo " DOCKER_IMAGE : " $ { COMMIT_DOCKER_IMAGE } <nl> time docker pull $ { COMMIT_DOCKER_IMAGE } > / dev / null <nl> export id = $ ( docker run - - cap - add = SYS_PTRACE - - security - opt seccomp = unconfined - t - d - w / var / lib / jenkins $ { COMMIT_DOCKER_IMAGE } ) <nl> jobs : <nl> pytorch_android_gradle_build : <nl> environment : <nl> BUILD_ENVIRONMENT : pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c - gradle - build <nl> - DOCKER_IMAGE : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + DOCKER_IMAGE : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c " <nl> PYTHON_VERSION : " 3 . 6 " <nl> resource_class : large <nl> machine : <nl> image : ubuntu - 1604 : 201903 - 01 <nl> steps : <nl> - attach_scripts <nl> + - load_shared_env <nl> - setup_linux_system_environment <nl> - checkout <nl> - setup_ci_environment <nl> jobs : <nl> no_output_timeout : " 1h " <nl> command : | <nl> set - eux <nl> - docker_image_commit = $ { DOCKER_IMAGE } - $ { CIRCLE_SHA1 } <nl> + docker_image_commit = $ { DOCKER_IMAGE } : $ { DOCKER_TAG } - $ { CIRCLE_SHA1 } <nl> <nl> docker_image_libtorch_android_x86_32 = $ { docker_image_commit } - android - x86_32 <nl> docker_image_libtorch_android_x86_64 = $ { docker_image_commit } - android - x86_64 <nl> jobs : <nl> pytorch_android_publish_snapshot : <nl> environment : <nl> BUILD_ENVIRONMENT : pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c - gradle - publish - snapshot <nl> - DOCKER_IMAGE : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + DOCKER_IMAGE : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c " <nl> PYTHON_VERSION : " 3 . 6 " <nl> resource_class : large <nl> machine : <nl> image : ubuntu - 1604 : 201903 - 01 <nl> steps : <nl> - attach_scripts <nl> + - load_shared_env <nl> - setup_linux_system_environment <nl> - checkout <nl> - setup_ci_environment <nl> jobs : <nl> no_output_timeout : " 1h " <nl> command : | <nl> set - eux <nl> - docker_image_commit = $ { DOCKER_IMAGE } - $ { CIRCLE_SHA1 } <nl> + docker_image_commit = $ { DOCKER_IMAGE } : $ { DOCKER_TAG } - $ { CIRCLE_SHA1 } <nl> <nl> docker_image_libtorch_android_x86_32_gradle = $ { docker_image_commit } - android - x86_32 - gradle <nl> <nl> jobs : <nl> pytorch_android_gradle_build - x86_32 : <nl> environment : <nl> BUILD_ENVIRONMENT : pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c - gradle - build - only - x86_32 <nl> - DOCKER_IMAGE : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + DOCKER_IMAGE : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c " <nl> PYTHON_VERSION : " 3 . 6 " <nl> resource_class : large <nl> machine : <nl> image : ubuntu - 1604 : 201903 - 01 <nl> steps : <nl> - attach_scripts <nl> + - load_shared_env <nl> - run : <nl> name : filter out not PR runs <nl> no_output_timeout : " 5m " <nl> jobs : <nl> no_output_timeout : " 1h " <nl> command : | <nl> set - e <nl> - docker_image_libtorch_android_x86_32 = $ { DOCKER_IMAGE } - $ { CIRCLE_SHA1 } - android - x86_32 <nl> + docker_image_libtorch_android_x86_32 = $ { DOCKER_IMAGE } : $ { DOCKER_TAG } - $ { CIRCLE_SHA1 } - android - x86_32 <nl> echo " docker_image_libtorch_android_x86_32 : " $ { docker_image_libtorch_android_x86_32 } <nl> <nl> # x86 <nl> jobs : <nl> steps : <nl> # See Note [ Workspace for CircleCI scripts ] in job - specs - setup . yml <nl> - attach_scripts <nl> + - load_shared_env <nl> - setup_linux_system_environment <nl> - checkout <nl> - setup_ci_environment <nl> jobs : <nl> command : | <nl> set - e <nl> # Pull Docker image and run build <nl> - echo " DOCKER_IMAGE : " $ { DOCKER_IMAGE } <nl> - time docker pull $ { DOCKER_IMAGE } > / dev / null <nl> - export id = $ ( docker run - - cap - add = SYS_PTRACE - - security - opt seccomp = unconfined - - cap - add = SYS_PTRACE - - security - opt seccomp = unconfined - t - d - w / var / lib / jenkins $ { DOCKER_IMAGE } ) <nl> + echo " DOCKER_IMAGE : " $ { DOCKER_IMAGE } : $ { DOCKER_TAG } <nl> + time docker pull $ { DOCKER_IMAGE } : $ { DOCKER_TAG } > / dev / null <nl> + export id = $ ( docker run - - cap - add = SYS_PTRACE - - security - opt seccomp = unconfined - - cap - add = SYS_PTRACE - - security - opt seccomp = unconfined - t - d - w / var / lib / jenkins $ { DOCKER_IMAGE } : $ { DOCKER_TAG } ) <nl> <nl> echo " Do NOT merge master branch into $ CIRCLE_BRANCH in environment $ BUILD_ENVIRONMENT " <nl> <nl> jobs : <nl> # Push intermediate Docker image for next phase to use <nl> if [ - z " $ { BUILD_ONLY } " ] ; then <nl> # Augment our output image name with bazel to avoid collisions <nl> - output_image = $ { DOCKER_IMAGE } - bazel - $ { CIRCLE_SHA1 } <nl> + output_image = $ { DOCKER_IMAGE } : $ { DOCKER_TAG } - bazel - $ { CIRCLE_SHA1 } <nl> export COMMIT_DOCKER_IMAGE = $ output_image <nl> docker commit " $ id " $ { COMMIT_DOCKER_IMAGE } <nl> time docker push $ { COMMIT_DOCKER_IMAGE } <nl> jobs : <nl> steps : <nl> # See Note [ Workspace for CircleCI scripts ] in job - specs - setup . yml <nl> - attach_scripts <nl> + - load_shared_env <nl> - setup_linux_system_environment <nl> - setup_ci_environment <nl> - run : <nl> jobs : <nl> no_output_timeout : " 90m " <nl> command : | <nl> set - e <nl> - output_image = $ { DOCKER_IMAGE } - bazel - $ { CIRCLE_SHA1 } <nl> + output_image = $ { DOCKER_IMAGE } : $ { DOCKER_TAG } - bazel - $ { CIRCLE_SHA1 } <nl> export COMMIT_DOCKER_IMAGE = $ output_image <nl> echo " DOCKER_IMAGE : " $ { COMMIT_DOCKER_IMAGE } <nl> <nl> jobs : <nl> pytorch_doc_test : <nl> environment : <nl> BUILD_ENVIRONMENT : pytorch - doc - test <nl> - # TODO : stop hardcoding this <nl> - DOCKER_IMAGE : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 . 6 - gcc5 . 4 : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + DOCKER_IMAGE : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 . 6 - gcc5 . 4 " <nl> resource_class : medium <nl> machine : <nl> image : ubuntu - 1604 : 201903 - 01 <nl> steps : <nl> # See Note [ Workspace for CircleCI scripts ] in job - specs - setup . yml <nl> - attach_scripts <nl> + - load_shared_env <nl> - setup_linux_system_environment <nl> - setup_ci_environment <nl> - run : <nl> jobs : <nl> no_output_timeout : " 30m " <nl> command : | <nl> set - ex <nl> - export COMMIT_DOCKER_IMAGE = $ { DOCKER_IMAGE } - $ { CIRCLE_SHA1 } <nl> + export COMMIT_DOCKER_IMAGE = $ { DOCKER_IMAGE } : $ { DOCKER_TAG } - $ { CIRCLE_SHA1 } <nl> echo " DOCKER_IMAGE : " $ { COMMIT_DOCKER_IMAGE } <nl> time docker pull $ { COMMIT_DOCKER_IMAGE } > / dev / null <nl> export id = $ ( docker run - - cap - add = SYS_PTRACE - - security - opt seccomp = unconfined - t - d - w / var / lib / jenkins $ { COMMIT_DOCKER_IMAGE } ) <nl> jobs : <nl> resource_class : large <nl> environment : <nl> IMAGE_NAME : < < parameters . image_name > > <nl> + # Enable ' docker manifest ' <nl> + DOCKER_CLI_EXPERIMENTAL : " enabled " <nl> + DOCKER_BUILDKIT : 1 <nl> steps : <nl> - checkout <nl> + - run : <nl> + name : Calculate docker tag <nl> + command : | <nl> + set - x <nl> + mkdir . circleci / shared <nl> + # git keeps a hash of all sub trees <nl> + echo " export DOCKER_TAG = $ ( git rev - parse HEAD : . circleci / docker ) " > > . circleci / shared / env_file <nl> + # Saves our calculated docker tag to our workpace for later use <nl> + - persist_to_workspace : <nl> + root : . <nl> + paths : <nl> + - . circleci / shared / <nl> + - load_shared_env : <nl> + root : . <nl> + - run : <nl> + name : Check if image should be built <nl> + command : | <nl> + set + x <nl> + export AWS_ACCESS_KEY_ID = $ { CIRCLECI_AWS_ACCESS_KEY_FOR_DOCKER_BUILDER_V1 } <nl> + export AWS_SECRET_ACCESS_KEY = $ { CIRCLECI_AWS_SECRET_KEY_FOR_DOCKER_BUILDER_V1 } <nl> + eval $ ( aws ecr get - login - - no - include - email - - region us - east - 1 ) <nl> + set - x <nl> + PREVIOUS_DOCKER_TAG = $ ( git rev - parse " $ ( git merge - base HEAD < < pipeline . git . base_revision > > ) : . circleci / docker " ) <nl> + # Check if image already exists , if it does then skip building it <nl> + if docker manifest inspect " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / $ { IMAGE_NAME } : $ { DOCKER_TAG } " ; then <nl> + circleci - agent step halt <nl> + # circleci - agent step halt doesn ' t actually halt the step so we need to <nl> + # explicitly exit the step here ourselves before it causes too much trouble <nl> + exit 0 <nl> + fi <nl> + # If no image exists but the hash is the same as the previous hash then we should error out here <nl> + if [ [ $ { PREVIOUS_DOCKER_TAG } = $ { DOCKER_TAG } ] ] ; then <nl> + echo " ERROR : Something has gone wrong and the previous image isn ' t available for the merge - base of your branch " <nl> + echo " contact the PyTorch team to restore the original images " <nl> + exit 1 <nl> + fi <nl> - run : <nl> name : build_docker_image_ < < parameters . image_name > > <nl> no_output_timeout : " 1h " <nl> jobs : <nl> export AWS_ACCESS_KEY_ID = $ { CIRCLECI_AWS_ACCESS_KEY_FOR_DOCKER_BUILDER_V1 } <nl> export AWS_SECRET_ACCESS_KEY = $ { CIRCLECI_AWS_SECRET_KEY_FOR_DOCKER_BUILDER_V1 } <nl> set - x <nl> + source . circleci / shared / env_file <nl> cd . circleci / docker & & . / build_docker . sh <nl> + <nl> docker_for_ecr_gc_build_job : <nl> machine : <nl> image : ubuntu - 1604 : 201903 - 01 <nl> jobs : <nl> type : string <nl> environment : <nl> PROJECT : < < parameters . project > > <nl> + # TODO : Remove legacy image tags once we feel comfortable with new docker image tags <nl> IMAGE_TAG : < < parameters . tags_to_keep > > <nl> docker : <nl> - image : 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / gc / ecr <nl> aws_auth : <nl> aws_access_key_id : $ { CIRCLECI_AWS_ACCESS_KEY_FOR_DOCKER_BUILDER_V1 } <nl> aws_secret_access_key : $ { CIRCLECI_AWS_SECRET_KEY_FOR_DOCKER_BUILDER_V1 } <nl> - <nl> steps : <nl> + - checkout <nl> + - run : <nl> + # NOTE : see ' docker_build_job ' for how these tags actually get built <nl> + name : dynamically generate tags to keep <nl> + no_output_timeout : " 1h " <nl> + command : | <nl> + GENERATED_IMAGE_TAG = $ ( \ <nl> + git log - - oneline - - pretty = ' % H ' . circleci / docker \ <nl> + | xargs - I ' { } ' git rev - parse ' { } : . circleci / docker ' \ <nl> + | paste - sd " , " - ) <nl> + echo " export GENERATED_IMAGE_TAG = ' $ { GENERATED_IMAGE_TAG } ' " > > $ { BASH_ENV } <nl> - run : <nl> name : garbage collecting for ecr images <nl> no_output_timeout : " 1h " <nl> jobs : <nl> export AWS_ACCESS_KEY_ID = $ { CIRCLECI_AWS_ACCESS_KEY_FOR_DOCKER_BUILDER_V1 } <nl> export AWS_SECRET_ACCESS_KEY = $ { CIRCLECI_AWS_SECRET_KEY_FOR_DOCKER_BUILDER_V1 } <nl> set - x <nl> - / usr / bin / gc . py - - filter - prefix $ { PROJECT } - - ignore - tags $ { IMAGE_TAG } <nl> + / usr / bin / gc . py - - filter - prefix $ { PROJECT } - - ignore - tags " $ { IMAGE_TAG } , $ { GENERATED_IMAGE_TAG } " <nl> <nl> docker_hub_index_job : <nl> docker : <nl> workflows : <nl> name : pytorch_linux_xenial_pynightly_build <nl> requires : <nl> - setup <nl> + - " docker - pytorch - linux - xenial - pynightly " <nl> filters : <nl> branches : <nl> only : <nl> workflows : <nl> - / ci - all \ / . * / <nl> - / release \ / . * / <nl> build_environment : " pytorch - linux - xenial - pynightly - build " <nl> - docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - pynightly : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - pynightly " <nl> - pytorch_linux_test : <nl> name : pytorch_linux_xenial_pynightly_test <nl> requires : <nl> workflows : <nl> - / ci - all \ / . * / <nl> - / release \ / . * / <nl> build_environment : " pytorch - linux - xenial - pynightly - test " <nl> - docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - pynightly : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - pynightly " <nl> resource_class : large <nl> - pytorch_linux_build : <nl> name : pytorch_linux_xenial_py3_6_gcc5_4_build <nl> requires : <nl> - setup <nl> + - " docker - pytorch - linux - xenial - py3 . 6 - gcc5 . 4 " <nl> build_environment : " pytorch - linux - xenial - py3 . 6 - gcc5 . 4 - build " <nl> - docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 . 6 - gcc5 . 4 : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 . 6 - gcc5 . 4 " <nl> - pytorch_linux_test : <nl> name : pytorch_linux_xenial_py3_6_gcc5_4_test <nl> requires : <nl> - setup <nl> - pytorch_linux_xenial_py3_6_gcc5_4_build <nl> build_environment : " pytorch - linux - xenial - py3 . 6 - gcc5 . 4 - test " <nl> - docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 . 6 - gcc5 . 4 : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 . 6 - gcc5 . 4 " <nl> resource_class : large <nl> - pytorch_python_doc_push : <nl> requires : <nl> workflows : <nl> - setup <nl> - pytorch_linux_xenial_py3_6_gcc5_4_build <nl> build_environment : " pytorch - linux - backward - compatibility - check - test " <nl> - docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 . 6 - gcc5 . 4 : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 . 6 - gcc5 . 4 " <nl> resource_class : large <nl> - pytorch_linux_build : <nl> name : pytorch_paralleltbb_linux_xenial_py3_6_gcc5_4_build <nl> requires : <nl> - setup <nl> + - " docker - pytorch - linux - xenial - py3 . 6 - gcc5 . 4 " <nl> filters : <nl> branches : <nl> only : <nl> workflows : <nl> - / ci - all \ / . * / <nl> - / release \ / . * / <nl> build_environment : " pytorch - paralleltbb - linux - xenial - py3 . 6 - gcc5 . 4 - build " <nl> - docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 . 6 - gcc5 . 4 : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 . 6 - gcc5 . 4 " <nl> - pytorch_linux_test : <nl> name : pytorch_paralleltbb_linux_xenial_py3_6_gcc5_4_test <nl> requires : <nl> workflows : <nl> - / ci - all \ / . * / <nl> - / release \ / . * / <nl> build_environment : " pytorch - paralleltbb - linux - xenial - py3 . 6 - gcc5 . 4 - test " <nl> - docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 . 6 - gcc5 . 4 : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 . 6 - gcc5 . 4 " <nl> resource_class : large <nl> - pytorch_linux_build : <nl> name : pytorch_parallelnative_linux_xenial_py3_6_gcc5_4_build <nl> requires : <nl> - setup <nl> + - " docker - pytorch - linux - xenial - py3 . 6 - gcc5 . 4 " <nl> filters : <nl> branches : <nl> only : <nl> workflows : <nl> - / ci - all \ / . * / <nl> - / release \ / . * / <nl> build_environment : " pytorch - parallelnative - linux - xenial - py3 . 6 - gcc5 . 4 - build " <nl> - docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 . 6 - gcc5 . 4 : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 . 6 - gcc5 . 4 " <nl> - pytorch_linux_test : <nl> name : pytorch_parallelnative_linux_xenial_py3_6_gcc5_4_test <nl> requires : <nl> workflows : <nl> - / ci - all \ / . * / <nl> - / release \ / . * / <nl> build_environment : " pytorch - parallelnative - linux - xenial - py3 . 6 - gcc5 . 4 - test " <nl> - docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 . 6 - gcc5 . 4 : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 . 6 - gcc5 . 4 " <nl> resource_class : large <nl> - pytorch_linux_build : <nl> name : pytorch_linux_xenial_py3_6_gcc7_build <nl> requires : <nl> - setup <nl> + - " docker - pytorch - linux - xenial - py3 . 6 - gcc7 " <nl> filters : <nl> branches : <nl> only : <nl> workflows : <nl> - / ci - all \ / . * / <nl> - / release \ / . * / <nl> build_environment : " pytorch - linux - xenial - py3 . 6 - gcc7 - build " <nl> - docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 . 6 - gcc7 : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 . 6 - gcc7 " <nl> - pytorch_linux_test : <nl> name : pytorch_linux_xenial_py3_6_gcc7_test <nl> requires : <nl> workflows : <nl> - / ci - all \ / . * / <nl> - / release \ / . * / <nl> build_environment : " pytorch - linux - xenial - py3 . 6 - gcc7 - test " <nl> - docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 . 6 - gcc7 : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 . 6 - gcc7 " <nl> resource_class : large <nl> - pytorch_linux_build : <nl> name : pytorch_linux_xenial_py3_clang5_asan_build <nl> requires : <nl> - setup <nl> + - " docker - pytorch - linux - xenial - py3 - clang5 - asan " <nl> build_environment : " pytorch - linux - xenial - py3 - clang5 - asan - build " <nl> - docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - asan : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - asan " <nl> - pytorch_linux_test : <nl> name : pytorch_linux_xenial_py3_clang5_asan_test <nl> requires : <nl> - setup <nl> - pytorch_linux_xenial_py3_clang5_asan_build <nl> build_environment : " pytorch - linux - xenial - py3 - clang5 - asan - test " <nl> - docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - asan : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - asan " <nl> resource_class : large <nl> - pytorch_linux_build : <nl> name : pytorch_linux_xenial_cuda9_2_cudnn7_py3_gcc7_build <nl> requires : <nl> - setup <nl> + - " docker - pytorch - linux - xenial - cuda9 . 2 - cudnn7 - py3 - gcc7 " <nl> filters : <nl> branches : <nl> only : <nl> workflows : <nl> - / ci - all \ / . * / <nl> - / release \ / . * / <nl> build_environment : " pytorch - linux - xenial - cuda9 . 2 - cudnn7 - py3 - gcc7 - build " <nl> - docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - cuda9 . 2 - cudnn7 - py3 - gcc7 : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - cuda9 . 2 - cudnn7 - py3 - gcc7 " <nl> - pytorch_linux_test : <nl> name : pytorch_linux_xenial_cuda9_2_cudnn7_py3_gcc7_test <nl> requires : <nl> workflows : <nl> - / ci - all \ / . * / <nl> - / release \ / . * / <nl> build_environment : " pytorch - linux - xenial - cuda9 . 2 - cudnn7 - py3 - gcc7 - test " <nl> - docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - cuda9 . 2 - cudnn7 - py3 - gcc7 : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - cuda9 . 2 - cudnn7 - py3 - gcc7 " <nl> use_cuda_docker_runtime : " 1 " <nl> resource_class : gpu . medium <nl> - pytorch_linux_build : <nl> name : pytorch_linux_xenial_cuda10_1_cudnn7_py3_gcc7_build <nl> requires : <nl> - setup <nl> + - " docker - pytorch - linux - xenial - cuda10 . 1 - cudnn7 - py3 - gcc7 " <nl> filters : <nl> branches : <nl> only : <nl> workflows : <nl> - / ci - all \ / . * / <nl> - / release \ / . * / <nl> build_environment : " pytorch - linux - xenial - cuda10 . 1 - cudnn7 - py3 - gcc7 - build " <nl> - docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - cuda10 . 1 - cudnn7 - py3 - gcc7 : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - cuda10 . 1 - cudnn7 - py3 - gcc7 " <nl> - pytorch_linux_test : <nl> name : pytorch_linux_xenial_cuda10_1_cudnn7_py3_gcc7_test <nl> requires : <nl> workflows : <nl> - / ci - all \ / . * / <nl> - / release \ / . * / <nl> build_environment : " pytorch - linux - xenial - cuda10 . 1 - cudnn7 - py3 - gcc7 - test " <nl> - docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - cuda10 . 1 - cudnn7 - py3 - gcc7 : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - cuda10 . 1 - cudnn7 - py3 - gcc7 " <nl> use_cuda_docker_runtime : " 1 " <nl> resource_class : gpu . medium <nl> - pytorch_linux_test : <nl> workflows : <nl> - / ci - all \ / . * / <nl> - / release \ / . * / <nl> build_environment : " pytorch - linux - xenial - cuda10 . 1 - cudnn7 - py3 - multigpu - test " <nl> - docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - cuda10 . 1 - cudnn7 - py3 - gcc7 : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - cuda10 . 1 - cudnn7 - py3 - gcc7 " <nl> use_cuda_docker_runtime : " 1 " <nl> resource_class : gpu . large <nl> - pytorch_linux_test : <nl> workflows : <nl> - / ci - all \ / . * / <nl> - / release \ / . * / <nl> build_environment : " pytorch - linux - xenial - cuda10 . 1 - cudnn7 - py3 - NO_AVX2 - test " <nl> - docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - cuda10 . 1 - cudnn7 - py3 - gcc7 : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - cuda10 . 1 - cudnn7 - py3 - gcc7 " <nl> use_cuda_docker_runtime : " 1 " <nl> resource_class : gpu . medium <nl> - pytorch_linux_test : <nl> workflows : <nl> - / ci - all \ / . * / <nl> - / release \ / . * / <nl> build_environment : " pytorch - linux - xenial - cuda10 . 1 - cudnn7 - py3 - NO_AVX - NO_AVX2 - test " <nl> - docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - cuda10 . 1 - cudnn7 - py3 - gcc7 : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - cuda10 . 1 - cudnn7 - py3 - gcc7 " <nl> use_cuda_docker_runtime : " 1 " <nl> resource_class : gpu . medium <nl> - pytorch_linux_test : <nl> workflows : <nl> - / ci - all \ / . * / <nl> - / release \ / . * / <nl> build_environment : " pytorch - linux - xenial - cuda10 . 1 - cudnn7 - py3 - slow - test " <nl> - docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - cuda10 . 1 - cudnn7 - py3 - gcc7 : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - cuda10 . 1 - cudnn7 - py3 - gcc7 " <nl> use_cuda_docker_runtime : " 1 " <nl> resource_class : gpu . medium <nl> - pytorch_linux_test : <nl> workflows : <nl> - / ci - all \ / . * / <nl> - / release \ / . * / <nl> build_environment : " pytorch - linux - xenial - cuda10 . 1 - cudnn7 - py3 - nogpu - test " <nl> - docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - cuda10 . 1 - cudnn7 - py3 - gcc7 : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - cuda10 . 1 - cudnn7 - py3 - gcc7 " <nl> resource_class : large <nl> - pytorch_linux_build : <nl> name : pytorch_linux_xenial_cuda10_2_cudnn7_py3_gcc7_build <nl> requires : <nl> - setup <nl> + - " docker - pytorch - linux - xenial - cuda10 . 2 - cudnn7 - py3 - gcc7 " <nl> build_environment : " pytorch - linux - xenial - cuda10 . 2 - cudnn7 - py3 - gcc7 - build " <nl> - docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - cuda10 . 2 - cudnn7 - py3 - gcc7 : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - cuda10 . 2 - cudnn7 - py3 - gcc7 " <nl> - pytorch_linux_test : <nl> name : pytorch_linux_xenial_cuda10_2_cudnn7_py3_gcc7_test <nl> requires : <nl> - setup <nl> - pytorch_linux_xenial_cuda10_2_cudnn7_py3_gcc7_build <nl> build_environment : " pytorch - linux - xenial - cuda10 . 2 - cudnn7 - py3 - gcc7 - test " <nl> - docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - cuda10 . 2 - cudnn7 - py3 - gcc7 : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - cuda10 . 2 - cudnn7 - py3 - gcc7 " <nl> use_cuda_docker_runtime : " 1 " <nl> resource_class : gpu . medium <nl> - pytorch_linux_build : <nl> name : pytorch_libtorch_linux_xenial_cuda10_2_cudnn7_py3_gcc7_build <nl> requires : <nl> - setup <nl> + - " docker - pytorch - linux - xenial - cuda10 . 2 - cudnn7 - py3 - gcc7 " <nl> build_environment : " pytorch - libtorch - linux - xenial - cuda10 . 2 - cudnn7 - py3 - gcc7 - build " <nl> - docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - cuda10 . 2 - cudnn7 - py3 - gcc7 : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - cuda10 . 2 - cudnn7 - py3 - gcc7 " <nl> - pytorch_linux_test : <nl> name : pytorch_libtorch_linux_xenial_cuda10_2_cudnn7_py3_gcc7_test <nl> requires : <nl> - setup <nl> - pytorch_libtorch_linux_xenial_cuda10_2_cudnn7_py3_gcc7_build <nl> build_environment : " pytorch - libtorch - linux - xenial - cuda10 . 2 - cudnn7 - py3 - gcc7 - test " <nl> - docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - cuda10 . 2 - cudnn7 - py3 - gcc7 : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - cuda10 . 2 - cudnn7 - py3 - gcc7 " <nl> use_cuda_docker_runtime : " 1 " <nl> resource_class : gpu . medium <nl> - pytorch_linux_build : <nl> name : pytorch_linux_xenial_py3_clang5_android_ndk_r19c_x86_32_build <nl> requires : <nl> - setup <nl> + - " docker - pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c " <nl> build_environment : " pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c - x86_32 - build " <nl> - docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c " <nl> - pytorch_linux_build : <nl> name : pytorch_linux_xenial_py3_clang5_android_ndk_r19c_x86_64_build <nl> requires : <nl> - setup <nl> + - " docker - pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c " <nl> filters : <nl> branches : <nl> only : <nl> workflows : <nl> - / ci - all \ / . * / <nl> - / release \ / . * / <nl> build_environment : " pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c - x86_64 - build " <nl> - docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c " <nl> - pytorch_linux_build : <nl> name : pytorch_linux_xenial_py3_clang5_android_ndk_r19c_arm_v7a_build <nl> requires : <nl> - setup <nl> + - " docker - pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c " <nl> filters : <nl> branches : <nl> only : <nl> workflows : <nl> - / ci - all \ / . * / <nl> - / release \ / . * / <nl> build_environment : " pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c - arm - v7a - build " <nl> - docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c " <nl> - pytorch_linux_build : <nl> name : pytorch_linux_xenial_py3_clang5_android_ndk_r19c_arm_v8a_build <nl> requires : <nl> - setup <nl> + - " docker - pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c " <nl> filters : <nl> branches : <nl> only : <nl> workflows : <nl> - / ci - all \ / . * / <nl> - / release \ / . * / <nl> build_environment : " pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c - arm - v8a - build " <nl> - docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c " <nl> - pytorch_linux_build : <nl> name : pytorch_linux_bionic_py3_6_clang9_build <nl> requires : <nl> - setup <nl> + - " docker - pytorch - linux - bionic - py3 . 6 - clang9 " <nl> build_environment : " pytorch - linux - bionic - py3 . 6 - clang9 - build " <nl> - docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - bionic - py3 . 6 - clang9 : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - bionic - py3 . 6 - clang9 " <nl> - pytorch_linux_test : <nl> name : pytorch_linux_bionic_py3_6_clang9_test <nl> requires : <nl> - setup <nl> - pytorch_linux_bionic_py3_6_clang9_build <nl> build_environment : " pytorch - linux - bionic - py3 . 6 - clang9 - test " <nl> - docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - bionic - py3 . 6 - clang9 : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - bionic - py3 . 6 - clang9 " <nl> resource_class : large <nl> - pytorch_linux_build : <nl> name : pytorch_xla_linux_bionic_py3_6_clang9_build <nl> requires : <nl> - setup <nl> + - " docker - pytorch - linux - bionic - py3 . 6 - clang9 " <nl> build_environment : " pytorch - xla - linux - bionic - py3 . 6 - clang9 - build " <nl> - docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - bionic - py3 . 6 - clang9 : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - bionic - py3 . 6 - clang9 " <nl> - pytorch_linux_test : <nl> name : pytorch_xla_linux_bionic_py3_6_clang9_test <nl> requires : <nl> - setup <nl> - pytorch_xla_linux_bionic_py3_6_clang9_build <nl> build_environment : " pytorch - xla - linux - bionic - py3 . 6 - clang9 - test " <nl> - docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - bionic - py3 . 6 - clang9 : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - bionic - py3 . 6 - clang9 " <nl> resource_class : large <nl> # Warning : indentation here matters ! <nl> <nl> workflows : <nl> - pytorch_linux_build : <nl> build_environment : pytorch - linux - xenial - py3 - clang5 - mobile - build <nl> build_only : " 1 " <nl> - docker_image : 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - asan : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 <nl> + docker_image : 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - asan <nl> name : pytorch_linux_xenial_py3_clang5_mobile_build <nl> requires : <nl> - setup <nl> + - docker - pytorch - linux - xenial - py3 - clang5 - asan <nl> - pytorch_linux_build : <nl> build_environment : pytorch - linux - xenial - py3 - clang5 - mobile - custom - build - static <nl> build_only : " 1 " <nl> - docker_image : 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - asan : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 <nl> + docker_image : 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - asan <nl> name : pytorch_linux_xenial_py3_clang5_mobile_custom_build_static <nl> requires : <nl> - setup <nl> + - docker - pytorch - linux - xenial - py3 - clang5 - asan <nl> - pytorch_linux_build : <nl> build_environment : pytorch - linux - xenial - py3 - clang5 - mobile - custom - build - dynamic <nl> build_only : " 1 " <nl> # Use LLVM - DEV toolchain in android - ndk - r19c docker image <nl> - docker_image : 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 <nl> + docker_image : 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c <nl> name : pytorch_linux_xenial_py3_clang5_mobile_custom_build_dynamic <nl> requires : <nl> - setup <nl> + - docker - pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c <nl> - pytorch_linux_build : <nl> # Use LLVM - DEV toolchain in android - ndk - r19c docker image <nl> # Most of this CI is already covered by " mobile - custom - build - dynamic " job <nl> build_environment : pytorch - linux - xenial - py3 - clang5 - mobile - code - analysis <nl> build_only : " 1 " <nl> - docker_image : 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 <nl> + docker_image : 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c <nl> filters : <nl> branches : <nl> only : <nl> workflows : <nl> name : pytorch_linux_xenial_py3_clang5_mobile_code_analysis <nl> requires : <nl> - setup <nl> + - docker - pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c <nl> - pytorch_linux_test : <nl> name : pytorch_linux_xenial_py3_6_gcc5_4_ge_config_legacy_test <nl> requires : <nl> - setup <nl> - pytorch_linux_xenial_py3_6_gcc5_4_build <nl> build_environment : " pytorch - linux - xenial - py3 . 6 - gcc5 . 4 - ge_config_legacy - test " <nl> - docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 . 6 - gcc5 . 4 : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 . 6 - gcc5 . 4 " <nl> resource_class : large <nl> - pytorch_linux_test : <nl> name : pytorch_linux_xenial_py3_6_gcc5_4_ge_config_profiling_test <nl> workflows : <nl> - setup <nl> - pytorch_linux_xenial_py3_6_gcc5_4_build <nl> build_environment : " pytorch - linux - xenial - py3 . 6 - gcc5 . 4 - ge_config_profiling - test " <nl> - docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 . 6 - gcc5 . 4 : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 . 6 - gcc5 . 4 " <nl> resource_class : large <nl> - pytorch_linux_test : <nl> name : pytorch_linux_xenial_py3_6_gcc5_4_ge_config_simple_test <nl> workflows : <nl> - setup <nl> - pytorch_linux_xenial_py3_6_gcc5_4_build <nl> build_environment : " pytorch - linux - xenial - py3 . 6 - gcc5 . 4 - ge_config_simple - test " <nl> - docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 . 6 - gcc5 . 4 : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 . 6 - gcc5 . 4 " <nl> resource_class : large <nl> - pytorch_linux_test : <nl> name : pytorch_linux_xenial_cuda10_2_cudnn7_py3_ge_config_legacy_test <nl> workflows : <nl> - setup <nl> - pytorch_linux_xenial_cuda10_2_cudnn7_py3_gcc7_build <nl> build_environment : " pytorch - linux - xenial - cuda10 . 1 - cudnn7 - ge_config_legacy - test " <nl> - docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - cuda10 . 2 - cudnn7 - py3 - gcc7 : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - cuda10 . 2 - cudnn7 - py3 - gcc7 " <nl> use_cuda_docker_runtime : " 1 " <nl> resource_class : gpu . medium <nl> - pytorch_linux_test : <nl> workflows : <nl> - setup <nl> - pytorch_linux_xenial_cuda10_2_cudnn7_py3_gcc7_build <nl> build_environment : " pytorch - linux - xenial - cuda10 . 1 - cudnn7 - ge_config_profiling - test " <nl> - docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - cuda10 . 2 - cudnn7 - py3 - gcc7 : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - cuda10 . 2 - cudnn7 - py3 - gcc7 " <nl> use_cuda_docker_runtime : " 1 " <nl> resource_class : gpu . medium <nl> - pytorch_linux_bazel_build : <nl> build_environment : pytorch - linux - xenial - py3 . 6 - gcc7 - bazel - build <nl> - docker_image : 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 . 6 - gcc7 : f990c76a - a798 - 42bb - 852f - 5be5006f8026 <nl> + docker_image : 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 . 6 - gcc7 <nl> name : pytorch_bazel_build <nl> requires : <nl> - setup <nl> + - docker - pytorch - linux - xenial - py3 . 6 - gcc7 <nl> resource_class : large <nl> - pytorch_linux_bazel_test : <nl> build_environment : pytorch - linux - xenial - py3 . 6 - gcc7 - bazel - test <nl> - docker_image : 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 . 6 - gcc7 : f990c76a - a798 - 42bb - 852f - 5be5006f8026 <nl> + docker_image : 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 . 6 - gcc7 <nl> name : pytorch_bazel_test <nl> requires : <nl> - - setup <nl> - pytorch_bazel_build <nl> - caffe2_linux_build : <nl> name : caffe2_onnx_main_py3_6_clang7_ubuntu16_04_build <nl> workflows : <nl> - pytorch_ios_11_2_1_nightly_arm64_build <nl> - pytorch_linux_build : <nl> build_environment : pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c - x86_32 <nl> - docker_image : 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 <nl> + docker_image : 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c <nl> filters : <nl> branches : <nl> only : nightly <nl> name : nightly_pytorch_linux_xenial_py3_clang5_android_ndk_r19c_x86_32_build <nl> requires : <nl> - setup <nl> + - docker - pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c <nl> - pytorch_linux_build : <nl> build_environment : pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c - x86_64 <nl> - docker_image : 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 <nl> + docker_image : 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c <nl> filters : <nl> branches : <nl> only : nightly <nl> name : nightly_pytorch_linux_xenial_py3_clang5_android_ndk_r19c_x86_64_build <nl> requires : <nl> - setup <nl> + - docker - pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c <nl> - pytorch_linux_build : <nl> build_environment : pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c - arm - v7a <nl> - docker_image : 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 <nl> + docker_image : 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c <nl> filters : <nl> branches : <nl> only : nightly <nl> name : nightly_pytorch_linux_xenial_py3_clang5_android_ndk_r19c_arm_v7a_build <nl> requires : <nl> - setup <nl> + - docker - pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c <nl> - pytorch_linux_build : <nl> build_environment : pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c - arm - v8a <nl> - docker_image : 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 <nl> + docker_image : 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c <nl> filters : <nl> branches : <nl> only : nightly <nl> name : nightly_pytorch_linux_xenial_py3_clang5_android_ndk_r19c_arm_v8a_build <nl> requires : <nl> - setup <nl> + - docker - pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c <nl> - pytorch_android_gradle_build : <nl> filters : <nl> branches : <nl> workflows : <nl> branches : <nl> only : postnightly <nl> <nl> - docker_build : <nl> - triggers : <nl> - - schedule : <nl> - cron : " 0 15 * * 0 " <nl> + - docker_for_ecr_gc_build_job : <nl> + # Since this overwrites latest we should only <nl> + # run this when we ' re entirely explicit about <nl> + # running it <nl> filters : <nl> branches : <nl> only : <nl> - master <nl> - jobs : <nl> - - docker_for_ecr_gc_build_job <nl> - docker_build_job : <nl> - name : " pytorch - linux - bionic - py3 . 6 - clang9 " <nl> + name : " docker - pytorch - linux - bionic - py3 . 6 - clang9 " <nl> image_name : " pytorch - linux - bionic - py3 . 6 - clang9 " <nl> - docker_build_job : <nl> - name : " pytorch - linux - xenial - cuda10 - cudnn7 - py3 - gcc7 " <nl> + name : " docker - pytorch - linux - xenial - cuda10 - cudnn7 - py3 - gcc7 " <nl> image_name : " pytorch - linux - xenial - cuda10 - cudnn7 - py3 - gcc7 " <nl> - docker_build_job : <nl> - name : " pytorch - linux - xenial - cuda10 . 1 - cudnn7 - py3 - gcc7 " <nl> + name : " docker - pytorch - linux - xenial - cuda10 . 1 - cudnn7 - py3 - gcc7 " <nl> image_name : " pytorch - linux - xenial - cuda10 . 1 - cudnn7 - py3 - gcc7 " <nl> - docker_build_job : <nl> - name : " pytorch - linux - xenial - cuda10 . 2 - cudnn7 - py3 - gcc7 " <nl> + name : " docker - pytorch - linux - xenial - cuda10 . 2 - cudnn7 - py3 - gcc7 " <nl> image_name : " pytorch - linux - xenial - cuda10 . 2 - cudnn7 - py3 - gcc7 " <nl> - docker_build_job : <nl> - name : " pytorch - linux - xenial - cuda9 - cudnn7 - py3 " <nl> + name : " docker - pytorch - linux - xenial - cuda9 - cudnn7 - py3 " <nl> image_name : " pytorch - linux - xenial - cuda9 - cudnn7 - py3 " <nl> - docker_build_job : <nl> - name : " pytorch - linux - xenial - cuda9 . 2 - cudnn7 - py3 - gcc5 . 4 " <nl> + name : " docker - pytorch - linux - xenial - cuda9 . 2 - cudnn7 - py3 - gcc5 . 4 " <nl> image_name : " pytorch - linux - xenial - cuda9 . 2 - cudnn7 - py3 - gcc5 . 4 " <nl> - docker_build_job : <nl> - name : " pytorch - linux - xenial - cuda9 . 2 - cudnn7 - py3 - gcc7 " <nl> + name : " docker - pytorch - linux - xenial - cuda9 . 2 - cudnn7 - py3 - gcc7 " <nl> image_name : " pytorch - linux - xenial - cuda9 . 2 - cudnn7 - py3 - gcc7 " <nl> - docker_build_job : <nl> - name : " pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c " <nl> + name : " docker - pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c " <nl> image_name : " pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c " <nl> - docker_build_job : <nl> - name : " pytorch - linux - xenial - py3 - clang5 - asan " <nl> + name : " docker - pytorch - linux - xenial - py3 - clang5 - asan " <nl> image_name : " pytorch - linux - xenial - py3 - clang5 - asan " <nl> - docker_build_job : <nl> - name : " pytorch - linux - xenial - py3 . 8 " <nl> + name : " docker - pytorch - linux - xenial - py3 . 8 " <nl> image_name : " pytorch - linux - xenial - py3 . 8 " <nl> - docker_build_job : <nl> - name : " pytorch - linux - xenial - py3 . 6 - clang7 " <nl> + name : " docker - pytorch - linux - xenial - py3 . 6 - clang7 " <nl> image_name : " pytorch - linux - xenial - py3 . 6 - clang7 " <nl> - docker_build_job : <nl> - name : " pytorch - linux - xenial - py3 . 6 - gcc4 . 8 " <nl> + name : " docker - pytorch - linux - xenial - py3 . 6 - gcc4 . 8 " <nl> image_name : " pytorch - linux - xenial - py3 . 6 - gcc4 . 8 " <nl> - docker_build_job : <nl> - name : " pytorch - linux - xenial - py3 . 6 - gcc5 . 4 " <nl> + name : " docker - pytorch - linux - xenial - py3 . 6 - gcc5 . 4 " <nl> image_name : " pytorch - linux - xenial - py3 . 6 - gcc5 . 4 " <nl> - docker_build_job : <nl> - name : " pytorch - linux - xenial - py3 . 6 - gcc7 . 2 " <nl> + name : " docker - pytorch - linux - xenial - py3 . 6 - gcc7 . 2 " <nl> image_name : " pytorch - linux - xenial - py3 . 6 - gcc7 . 2 " <nl> - docker_build_job : <nl> - name : " pytorch - linux - xenial - py3 . 6 - gcc7 " <nl> + name : " docker - pytorch - linux - xenial - py3 . 6 - gcc7 " <nl> image_name : " pytorch - linux - xenial - py3 . 6 - gcc7 " <nl> - docker_build_job : <nl> - name : " pytorch - linux - xenial - pynightly " <nl> + name : " docker - pytorch - linux - xenial - pynightly " <nl> image_name : " pytorch - linux - xenial - pynightly " <nl> ecr_gc : <nl> triggers : <nl> mmm a / . circleci / docker / build . sh <nl> ppp b / . circleci / docker / build . sh <nl> tmp_tag = " tmp - $ ( cat / dev / urandom | tr - dc ' a - z ' | fold - w 32 | head - n 1 ) " <nl> # it ' s no longer needed . <nl> docker build \ <nl> - - no - cache \ <nl> + - - progress = plain \ <nl> - - build - arg " TRAVIS_DL_URL_PREFIX = $ { TRAVIS_DL_URL_PREFIX } " \ <nl> - - build - arg " BUILD_ENVIRONMENT = $ { image } " \ <nl> - - build - arg " PROTOBUF = $ { PROTOBUF : - } " \ <nl> mmm a / . circleci / docker / build_docker . sh <nl> ppp b / . circleci / docker / build_docker . sh <nl> retry ( ) { <nl> $ * | | ( sleep 1 & & $ * ) | | ( sleep 2 & & $ * ) <nl> } <nl> <nl> - # If UPSTREAM_BUILD_ID is set ( see trigger job ) , then we can <nl> - # use it to tag this build with the same ID used to tag all other <nl> - # base image builds . Also , we can try and pull the previous <nl> - # image first , to avoid rebuilding layers that haven ' t changed . <nl> - <nl> - # until we find a way to reliably reuse previous build , this last_tag is not in use <nl> - # last_tag = " $ ( ( CIRCLE_BUILD_NUM - 1 ) ) " <nl> - tag = " $ { CIRCLE_WORKFLOW_ID } " <nl> + # Setup from previous step , typically located in . circleci / artifacts / env_file <nl> + tag = " $ { DOCKER_TAG } " <nl> <nl> <nl> registry = " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com " <nl> mmm a / . circleci / ecr_gc_docker / Dockerfile <nl> ppp b / . circleci / ecr_gc_docker / Dockerfile <nl> <nl> FROM ubuntu : 16 . 04 <nl> <nl> - RUN apt - get update & & apt - get install - y python - pip & & rm - rf / var / lib / apt / lists / * / var / log / dpkg . log <nl> + RUN apt - get update & & apt - get install - y git python - pip & & rm - rf / var / lib / apt / lists / * / var / log / dpkg . log <nl> <nl> ADD requirements . txt / requirements . txt <nl> <nl> deleted file mode 100755 <nl> index 9410b8856800 . . 000000000000 <nl> mmm a / . circleci / validate - docker - version . py <nl> ppp / dev / null <nl> <nl> - # ! / usr / bin / env python3 <nl> - import cimodel . data . caffe2_build_definitions as caffe2_build_definitions <nl> - import cimodel . data . pytorch_build_definitions as pytorch_build_definitions <nl> - from yaml import load <nl> - <nl> - try : <nl> - from yaml import CLoader as Loader <nl> - except ImportError : <nl> - from yaml import Loader <nl> - <nl> - <nl> - def load_config ( filename = " . circleci / config . yml " ) : <nl> - with open ( filename , " r " ) as fh : <nl> - return load ( " " . join ( fh . readlines ( ) ) , Loader ) <nl> - <nl> - <nl> - def load_tags_for_projects ( workflow_config ) : <nl> - return { <nl> - v [ " ecr_gc_job " ] [ " project " ] : v [ " ecr_gc_job " ] [ " tags_to_keep " ] <nl> - for v in workflow_config [ " workflows " ] [ " ecr_gc " ] [ " jobs " ] <nl> - if isinstance ( v , dict ) and " ecr_gc_job " in v <nl> - } <nl> - <nl> - <nl> - def check_version ( job , tags , expected_version ) : <nl> - valid_versions = tags [ job ] . split ( " , " ) <nl> - if expected_version not in valid_versions : <nl> - raise RuntimeError ( <nl> - " We configured { } to use Docker version { } ; but this " <nl> - " version is not configured in job ecr_gc_job_for_ { } . Non - deployed versions will be " <nl> - " garbage collected two weeks after they are created . DO NOT LAND " <nl> - " THIS TO MASTER without also updating ossci - job - dsl with this version . " <nl> - " \ n \ nDeployed versions : { } " . format ( job , expected_version , job , tags [ job ] ) <nl> - ) <nl> - <nl> - <nl> - def validate_docker_version ( ) : <nl> - tags = load_tags_for_projects ( load_config ( ) ) <nl> - check_version ( " pytorch " , tags , pytorch_build_definitions . DOCKER_IMAGE_VERSION ) <nl> - check_version ( " caffe2 " , tags , caffe2_build_definitions . DOCKER_IMAGE_VERSION ) <nl> - <nl> - <nl> - if __name__ = = " __main__ " : <nl> - validate_docker_version ( ) <nl> mmm a / . circleci / verbatim - sources / commands . yml <nl> ppp b / . circleci / verbatim - sources / commands . yml <nl> commands : <nl> name : Attaching workspace <nl> at : ~ / workspace <nl> <nl> + # Must be run after attaching workspace from previous steps <nl> + load_shared_env : <nl> + description : " Loads . circleci / shared / env_file into $ { BASH_ENV } " <nl> + parameters : <nl> + # For some weird reason we decide to reattach our workspace to ~ / workspace so <nl> + # in the vein of making it simple let ' s assume our share env_file is here <nl> + root : <nl> + type : string <nl> + default : " ~ / workspace " <nl> + steps : <nl> + - run : <nl> + name : " Load . circleci / shared / env_file into $ { BASH_ENV } " <nl> + command : | <nl> + cat < < parameters . root > > / . circleci / shared / env_file > > $ { BASH_ENV } <nl> + <nl> # This system setup script is meant to run before the CI - related scripts , e . g . , <nl> # installing Git client , checking out code , setting up CI env , and <nl> # building / testing . <nl> mmm a / . circleci / verbatim - sources / docker_jobs . yml <nl> ppp b / . circleci / verbatim - sources / docker_jobs . yml <nl> <nl> resource_class : large <nl> environment : <nl> IMAGE_NAME : < < parameters . image_name > > <nl> + # Enable ' docker manifest ' <nl> + DOCKER_CLI_EXPERIMENTAL : " enabled " <nl> + DOCKER_BUILDKIT : 1 <nl> steps : <nl> - checkout <nl> + - run : <nl> + name : Calculate docker tag <nl> + command : | <nl> + set - x <nl> + mkdir . circleci / shared <nl> + # git keeps a hash of all sub trees <nl> + echo " export DOCKER_TAG = $ ( git rev - parse HEAD : . circleci / docker ) " > > . circleci / shared / env_file <nl> + # Saves our calculated docker tag to our workpace for later use <nl> + - persist_to_workspace : <nl> + root : . <nl> + paths : <nl> + - . circleci / shared / <nl> + - load_shared_env : <nl> + root : . <nl> + - run : <nl> + name : Check if image should be built <nl> + command : | <nl> + set + x <nl> + export AWS_ACCESS_KEY_ID = $ { CIRCLECI_AWS_ACCESS_KEY_FOR_DOCKER_BUILDER_V1 } <nl> + export AWS_SECRET_ACCESS_KEY = $ { CIRCLECI_AWS_SECRET_KEY_FOR_DOCKER_BUILDER_V1 } <nl> + eval $ ( aws ecr get - login - - no - include - email - - region us - east - 1 ) <nl> + set - x <nl> + PREVIOUS_DOCKER_TAG = $ ( git rev - parse " $ ( git merge - base HEAD < < pipeline . git . base_revision > > ) : . circleci / docker " ) <nl> + # Check if image already exists , if it does then skip building it <nl> + if docker manifest inspect " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / $ { IMAGE_NAME } : $ { DOCKER_TAG } " ; then <nl> + circleci - agent step halt <nl> + # circleci - agent step halt doesn ' t actually halt the step so we need to <nl> + # explicitly exit the step here ourselves before it causes too much trouble <nl> + exit 0 <nl> + fi <nl> + # If no image exists but the hash is the same as the previous hash then we should error out here <nl> + if [ [ $ { PREVIOUS_DOCKER_TAG } = $ { DOCKER_TAG } ] ] ; then <nl> + echo " ERROR : Something has gone wrong and the previous image isn ' t available for the merge - base of your branch " <nl> + echo " contact the PyTorch team to restore the original images " <nl> + exit 1 <nl> + fi <nl> - run : <nl> name : build_docker_image_ < < parameters . image_name > > <nl> no_output_timeout : " 1h " <nl> <nl> export AWS_ACCESS_KEY_ID = $ { CIRCLECI_AWS_ACCESS_KEY_FOR_DOCKER_BUILDER_V1 } <nl> export AWS_SECRET_ACCESS_KEY = $ { CIRCLECI_AWS_SECRET_KEY_FOR_DOCKER_BUILDER_V1 } <nl> set - x <nl> + source . circleci / shared / env_file <nl> cd . circleci / docker & & . / build_docker . sh <nl> + <nl> docker_for_ecr_gc_build_job : <nl> machine : <nl> image : ubuntu - 1604 : 201903 - 01 <nl> <nl> type : string <nl> environment : <nl> PROJECT : < < parameters . project > > <nl> + # TODO : Remove legacy image tags once we feel comfortable with new docker image tags <nl> IMAGE_TAG : < < parameters . tags_to_keep > > <nl> docker : <nl> - image : 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / gc / ecr <nl> aws_auth : <nl> aws_access_key_id : $ { CIRCLECI_AWS_ACCESS_KEY_FOR_DOCKER_BUILDER_V1 } <nl> aws_secret_access_key : $ { CIRCLECI_AWS_SECRET_KEY_FOR_DOCKER_BUILDER_V1 } <nl> - <nl> steps : <nl> + - checkout <nl> + - run : <nl> + # NOTE : see ' docker_build_job ' for how these tags actually get built <nl> + name : dynamically generate tags to keep <nl> + no_output_timeout : " 1h " <nl> + command : | <nl> + GENERATED_IMAGE_TAG = $ ( \ <nl> + git log - - oneline - - pretty = ' % H ' . circleci / docker \ <nl> + | xargs - I ' { } ' git rev - parse ' { } : . circleci / docker ' \ <nl> + | paste - sd " , " - ) <nl> + echo " export GENERATED_IMAGE_TAG = ' $ { GENERATED_IMAGE_TAG } ' " > > $ { BASH_ENV } <nl> - run : <nl> name : garbage collecting for ecr images <nl> no_output_timeout : " 1h " <nl> <nl> export AWS_ACCESS_KEY_ID = $ { CIRCLECI_AWS_ACCESS_KEY_FOR_DOCKER_BUILDER_V1 } <nl> export AWS_SECRET_ACCESS_KEY = $ { CIRCLECI_AWS_SECRET_KEY_FOR_DOCKER_BUILDER_V1 } <nl> set - x <nl> - / usr / bin / gc . py - - filter - prefix $ { PROJECT } - - ignore - tags $ { IMAGE_TAG } <nl> + / usr / bin / gc . py - - filter - prefix $ { PROJECT } - - ignore - tags " $ { IMAGE_TAG } , $ { GENERATED_IMAGE_TAG } " <nl> <nl> docker_hub_index_job : <nl> docker : <nl> mmm a / . circleci / verbatim - sources / job - specs - custom . yml <nl> ppp b / . circleci / verbatim - sources / job - specs - custom . yml <nl> <nl> environment : <nl> BUILD_ENVIRONMENT : pytorch - python - doc - push <nl> # TODO : stop hardcoding this <nl> - DOCKER_IMAGE : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 . 6 - gcc5 . 4 : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + DOCKER_IMAGE : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 . 6 - gcc5 . 4 " <nl> resource_class : large <nl> machine : <nl> image : ubuntu - 1604 : 201903 - 01 <nl> steps : <nl> # See Note [ Workspace for CircleCI scripts ] in job - specs - setup . yml <nl> - attach_scripts <nl> + - load_shared_env <nl> - setup_linux_system_environment <nl> - setup_ci_environment <nl> - run : <nl> <nl> no_output_timeout : " 1h " <nl> command : | <nl> set - ex <nl> - export COMMIT_DOCKER_IMAGE = $ { DOCKER_IMAGE } - $ { CIRCLE_SHA1 } <nl> + export COMMIT_DOCKER_IMAGE = $ { DOCKER_IMAGE } : $ { DOCKER_TAG } - $ { CIRCLE_SHA1 } <nl> echo " DOCKER_IMAGE : " $ { COMMIT_DOCKER_IMAGE } <nl> time docker pull $ { COMMIT_DOCKER_IMAGE } > / dev / null <nl> export id = $ ( docker run - - cap - add = SYS_PTRACE - - security - opt seccomp = unconfined - t - d - w / var / lib / jenkins $ { COMMIT_DOCKER_IMAGE } ) <nl> <nl> pytorch_cpp_doc_push : <nl> environment : <nl> BUILD_ENVIRONMENT : pytorch - cpp - doc - push <nl> - DOCKER_IMAGE : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 . 6 - gcc5 . 4 : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + DOCKER_IMAGE : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 . 6 - gcc5 . 4 " <nl> resource_class : large <nl> machine : <nl> image : ubuntu - 1604 : 201903 - 01 <nl> steps : <nl> # See Note [ Workspace for CircleCI scripts ] in job - specs - setup . yml <nl> - attach_scripts <nl> + - load_shared_env <nl> - setup_linux_system_environment <nl> - setup_ci_environment <nl> - run : <nl> <nl> no_output_timeout : " 1h " <nl> command : | <nl> set - ex <nl> - export COMMIT_DOCKER_IMAGE = $ { DOCKER_IMAGE } - $ { CIRCLE_SHA1 } <nl> + export COMMIT_DOCKER_IMAGE = $ { DOCKER_IMAGE } : $ { DOCKER_TAG } - $ { CIRCLE_SHA1 } <nl> echo " DOCKER_IMAGE : " $ { COMMIT_DOCKER_IMAGE } <nl> time docker pull $ { COMMIT_DOCKER_IMAGE } > / dev / null <nl> export id = $ ( docker run - - cap - add = SYS_PTRACE - - security - opt seccomp = unconfined - t - d - w / var / lib / jenkins $ { COMMIT_DOCKER_IMAGE } ) <nl> <nl> pytorch_android_gradle_build : <nl> environment : <nl> BUILD_ENVIRONMENT : pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c - gradle - build <nl> - DOCKER_IMAGE : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + DOCKER_IMAGE : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c " <nl> PYTHON_VERSION : " 3 . 6 " <nl> resource_class : large <nl> machine : <nl> image : ubuntu - 1604 : 201903 - 01 <nl> steps : <nl> - attach_scripts <nl> + - load_shared_env <nl> - setup_linux_system_environment <nl> - checkout <nl> - setup_ci_environment <nl> <nl> no_output_timeout : " 1h " <nl> command : | <nl> set - eux <nl> - docker_image_commit = $ { DOCKER_IMAGE } - $ { CIRCLE_SHA1 } <nl> + docker_image_commit = $ { DOCKER_IMAGE } : $ { DOCKER_TAG } - $ { CIRCLE_SHA1 } <nl> <nl> docker_image_libtorch_android_x86_32 = $ { docker_image_commit } - android - x86_32 <nl> docker_image_libtorch_android_x86_64 = $ { docker_image_commit } - android - x86_64 <nl> <nl> pytorch_android_publish_snapshot : <nl> environment : <nl> BUILD_ENVIRONMENT : pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c - gradle - publish - snapshot <nl> - DOCKER_IMAGE : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + DOCKER_IMAGE : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c " <nl> PYTHON_VERSION : " 3 . 6 " <nl> resource_class : large <nl> machine : <nl> image : ubuntu - 1604 : 201903 - 01 <nl> steps : <nl> - attach_scripts <nl> + - load_shared_env <nl> - setup_linux_system_environment <nl> - checkout <nl> - setup_ci_environment <nl> <nl> no_output_timeout : " 1h " <nl> command : | <nl> set - eux <nl> - docker_image_commit = $ { DOCKER_IMAGE } - $ { CIRCLE_SHA1 } <nl> + docker_image_commit = $ { DOCKER_IMAGE } : $ { DOCKER_TAG } - $ { CIRCLE_SHA1 } <nl> <nl> docker_image_libtorch_android_x86_32_gradle = $ { docker_image_commit } - android - x86_32 - gradle <nl> <nl> <nl> pytorch_android_gradle_build - x86_32 : <nl> environment : <nl> BUILD_ENVIRONMENT : pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c - gradle - build - only - x86_32 <nl> - DOCKER_IMAGE : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + DOCKER_IMAGE : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c " <nl> PYTHON_VERSION : " 3 . 6 " <nl> resource_class : large <nl> machine : <nl> image : ubuntu - 1604 : 201903 - 01 <nl> steps : <nl> - attach_scripts <nl> + - load_shared_env <nl> - run : <nl> name : filter out not PR runs <nl> no_output_timeout : " 5m " <nl> <nl> no_output_timeout : " 1h " <nl> command : | <nl> set - e <nl> - docker_image_libtorch_android_x86_32 = $ { DOCKER_IMAGE } - $ { CIRCLE_SHA1 } - android - x86_32 <nl> + docker_image_libtorch_android_x86_32 = $ { DOCKER_IMAGE } : $ { DOCKER_TAG } - $ { CIRCLE_SHA1 } - android - x86_32 <nl> echo " docker_image_libtorch_android_x86_32 : " $ { docker_image_libtorch_android_x86_32 } <nl> <nl> # x86 <nl> <nl> steps : <nl> # See Note [ Workspace for CircleCI scripts ] in job - specs - setup . yml <nl> - attach_scripts <nl> + - load_shared_env <nl> - setup_linux_system_environment <nl> - checkout <nl> - setup_ci_environment <nl> <nl> command : | <nl> set - e <nl> # Pull Docker image and run build <nl> - echo " DOCKER_IMAGE : " $ { DOCKER_IMAGE } <nl> - time docker pull $ { DOCKER_IMAGE } > / dev / null <nl> - export id = $ ( docker run - - cap - add = SYS_PTRACE - - security - opt seccomp = unconfined - - cap - add = SYS_PTRACE - - security - opt seccomp = unconfined - t - d - w / var / lib / jenkins $ { DOCKER_IMAGE } ) <nl> + echo " DOCKER_IMAGE : " $ { DOCKER_IMAGE } : $ { DOCKER_TAG } <nl> + time docker pull $ { DOCKER_IMAGE } : $ { DOCKER_TAG } > / dev / null <nl> + export id = $ ( docker run - - cap - add = SYS_PTRACE - - security - opt seccomp = unconfined - - cap - add = SYS_PTRACE - - security - opt seccomp = unconfined - t - d - w / var / lib / jenkins $ { DOCKER_IMAGE } : $ { DOCKER_TAG } ) <nl> <nl> echo " Do NOT merge master branch into $ CIRCLE_BRANCH in environment $ BUILD_ENVIRONMENT " <nl> <nl> <nl> # Push intermediate Docker image for next phase to use <nl> if [ - z " $ { BUILD_ONLY } " ] ; then <nl> # Augment our output image name with bazel to avoid collisions <nl> - output_image = $ { DOCKER_IMAGE } - bazel - $ { CIRCLE_SHA1 } <nl> + output_image = $ { DOCKER_IMAGE } : $ { DOCKER_TAG } - bazel - $ { CIRCLE_SHA1 } <nl> export COMMIT_DOCKER_IMAGE = $ output_image <nl> docker commit " $ id " $ { COMMIT_DOCKER_IMAGE } <nl> time docker push $ { COMMIT_DOCKER_IMAGE } <nl> <nl> steps : <nl> # See Note [ Workspace for CircleCI scripts ] in job - specs - setup . yml <nl> - attach_scripts <nl> + - load_shared_env <nl> - setup_linux_system_environment <nl> - setup_ci_environment <nl> - run : <nl> <nl> no_output_timeout : " 90m " <nl> command : | <nl> set - e <nl> - output_image = $ { DOCKER_IMAGE } - bazel - $ { CIRCLE_SHA1 } <nl> + output_image = $ { DOCKER_IMAGE } : $ { DOCKER_TAG } - bazel - $ { CIRCLE_SHA1 } <nl> export COMMIT_DOCKER_IMAGE = $ output_image <nl> echo " DOCKER_IMAGE : " $ { COMMIT_DOCKER_IMAGE } <nl> <nl> <nl> pytorch_doc_test : <nl> environment : <nl> BUILD_ENVIRONMENT : pytorch - doc - test <nl> - # TODO : stop hardcoding this <nl> - DOCKER_IMAGE : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 . 6 - gcc5 . 4 : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + DOCKER_IMAGE : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 . 6 - gcc5 . 4 " <nl> resource_class : medium <nl> machine : <nl> image : ubuntu - 1604 : 201903 - 01 <nl> steps : <nl> # See Note [ Workspace for CircleCI scripts ] in job - specs - setup . yml <nl> - attach_scripts <nl> + - load_shared_env <nl> - setup_linux_system_environment <nl> - setup_ci_environment <nl> - run : <nl> <nl> no_output_timeout : " 30m " <nl> command : | <nl> set - ex <nl> - export COMMIT_DOCKER_IMAGE = $ { DOCKER_IMAGE } - $ { CIRCLE_SHA1 } <nl> + export COMMIT_DOCKER_IMAGE = $ { DOCKER_IMAGE } : $ { DOCKER_TAG } - $ { CIRCLE_SHA1 } <nl> echo " DOCKER_IMAGE : " $ { COMMIT_DOCKER_IMAGE } <nl> time docker pull $ { COMMIT_DOCKER_IMAGE } > / dev / null <nl> export id = $ ( docker run - - cap - add = SYS_PTRACE - - security - opt seccomp = unconfined - t - d - w / var / lib / jenkins $ { COMMIT_DOCKER_IMAGE } ) <nl> mmm a / . circleci / verbatim - sources / pytorch - job - specs . yml <nl> ppp b / . circleci / verbatim - sources / pytorch - job - specs . yml <nl> jobs : <nl> steps : <nl> # See Note [ Workspace for CircleCI scripts ] in job - specs - setup . yml <nl> - attach_scripts <nl> + - load_shared_env <nl> - setup_linux_system_environment <nl> - checkout <nl> - optional_merge_target_branch <nl> jobs : <nl> command : | <nl> set - e <nl> # Pull Docker image and run build <nl> - echo " DOCKER_IMAGE : " $ { DOCKER_IMAGE } <nl> - time docker pull $ { DOCKER_IMAGE } > / dev / null <nl> - export id = $ ( docker run - - cap - add = SYS_PTRACE - - security - opt seccomp = unconfined - - cap - add = SYS_PTRACE - - security - opt seccomp = unconfined - t - d - w / var / lib / jenkins $ { DOCKER_IMAGE } ) <nl> + echo " DOCKER_IMAGE : " $ { DOCKER_IMAGE } : $ { DOCKER_TAG } <nl> + time docker pull $ { DOCKER_IMAGE } : $ { DOCKER_TAG } > / dev / null <nl> + export id = $ ( docker run - - cap - add = SYS_PTRACE - - security - opt seccomp = unconfined - - cap - add = SYS_PTRACE - - security - opt seccomp = unconfined - t - d - w / var / lib / jenkins $ { DOCKER_IMAGE } : $ { DOCKER_TAG } ) <nl> <nl> git submodule sync & & git submodule update - q - - init - - recursive <nl> <nl> jobs : <nl> # The xla build uses the same docker image as <nl> # pytorch - linux - trusty - py3 . 6 - gcc5 . 4 - build . In the push step , we have to <nl> # distinguish between them so the test can pick up the correct image . <nl> - output_image = $ { DOCKER_IMAGE } - $ { CIRCLE_SHA1 } <nl> + output_image = $ { DOCKER_IMAGE } : $ { DOCKER_TAG } - $ { CIRCLE_SHA1 } <nl> if [ [ $ { BUILD_ENVIRONMENT } = = * " xla " * ] ] ; then <nl> export COMMIT_DOCKER_IMAGE = $ output_image - xla <nl> elif [ [ $ { BUILD_ENVIRONMENT } = = * " libtorch " * ] ] ; then <nl> jobs : <nl> steps : <nl> # See Note [ Workspace for CircleCI scripts ] in job - specs - setup . yml <nl> - attach_scripts <nl> + - load_shared_env <nl> - setup_linux_system_environment <nl> - setup_ci_environment <nl> - run : <nl> jobs : <nl> command : | <nl> set - e <nl> # See Note [ Special build images ] <nl> - output_image = $ { DOCKER_IMAGE } - $ { CIRCLE_SHA1 } <nl> + output_image = $ { DOCKER_IMAGE } : $ { DOCKER_TAG } - $ { CIRCLE_SHA1 } <nl> if [ [ $ { BUILD_ENVIRONMENT } = = * " xla " * ] ] ; then <nl> export COMMIT_DOCKER_IMAGE = $ output_image - xla <nl> elif [ [ $ { BUILD_ENVIRONMENT } = = * " libtorch " * ] ] ; then <nl> mmm a / . circleci / verbatim - sources / workflows - docker - builder . yml <nl> ppp b / . circleci / verbatim - sources / workflows - docker - builder . yml <nl> <nl> - docker_build : <nl> - triggers : <nl> - - schedule : <nl> - cron : " 0 15 * * 0 " <nl> + - docker_for_ecr_gc_build_job : <nl> + # Since this overwrites latest we should only <nl> + # run this when we ' re entirely explicit about <nl> + # running it <nl> filters : <nl> branches : <nl> only : <nl> - master <nl> - jobs : <nl> - - docker_for_ecr_gc_build_job <nl> - docker_build_job : <nl> - name : " pytorch - linux - bionic - py3 . 6 - clang9 " <nl> + name : " docker - pytorch - linux - bionic - py3 . 6 - clang9 " <nl> image_name : " pytorch - linux - bionic - py3 . 6 - clang9 " <nl> - docker_build_job : <nl> - name : " pytorch - linux - xenial - cuda10 - cudnn7 - py3 - gcc7 " <nl> + name : " docker - pytorch - linux - xenial - cuda10 - cudnn7 - py3 - gcc7 " <nl> image_name : " pytorch - linux - xenial - cuda10 - cudnn7 - py3 - gcc7 " <nl> - docker_build_job : <nl> - name : " pytorch - linux - xenial - cuda10 . 1 - cudnn7 - py3 - gcc7 " <nl> + name : " docker - pytorch - linux - xenial - cuda10 . 1 - cudnn7 - py3 - gcc7 " <nl> image_name : " pytorch - linux - xenial - cuda10 . 1 - cudnn7 - py3 - gcc7 " <nl> - docker_build_job : <nl> - name : " pytorch - linux - xenial - cuda10 . 2 - cudnn7 - py3 - gcc7 " <nl> + name : " docker - pytorch - linux - xenial - cuda10 . 2 - cudnn7 - py3 - gcc7 " <nl> image_name : " pytorch - linux - xenial - cuda10 . 2 - cudnn7 - py3 - gcc7 " <nl> - docker_build_job : <nl> - name : " pytorch - linux - xenial - cuda9 - cudnn7 - py3 " <nl> + name : " docker - pytorch - linux - xenial - cuda9 - cudnn7 - py3 " <nl> image_name : " pytorch - linux - xenial - cuda9 - cudnn7 - py3 " <nl> - docker_build_job : <nl> - name : " pytorch - linux - xenial - cuda9 . 2 - cudnn7 - py3 - gcc5 . 4 " <nl> + name : " docker - pytorch - linux - xenial - cuda9 . 2 - cudnn7 - py3 - gcc5 . 4 " <nl> image_name : " pytorch - linux - xenial - cuda9 . 2 - cudnn7 - py3 - gcc5 . 4 " <nl> - docker_build_job : <nl> - name : " pytorch - linux - xenial - cuda9 . 2 - cudnn7 - py3 - gcc7 " <nl> + name : " docker - pytorch - linux - xenial - cuda9 . 2 - cudnn7 - py3 - gcc7 " <nl> image_name : " pytorch - linux - xenial - cuda9 . 2 - cudnn7 - py3 - gcc7 " <nl> - docker_build_job : <nl> - name : " pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c " <nl> + name : " docker - pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c " <nl> image_name : " pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c " <nl> - docker_build_job : <nl> - name : " pytorch - linux - xenial - py3 - clang5 - asan " <nl> + name : " docker - pytorch - linux - xenial - py3 - clang5 - asan " <nl> image_name : " pytorch - linux - xenial - py3 - clang5 - asan " <nl> - docker_build_job : <nl> - name : " pytorch - linux - xenial - py3 . 8 " <nl> + name : " docker - pytorch - linux - xenial - py3 . 8 " <nl> image_name : " pytorch - linux - xenial - py3 . 8 " <nl> - docker_build_job : <nl> - name : " pytorch - linux - xenial - py3 . 6 - clang7 " <nl> + name : " docker - pytorch - linux - xenial - py3 . 6 - clang7 " <nl> image_name : " pytorch - linux - xenial - py3 . 6 - clang7 " <nl> - docker_build_job : <nl> - name : " pytorch - linux - xenial - py3 . 6 - gcc4 . 8 " <nl> + name : " docker - pytorch - linux - xenial - py3 . 6 - gcc4 . 8 " <nl> image_name : " pytorch - linux - xenial - py3 . 6 - gcc4 . 8 " <nl> - docker_build_job : <nl> - name : " pytorch - linux - xenial - py3 . 6 - gcc5 . 4 " <nl> + name : " docker - pytorch - linux - xenial - py3 . 6 - gcc5 . 4 " <nl> image_name : " pytorch - linux - xenial - py3 . 6 - gcc5 . 4 " <nl> - docker_build_job : <nl> - name : " pytorch - linux - xenial - py3 . 6 - gcc7 . 2 " <nl> + name : " docker - pytorch - linux - xenial - py3 . 6 - gcc7 . 2 " <nl> image_name : " pytorch - linux - xenial - py3 . 6 - gcc7 . 2 " <nl> - docker_build_job : <nl> - name : " pytorch - linux - xenial - py3 . 6 - gcc7 " <nl> + name : " docker - pytorch - linux - xenial - py3 . 6 - gcc7 " <nl> image_name : " pytorch - linux - xenial - py3 . 6 - gcc7 " <nl> - docker_build_job : <nl> - name : " pytorch - linux - xenial - pynightly " <nl> + name : " docker - pytorch - linux - xenial - pynightly " <nl> image_name : " pytorch - linux - xenial - pynightly " <nl> mmm a / . circleci / verbatim - sources / workflows - nightly - android - binary - builds . yml <nl> ppp b / . circleci / verbatim - sources / workflows - nightly - android - binary - builds . yml <nl> <nl> - pytorch_linux_build : <nl> build_environment : pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c - x86_32 <nl> - docker_image : 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 <nl> + docker_image : 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c <nl> filters : <nl> branches : <nl> only : nightly <nl> name : nightly_pytorch_linux_xenial_py3_clang5_android_ndk_r19c_x86_32_build <nl> requires : <nl> - setup <nl> + - docker - pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c <nl> - pytorch_linux_build : <nl> build_environment : pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c - x86_64 <nl> - docker_image : 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 <nl> + docker_image : 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c <nl> filters : <nl> branches : <nl> only : nightly <nl> name : nightly_pytorch_linux_xenial_py3_clang5_android_ndk_r19c_x86_64_build <nl> requires : <nl> - setup <nl> + - docker - pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c <nl> - pytorch_linux_build : <nl> build_environment : pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c - arm - v7a <nl> - docker_image : 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 <nl> + docker_image : 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c <nl> filters : <nl> branches : <nl> only : nightly <nl> name : nightly_pytorch_linux_xenial_py3_clang5_android_ndk_r19c_arm_v7a_build <nl> requires : <nl> - setup <nl> + - docker - pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c <nl> - pytorch_linux_build : <nl> build_environment : pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c - arm - v8a <nl> - docker_image : 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 <nl> + docker_image : 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c <nl> filters : <nl> branches : <nl> only : nightly <nl> name : nightly_pytorch_linux_xenial_py3_clang5_android_ndk_r19c_arm_v8a_build <nl> requires : <nl> - setup <nl> + - docker - pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c <nl> - pytorch_android_gradle_build : <nl> filters : <nl> branches : <nl> mmm a / . circleci / verbatim - sources / workflows - pytorch - bazel - builds . yml <nl> ppp b / . circleci / verbatim - sources / workflows - pytorch - bazel - builds . yml <nl> <nl> - pytorch_linux_bazel_build : <nl> build_environment : pytorch - linux - xenial - py3 . 6 - gcc7 - bazel - build <nl> - docker_image : 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 . 6 - gcc7 : f990c76a - a798 - 42bb - 852f - 5be5006f8026 <nl> + docker_image : 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 . 6 - gcc7 <nl> name : pytorch_bazel_build <nl> requires : <nl> - setup <nl> + - docker - pytorch - linux - xenial - py3 . 6 - gcc7 <nl> resource_class : large <nl> - pytorch_linux_bazel_test : <nl> build_environment : pytorch - linux - xenial - py3 . 6 - gcc7 - bazel - test <nl> - docker_image : 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 . 6 - gcc7 : f990c76a - a798 - 42bb - 852f - 5be5006f8026 <nl> + docker_image : 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 . 6 - gcc7 <nl> name : pytorch_bazel_test <nl> requires : <nl> - - setup <nl> - pytorch_bazel_build <nl> mmm a / . circleci / verbatim - sources / workflows - pytorch - ge - config - tests . yml <nl> ppp b / . circleci / verbatim - sources / workflows - pytorch - ge - config - tests . yml <nl> <nl> - setup <nl> - pytorch_linux_xenial_py3_6_gcc5_4_build <nl> build_environment : " pytorch - linux - xenial - py3 . 6 - gcc5 . 4 - ge_config_legacy - test " <nl> - docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 . 6 - gcc5 . 4 : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 . 6 - gcc5 . 4 " <nl> resource_class : large <nl> - pytorch_linux_test : <nl> name : pytorch_linux_xenial_py3_6_gcc5_4_ge_config_profiling_test <nl> <nl> - setup <nl> - pytorch_linux_xenial_py3_6_gcc5_4_build <nl> build_environment : " pytorch - linux - xenial - py3 . 6 - gcc5 . 4 - ge_config_profiling - test " <nl> - docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 . 6 - gcc5 . 4 : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 . 6 - gcc5 . 4 " <nl> resource_class : large <nl> - pytorch_linux_test : <nl> name : pytorch_linux_xenial_py3_6_gcc5_4_ge_config_simple_test <nl> <nl> - setup <nl> - pytorch_linux_xenial_py3_6_gcc5_4_build <nl> build_environment : " pytorch - linux - xenial - py3 . 6 - gcc5 . 4 - ge_config_simple - test " <nl> - docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 . 6 - gcc5 . 4 : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 . 6 - gcc5 . 4 " <nl> resource_class : large <nl> - pytorch_linux_test : <nl> name : pytorch_linux_xenial_cuda10_2_cudnn7_py3_ge_config_legacy_test <nl> <nl> - setup <nl> - pytorch_linux_xenial_cuda10_2_cudnn7_py3_gcc7_build <nl> build_environment : " pytorch - linux - xenial - cuda10 . 1 - cudnn7 - ge_config_legacy - test " <nl> - docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - cuda10 . 2 - cudnn7 - py3 - gcc7 : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - cuda10 . 2 - cudnn7 - py3 - gcc7 " <nl> use_cuda_docker_runtime : " 1 " <nl> resource_class : gpu . medium <nl> - pytorch_linux_test : <nl> <nl> - setup <nl> - pytorch_linux_xenial_cuda10_2_cudnn7_py3_gcc7_build <nl> build_environment : " pytorch - linux - xenial - cuda10 . 1 - cudnn7 - ge_config_profiling - test " <nl> - docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - cuda10 . 2 - cudnn7 - py3 - gcc7 : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 " <nl> + docker_image : " 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - cuda10 . 2 - cudnn7 - py3 - gcc7 " <nl> use_cuda_docker_runtime : " 1 " <nl> resource_class : gpu . medium <nl> mmm a / . circleci / verbatim - sources / workflows - pytorch - mobile - builds . yml <nl> ppp b / . circleci / verbatim - sources / workflows - pytorch - mobile - builds . yml <nl> <nl> - pytorch_linux_build : <nl> build_environment : pytorch - linux - xenial - py3 - clang5 - mobile - build <nl> build_only : " 1 " <nl> - docker_image : 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - asan : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 <nl> + docker_image : 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - asan <nl> name : pytorch_linux_xenial_py3_clang5_mobile_build <nl> requires : <nl> - setup <nl> + - docker - pytorch - linux - xenial - py3 - clang5 - asan <nl> - pytorch_linux_build : <nl> build_environment : pytorch - linux - xenial - py3 - clang5 - mobile - custom - build - static <nl> build_only : " 1 " <nl> - docker_image : 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - asan : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 <nl> + docker_image : 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - asan <nl> name : pytorch_linux_xenial_py3_clang5_mobile_custom_build_static <nl> requires : <nl> - setup <nl> + - docker - pytorch - linux - xenial - py3 - clang5 - asan <nl> - pytorch_linux_build : <nl> build_environment : pytorch - linux - xenial - py3 - clang5 - mobile - custom - build - dynamic <nl> build_only : " 1 " <nl> # Use LLVM - DEV toolchain in android - ndk - r19c docker image <nl> - docker_image : 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 <nl> + docker_image : 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c <nl> name : pytorch_linux_xenial_py3_clang5_mobile_custom_build_dynamic <nl> requires : <nl> - setup <nl> + - docker - pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c <nl> - pytorch_linux_build : <nl> # Use LLVM - DEV toolchain in android - ndk - r19c docker image <nl> # Most of this CI is already covered by " mobile - custom - build - dynamic " job <nl> build_environment : pytorch - linux - xenial - py3 - clang5 - mobile - code - analysis <nl> build_only : " 1 " <nl> - docker_image : 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c : 9a3986fa - 7ce7 - 4a36 - a001 - 3c9bef9892e2 <nl> + docker_image : 308535385114 . dkr . ecr . us - east - 1 . amazonaws . com / pytorch / pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c <nl> filters : <nl> branches : <nl> only : <nl> <nl> name : pytorch_linux_xenial_py3_clang5_mobile_code_analysis <nl> requires : <nl> - setup <nl> + - docker - pytorch - linux - xenial - py3 - clang5 - android - ndk - r19c <nl> mmm a / . github / workflows / lint . yml <nl> ppp b / . github / workflows / lint . yml <nl> jobs : <nl> run : | <nl> pip install - r requirements . txt <nl> cd . circleci & & . / ensure - consistency . py <nl> - - name : Ensure Docker version is correctly deployed <nl> - run : | <nl> - pip install pyyaml <nl> - . circleci / validate - docker - version . py <nl> - name : Shellcheck Jenkins scripts <nl> run : | <nl> sudo apt - get install - y shellcheck <nl>
[ RELAND ] . circleci : Improve docker image build workflow ( )
pytorch/pytorch
8cdc4807cdda4c773097283de0d1c93fa4a550da
2020-05-15T00:11:04Z
mmm a / libs / libzkutil / include / zkutil / ZooKeeper . h <nl> ppp b / libs / libzkutil / include / zkutil / ZooKeeper . h <nl> class ZooKeeper <nl> * - ZOPERATIONTIMEOUT <nl> * / <nl> int32_t tryRemove ( const std : : string & path , int32_t version = - 1 ) ; <nl> + / / / Если есть проблемы с сетью может сам удалить ноду и вернуть ZNONODE <nl> + int32_t tryRemoveWithRetries ( const std : : string & path , int32_t version = - 1 ) ; <nl> <nl> bool exists ( const std : : string & path , Stat * stat = nullptr , WatchFuture * watch = nullptr ) ; <nl> <nl> mmm a / libs / libzkutil / src / ZooKeeper . cpp <nl> ppp b / libs / libzkutil / src / ZooKeeper . cpp <nl> int32_t ZooKeeper : : tryCreate ( const std : : string & path , const std : : string & data , <nl> <nl> void ZooKeeper : : createIfNotExists ( const std : : string & path , const std : : string & data ) <nl> { <nl> - int32_t code = tryCreate ( path , " " , zkutil : : CreateMode : : Persistent ) ; <nl> - <nl> - if ( code = = ZOK | | code = = ZNODEEXISTS ) <nl> - return ; <nl> - <nl> - if ( ! ( code = = ZOPERATIONTIMEOUT | | code = = ZCONNECTIONLOSS ) ) <nl> - throw KeeperException ( code , path ) ; <nl> - <nl> - for ( size_t attempt = 0 ; attempt < retry_num & & ( code = = ZOPERATIONTIMEOUT | | code = = ZCONNECTIONLOSS ) ; + + attempt ) <nl> - { <nl> - code = tryCreate ( path , " " , zkutil : : CreateMode : : Persistent ) ; <nl> - } ; <nl> + int32_t code = retry ( boost : : bind ( & ZooKeeper : : tryCreate , this , boost : : ref ( path ) , boost : : ref ( data ) , zkutil : : CreateMode : : Persistent ) ) ; <nl> <nl> if ( code = = ZOK | | code = = ZNODEEXISTS ) <nl> return ; <nl> int32_t ZooKeeper : : tryRemove ( const std : : string & path , int32_t version ) <nl> return code ; <nl> } <nl> <nl> + int32_t ZooKeeper : : tryRemoveWithRetries ( const std : : string & path , int32_t version ) <nl> + { <nl> + return retry ( boost : : bind ( & ZooKeeper : : tryRemove , this , boost : : ref ( path ) , version ) ) ; <nl> + } <nl> + <nl> int32_t ZooKeeper : : existsImpl ( const std : : string & path , Stat * stat_ , WatchFuture * watch ) <nl> { <nl> int32_t code ; <nl> int32_t ZooKeeper : : tryMulti ( const Ops & ops_ , OpResultsPtr * out_results_ ) <nl> { <nl> int32_t code = multiImpl ( ops_ , out_results_ ) ; <nl> <nl> - if ( code ! = ZOK & & <nl> - code ! = ZNONODE & & <nl> - code ! = ZNODEEXISTS & & <nl> - code ! = ZNOCHILDRENFOREPHEMERALS & & <nl> - code ! = ZBADVERSION & & <nl> - code ! = ZNOTEMPTY & & <nl> - code ! = ZCONNECTIONLOSS & & <nl> - code ! = ZOPERATIONTIMEOUT ) <nl> + if ( ! ( code = = ZOK | | <nl> + code = = ZNONODE | | <nl> + code = = ZNODEEXISTS | | <nl> + code = = ZNOCHILDRENFOREPHEMERALS | | <nl> + code = = ZBADVERSION | | <nl> + code = = ZNOTEMPTY | | <nl> + code = = ZCONNECTIONLOSS | | <nl> + code = = ZOPERATIONTIMEOUT ) ) <nl> throw KeeperException ( code ) ; <nl> return code ; <nl> } <nl>
zkutil : better processing for ConnectionLoss [ # METR - 11178 ]
ClickHouse/ClickHouse
c9dca1bc61d0846864c0281e50671b0eb1d1b4dc
2014-07-02T15:08:04Z
mmm a / trunk / auto / depends . sh <nl> ppp b / trunk / auto / depends . sh <nl> mkdir - p $ { SRS_OBJS } / nginx / html / live & & <nl> mkdir - p $ { SRS_OBJS } / nginx / html / forward / live <nl> <nl> # generate default html pages for android . <nl> + html_file = $ { SRS_OBJS } / nginx / html / live / demo . html & & hls_stream = demo . m3u8 & & write_nginx_html5 <nl> html_file = $ { SRS_OBJS } / nginx / html / live / livestream . html & & hls_stream = livestream . m3u8 & & write_nginx_html5 <nl> html_file = $ { SRS_OBJS } / nginx / html / live / livestream_ld . html & & hls_stream = livestream_ld . m3u8 & & write_nginx_html5 <nl> html_file = $ { SRS_OBJS } / nginx / html / live / livestream_sd . html & & hls_stream = livestream_sd . m3u8 & & write_nginx_html5 <nl>
add demo . m3u8 and demo . html
ossrs/srs
7c64a893f5de3ea0503a49af15a49bedc2321378
2014-04-11T07:26:37Z
mmm a / test / cctest / heap / test - spaces . cc <nl> ppp b / test / cctest / heap / test - spaces . cc <nl> TEST ( SizeOfInitialHeap ) { <nl> - > IsUndefined ( ) ) { <nl> return ; <nl> } <nl> + / / Initial size of LO_SPACE <nl> + size_t initial_lo_space = isolate - > heap ( ) - > lo_space ( ) - > Size ( ) ; <nl> <nl> / / The limit for each space for an empty isolate containing just the <nl> / / snapshot . <nl> TEST ( SizeOfInitialHeap ) { <nl> } <nl> <nl> / / No large objects required to perform the above steps . <nl> - CHECK ( isolate - > heap ( ) - > lo_space ( ) - > IsEmpty ( ) ) ; <nl> + CHECK_EQ ( initial_lo_space , isolate - > heap ( ) - > lo_space ( ) - > Size ( ) ) ; <nl> } <nl> <nl> static HeapObject * AllocateUnaligned ( NewSpace * space , int size ) { <nl>
[ heap ] Update verification of LO_SPACE in SizeOfInitialHeap
v8/v8
45b64d15a0e95d11be29d24faff853a1ad03bfb3
2016-10-05T19:47:27Z
mmm a / xbmc / interfaces / legacy / Control . cpp <nl> ppp b / xbmc / interfaces / legacy / Control . cpp <nl> namespace XBMCAddon <nl> <nl> / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> - ControlFadeLabel : : ControlFadeLabel ( long x , long y , long width , long height , <nl> - const char * font , const char * _textColor , <nl> - long _alignment ) : <nl> + ControlFadeLabel : : ControlFadeLabel ( long x , long y , long width , long height , <nl> + const char * font , const char * _textColor , <nl> + long _alignment ) : <nl> strFont ( " font13 " ) , textColor ( 0xffffffff ) , align ( _alignment ) <nl> { <nl> dwPosX = x ; <nl> namespace XBMCAddon <nl> if ( font ) <nl> strFont = font ; <nl> <nl> - if ( _textColor ) <nl> + if ( _textColor ) <nl> sscanf ( _textColor , " % x " , & textColor ) ; <nl> <nl> pGUIControl = NULL ; <nl> namespace XBMCAddon <nl> <nl> / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> - ControlTextBox : : ControlTextBox ( long x , long y , long width , long height , <nl> - const char * font , const char * _textColor ) : <nl> + ControlTextBox : : ControlTextBox ( long x , long y , long width , long height , <nl> + const char * font , const char * _textColor ) : <nl> strFont ( " font13 " ) , textColor ( 0xffffffff ) <nl> { <nl> dwPosX = x ; <nl> namespace XBMCAddon <nl> if ( font ) <nl> strFont = font ; <nl> <nl> - if ( _textColor ) <nl> + if ( _textColor ) <nl> sscanf ( _textColor , " % x " , & textColor ) ; <nl> } <nl> <nl> namespace XBMCAddon <nl> / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> ControlButton : : ControlButton ( long x , long y , long width , long height , const String & label , <nl> - const char * focusTexture , const char * noFocusTexture , <nl> - long _textOffsetX , long _textOffsetY , <nl> + const char * focusTexture , const char * noFocusTexture , <nl> + long _textOffsetX , long _textOffsetY , <nl> long alignment , const char * font , const char * _textColor , <nl> const char * _disabledColor , long angle , <nl> const char * _shadowColor , const char * _focusedColor ) : <nl> namespace XBMCAddon <nl> XBMCAddonUtils : : getDefaultImage ( ( char * ) " button " , ( char * ) " texturefocus " , ( char * ) " button - focus . png " ) ; <nl> strTextureNoFocus = noFocusTexture ? noFocusTexture : <nl> XBMCAddonUtils : : getDefaultImage ( ( char * ) " button " , ( char * ) " texturenofocus " , ( char * ) " button - nofocus . jpg " ) ; <nl> - <nl> + <nl> if ( font ) strFont = font ; <nl> if ( _textColor ) sscanf ( _textColor , " % x " , & textColor ) ; <nl> if ( _disabledColor ) sscanf ( _disabledColor , " % x " , & disabledColor ) ; <nl> namespace XBMCAddon <nl> if ( _focusedColor ) sscanf ( _focusedColor , " % x " , & focusedColor ) ; <nl> } <nl> <nl> - void ControlButton : : setLabel ( const String & label , <nl> + void ControlButton : : setLabel ( const String & label , <nl> const char * font , <nl> const char * _textColor , <nl> const char * _disabledColor , <nl> namespace XBMCAddon <nl> } <nl> <nl> void ControlButton : : setDisabledColor ( const char * color ) <nl> - { <nl> + { <nl> if ( color ) sscanf ( color , " % x " , & disabledColor ) ; <nl> <nl> if ( pGUIControl ) <nl> namespace XBMCAddon <nl> / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> ControlCheckMark : : ControlCheckMark ( long x , long y , long width , long height , const String & label , <nl> - const char * focusTexture , const char * noFocusTexture , <nl> + const char * focusTexture , const char * noFocusTexture , <nl> long _checkWidth , long _checkHeight , <nl> - long _alignment , const char * font , <nl> + long _alignment , const char * font , <nl> const char * _textColor , const char * _disabledColor ) : <nl> strFont ( " font13 " ) , checkWidth ( _checkWidth ) , checkHeight ( _checkHeight ) , <nl> align ( _alignment ) , textColor ( 0xffffffff ) , disabledColor ( 0x60ffffff ) <nl> namespace XBMCAddon <nl> } <nl> } <nl> <nl> - void ControlCheckMark : : setLabel ( const String & label , <nl> + void ControlCheckMark : : setLabel ( const String & label , <nl> const char * font , <nl> const char * _textColor , <nl> const char * _disabledColor , <nl> namespace XBMCAddon <nl> <nl> / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> - ControlImage : : ControlImage ( long x , long y , long width , long height , <nl> + ControlImage : : ControlImage ( long x , long y , long width , long height , <nl> const char * filename , long aRatio , <nl> const char * _colorDiffuse ) : <nl> aspectRatio ( aRatio ) , colorDiffuse ( 0 ) <nl> namespace XBMCAddon <nl> <nl> / / check if filename exists <nl> strFileName = filename ; <nl> - if ( _colorDiffuse ) <nl> + if ( _colorDiffuse ) <nl> sscanf ( _colorDiffuse , " % x " , & colorDiffuse ) ; <nl> } <nl> <nl> namespace XBMCAddon <nl> if ( pGUIControl ) <nl> ( ( CGUIImage * ) pGUIControl ) - > SetColorDiffuse ( colorDiffuse ) ; <nl> } <nl> - <nl> + <nl> CGUIControl * ControlImage : : Create ( ) <nl> { <nl> pGUIControl = new CGUIImage ( iParentId , iControlId , <nl> namespace XBMCAddon <nl> <nl> / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> - ControlProgress : : ControlProgress ( long x , long y , long width , long height , <nl> + ControlProgress : : ControlProgress ( long x , long y , long width , long height , <nl> const char * texturebg , <nl> const char * textureleft , <nl> const char * texturemid , <nl> namespace XBMCAddon <nl> dwHeight = height ; <nl> <nl> / / if texture is supplied use it , else get default ones <nl> - strTextureBg = texturebg ? texturebg : <nl> + strTextureBg = texturebg ? texturebg : <nl> XBMCAddonUtils : : getDefaultImage ( ( char * ) " progress " , ( char * ) " texturebg " , ( char * ) " progress_back . png " ) ; <nl> - strTextureLeft = textureleft ? textureleft : <nl> + strTextureLeft = textureleft ? textureleft : <nl> XBMCAddonUtils : : getDefaultImage ( ( char * ) " progress " , ( char * ) " lefttexture " , ( char * ) " progress_left . png " ) ; <nl> - strTextureMid = texturemid ? texturemid : <nl> + strTextureMid = texturemid ? texturemid : <nl> XBMCAddonUtils : : getDefaultImage ( ( char * ) " progress " , ( char * ) " midtexture " , ( char * ) " progress_mid . png " ) ; <nl> - strTextureRight = textureright ? textureright : <nl> + strTextureRight = textureright ? textureright : <nl> XBMCAddonUtils : : getDefaultImage ( ( char * ) " progress " , ( char * ) " righttexture " , ( char * ) " progress_right . png " ) ; <nl> - strTextureOverlay = textureoverlay ? textureoverlay : <nl> + strTextureOverlay = textureoverlay ? textureoverlay : <nl> XBMCAddonUtils : : getDefaultImage ( ( char * ) " progress " , ( char * ) " overlaytexture " , ( char * ) " progress_over . png " ) ; <nl> } <nl> <nl> namespace XBMCAddon <nl> <nl> / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> - ControlSlider : : ControlSlider ( long x , long y , long width , long height , <nl> - const char * textureback , <nl> + ControlSlider : : ControlSlider ( long x , long y , long width , long height , <nl> + const char * textureback , <nl> const char * texture , <nl> const char * texturefocus ) <nl> { <nl> namespace XBMCAddon <nl> dwHeight = height ; <nl> <nl> / / if texture is supplied use it , else get default ones <nl> - strTextureBack = textureback ? textureback : <nl> + strTextureBack = textureback ? textureback : <nl> XBMCAddonUtils : : getDefaultImage ( ( char * ) " slider " , ( char * ) " texturesliderbar " , ( char * ) " osd_slider_bg_2 . png " ) ; <nl> - strTexture = texture ? texture : <nl> + strTexture = texture ? texture : <nl> XBMCAddonUtils : : getDefaultImage ( ( char * ) " slider " , ( char * ) " textureslidernib " , ( char * ) " osd_slider_nibNF . png " ) ; <nl> - strTextureFoc = texturefocus ? texturefocus : <nl> + strTextureFoc = texturefocus ? texturefocus : <nl> XBMCAddonUtils : : getDefaultImage ( ( char * ) " slider " , ( char * ) " textureslidernibfocus " , ( char * ) " osd_slider_nib . png " ) ; <nl> } <nl> <nl> namespace XBMCAddon <nl> ( float ) dwWidth , ( float ) dwHeight , <nl> CTextureInfo ( strTextureBack ) , CTextureInfo ( strTexture ) , <nl> CTextureInfo ( strTextureFoc ) , 0 ) ; <nl> - <nl> + <nl> return pGUIControl ; <nl> - } <nl> + } <nl> <nl> / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> <nl> namespace XBMCAddon <nl> ControlRadioButton : : ControlRadioButton ( long x , long y , long width , long height , const String & label , <nl> const char * focusOnTexture , const char * noFocusOnTexture , <nl> const char * focusOffTexture , const char * noFocusOffTexture , <nl> - const char * focusTexture , const char * noFocusTexture , <nl> - long _textOffsetX , long _textOffsetY , <nl> + const char * focusTexture , const char * noFocusTexture , <nl> + long _textOffsetX , long _textOffsetY , <nl> long alignment , const char * font , const char * _textColor , <nl> const char * _disabledColor , long angle , <nl> const char * _shadowColor , const char * _focusedColor ) : <nl> - strFont ( " font13 " ) , textColor ( 0xffffffff ) , disabledColor ( 0x60ffffff ) , <nl> - textOffsetX ( _textOffsetX ) , textOffsetY ( _textOffsetY ) , align ( alignment ) , iAngle ( angle ) , <nl> + strFont ( " font13 " ) , textColor ( 0xffffffff ) , disabledColor ( 0x60ffffff ) , <nl> + textOffsetX ( _textOffsetX ) , textOffsetY ( _textOffsetY ) , align ( alignment ) , iAngle ( angle ) , <nl> shadowColor ( 0 ) , focusedColor ( 0xffffffff ) <nl> { <nl> dwPosX = x ; <nl> namespace XBMCAddon <nl> return isSelected ; <nl> } <nl> <nl> - void ControlRadioButton : : setLabel ( const String & label , <nl> + void ControlRadioButton : : setLabel ( const String & label , <nl> const char * font , <nl> const char * _textColor , <nl> const char * _disabledColor , <nl> namespace XBMCAddon <nl> } <nl> } <nl> <nl> - void ControlRadioButton : : setRadioDimension ( long x , long y , long width , long height ) <nl> + void ControlRadioButton : : setRadioDimension ( long x , long y , long width , long height ) <nl> { <nl> dwPosX = x ; <nl> dwPosY = y ; <nl> namespace XBMCAddon <nl> DelayedCallGuard dcguard ( languageHook ) ; <nl> LOCKGUI ; <nl> dwWidth = width ; <nl> - if ( pGUIControl ) <nl> + if ( pGUIControl ) <nl> pGUIControl - > SetWidth ( ( float ) dwWidth ) ; <nl> } <nl> <nl> namespace XBMCAddon <nl> DelayedCallGuard dcguard ( languageHook ) ; <nl> LOCKGUI ; <nl> dwHeight = height ; <nl> - if ( pGUIControl ) <nl> + if ( pGUIControl ) <nl> pGUIControl - > SetHeight ( ( float ) dwHeight ) ; <nl> } <nl> <nl> void Control : : setNavigation ( const Control * up , const Control * down , <nl> - const Control * left , const Control * right ) <nl> + const Control * left , const Control * right ) <nl> { <nl> if ( iControlId = = 0 ) <nl> throw WindowException ( " Control has to be added to a window first " ) ; <nl> namespace XBMCAddon <nl> <nl> { <nl> LOCKGUI ; <nl> - if ( pGUIControl ) <nl> + if ( pGUIControl ) <nl> pGUIControl - > SetNavigationAction ( ACTION_MOVE_UP , control - > iControlId ) ; <nl> } <nl> } <nl> namespace XBMCAddon <nl> strTextureDownFocus = XBMCAddonUtils : : getDefaultImage ( ( char * ) " listcontrol " , ( char * ) " texturedownfocus " , ( char * ) " scroll - down - focus . png " ) ; <nl> } <nl> <nl> - void ControlSpin : : setTextures ( const char * up , const char * down , <nl> - const char * upFocus , <nl> + void ControlSpin : : setTextures ( const char * up , const char * down , <nl> + const char * upFocus , <nl> const char * downFocus ) <nl> { <nl> strTextureUp = up ; <nl> namespace XBMCAddon <nl> / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> / / ControlLabel <nl> / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> - ControlLabel : : ControlLabel ( long x , long y , long width , long height , <nl> + ControlLabel : : ControlLabel ( long x , long y , long width , long height , <nl> const String & label , <nl> - const char * font , const char * p_textColor , <nl> + const char * font , const char * p_textColor , <nl> const char * p_disabledColor , <nl> - long p_alignment , <nl> + long p_alignment , <nl> bool hasPath , long angle ) : <nl> - strFont ( " font13 " ) , <nl> + strFont ( " font13 " ) , <nl> textColor ( 0xffffffff ) , disabledColor ( 0x60ffffff ) , <nl> align ( p_alignment ) , bHasPath ( hasPath ) , iAngle ( angle ) <nl> { <nl> namespace XBMCAddon <nl> if ( font ) <nl> strFont = font ; <nl> <nl> - if ( p_textColor ) <nl> + if ( p_textColor ) <nl> sscanf ( p_textColor , " % x " , & textColor ) ; <nl> <nl> if ( p_disabledColor ) <nl> namespace XBMCAddon <nl> <nl> ControlLabel : : ~ ControlLabel ( ) { } <nl> <nl> - CGUIControl * ControlLabel : : Create ( ) <nl> + CGUIControl * ControlLabel : : Create ( ) <nl> { <nl> CLabelInfo label ; <nl> label . font = g_fontManager . GetFont ( strFont ) ; <nl> namespace XBMCAddon <nl> bHasPath ) ; <nl> ( ( CGUILabelControl * ) pGUIControl ) - > SetLabel ( strText ) ; <nl> return pGUIControl ; <nl> - } <nl> + } <nl> <nl> void ControlLabel : : setLabel ( const String & label , const char * font , <nl> const char * textColor , const char * disabledColor , <nl> namespace XBMCAddon <nl> <nl> String ControlLabel : : getLabel ( ) <nl> { <nl> - if ( ! pGUIControl ) <nl> + if ( ! pGUIControl ) <nl> return NULL ; <nl> return strText ; <nl> } <nl> namespace XBMCAddon <nl> / / ControlEdit <nl> / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> ControlEdit : : ControlEdit ( long x , long y , long width , long height , const String & label , <nl> - const char * font , const char * _textColor , <nl> + const char * font , const char * _textColor , <nl> const char * _disabledColor , <nl> long _alignment , const char * focusTexture , <nl> const char * noFocusTexture , bool isPassword ) : <nl> namespace XBMCAddon <nl> if ( _disabledColor ) sscanf ( _disabledColor , " % x " , & disabledColor ) ; <nl> } <nl> <nl> - CGUIControl * ControlEdit : : Create ( ) <nl> + CGUIControl * ControlEdit : : Create ( ) <nl> { <nl> CLabelInfo label ; <nl> label . font = g_fontManager . GetFont ( strFont ) ; <nl> namespace XBMCAddon <nl> <nl> String ControlEdit : : getLabel ( ) <nl> { <nl> - if ( ! pGUIControl ) <nl> + if ( ! pGUIControl ) <nl> return NULL ; <nl> return strText ; <nl> } <nl> namespace XBMCAddon <nl> const char * cselectedColor , <nl> long _imageWidth , long _imageHeight , long _itemTextXOffset , <nl> long _itemTextYOffset , long _itemHeight , long _space , long _alignmentY ) : <nl> - strFont ( " font13 " ) , <nl> + strFont ( " font13 " ) , <nl> textColor ( 0xe0f0f0f0 ) , selectedColor ( 0xffffffff ) , <nl> imageHeight ( _imageHeight ) , imageWidth ( _imageWidth ) , <nl> itemHeight ( _itemHeight ) , space ( _space ) , <nl> namespace XBMCAddon <nl> <nl> for ( std : : vector < Alternative < String , const XBMCAddon : : xbmcgui : : ListItem * > > : : const_iterator iter = items . begin ( ) ; iter ! = items . end ( ) ; + + iter ) <nl> addItem ( * iter , false ) ; <nl> - sendLabelBind ( items . size ( ) ) ; <nl> + sendLabelBind ( vecItems . size ( ) ) ; <nl> } <nl> <nl> void ControlList : : internAddListItem ( AddonClass : : Ref < ListItem > pListItem , bool sendMessage ) <nl> namespace XBMCAddon <nl> { <nl> DelayedCallGuard dcguard ( languageHook ) ; <nl> LOCKGUI ; <nl> - <nl> + <nl> / / create message <nl> CGUIMessage msg ( GUI_MSG_ITEM_SELECTED , iParentId , iControlId ) ; <nl> long pos = - 1 ; <nl>
Merge pull request from phil65 / fix_additems
xbmc/xbmc
f2f31c33653d4cbe7a525382a22782ad1063643c
2015-05-14T12:42:53Z
mmm a / include / swift / AST / Decl . h <nl> ppp b / include / swift / AST / Decl . h <nl> namespace swift { <nl> <nl> enum class DeclKind : uint8_t { <nl> # define DECL ( Id , Parent ) Id , <nl> + # define LAST_DECL ( Id ) Last_Decl = Id , <nl> # define DECL_RANGE ( Id , FirstId , LastId ) \ <nl> First_ # # Id # # Decl = FirstId , Last_ # # Id # # Decl = LastId , <nl> # include " swift / AST / DeclNodes . def " <nl> } ; <nl> + enum : unsigned { NumDeclKindBits = <nl> + countBitsUsed ( static_cast < unsigned > ( DeclKind : : Last_Decl ) ) } ; <nl> + <nl> <nl> / / / Fine - grained declaration kind that provides a description of the <nl> / / / kind of entity a declaration represents , as it would be used in <nl> bool conflicting ( const OverloadSignature & sig1 , const OverloadSignature & sig2 ) ; <nl> <nl> / / / Decl - Base class for all declarations in Swift . <nl> class alignas ( 1 < < DeclAlignInBits ) Decl { <nl> - SWIFT_INLINE_BITFIELD_BASE ( Decl , 6 + 1 + 1 + 1 + 1 + 1 + 1 + 1 , <nl> - Kind : 6 , <nl> + SWIFT_INLINE_BITFIELD_BASE ( Decl , bitmax ( NumDeclKindBits , 8 ) + 1 + 1 + 1 + 1 + 1 + 1 + 1 , <nl> + Kind : bitmax ( NumDeclKindBits , 8 ) , <nl> <nl> / / / \ brief Whether this declaration is invalid . <nl> Invalid : 1 , <nl> mmm a / include / swift / AST / DeclNodes . def <nl> ppp b / include / swift / AST / DeclNodes . def <nl> <nl> # define DECL_RANGE ( Id , First , Last ) <nl> # endif <nl> <nl> + # ifndef LAST_DECL <nl> + # define LAST_DECL ( Id ) <nl> + # endif <nl> + <nl> DECL ( Import , Decl ) <nl> EXTENSION_DECL ( Extension , Decl ) <nl> DECL ( PatternBinding , Decl ) <nl> ABSTRACT_DECL ( Value , Decl ) <nl> DECL_RANGE ( AbstractFunction , Constructor , Func ) <nl> VALUE_DECL ( EnumElement , ValueDecl ) <nl> DECL_RANGE ( Value , GenericTypeParam , EnumElement ) <nl> + LAST_DECL ( EnumElement ) <nl> <nl> # undef NOMINAL_TYPE_DECL <nl> # undef VALUE_DECL <nl> ABSTRACT_DECL ( Value , Decl ) <nl> # undef CONTEXT_VALUE_DECL <nl> # undef EXTENSION_DECL <nl> # undef DECL <nl> + # undef LAST_DECL <nl> mmm a / include / swift / AST / Expr . h <nl> ppp b / include / swift / AST / Expr . h <nl> namespace swift { <nl> <nl> enum class ExprKind : uint8_t { <nl> # define EXPR ( Id , Parent ) Id , <nl> + # define LAST_EXPR ( Id ) Last_Expr = Id , <nl> # define EXPR_RANGE ( Id , FirstId , LastId ) \ <nl> First_ # # Id # # Expr = FirstId , Last_ # # Id # # Expr = LastId , <nl> # include " swift / AST / ExprNodes . def " <nl> } ; <nl> + enum : unsigned { NumExprKindBits = <nl> + countBitsUsed ( static_cast < unsigned > ( ExprKind : : Last_Expr ) ) } ; <nl> <nl> / / / Discriminates certain kinds of checked cast that have specialized diagnostic <nl> / / / and / or code generation peephole behavior . <nl> class alignas ( 8 ) Expr { <nl> Expr ( const Expr & ) = delete ; <nl> void operator = ( const Expr & ) = delete ; <nl> <nl> - SWIFT_INLINE_BITFIELD_BASE ( Expr , 8 + 2 + 1 , <nl> + SWIFT_INLINE_BITFIELD_BASE ( Expr , bitmax ( NumExprKindBits , 8 ) + 2 + 1 , <nl> / / / The subclass of Expr that this is . <nl> - Kind : 8 , <nl> + Kind : bitmax ( NumExprKindBits , 8 ) , <nl> / / / How this l - value is used , if it ' s an l - value . <nl> LValueAccessKind : 2 , <nl> / / / Whether the Expr represents something directly written in source or <nl> mmm a / include / swift / AST / ExprNodes . def <nl> ppp b / include / swift / AST / ExprNodes . def <nl> <nl> # define EXPR_RANGE ( Id , First , Last ) <nl> # endif <nl> <nl> + # ifndef LAST_EXPR <nl> + # define LAST_EXPR ( Id ) <nl> + # endif <nl> + <nl> EXPR ( Error , Expr ) <nl> ABSTRACT_EXPR ( Literal , Expr ) <nl> LITERAL_EXPR ( NilLiteral , LiteralExpr ) <nl> EXPR ( EditorPlaceholder , Expr ) <nl> EXPR ( ObjCSelector , Expr ) <nl> EXPR ( KeyPath , Expr ) <nl> UNCHECKED_EXPR ( KeyPathDot , Expr ) <nl> + LAST_EXPR ( KeyPathDot ) <nl> <nl> # undef EXPR_RANGE <nl> # undef LITERAL_EXPR <nl> # undef UNCHECKED_EXPR <nl> # undef ABSTRACT_EXPR <nl> # undef EXPR <nl> + # undef LAST_EXPR <nl> mmm a / include / swift / AST / Pattern . h <nl> ppp b / include / swift / AST / Pattern . h <nl> namespace swift { <nl> / / / value - matching pattern . <nl> enum class PatternKind : uint8_t { <nl> # define PATTERN ( ID , PARENT ) ID , <nl> + # define LAST_PATTERN ( ID ) Last_Pattern = ID , <nl> # include " PatternNodes . def " <nl> } ; <nl> + enum : unsigned { NumPatternKindBits = <nl> + countBitsUsed ( static_cast < unsigned > ( PatternKind : : Last_Pattern ) ) } ; <nl> <nl> / / / Diagnostic printing of PatternKinds . <nl> llvm : : raw_ostream & operator < < ( llvm : : raw_ostream & OS , PatternKind kind ) ; <nl> <nl> / / / Pattern - Base class for all patterns in Swift . <nl> class alignas ( 8 ) Pattern { <nl> - SWIFT_INLINE_BITFIELD_BASE ( Pattern , 8 + 1 + 1 , <nl> - Kind : 8 , <nl> + SWIFT_INLINE_BITFIELD_BASE ( Pattern , bitmax ( NumPatternKindBits , 8 ) + 1 + 1 , <nl> + Kind : bitmax ( NumPatternKindBits , 8 ) , <nl> isImplicit : 1 , <nl> hasInterfaceType : 1 <nl> ) ; <nl> mmm a / include / swift / AST / PatternNodes . def <nl> ppp b / include / swift / AST / PatternNodes . def <nl> <nl> # define REFUTABLE_PATTERN ( Id , Parent ) PATTERN ( Id , Parent ) <nl> # endif <nl> <nl> + # ifndef LAST_PATTERN <nl> + # define LAST_PATTERN ( Id ) <nl> + # endif <nl> + <nl> PATTERN ( Paren , Pattern ) <nl> PATTERN ( Tuple , Pattern ) <nl> PATTERN ( Named , Pattern ) <nl> REFUTABLE_PATTERN ( EnumElement , Pattern ) <nl> REFUTABLE_PATTERN ( OptionalSome , Pattern ) <nl> REFUTABLE_PATTERN ( Bool , Pattern ) <nl> REFUTABLE_PATTERN ( Expr , Pattern ) <nl> + LAST_PATTERN ( Expr ) <nl> <nl> - # undef PATTERN <nl> # undef REFUTABLE_PATTERN <nl> + # undef PATTERN <nl> + # undef LAST_PATTERN <nl> mmm a / include / swift / AST / TypeNodes . def <nl> ppp b / include / swift / AST / TypeNodes . def <nl> <nl> # define TYPE_RANGE ( Id , First , Last ) <nl> # endif <nl> <nl> + # ifndef LAST_TYPE <nl> + # define LAST_TYPE ( Id ) <nl> + # endif <nl> + <nl> TYPE ( Error , Type ) <nl> UNCHECKED_TYPE ( Unresolved , Type ) <nl> ABSTRACT_TYPE ( Builtin , Type ) <nl> ABSTRACT_TYPE ( BoundGeneric , Type ) <nl> TYPE ( BoundGenericStruct , BoundGenericType ) <nl> TYPE_RANGE ( BoundGeneric , BoundGenericClass , BoundGenericStruct ) <nl> UNCHECKED_TYPE ( TypeVariable , Type ) <nl> + LAST_TYPE ( TypeVariable ) <nl> <nl> # undef TYPE_RANGE <nl> # undef ABSTRACT_SUGARED_TYPE <nl> UNCHECKED_TYPE ( TypeVariable , Type ) <nl> # undef BUILTIN_TYPE <nl> # undef ALWAYS_CANONICAL_TYPE <nl> # undef TYPE <nl> + # undef LAST_TYPE <nl> mmm a / include / swift / AST / TypeRepr . h <nl> ppp b / include / swift / AST / TypeRepr . h <nl> namespace swift { <nl> <nl> enum class TypeReprKind : uint8_t { <nl> # define TYPEREPR ( ID , PARENT ) ID , <nl> + # define LAST_TYPEREPR ( ID ) Last_TypeRepr = ID , <nl> # include " TypeReprNodes . def " <nl> } ; <nl> + enum : unsigned { NumTypeReprKindBits = <nl> + countBitsUsed ( static_cast < unsigned > ( TypeReprKind : : Last_TypeRepr ) ) } ; <nl> <nl> / / / \ brief Representation of a type as written in source . <nl> class alignas ( 8 ) TypeRepr { <nl> TypeRepr ( const TypeRepr & ) = delete ; <nl> void operator = ( const TypeRepr & ) = delete ; <nl> <nl> - SWIFT_INLINE_BITFIELD_BASE ( TypeRepr , 6 + 1 + 1 , <nl> + SWIFT_INLINE_BITFIELD_BASE ( TypeRepr , bitmax ( NumTypeReprKindBits , 8 ) + 1 + 1 , <nl> / / / The subclass of TypeRepr that this is . <nl> - Kind : 6 , <nl> + Kind : bitmax ( NumTypeReprKindBits , 8 ) , <nl> <nl> / / / Whether this type representation is known to contain an invalid <nl> / / / type . <nl> mmm a / include / swift / AST / TypeReprNodes . def <nl> ppp b / include / swift / AST / TypeReprNodes . def <nl> <nl> # define ABSTRACT_TYPEREPR ( Id , Parent ) <nl> # endif <nl> <nl> + # ifndef LAST_TYPEREPR <nl> + # define LAST_TYPEREPR ( Id ) <nl> + # endif <nl> + <nl> TYPEREPR ( Error , TypeRepr ) <nl> TYPEREPR ( Attributed , TypeRepr ) <nl> <nl> ABSTRACT_TYPEREPR ( Specifier , TypeRepr ) <nl> TYPEREPR ( Shared , SpecifierTypeRepr ) <nl> TYPEREPR ( Fixed , TypeRepr ) <nl> TYPEREPR ( SILBox , TypeRepr ) <nl> + LAST_TYPEREPR ( SILBox ) <nl> <nl> # undef ABSTRACT_TYPEREPR <nl> # undef TYPEREPR <nl> + # undef LAST_TYPEREPR <nl> mmm a / include / swift / AST / Types . h <nl> ppp b / include / swift / AST / Types . h <nl> namespace swift { <nl> <nl> enum class TypeKind : uint8_t { <nl> # define TYPE ( id , parent ) id , <nl> + # define LAST_TYPE ( id ) Last_Type = id , <nl> # define TYPE_RANGE ( Id , FirstId , LastId ) \ <nl> First_ # # Id # # Type = FirstId , Last_ # # Id # # Type = LastId , <nl> # include " swift / AST / TypeNodes . def " <nl> } ; <nl> + enum : unsigned { NumTypeKindBits = <nl> + countBitsUsed ( static_cast < unsigned > ( TypeKind : : Last_Type ) ) } ; <nl> <nl> / / / Various properties of types that are primarily defined recursively <nl> / / / on structural types . <nl> class alignas ( 1 < < TypeAlignInBits ) TypeBase { <nl> / / / form of a non - canonical type is requested . <nl> llvm : : PointerUnion < TypeBase * , const ASTContext * > CanonicalType ; <nl> <nl> - SWIFT_INLINE_BITFIELD_BASE ( TypeBase , 8 + RecursiveTypeProperties : : BitWidth , <nl> + SWIFT_INLINE_BITFIELD_BASE ( TypeBase , bitmax ( NumTypeKindBits , 8 ) + <nl> + RecursiveTypeProperties : : BitWidth , <nl> / / / Kind - The discriminator that indicates what subclass of type this is . <nl> - Kind : 8 , / / Naturally sized for speed ( it only needs 6 bits ) . <nl> + Kind : bitmax ( NumTypeKindBits , 8 ) , <nl> <nl> Properties : RecursiveTypeProperties : : BitWidth <nl> ) ; <nl> mmm a / include / swift / Basic / InlineBitfield . h <nl> ppp b / include / swift / Basic / InlineBitfield . h <nl> namespace swift { <nl> <nl> # define SWIFT_INLINE_BITS ( T ) T # # Bitfield T # # Bits <nl> <nl> + / / XXX / HACK : templated max ( ) doesn ' t seem to work in a bitfield size context . <nl> + constexpr unsigned bitmax ( unsigned a , unsigned b ) { <nl> + return a > b ? a : b ; <nl> + } <nl> + <nl> + constexpr unsigned countBitsUsed ( uint64_t arg ) { <nl> + / / Is there a C + + " std : : countLeadingZeros ( ) " ? <nl> + return ( arg & 1ull < < 63 ? 63 : <nl> + arg & 1ull < < 62 ? 62 : <nl> + arg & 1ull < < 61 ? 61 : <nl> + arg & 1ull < < 60 ? 60 : <nl> + arg & 1ull < < 59 ? 59 : <nl> + arg & 1ull < < 58 ? 58 : <nl> + arg & 1ull < < 57 ? 57 : <nl> + arg & 1ull < < 56 ? 56 : <nl> + arg & 1ull < < 55 ? 55 : <nl> + arg & 1ull < < 54 ? 54 : <nl> + arg & 1ull < < 53 ? 53 : <nl> + arg & 1ull < < 52 ? 52 : <nl> + arg & 1ull < < 51 ? 51 : <nl> + arg & 1ull < < 50 ? 50 : <nl> + arg & 1ull < < 49 ? 49 : <nl> + arg & 1ull < < 48 ? 48 : <nl> + arg & 1ull < < 47 ? 47 : <nl> + arg & 1ull < < 46 ? 46 : <nl> + arg & 1ull < < 45 ? 45 : <nl> + arg & 1ull < < 44 ? 44 : <nl> + arg & 1ull < < 43 ? 43 : <nl> + arg & 1ull < < 42 ? 42 : <nl> + arg & 1ull < < 41 ? 41 : <nl> + arg & 1ull < < 40 ? 40 : <nl> + arg & 1ull < < 39 ? 39 : <nl> + arg & 1ull < < 38 ? 38 : <nl> + arg & 1ull < < 37 ? 37 : <nl> + arg & 1ull < < 36 ? 36 : <nl> + arg & 1ull < < 35 ? 35 : <nl> + arg & 1ull < < 34 ? 34 : <nl> + arg & 1ull < < 33 ? 33 : <nl> + arg & 1ull < < 32 ? 32 : <nl> + arg & 1ull < < 31 ? 31 : <nl> + arg & 1ull < < 30 ? 30 : <nl> + arg & 1ull < < 29 ? 29 : <nl> + arg & 1ull < < 28 ? 28 : <nl> + arg & 1ull < < 27 ? 27 : <nl> + arg & 1ull < < 26 ? 26 : <nl> + arg & 1ull < < 25 ? 25 : <nl> + arg & 1ull < < 24 ? 24 : <nl> + arg & 1ull < < 23 ? 23 : <nl> + arg & 1ull < < 22 ? 22 : <nl> + arg & 1ull < < 21 ? 21 : <nl> + arg & 1ull < < 20 ? 20 : <nl> + arg & 1ull < < 19 ? 19 : <nl> + arg & 1ull < < 18 ? 18 : <nl> + arg & 1ull < < 17 ? 17 : <nl> + arg & 1ull < < 16 ? 16 : <nl> + arg & 1ull < < 15 ? 15 : <nl> + arg & 1ull < < 14 ? 14 : <nl> + arg & 1ull < < 13 ? 13 : <nl> + arg & 1ull < < 12 ? 12 : <nl> + arg & 1ull < < 11 ? 11 : <nl> + arg & 1ull < < 10 ? 10 : <nl> + arg & 1ull < < 9 ? 9 : <nl> + arg & 1ull < < 8 ? 8 : <nl> + arg & 1ull < < 7 ? 7 : <nl> + arg & 1ull < < 6 ? 6 : <nl> + arg & 1ull < < 5 ? 5 : <nl> + arg & 1ull < < 4 ? 4 : <nl> + arg & 1ull < < 3 ? 3 : <nl> + arg & 1ull < < 2 ? 2 : <nl> + arg & 1ull < < 1 ? 1 : 0 <nl> + ) + 1 ; <nl> + } <nl> + <nl> } / / end namespace swift <nl> <nl> # endif / / SWIFT_INLINE_BITFIELD_H <nl>
[ AST ] NFC : Do not hard code bit size of ' Kind ' field
apple/swift
68a846e76137130095fee18bff344da15f01e2e8
2017-12-15T19:45:38Z
mmm a / dbms / include / DB / Common / HashTable / HashTable . h <nl> ppp b / dbms / include / DB / Common / HashTable / HashTable . h <nl> class HashTable : <nl> if ( unlikely ( grower . overflow ( m_size ) ) ) <nl> { <nl> resize ( ) ; <nl> - it = find ( x ) ; <nl> + it = find ( x , hash_value ) ; <nl> } <nl> } <nl> <nl> class HashTable : <nl> <nl> size_t hash_value = hash ( x ) ; <nl> size_t place_value = findCell ( x , hash_value , grower . place ( hash_value ) ) ; <nl> - <nl> return ! buf [ place_value ] . isZero ( * this ) ? iterator ( this , & buf [ place_value ] ) : end ( ) ; <nl> } <nl> <nl> class HashTable : <nl> <nl> size_t hash_value = hash ( x ) ; <nl> size_t place_value = findCell ( x , hash_value , grower . place ( hash_value ) ) ; <nl> + return ! buf [ place_value ] . isZero ( * this ) ? const_iterator ( this , & buf [ place_value ] ) : end ( ) ; <nl> + } <nl> + <nl> + <nl> + iterator find ( Key x , size_t hash_value ) <nl> + { <nl> + if ( Cell : : isZero ( x , * this ) ) <nl> + return this - > hasZero ( ) ? iteratorToZero ( ) : end ( ) ; <nl> + <nl> + size_t place_value = findCell ( x , hash_value , grower . place ( hash_value ) ) ; <nl> + return ! buf [ place_value ] . isZero ( * this ) ? iterator ( this , & buf [ place_value ] ) : end ( ) ; <nl> + } <nl> <nl> + <nl> + const_iterator find ( Key x , size_t hash_value ) const <nl> + { <nl> + if ( Cell : : isZero ( x , * this ) ) <nl> + return this - > hasZero ( ) ? iteratorToZero ( ) : end ( ) ; <nl> + <nl> + size_t place_value = findCell ( x , hash_value , grower . place ( hash_value ) ) ; <nl> return ! buf [ place_value ] . isZero ( * this ) ? const_iterator ( this , & buf [ place_value ] ) : end ( ) ; <nl> } <nl> <nl> mmm a / dbms / include / DB / Common / HashTable / TwoLevelHashTable . h <nl> ppp b / dbms / include / DB / Common / HashTable / TwoLevelHashTable . h <nl> class TwoLevelHashTable : <nl> { <nl> size_t buck = getBucketFromHash ( hash_value ) ; <nl> typename Impl : : iterator impl_it ; <nl> - impls [ buck ] . emplace ( x , impl_it , inserted ) ; <nl> + impls [ buck ] . emplace ( x , impl_it , inserted , hash_value ) ; <nl> it = iterator ( this , buck , impl_it ) ; <nl> } <nl> <nl> class TwoLevelHashTable : <nl> size_t hash_value = hash ( x ) ; <nl> size_t buck = getBucketFromHash ( hash_value ) ; <nl> <nl> - typename Impl : : iterator found = impls [ buck ] . find ( x ) ; <nl> + typename Impl : : iterator found = impls [ buck ] . find ( x , hash_value ) ; <nl> return found ! = impls [ buck ] . end ( ) <nl> ? iterator ( this , buck , found ) <nl> : end ( ) ; <nl> class TwoLevelHashTable : <nl> size_t hash_value = hash ( x ) ; <nl> size_t buck = getBucketFromHash ( hash_value ) ; <nl> <nl> - typename Impl : : const_iterator found = impls [ buck ] . find ( x ) ; <nl> + typename Impl : : const_iterator found = impls [ buck ] . find ( x , hash_value ) ; <nl> return found ! = impls [ buck ] . end ( ) <nl> ? const_iterator ( this , buck , found ) <nl> : end ( ) ; <nl>
dbms : more scalable aggregator : development [ # METR - 2944 ] .
ClickHouse/ClickHouse
5e343d0647fd9067a9aeca85fb0897d84dbb675e
2014-12-25T21:25:43Z
mmm a / . taskcluster . yml <nl> ppp b / . taskcluster . yml <nl> tasks : <nl> branches : <nl> - master <nl> <nl> + routes : <nl> + - " notify . irc - channel . # machinelearning . on - any " <nl> <nl> scopes : [ <nl> " queue : create - task : lowest : { { taskcluster . docker . provisionerId } } / deepspeech - worker " , <nl> " queue : create - task : lowest : deepspeech - provisioner / ds - macos - light " , <nl> " queue : route : index . project . deepspeech . * " , <nl> + " queue : route : notify . irc - channel . * " , <nl> " queue : scheduler - id : taskcluster - github " , <nl> " generic - worker : cache : deepspeech - homebrew - bin " , <nl> " generic - worker : cache : deepspeech - homebrew - cache " <nl> ] <nl> + <nl> payload : <nl> maxRunTime : 600 <nl> image : " ubuntu : 14 . 04 " <nl> mmm a / taskcluster / . shared . yml <nl> ppp b / taskcluster / . shared . yml <nl> system : <nl> homedir : <nl> linux : ' / home / build - user ' <nl> osx : ' / Users / build - user ' <nl> + notifications : <nl> + irc : ' # machinelearning ' <nl> mmm a / taskcluster / darwin - amd64 - cpu - opt . yml <nl> ppp b / taskcluster / darwin - amd64 - cpu - opt . yml <nl> build : <nl> - " index . project . deepspeech . deepspeech . native_client . $ { event . head . branch } . osx " <nl> - " index . project . deepspeech . deepspeech . native_client . $ { event . head . branch } . $ { event . head . sha } . osx " <nl> - " index . project . deepspeech . deepspeech . native_client . osx . $ { event . head . sha } " <nl> + - " notify . irc - channel . $ { notifications . irc } . on - exception " <nl> + - " notify . irc - channel . $ { notifications . irc } . on - failed " <nl> tensorflow : " https : / / index . taskcluster . net / v1 / task / project . deepspeech . tensorflow . pip . master . osx / artifacts / public / home . tar . xz " <nl> summarize_graph : " https : / / index . taskcluster . net / v1 / task / project . deepspeech . tensorflow . pip . master . osx / artifacts / public / summarize_graph " <nl> scripts : <nl> mmm a / taskcluster / linux - amd64 - cpu - opt . yml <nl> ppp b / taskcluster / linux - amd64 - cpu - opt . yml <nl> build : <nl> - " index . project . deepspeech . deepspeech . native_client . $ { event . head . branch } . cpu " <nl> - " index . project . deepspeech . deepspeech . native_client . $ { event . head . branch } . $ { event . head . sha } . cpu " <nl> - " index . project . deepspeech . deepspeech . native_client . cpu . $ { event . head . sha } " <nl> + - " notify . irc - channel . $ { notifications . irc } . on - exception " <nl> + - " notify . irc - channel . $ { notifications . irc } . on - failed " <nl> system_setup : <nl> > <nl> $ { nodejs . packages . prep_6 } & & apt - get - qq update & & apt - get - qq - y install nodejs python - yaml & & <nl> mmm a / taskcluster / test - linux - opt - base . tyml <nl> ppp b / taskcluster / test - linux - opt - base . tyml <nl> then : <nl> github : <nl> { $ eval : taskcluster . github_events . pull_request } <nl> <nl> + routes : <nl> + - " notify . irc - channel . $ { notifications . irc } . on - exception " <nl> + - " notify . irc - channel . $ { notifications . irc } . on - failed " <nl> + <nl> + scopes : [ <nl> + " queue : route : notify . irc - channel . * " <nl> + ] <nl> + <nl> payload : <nl> maxRunTime : { $ eval : to_int ( build . maxRunTime ) } <nl> image : " ubuntu : 14 . 04 " <nl>
TaskCluster IRC notifications
mozilla/DeepSpeech
b42ade38bcda00c41c065f216c6702032393a213
2017-11-14T11:38:04Z
mmm a / Documentation / Books / Users / Aql / DataModification . mdpp <nl> ppp b / Documentation / Books / Users / Aql / DataModification . mdpp <nl> In all cases the full documents will be returned with all their attributes , <nl> including the potentially auto - generated attributes such as ` _id ` , ` _key ` , or ` _rev ` <nl> and the attributes not specified in the update expression of a partial update . <nl> <nl> + ! SUBSUBSECTION Projections <nl> + <nl> + It is possible to return a projection of the documents in ` OLD ` or ` NEW ` instead of <nl> + returning the entire documents . This can be used to reduce the amount of data returned <nl> + by queries . <nl> + <nl> + For example , the following query will return only the keys of the inserted documents : <nl> + <nl> + FOR i IN 1 . . 100 <nl> + INSERT { value : i } IN test <nl> + RETURN NEW . _key <nl> + <nl> + <nl> + ! SUBSUBSECTION Using OLD and NEW in the same query <nl> + <nl> + For ` UPDATE ` , ` REPLACE ` and ` UPSERT ` statements , both ` OLD ` and ` NEW ` can be used <nl> + to return the previous revision of a document together with the updated revision : <nl> + <nl> + FOR u IN users <nl> + FILTER u . status = = ' not active ' <nl> + UPDATE u WITH { status : ' inactive ' } IN users <nl> + RETURN { old : OLD , new : NEW } <nl> + <nl> + <nl> + ! SUBSUBSECTION Calculations with OLD or NEW <nl> + <nl> + It is also possible to run additional calculations with ` LET ` statements between the <nl> + data - modification part and the final ` RETURN ` of an AQL query . For example , the following <nl> + query performs an upsert operation and returns whether an existing document was <nl> + updated , or a new document was inserted . It does so by checking the ` OLD ` variable <nl> + after the ` UPSERT ` and using a ` LET ` statement to store a temporary string for <nl> + the operation type : <nl> + <nl> + UPSERT { name : ' test ' } <nl> + INSERT { name : ' test ' } <nl> + UPDATE { } IN users <nl> + LET opType = IS_NULL ( old ) ? ' insert ' : ' update ' <nl> + RETURN { _key : NEW . _key , type : opType } <nl> + <nl> <nl> ! SUBSECTION Restrictions <nl> <nl> be followed by ` LET ` operations and a single ` RETURN ` operation to return data . <nl> expressions are used within these operations , they cannot contain subqueries or <nl> access data in collections using AQL functions . <nl> <nl> + Finally , data - modification operations can optionally be followed by ` LET ` and ` RETURN ` , <nl> + but not by other statements such as ` SORT ` , ` COLLECT ` etc . <nl> + <nl> <nl> ! SUBSECTION Transactional Execution <nl> <nl>
issue : Please mention projection & co . in Doc chapter 12 . 2 - Returning documents
arangodb/arangodb
e2b28e842e3f1665af3eee5d619d6ca971223d47
2015-09-14T11:44:11Z
mmm a / src / init . cpp <nl> ppp b / src / init . cpp <nl> std : : string HelpMessage ( HelpMessageMode mode ) <nl> strUsage + = HelpMessageOpt ( " - alerts " , strprintf ( _ ( " Receive and display P2P network alerts ( default : % u ) " ) , DEFAULT_ALERTS ) ) ; <nl> strUsage + = HelpMessageOpt ( " - alertnotify = < cmd > " , _ ( " Execute command when a relevant alert is received or we see a really long fork ( % s in cmd is replaced by message ) " ) ) ; <nl> strUsage + = HelpMessageOpt ( " - blocknotify = < cmd > " , _ ( " Execute command when the best block changes ( % s in cmd is replaced by block hash ) " ) ) ; <nl> + if ( showDebug ) <nl> + strUsage + = HelpMessageOpt ( " - blocksonly " , strprintf ( _ ( " Whether to operate in a blocks only mode ( default : % u ) " ) , DEFAULT_BLOCKSONLY ) ) ; <nl> strUsage + = HelpMessageOpt ( " - checkblocks = < n > " , strprintf ( _ ( " How many blocks to check at startup ( default : % u , 0 = all ) " ) , DEFAULT_CHECKBLOCKS ) ) ; <nl> strUsage + = HelpMessageOpt ( " - checklevel = < n > " , strprintf ( _ ( " How thorough the block verification of - checkblocks is ( 0 - 4 , default : % u ) " ) , DEFAULT_CHECKLEVEL ) ) ; <nl> strUsage + = HelpMessageOpt ( " - conf = < file > " , strprintf ( _ ( " Specify configuration file ( default : % s ) " ) , " bitcoin . conf " ) ) ; <nl> std : : string HelpMessage ( HelpMessageMode mode ) <nl> strUsage + = HelpMessageOpt ( " - whitebind = < addr > " , _ ( " Bind to given address and whitelist peers connecting to it . Use [ host ] : port notation for IPv6 " ) ) ; <nl> strUsage + = HelpMessageOpt ( " - whitelist = < netmask > " , _ ( " Whitelist peers connecting from the given netmask or IP address . Can be specified multiple times . " ) + <nl> " " + _ ( " Whitelisted peers cannot be DoS banned and their transactions are always relayed , even if they are already in the mempool , useful e . g . for a gateway " ) ) ; <nl> + strUsage + = HelpMessageOpt ( " - whitelistalwaysrelay " , _ ( " Always relay transactions received from whitelisted peers . " ) ) ; <nl> strUsage + = HelpMessageOpt ( " - maxuploadtarget = < n > " , strprintf ( _ ( " Tries to keep outbound traffic under the given target ( in MiB per 24h ) , 0 = no limit ( default : % d ) " ) , DEFAULT_MAX_UPLOAD_TARGET ) ) ; <nl> <nl> # ifdef ENABLE_WALLET <nl> mmm a / src / net . h <nl> ppp b / src / net . h <nl> static const size_t MAPASKFOR_MAX_SZ = MAX_INV_SZ ; <nl> static const unsigned int DEFAULT_MAX_PEER_CONNECTIONS = 125 ; <nl> / * * The default for - maxuploadtarget . 0 = Unlimited * / <nl> static const uint64_t DEFAULT_MAX_UPLOAD_TARGET = 0 ; <nl> + / * * Default for blocks only * / <nl> + static const bool DEFAULT_BLOCKSONLY = false ; <nl> <nl> unsigned int ReceiveFloodSize ( ) ; <nl> unsigned int SendBufferSize ( ) ; <nl>
Add help text for blocksonly and whitelistalwaysrelay
bitcoin/bitcoin
762b13b4d8cce325ed10de733a502fa3aadeadee
2015-11-14T12:54:01Z
mmm a / src / mongo / db / instance . cpp <nl> ppp b / src / mongo / db / instance . cpp <nl> namespace { <nl> } <nl> <nl> <nl> - mongo : : mutex exitMutex ( " exit " ) ; <nl> - AtomicUInt numExitCalls = 0 ; <nl> + static AtomicUInt32 shutdownInProgress ( 0 ) ; <nl> <nl> bool inShutdown ( ) { <nl> - return numExitCalls > 0 ; <nl> + return shutdownInProgress . load ( ) ! = 0 ; <nl> } <nl> <nl> static void shutdownServer ( OperationContext * txn ) { <nl> namespace { <nl> } <nl> <nl> void exitCleanly ( ExitCode code ) { <nl> + shutdownInProgress . store ( 1 ) ; <nl> + <nl> getGlobalEnvironment ( ) - > setKillAllOperations ( ) ; <nl> <nl> repl : : getGlobalReplicationCoordinator ( ) - > shutdown ( ) ; <nl> namespace { <nl> dbexit ( code ) ; <nl> } <nl> <nl> - / * not using log ( ) herein in case we are already locked * / <nl> NOINLINE_DECL void dbexit ( ExitCode rc , const char * why ) { <nl> flushForGcov ( ) ; <nl> <nl> audit : : logShutdown ( currentClient . get ( ) ) ; <nl> - { <nl> - scoped_lock lk ( exitMutex ) ; <nl> - if ( numExitCalls + + > 0 ) { <nl> - if ( numExitCalls > 5 ) { <nl> - / / this means something horrible has happened <nl> - : : _exit ( rc ) ; <nl> - } <nl> - log ( ) < < " dbexit : " < < why < < " ; exiting immediately " ; <nl> - : : _exit ( rc ) ; <nl> - } <nl> - } <nl> <nl> log ( ) < < " dbexit : " < < why ; <nl> <nl> namespace { <nl> return ; <nl> } <nl> # endif <nl> - log ( ) < < " dbexit : really exiting now " ; <nl> + <nl> : : _exit ( rc ) ; <nl> } <nl> <nl>
SERVER - 14475 Cleanup the shutdown code and indicate shutdown earlier
mongodb/mongo
848999f1527e8390d4d76f9fad0860218b73be4d
2014-07-18T19:00:39Z
mmm a / atom / browser / native_window_views . cc <nl> ppp b / atom / browser / native_window_views . cc <nl> bool IsAltKey ( const content : : NativeWebKeyboardEvent & event ) { <nl> <nl> bool IsAltModifier ( const content : : NativeWebKeyboardEvent & event ) { <nl> typedef content : : NativeWebKeyboardEvent : : Modifiers Modifiers ; <nl> - return ( event . modifiers = = ( Modifiers : : AltKey | Modifiers : : IsLeft ) ) | | <nl> + return ( event . modifiers = = Modifiers : : AltKey ) | | <nl> + ( event . modifiers = = ( Modifiers : : AltKey | Modifiers : : IsLeft ) ) | | <nl> ( event . modifiers = = ( Modifiers : : AltKey | Modifiers : : IsRight ) ) ; <nl> } <nl> <nl>
linux : Fix detecting Alt modifier .
electron/electron
58a09f6495e5de154244d42fec60af9a7c33ce20
2014-08-07T08:46:50Z
mmm a / db / client . cpp <nl> ppp b / db / client . cpp <nl> <nl> # include " client . h " <nl> # include " curop . h " <nl> # include " json . h " <nl> - <nl> + # include " security . h " <nl> + <nl> namespace mongo { <nl> <nl> boost : : mutex Client : : clientsMutex ; <nl> namespace mongo { <nl> _desc ( desc ) , <nl> _god ( 0 ) <nl> { <nl> - ai = new AuthenticationInfo ( ) ; <nl> boostlock bl ( clientsMutex ) ; <nl> clients . insert ( this ) ; <nl> } <nl> <nl> Client : : ~ Client ( ) { <nl> delete _curOp ; <nl> - delete ai ; <nl> - ai = 0 ; <nl> _god = 0 ; <nl> <nl> if ( _context ) <nl> namespace mongo { <nl> _ns = ns ; <nl> _db = db ; <nl> _client - > _context = this ; <nl> + _auth ( ) ; <nl> } <nl> <nl> - void Client : : Context : : _finishInit ( ) { <nl> - dbMutex . assertAtLeastReadLocked ( ) ; <nl> + void Client : : Context : : _finishInit ( bool doauth ) { <nl> + int lockState = dbMutex . getState ( ) ; <nl> + assert ( lockState ) ; <nl> <nl> _db = dbHolder . get ( _ns , _path ) ; <nl> if ( _db ) { <nl> namespace mongo { <nl> <nl> _client - > _context = this ; <nl> _client - > _curOp - > enter ( this ) ; <nl> + if ( doauth ) <nl> + _auth ( lockState ) ; <nl> + } <nl> + <nl> + void Client : : Context : : _auth ( int lockState ) { <nl> + if ( _client - > _ai . isAuthorizedForLock ( _db - > name , lockState ) ) <nl> + return ; <nl> + <nl> + / / before we assert , do a little cleanup <nl> + _client - > _context = _oldContext ; / / note : _oldContext may be null <nl> + <nl> + stringstream ss ; <nl> + ss < < " unauthorized for db [ " < < _db - > name < < " ] lock type : " < < lockState < < endl ; <nl> + massert ( 10057 , ss . str ( ) , 0 ) ; <nl> } <nl> <nl> Client : : Context : : ~ Context ( ) { <nl> mmm a / db / client . h <nl> ppp b / db / client . h <nl> <nl> # pragma once <nl> <nl> # include " . . / stdafx . h " <nl> + # include " security . h " <nl> # include " namespace . h " <nl> # include " lasterror . h " <nl> # include " stats / top . h " <nl> namespace mongo { <nl> * this will set _db and create if needed <nl> * will also set _client - > _context to this <nl> * / <nl> - void _finishInit ( ) ; <nl> - <nl> + void _finishInit ( bool doauth = true ) ; <nl> <nl> + void _auth ( int lockState = dbMutex . getState ( ) ) ; <nl> public : <nl> - Context ( const string & ns , string path = dbpath , mongolock * lock = 0 ) <nl> + Context ( const string & ns , string path = dbpath , mongolock * lock = 0 , bool doauth = true ) <nl> : _client ( currentClient . get ( ) ) , _oldContext ( _client - > _context ) , <nl> _path ( path ) , _lock ( lock ) , <nl> _ns ( ns ) { <nl> - _finishInit ( ) ; <nl> + _finishInit ( doauth ) ; <nl> } <nl> <nl> / * this version saves the context but doesn ' t yet set the new one : * / <nl> namespace mongo { <nl> <nl> ~ Context ( ) ; <nl> <nl> + Client * getClient ( ) const { return _client ; } <nl> + <nl> Database * db ( ) const { <nl> return _db ; <nl> } <nl> namespace mongo { <nl> list < string > _tempCollections ; <nl> const char * _desc ; <nl> bool _god ; <nl> + AuthenticationInfo _ai ; <nl> <nl> public : <nl> - AuthenticationInfo * ai ; <nl> + <nl> + AuthenticationInfo * getAuthenticationInfo ( ) { return & _ai ; } <nl> + bool isAdmin ( ) { return _ai . isAuthorized ( " admin " ) ; } <nl> <nl> CurOp * curop ( ) { return _curOp ; } <nl> <nl> mmm a / db / curop . h <nl> ppp b / db / curop . h <nl> <nl> # pragma once <nl> <nl> # include " namespace . h " <nl> - # include " security . h " <nl> # include " client . h " <nl> # include " . . / util / atomic_int . h " <nl> + # include " db . h " <nl> <nl> namespace mongo { <nl> <nl> namespace mongo { <nl> } <nl> <nl> BSONObj info ( ) { <nl> - AuthenticationInfo * ai = currentClient . get ( ) - > ai ; <nl> - if ( ! ai - > isAuthorized ( " admin " ) ) { <nl> + if ( ! cc ( ) . getAuthenticationInfo ( ) - > isAuthorized ( " admin " ) ) { <nl> BSONObjBuilder b ; <nl> b . append ( " err " , " unauthorized " ) ; <nl> return b . obj ( ) ; <nl> mmm a / db / db . cpp <nl> ppp b / db / db . cpp <nl> namespace mongo { <nl> <nl> try { <nl> <nl> - c . ai - > isLocalHost = dbMsgPort . farEnd . isLocalHost ( ) ; <nl> + c . getAuthenticationInfo ( ) - > isLocalHost = dbMsgPort . farEnd . isLocalHost ( ) ; <nl> <nl> Message m ; <nl> while ( 1 ) { <nl> namespace mongo { <nl> extern bool checkNsFilesOnLoad ; <nl> <nl> void repairDatabases ( ) { <nl> + Client : : GodScope gs ; <nl> log ( 1 ) < < " enter repairDatabases " < < endl ; <nl> - <nl> + <nl> assert ( checkNsFilesOnLoad ) ; <nl> checkNsFilesOnLoad = false ; / / we are mainly just checking the header - don ' t scan the whole . ns file for every db here . <nl> <nl> mmm a / db / dbcommands . cpp <nl> ppp b / db / dbcommands . cpp <nl> namespace mongo { <nl> returns true if ran a cmd <nl> * / <nl> bool _runCommands ( const char * ns , BSONObj & _cmdobj , BufBuilder & b , BSONObjBuilder & anObjBuilder , bool fromRepl , int queryOptions ) { <nl> + string dbname = nsToDatabase ( ns ) ; <nl> + <nl> if ( logLevel > = 1 ) <nl> log ( ) < < " run command " < < ns < < ' ' < < _cmdobj < < endl ; <nl> - <nl> + <nl> const char * p = strchr ( ns , ' . ' ) ; <nl> if ( ! p ) return false ; <nl> if ( strcmp ( p , " . $ cmd " ) ! = 0 ) return false ; <nl> namespace mongo { <nl> } <nl> } <nl> <nl> + Client & client = cc ( ) ; <nl> bool ok = false ; <nl> <nl> BSONElement e = jsobj . firstElement ( ) ; <nl> <nl> Command * c = e . type ( ) ? Command : : findCommand ( e . fieldName ( ) ) : 0 ; <nl> if ( c ) { <nl> - mongolock lk ( ! c - > readOnly ( ) ) ; <nl> - Client : : Context ctx ( ns , dbpath , & lk ) ; <nl> - <nl> string errmsg ; <nl> - AuthenticationInfo * ai = currentClient . get ( ) - > ai ; <nl> - if ( c - > requiresAuth ( ) ) { <nl> - if ( c - > readOnly ( ) ) { <nl> - uassert ( 12593 , " readOnly unauthorized " , ai - > isReadOnlyAuthorized ( cc ( ) . database ( ) - > name . c_str ( ) ) ) ; <nl> - } else { <nl> - uassert ( 10045 , " unauthorized " , ai - > isAuthorized ( cc ( ) . database ( ) - > name . c_str ( ) ) ) ; <nl> - } <nl> + AuthenticationInfo * ai = client . getAuthenticationInfo ( ) ; <nl> + <nl> + bool needWriteLock = ! c - > readOnly ( ) ; <nl> + <nl> + if ( ! c - > requiresAuth ( ) & & <nl> + ( ai - > isAuthorizedReads ( dbname ) & & <nl> + ! ai - > isAuthorized ( dbname ) ) ) { <nl> + / / this means that they can read , but not write <nl> + / / so only get a read lock <nl> + needWriteLock = false ; <nl> } <nl> <nl> + mongolock lk ( needWriteLock ) ; <nl> + Client : : Context ctx ( ns , dbpath , & lk , c - > requiresAuth ( ) ) ; <nl> + <nl> bool admin = c - > adminOnly ( ) ; <nl> <nl> if ( admin & & c - > localHostOnlyIfNoAuth ( jsobj ) & & noauth & & ! ai - > isLocalHost ) { <nl> mmm a / db / dbeval . cpp <nl> ppp b / db / dbeval . cpp <nl> namespace mongo { <nl> } <nl> CmdEval ( ) : Command ( " $ eval " ) { } <nl> bool run ( const char * ns , BSONObj & cmdObj , string & errmsg , BSONObjBuilder & result , bool fromRepl ) { <nl> - AuthenticationInfo * ai = currentClient . get ( ) - > ai ; <nl> - uassert ( 12598 , " $ eval readOnly unauthorized " , ai - > isReadOnlyAuthorized ( cc ( ) . database ( ) - > name . c_str ( ) ) ) ; <nl> + AuthenticationInfo * ai = cc ( ) . getAuthenticationInfo ( ) ; <nl> + uassert ( 12598 , " $ eval readOnly unauthorized " , ai - > isAuthorizedReads ( cc ( ) . database ( ) - > name . c_str ( ) ) ) ; <nl> return dbEval ( ns , cmdObj , result , errmsg ) ; <nl> } <nl> } cmdeval ; <nl> mmm a / db / instance . cpp <nl> ppp b / db / instance . cpp <nl> namespace mongo { <nl> void inProgCmd ( Message & m , DbResponse & dbresponse ) { <nl> BSONObjBuilder b ; <nl> <nl> - AuthenticationInfo * ai = cc ( ) . ai ; <nl> - if ( ! ai - > isReadOnlyAuthorized ( " admin " ) ) { <nl> + if ( ! cc ( ) . isAdmin ( ) ) { <nl> BSONObjBuilder b ; <nl> b . append ( " err " , " unauthorized " ) ; <nl> } <nl> namespace mongo { <nl> <nl> void killOp ( Message & m , DbResponse & dbresponse ) { <nl> BSONObj obj ; <nl> - AuthenticationInfo * ai = currentClient . get ( ) - > ai ; <nl> - if ( ! ai - > isAuthorized ( " admin " ) ) { <nl> + if ( ! cc ( ) . isAdmin ( ) ) { <nl> obj = fromjson ( " { \ " err \ " : \ " unauthorized \ " } " ) ; <nl> } <nl> / * else if ( ! dbMutexInfo . isLocked ( ) ) <nl> namespace mongo { <nl> <nl> void unlockFsync ( const char * ns , Message & m , DbResponse & dbresponse ) { <nl> BSONObj obj ; <nl> - AuthenticationInfo * ai = currentClient . get ( ) - > ai ; <nl> - if ( ! ai - > isAuthorized ( " admin " ) | | strncmp ( ns , " admin . " , 6 ) ! = 0 ) { <nl> + if ( ! cc ( ) . isAdmin ( ) | | strncmp ( ns , " admin . " , 6 ) ! = 0 ) { <nl> obj = fromjson ( " { \ " err \ " : \ " unauthorized \ " } " ) ; <nl> } <nl> else { <nl> namespace mongo { <nl> bool log = logLevel > = 1 ; <nl> <nl> if ( op = = dbQuery ) { <nl> - / / receivedQuery ( ) does its own authorization processing . <nl> if ( ! receivedQuery ( c , dbresponse , m ) ) <nl> log = true ; <nl> } <nl> else if ( op = = dbGetMore ) { <nl> mongolock lk ( writeLock ) ; <nl> - / / does its own authorization processing . <nl> DEV log = true ; <nl> ss < < " getmore " ; <nl> if ( ! receivedGetMore ( dbresponse , m , currentOp ) ) <nl> namespace mongo { <nl> return false ; <nl> } <nl> else { <nl> - mongolock lk ( writeLock ) ; <nl> const char * ns = m . data - > _data + 4 ; <nl> char cl [ 256 ] ; <nl> nsToDatabase ( ns , cl ) ; <nl> - if ( ! c . ai - > isAuthorized ( cl ) ) { <nl> + if ( ! c . getAuthenticationInfo ( ) - > isAuthorized ( cl ) ) { <nl> uassert_nothrow ( " unauthorized " ) ; <nl> } <nl> - else if ( op = = dbInsert ) { <nl> - try { <nl> - ss < < " insert " ; <nl> - receivedInsert ( m , currentOp ) ; <nl> - } <nl> - catch ( AssertionException & e ) { <nl> - LOGSOME problem ( ) < < " Caught Assertion insert , continuing \ n " ; <nl> - ss < < " exception " < < e . toString ( ) ; <nl> - log = true ; <nl> - } <nl> - } <nl> - else if ( op = = dbUpdate ) { <nl> - try { <nl> - ss < < " update " ; <nl> - receivedUpdate ( m , currentOp ) ; <nl> - } <nl> - catch ( AssertionException & e ) { <nl> - LOGSOME problem ( ) < < " Caught Assertion update , continuing " < < endl ; <nl> - ss < < " exception " < < e . toString ( ) ; <nl> - log = true ; <nl> - } <nl> - } <nl> - else if ( op = = dbDelete ) { <nl> - try { <nl> - ss < < " remove " ; <nl> - receivedDelete ( m , currentOp ) ; <nl> - } <nl> - catch ( AssertionException & e ) { <nl> - LOGSOME problem ( ) < < " Caught Assertion receivedDelete , continuing " < < endl ; <nl> - ss < < " exception " < < e . toString ( ) ; <nl> - log = true ; <nl> - } <nl> - } <nl> - else if ( op = = dbKillCursors ) { <nl> + else { <nl> + mongolock lk ( writeLock ) ; <nl> + ss < < opToString ( op ) < < " " ; <nl> try { <nl> - logThreshold = 10 ; <nl> - ss < < " killcursors " ; <nl> - receivedKillCursors ( m ) ; <nl> + if ( op = = dbInsert ) { <nl> + receivedInsert ( m , currentOp ) ; <nl> + } <nl> + else if ( op = = dbUpdate ) { <nl> + receivedUpdate ( m , currentOp ) ; <nl> + } <nl> + else if ( op = = dbDelete ) { <nl> + receivedDelete ( m , currentOp ) ; <nl> + } <nl> + else if ( op = = dbKillCursors ) { <nl> + logThreshold = 10 ; <nl> + ss < < " killcursors " ; <nl> + receivedKillCursors ( m ) ; <nl> + } <nl> + else { <nl> + out ( ) < < " operation isn ' t supported : " < < op < < endl ; <nl> + currentOp . done ( ) ; <nl> + log = true ; <nl> + } <nl> } <nl> catch ( AssertionException & e ) { <nl> - problem ( ) < < " Caught Assertion in kill cursors , continuing " < < endl ; <nl> + problem ( ) < < " Caught Assertion in " < < opToString ( op ) < < " , continuing " < < endl ; <nl> ss < < " exception " + e . toString ( ) ; <nl> log = true ; <nl> } <nl> } <nl> - else { <nl> - out ( ) < < " operation isn ' t supported : " < < op < < endl ; <nl> - currentOp . done ( ) ; <nl> - assert ( false ) ; <nl> - } <nl> } <nl> currentOp . done ( ) ; <nl> int ms = currentOp . totalTimeMillis ( ) ; <nl> namespace mongo { <nl> ss < < " ntoreturn : " < < ntoreturn ; <nl> QueryResult * msgdata ; <nl> try { <nl> - AuthenticationInfo * ai = currentClient . get ( ) - > ai ; <nl> - uassert ( 10057 , " unauthorized " , ai - > isReadOnlyAuthorized ( cc ( ) . database ( ) - > name . c_str ( ) ) ) ; <nl> msgdata = getMore ( ns , ntoreturn , cursorid , curop ) ; <nl> } <nl> catch ( AssertionException & e ) { <nl> mmm a / db / pdfile . cpp <nl> ppp b / db / pdfile . cpp <nl> namespace mongo { <nl> stringstream ss ; <nl> Client * c = currentClient . get ( ) ; <nl> if ( c ) { <nl> - Database * database = c - > database ( ) ; <nl> - if ( database ) { <nl> - ss < < database - > name < < ' ' ; <nl> - ss < < cc ( ) . ns ( ) < < ' ' ; <nl> + Client : : Context * cx = c - > getContext ( ) ; <nl> + if ( cx ) { <nl> + Database * database = cx - > db ( ) ; <nl> + if ( database ) { <nl> + ss < < database - > name < < ' ' ; <nl> + ss < < cx - > ns ( ) < < ' ' ; <nl> + } <nl> } <nl> } <nl> return ss . str ( ) ; <nl> mmm a / db / query . cpp <nl> ppp b / db / query . cpp <nl> namespace mongo { <nl> else { / * regular query * / <nl> mongolock lk ( false ) ; / / read lock <nl> Client : : Context ctx ( ns , dbpath , & lk ) ; <nl> - AuthenticationInfo * ai = c . ai ; <nl> - uassert ( 10106 , " unauthorized " , ai - > isReadOnlyAuthorized ( ctx . db ( ) - > name . c_str ( ) ) ) ; <nl> <nl> / * we allow queries to SimpleSlave ' s - - but not to the slave ( nonmaster ) member of a replica pair <nl> so that queries to a pair are realtime consistent as much as possible . use setSlaveOk ( ) to <nl> mmm a / db / repl . cpp <nl> ppp b / db / repl . cpp <nl> namespace mongo { <nl> we allow unauthenticated ismaster but we aren ' t as verbose informationally if <nl> one is not authenticated for admin db to be safe . <nl> * / <nl> - AuthenticationInfo * ai = currentClient . get ( ) - > ai ; <nl> - bool authed = ai - > isReadOnlyAuthorized ( " admin " ) ; <nl> + bool authed = cc ( ) . getAuthenticationInfo ( ) - > isAuthorizedReads ( " admin " ) ; <nl> <nl> if ( replAllDead ) { <nl> result . append ( " ismaster " , 0 . 0 ) ; <nl> namespace mongo { <nl> BSONObj userReplQuery = fromjson ( " { \ " user \ " : \ " repl \ " } " ) ; <nl> <nl> bool replAuthenticate ( DBClientConnection * conn ) { <nl> - AuthenticationInfo * ai = currentClient . get ( ) - > ai ; <nl> - if ( ! ai - > isAuthorized ( " admin " ) ) { <nl> + if ( ! cc ( ) . isAdmin ( ) ) { <nl> log ( ) < < " replauthenticate : requires admin permissions , failing \ n " ; <nl> return false ; <nl> } <nl> namespace mongo { <nl> dblock lk ; <nl> <nl> Client : : initThread ( " replslave " ) ; <nl> - currentClient . get ( ) - > ai - > authorize ( " admin " ) ; <nl> + cc ( ) . getAuthenticationInfo ( ) - > authorize ( " admin " ) ; <nl> <nl> BSONObj obj ; <nl> if ( Helpers : : getSingleton ( " local . pair . startup " , obj ) ) { <nl> mmm a / db / security . cpp <nl> ppp b / db / security . cpp <nl> <nl> # include " instance . h " <nl> # include " client . h " <nl> # include " curop . h " <nl> + # include " db . h " <nl> + # include " dbhelpers . h " <nl> <nl> namespace mongo { <nl> <nl> bool noauth = true ; <nl> bool authWriteOnly = false ; <nl> - <nl> + <nl> int AuthenticationInfo : : warned = 0 ; <nl> <nl> + void AuthenticationInfo : : print ( ) { <nl> + cout < < " AuthenticationInfo : " < < this < < " \ n " ; <nl> + for ( map < string , Auth > : : iterator i = m . begin ( ) ; i ! = m . end ( ) ; i + + ) { <nl> + cout < < " \ t " < < i - > first < < " \ t " < < i - > second . level < < " \ n " ; <nl> + } <nl> + cout < < " END " < < endl ; <nl> + } <nl> + <nl> + <nl> + bool AuthenticationInfo : : _isAuthorizedSpecialChecks ( const string & dbname ) { <nl> + if ( cc ( ) . isGod ( ) ) { <nl> + return true ; <nl> + } <nl> + <nl> + if ( isLocalHost ) { <nl> + readlock l ( " " ) ; <nl> + Client : : GodScope gs ; <nl> + Client : : Context c ( " admin . system . users " ) ; <nl> + BSONObj result ; <nl> + if ( ! Helpers : : getSingleton ( " admin . system . users " , result ) ) { <nl> + if ( warned = = 0 ) { <nl> + warned + + ; <nl> + log ( ) < < " note : no users configured in admin . system . users , allowing localhost access " < < endl ; <nl> + } <nl> + return true ; <nl> + } <nl> + } <nl> + return false ; <nl> + } <nl> + <nl> } / / namespace mongo <nl> <nl> mmm a / db / security . h <nl> ppp b / db / security . h <nl> <nl> # undef assert <nl> # define assert xassert <nl> <nl> - # include " db . h " <nl> - # include " dbhelpers . h " <nl> # include " nonce . h " <nl> + # include " concurrency . h " <nl> <nl> namespace mongo { <nl> <nl> namespace mongo { <nl> public : <nl> bool isLocalHost ; <nl> AuthenticationInfo ( ) { isLocalHost = false ; } <nl> - virtual ~ AuthenticationInfo ( ) { <nl> + ~ AuthenticationInfo ( ) { <nl> } <nl> - void logout ( const char * dbname ) { <nl> - assertInWriteLock ( ) ; <nl> + void logout ( const string & dbname ) { <nl> + assertInWriteLock ( ) ; / / TODO : can we get rid of this ? only 1 thread should be looking at an AuthenticationInfo <nl> m . erase ( dbname ) ; <nl> } <nl> - void authorize ( const char * dbname ) { <nl> + void authorize ( const string & dbname ) { <nl> assertInWriteLock ( ) ; <nl> m [ dbname ] . level = 2 ; <nl> } <nl> - void authorizeReadOnly ( const char * dbname ) { <nl> + void authorizeReadOnly ( const string & dbname ) { <nl> assertInWriteLock ( ) ; <nl> m [ dbname ] . level = 1 ; <nl> } <nl> - bool isAuthorized ( const char * dbname ) { return _isAuthorized ( dbname , 2 ) ; } <nl> - bool isReadOnlyAuthorized ( const char * dbname ) { return _isAuthorized ( dbname , 1 ) ; } <nl> + bool isAuthorized ( const string & dbname ) { return _isAuthorized ( dbname , 2 ) ; } <nl> + bool isAuthorizedReads ( const string & dbname ) { return _isAuthorized ( dbname , 1 ) ; } <nl> + bool isAuthorizedForLock ( const string & dbname , int lockType ) { return _isAuthorized ( dbname , lockType > 0 ? 2 : 1 ) ; } <nl> + <nl> + void print ( ) ; <nl> + <nl> protected : <nl> - virtual bool _isAuthorized ( const char * dbname , int level ) { <nl> + bool _isAuthorized ( const string & dbname , int level ) { <nl> if ( m [ dbname ] . level > = level ) return true ; <nl> if ( noauth ) return true ; <nl> if ( authWriteOnly & & ( 1 > = level ) ) return true ; <nl> if ( m [ " admin " ] . level > = level ) return true ; <nl> if ( m [ " local " ] . level > = level ) return true ; <nl> - if ( cc ( ) . isGod ( ) ) return true ; <nl> - if ( isLocalHost ) { <nl> - readlock l ( " " ) ; <nl> - Client : : Context c ( " admin . system . users " ) ; <nl> - BSONObj result ; <nl> - if ( Helpers : : getSingleton ( " admin . system . users " , result ) ) <nl> - return false ; <nl> - if ( warned = = 0 ) { <nl> - warned + + ; <nl> - log ( ) < < " note : no users configured in admin . system . users , allowing localhost access " < < endl ; <nl> - } <nl> - return true ; <nl> - } <nl> - return false ; <nl> + return _isAuthorizedSpecialChecks ( dbname ) ; <nl> } <nl> + <nl> + bool _isAuthorizedSpecialChecks ( const string & dbname ) ; <nl> } ; <nl> <nl> } / / namespace mongo <nl> mmm a / db / security_commands . cpp <nl> ppp b / db / security_commands . cpp <nl> namespace mongo { <nl> bool run ( const char * ns , BSONObj & cmdObj , string & errmsg , BSONObjBuilder & result , bool fromRepl ) { <nl> / / database - > name is the one we are logging out . . . <nl> Client & client = cc ( ) ; <nl> - AuthenticationInfo * ai = client . ai ; <nl> + AuthenticationInfo * ai = client . getAuthenticationInfo ( ) ; <nl> ai - > logout ( client . database ( ) - > name . c_str ( ) ) ; <nl> return true ; <nl> } <nl> namespace mongo { <nl> return false ; <nl> } <nl> <nl> - AuthenticationInfo * ai = currentClient . get ( ) - > ai ; <nl> + AuthenticationInfo * ai = cc ( ) . getAuthenticationInfo ( ) ; <nl> <nl> if ( userObj [ " readOnly " ] . isBoolean ( ) & & userObj [ " readOnly " ] . boolean ( ) ) { <nl> ai - > authorizeReadOnly ( cc ( ) . database ( ) - > name . c_str ( ) ) ; <nl> mmm a / util / message . h <nl> ppp b / util / message . h <nl> namespace mongo { <nl> <nl> bool doesOpGetAResponse ( int op ) ; <nl> <nl> + inline const char * opToString ( int op ) { <nl> + switch ( op ) { <nl> + case opReply : return " reply " ; <nl> + case dbMsg : return " msg " ; <nl> + case dbUpdate : return " update " ; <nl> + case dbInsert : return " insert " ; <nl> + case dbQuery : return " query " ; <nl> + case dbGetMore : return " getmore " ; <nl> + case dbDelete : return " remove " ; <nl> + case dbKillCursors : return " killcursors " ; <nl> + default : assert ( 0 ) ; return " " ; <nl> + } <nl> + } <nl> + <nl> struct MsgData { <nl> int len ; / * len of the msg , including this field * / <nl> MSGID id ; / * request / reply id ' s match . . . * / <nl>
cleaning up security - moving to centralized location
mongodb/mongo
62f47cc910f68b842a512533bd06b5343f7da41e
2010-02-04T15:49:19Z
mmm a / src / webui / btjson . cpp <nl> ppp b / src / webui / btjson . cpp <nl> QVariantMap generateSyncData ( int acceptedResponseId , QVariantMap data , QVariantM <nl> if ( fullUpdate ) { <nl> lastAcceptedData . clear ( ) ; <nl> syncData = data ; <nl> + <nl> + # if ( QT_VERSION > = QT_VERSION_CHECK ( 5 , 0 , 0 ) & & QT_VERSION < QT_VERSION_CHECK ( 5 , 5 , 0 ) ) <nl> + / / QJsonDocument : : fromVariant ( ) supports QVariantHash only <nl> + / / since Qt5 . 5 , so manually convert data [ " torrents " ] <nl> + QVariantMap torrentsMap ; <nl> + QVariantHash torrents = data [ " torrents " ] . toHash ( ) ; <nl> + foreach ( const QString & key , torrents . keys ( ) ) <nl> + torrentsMap [ key ] = torrents [ key ] ; <nl> + syncData [ " torrents " ] = torrentsMap ; <nl> + # endif <nl> + <nl> syncData [ KEY_FULL_UPDATE ] = true ; <nl> } <nl> <nl>
Merge pull request from pmzqla / qvarianthash
qbittorrent/qBittorrent
167d20083d33f6d363ecf9de3d19fe7720557c28
2015-04-28T19:10:19Z
mmm a / modules / planning / common / path_boundary . cc <nl> ppp b / modules / planning / common / path_boundary . cc <nl> PathBoundary : : boundary ( ) const { <nl> return boundary_ ; <nl> } <nl> <nl> + void PathBoundary : : set_label ( const std : : string & label ) { <nl> + label_ = label ; <nl> + } <nl> + <nl> + const std : : string & PathBoundary : : label ( ) const { <nl> + return label_ ; <nl> + } <nl> + <nl> } / / namespace planning <nl> } / / namespace apollo <nl> mmm a / modules / planning / common / path_boundary . h <nl> ppp b / modules / planning / common / path_boundary . h <nl> <nl> * * / <nl> # pragma once <nl> <nl> + # include < string . h > <nl> # include < utility > <nl> # include < vector > <nl> <nl> class PathBoundary { <nl> public : <nl> PathBoundary ( const double start_s , const double delta_s , <nl> std : : vector < std : : pair < double , double > > path_boundary ) ; <nl> + <nl> virtual ~ PathBoundary ( ) = default ; <nl> <nl> double start_s ( ) const ; <nl> class PathBoundary { <nl> double delta_s ( ) const ; <nl> <nl> const std : : vector < std : : pair < double , double > > & boundary ( ) const ; <nl> + <nl> + void set_label ( const std : : string & label ) ; <nl> + <nl> + const std : : string & label ( ) const ; <nl> + <nl> private : <nl> double start_s_ ; <nl> double delta_s_ ; <nl> std : : vector < std : : pair < double , double > > boundary_ ; <nl> + std : : string label_ = " normal " ; <nl> } ; <nl> <nl> } / / namespace planning <nl>
planning : add label attribute in PathBoundary
ApolloAuto/apollo
df022b539ecdcbb3abd0aea47311e5118897e7f2
2019-04-03T18:50:05Z
mmm a / lib / SILGen / SILGenBuilder . cpp <nl> ppp b / lib / SILGen / SILGenBuilder . cpp <nl> ManagedValue SILGenBuilder : : createConvertEscapeToNoEscape ( SILLocation loc , <nl> ! fnType - > isNoEscape ( ) & & resultFnType - > isNoEscape ( ) & & <nl> " Expect a escaping to noescape conversion " ) ; <nl> <nl> - bool fnHasCleanup = fn . hasCleanup ( ) ; <nl> - SILValue fnValue = fn . forward ( getSILGenFunction ( ) ) ; <nl> + SILValue fnValue = fn . ensurePlusOne ( SGF , loc ) . forward ( SGF ) ; <nl> SILValue result = createConvertEscapeToNoEscape ( loc , fnValue , resultTy ) ; <nl> - if ( fnHasCleanup ) <nl> - getSILGenFunction ( ) . enterPostponedCleanup ( fnValue ) ; <nl> + getSILGenFunction ( ) . enterPostponedCleanup ( fnValue ) ; <nl> return ManagedValue : : forTrivialObjectRValue ( result ) ; <nl> } <nl> <nl> mmm a / test / SILGen / witnesses . swift <nl> ppp b / test / SILGen / witnesses . swift <nl> protocol EscapingReq { <nl> <nl> / / CHECK - LABEL : sil private [ transparent ] [ thunk ] @ $ S9witnesses18EscapingCovarianceVAA0B3ReqA2aDP1fyyS2icFTW : $ @ convention ( witness_method : EscapingReq ) ( @ guaranteed @ callee_guaranteed ( Int ) - > Int , @ in_guaranteed EscapingCovariance ) - > ( ) <nl> / / CHECK - NOT : return <nl> - / / CHECK : convert_escape_to_noescape % 0 <nl> + / / CHECK : [ [ COPIED : % . * ] ] = copy_value % 0 <nl> + / / CHECK : convert_escape_to_noescape [ [ COPIED ] ] <nl> struct EscapingCovariance : EscapingReq { <nl> func f ( _ : ( Int ) - > Int ) { } <nl> } <nl>
[ SILGen ] Ensure that we keep the convert_escape_to_noescape argument alive .
apple/swift
213ad4fc9736a127b9b065a413dc3650765d11f1
2018-03-20T20:13:46Z
mmm a / jstests / tool / dumpfilename1 . js <nl> ppp b / jstests / tool / dumpfilename1 . js <nl> <nl> / / dumpfilename1 . js <nl> <nl> - / / Test designed to make sure proper error is thrown when trying to dump collection with a " / " in the name <nl> + / / Test designed to make sure error that dumping a collection with " / " in the name doesn ' t crash the system . <nl> + / / An error is logged and given to the user , but the other collections should dump and restore OK . <nl> <nl> t = new ToolTest ( " dumpfilename1 " ) ; <nl> <nl> t . startDB ( " foo " ) ; <nl> + c = t . db ; <nl> + c . getCollection ( " df / " ) . insert ( { a : 3 } ) ; <nl> + c . getCollection ( " df " ) . insert ( { a : 2 } ) ; <nl> <nl> - db = t . db ; <nl> - db . getCollection ( " df1 / " ) . insert ( { a : 3 } ) ; <nl> - db . getCollection ( " df1 " ) . insert ( { a : 2 } ) ; <nl> t . runTool ( " dump " , " - - out " , t . ext ) ; <nl> <nl> - catch ( e ) { <nl> - print ( e . message ) ; <nl> - assert ( false , " fail here " ) ; <nl> - t . stop ( ) ; <nl> - } <nl> - assert ( false , " fail at end " ) ; <nl> - t . stop ( ) ; <nl> \ No newline at end of file <nl> + assert ( c . getCollection ( " df / " ) . drop ( ) , " cannot drop 1 " ) ; <nl> + assert ( c . getCollection ( " df " ) . drop ( ) , " cannot drop 2 " ) ; <nl> + <nl> + t . runTool ( " restore " , " - - dir " , t . ext ) ; <nl> + <nl> + assert . eq ( 0 , c . getCollection ( " df / " ) . count ( ) , " collection 1 does not restore properly " ) ; <nl> + assert . eq ( 1 , c . getCollection ( " df " ) . count ( ) , " collection 2 does not restore properly " ) ; <nl> + <nl> + t . stop ( ) ; <nl> + <nl>
rewrote dumpfilename test so that it does the proper thing
mongodb/mongo
129b3dc5ca806b08981de78e58d65e648f546840
2011-12-09T19:16:37Z
mmm a / xbmc / pvr / windows / GUIWindowPVRBase . cpp <nl> ppp b / xbmc / pvr / windows / GUIWindowPVRBase . cpp <nl> bool CGUIWindowPVRBase : : ActionInputChannelNumber ( int input ) <nl> return false ; <nl> } <nl> <nl> - bool CGUIWindowPVRBase : : UpdateEpgForChannel ( CFileItem * item ) <nl> - { <nl> - CPVRChannelPtr channel ( item - > GetPVRChannelInfoTag ( ) ) ; <nl> - <nl> - CEpgPtr epg = channel - > GetEPG ( ) ; <nl> - if ( ! epg ) <nl> - return false ; <nl> - <nl> - epg - > ForceUpdate ( ) ; <nl> - return true ; <nl> - } <nl> - <nl> bool CGUIWindowPVRBase : : Update ( const std : : string & strDirectory , bool updateFilterPath / * = true * / ) <nl> { <nl> if ( ! GetChannelGroup ( ) ) <nl> mmm a / xbmc / pvr / windows / GUIWindowPVRBase . h <nl> ppp b / xbmc / pvr / windows / GUIWindowPVRBase . h <nl> namespace PVR <nl> <nl> virtual bool ActionInputChannelNumber ( int input ) ; <nl> <nl> - virtual bool UpdateEpgForChannel ( CFileItem * item ) ; <nl> - <nl> virtual void UpdateSelectedItemPath ( ) ; <nl> <nl> void RegisterObservers ( void ) ; <nl> mmm a / xbmc / pvr / windows / GUIWindowPVRChannels . cpp <nl> ppp b / xbmc / pvr / windows / GUIWindowPVRChannels . cpp <nl> CGUIWindowPVRChannels : : ~ CGUIWindowPVRChannels ( ) <nl> <nl> void CGUIWindowPVRChannels : : GetContextButtons ( int itemNumber , CContextButtons & buttons ) <nl> { <nl> - if ( itemNumber < 0 | | itemNumber > = m_vecItems - > Size ( ) ) <nl> - return ; <nl> - <nl> / / Add parent buttons before the Manage button <nl> CGUIWindowPVRBase : : GetContextButtons ( itemNumber , buttons ) ; <nl> <nl> - buttons . Add ( CONTEXT_BUTTON_EDIT , 16106 ) ; / * Manage . . . * / <nl> + buttons . Add ( CONTEXT_BUTTON_EDIT , 16106 ) ; / * Manage . . . * / <nl> } <nl> <nl> std : : string CGUIWindowPVRChannels : : GetDirectoryPath ( void ) <nl> bool CGUIWindowPVRChannels : : OnContextButton ( int itemNumber , CONTEXT_BUTTON butto <nl> { <nl> if ( itemNumber < 0 | | itemNumber > = m_vecItems - > Size ( ) ) <nl> return false ; <nl> - CFileItemPtr pItem = m_vecItems - > Get ( itemNumber ) ; <nl> <nl> - return OnContextButtonGroupManager ( pItem . get ( ) , button ) | | <nl> - OnContextButtonUpdateEpg ( pItem . get ( ) , button ) | | <nl> - OnContextButtonManage ( pItem . get ( ) , button ) | | <nl> + return OnContextButtonManage ( m_vecItems - > Get ( itemNumber ) , button ) | | <nl> CGUIMediaWindow : : OnContextButton ( itemNumber , button ) ; <nl> } <nl> <nl> bool CGUIWindowPVRChannels : : OnMessage ( CGUIMessage & message ) <nl> return bReturn | | CGUIWindowPVRBase : : OnMessage ( message ) ; <nl> } <nl> <nl> - bool CGUIWindowPVRChannels : : OnContextButtonGroupManager ( CFileItem * item , CONTEXT_BUTTON button ) <nl> - { <nl> - bool bReturn = false ; <nl> - <nl> - if ( button = = CONTEXT_BUTTON_GROUP_MANAGER ) <nl> - { <nl> - ShowGroupManager ( ) ; <nl> - bReturn = true ; <nl> - } <nl> - <nl> - return bReturn ; <nl> - } <nl> - <nl> - bool CGUIWindowPVRChannels : : OnContextButtonManage ( CFileItem * item , CONTEXT_BUTTON button ) <nl> + bool CGUIWindowPVRChannels : : OnContextButtonManage ( const CFileItemPtr & item , CONTEXT_BUTTON button ) <nl> { <nl> bool bReturn = false ; <nl> <nl> bool CGUIWindowPVRChannels : : OnContextButtonManage ( CFileItem * item , CONTEXT_BUTTO <nl> ShowChannelManager ( ) ; <nl> break ; <nl> case CONTEXT_BUTTON_UPDATE_EPG : <nl> - OnContextButtonUpdateEpg ( item , ( CONTEXT_BUTTON ) button ) ; <nl> + UpdateEpg ( item ) ; <nl> break ; <nl> default : <nl> break ; <nl> bool CGUIWindowPVRChannels : : OnContextButtonManage ( CFileItem * item , CONTEXT_BUTTO <nl> return bReturn ; <nl> } <nl> <nl> - bool CGUIWindowPVRChannels : : OnContextButtonUpdateEpg ( CFileItem * item , CONTEXT_BUTTON button ) <nl> + void CGUIWindowPVRChannels : : UpdateEpg ( const CFileItemPtr & item ) <nl> { <nl> - bool bReturn = false ; <nl> - <nl> - if ( button = = CONTEXT_BUTTON_UPDATE_EPG ) <nl> - { <nl> - CGUIDialogYesNo * pDialog = ( CGUIDialogYesNo * ) g_windowManager . GetWindow ( WINDOW_DIALOG_YES_NO ) ; <nl> - if ( ! pDialog ) <nl> - return bReturn ; <nl> - <nl> - CPVRChannelPtr channel ( item - > GetPVRChannelInfoTag ( ) ) ; <nl> - <nl> - pDialog - > SetHeading ( CVariant { 19251 } ) ; <nl> - pDialog - > SetLine ( 0 , CVariant { g_localizeStrings . Get ( 19252 ) } ) ; <nl> - pDialog - > SetLine ( 1 , CVariant { channel - > ChannelName ( ) } ) ; <nl> - pDialog - > SetLine ( 2 , CVariant { " " } ) ; <nl> - pDialog - > Open ( ) ; <nl> - <nl> - if ( ! pDialog - > IsConfirmed ( ) ) <nl> - return bReturn ; <nl> + const CPVRChannelPtr channel ( item - > GetPVRChannelInfoTag ( ) ) ; <nl> <nl> - bReturn = UpdateEpgForChannel ( item ) ; <nl> + if ( ! CGUIDialogYesNo : : ShowAndGetInput ( CVariant { 19251 } , / / " Update guide information " <nl> + CVariant { 19252 } , / / " Schedule guide update for this channel ? " <nl> + CVariant { " " } , <nl> + CVariant { channel - > ChannelName ( ) } ) ) <nl> + return ; <nl> <nl> - std : : string strMessage = StringUtils : : Format ( " % s : ' % s ' " , g_localizeStrings . Get ( bReturn ? 19253 : 19254 ) . c_str ( ) , channel - > ChannelName ( ) . c_str ( ) ) ; <nl> - CGUIDialogKaiToast : : QueueNotification ( bReturn ? CGUIDialogKaiToast : : Info : CGUIDialogKaiToast : : Error , <nl> - g_localizeStrings . Get ( 19166 ) , <nl> - strMessage ) ; <nl> + const CEpgPtr epg = channel - > GetEPG ( ) ; <nl> + if ( epg ) <nl> + { <nl> + epg - > ForceUpdate ( ) ; <nl> + <nl> + const std : : string strMessage = StringUtils : : Format ( " % s : ' % s ' " , <nl> + g_localizeStrings . Get ( 19253 ) . c_str ( ) , / / " Guide update scheduled for channel " <nl> + channel - > ChannelName ( ) . c_str ( ) ) ; <nl> + CGUIDialogKaiToast : : QueueNotification ( CGUIDialogKaiToast : : Info , <nl> + g_localizeStrings . Get ( 19166 ) , / / " PVR information " <nl> + strMessage ) ; <nl> + } <nl> + else <nl> + { <nl> + const std : : string strMessage = StringUtils : : Format ( " % s : ' % s ' " , <nl> + g_localizeStrings . Get ( 19254 ) . c_str ( ) , / / " Guide update failed for channel " <nl> + channel - > ChannelName ( ) . c_str ( ) ) ; <nl> + CGUIDialogKaiToast : : QueueNotification ( CGUIDialogKaiToast : : Error , <nl> + g_localizeStrings . Get ( 19166 ) , / / " PVR information " <nl> + strMessage ) ; <nl> } <nl> - <nl> - return bReturn ; <nl> } <nl> <nl> void CGUIWindowPVRChannels : : ShowChannelManager ( ) <nl> mmm a / xbmc / pvr / windows / GUIWindowPVRChannels . h <nl> ppp b / xbmc / pvr / windows / GUIWindowPVRChannels . h <nl> namespace PVR <nl> virtual std : : string GetDirectoryPath ( void ) override ; <nl> <nl> private : <nl> - bool OnContextButtonGroupManager ( CFileItem * item , CONTEXT_BUTTON button ) ; <nl> - bool OnContextButtonManage ( CFileItem * item , CONTEXT_BUTTON button ) ; <nl> - bool OnContextButtonUpdateEpg ( CFileItem * item , CONTEXT_BUTTON button ) ; <nl> + bool OnContextButtonManage ( const CFileItemPtr & item , CONTEXT_BUTTON button ) ; <nl> <nl> void ShowChannelManager ( ) ; <nl> - void ShowGroupManager ( void ) ; <nl> + void ShowGroupManager ( ) ; <nl> + void UpdateEpg ( const CFileItemPtr & item ) ; <nl> <nl> bool m_bShowHiddenChannels ; <nl> } ; <nl>
[ PVR ] refactored channels window ' Manage . . . ' context menu item code
xbmc/xbmc
7212ecee7e31dcddd30e745c15f5e0d63c888a7b
2016-12-02T06:29:15Z
deleted file mode 100644 <nl> index 356dc1c665 . . 0000000000 <nl> mmm a / RNWCPP / Playground / App . xaml <nl> ppp / dev / null <nl> <nl> -  < Application <nl> - x : Class = " Playground . App " <nl> - xmlns = " http : / / schemas . microsoft . com / winfx / 2006 / xaml / presentation " <nl> - xmlns : x = " http : / / schemas . microsoft . com / winfx / 2006 / xaml " <nl> - xmlns : local = " using : Playground " > <nl> - <nl> - < / Application > <nl> deleted file mode 100644 <nl> index 076dc0d829 . . 0000000000 <nl> mmm a / RNWCPP / Playground / App . xaml . cs <nl> ppp / dev / null <nl> <nl> -  using System ; <nl> - using System . Collections . Generic ; <nl> - using System . IO ; <nl> - using System . Linq ; <nl> - using System . Runtime . InteropServices . WindowsRuntime ; <nl> - using Windows . ApplicationModel ; <nl> - using Windows . ApplicationModel . Activation ; <nl> - using Windows . Foundation ; <nl> - using Windows . Foundation . Collections ; <nl> - using Windows . UI . Xaml ; <nl> - using Windows . UI . Xaml . Controls ; <nl> - using Windows . UI . Xaml . Controls . Primitives ; <nl> - using Windows . UI . Xaml . Data ; <nl> - using Windows . UI . Xaml . Input ; <nl> - using Windows . UI . Xaml . Media ; <nl> - using Windows . UI . Xaml . Navigation ; <nl> - <nl> - namespace Playground <nl> - { <nl> - / / / < summary > <nl> - / / / Provides application - specific behavior to supplement the default Application class . <nl> - / / / < / summary > <nl> - sealed partial class App : Application <nl> - { <nl> - / / / < summary > <nl> - / / / Initializes the singleton application object . This is the first line of authored code <nl> - / / / executed , and as such is the logical equivalent of main ( ) or WinMain ( ) . <nl> - / / / < / summary > <nl> - public App ( ) <nl> - { <nl> - this . InitializeComponent ( ) ; <nl> - this . Suspending + = OnSuspending ; <nl> - } <nl> - <nl> - / / / < summary > <nl> - / / / Invoked when the application is launched normally by the end user . Other entry points <nl> - / / / will be used such as when the application is launched to open a specific file . <nl> - / / / < / summary > <nl> - / / / < param name = " e " > Details about the launch request and process . < / param > <nl> - protected override void OnLaunched ( LaunchActivatedEventArgs e ) <nl> - { <nl> - Frame rootFrame = Window . Current . Content as Frame ; <nl> - <nl> - / / Do not repeat app initialization when the Window already has content , <nl> - / / just ensure that the window is active <nl> - if ( rootFrame = = null ) <nl> - { <nl> - / / Create a Frame to act as the navigation context and navigate to the first page <nl> - rootFrame = new Frame ( ) ; <nl> - <nl> - rootFrame . NavigationFailed + = OnNavigationFailed ; <nl> - <nl> - if ( e . PreviousExecutionState = = ApplicationExecutionState . Terminated ) <nl> - { <nl> - / / TODO : Load state from previously suspended application <nl> - } <nl> - <nl> - / / Place the frame in the current Window <nl> - Window . Current . Content = rootFrame ; <nl> - } <nl> - <nl> - if ( e . PrelaunchActivated = = false ) <nl> - { <nl> - if ( rootFrame . Content = = null ) <nl> - { <nl> - / / When the navigation stack isn ' t restored navigate to the first page , <nl> - / / configuring the new page by passing required information as a navigation <nl> - / / parameter <nl> - rootFrame . Navigate ( typeof ( MainPage ) , e . Arguments ) ; <nl> - } <nl> - / / Ensure the current window is active <nl> - Window . Current . Activate ( ) ; <nl> - } <nl> - } <nl> - <nl> - / / / < summary > <nl> - / / / Invoked when Navigation to a certain page fails <nl> - / / / < / summary > <nl> - / / / < param name = " sender " > The Frame which failed navigation < / param > <nl> - / / / < param name = " e " > Details about the navigation failure < / param > <nl> - void OnNavigationFailed ( object sender , NavigationFailedEventArgs e ) <nl> - { <nl> - throw new Exception ( " Failed to load Page " + e . SourcePageType . FullName ) ; <nl> - } <nl> - <nl> - / / / < summary > <nl> - / / / Invoked when application execution is being suspended . Application state is saved <nl> - / / / without knowing whether the application will be terminated or resumed with the contents <nl> - / / / of memory still intact . <nl> - / / / < / summary > <nl> - / / / < param name = " sender " > The source of the suspend request . < / param > <nl> - / / / < param name = " e " > Details about the suspend request . < / param > <nl> - private void OnSuspending ( object sender , SuspendingEventArgs e ) <nl> - { <nl> - var deferral = e . SuspendingOperation . GetDeferral ( ) ; <nl> - / / TODO : Save application state and stop any background activity <nl> - deferral . Complete ( ) ; <nl> - } <nl> - } <nl> - } <nl> deleted file mode 100644 <nl> index 735f57adb5 . . 0000000000 <nl> Binary files a / RNWCPP / Playground / Assets / LockScreenLogo . scale - 200 . png and / dev / null differ <nl> deleted file mode 100644 <nl> index 023e7f1fed . . 0000000000 <nl> Binary files a / RNWCPP / Playground / Assets / SplashScreen . scale - 200 . png and / dev / null differ <nl> deleted file mode 100644 <nl> index af49fec1a5 . . 0000000000 <nl> Binary files a / RNWCPP / Playground / Assets / Square150x150Logo . scale - 200 . png and / dev / null differ <nl> deleted file mode 100644 <nl> index ce342a2ec8 . . 0000000000 <nl> Binary files a / RNWCPP / Playground / Assets / Square44x44Logo . scale - 200 . png and / dev / null differ <nl> deleted file mode 100644 <nl> index f6c02ce97e . . 0000000000 <nl> Binary files a / RNWCPP / Playground / Assets / Square44x44Logo . targetsize - 24_altform - unplated . png and / dev / null differ <nl> deleted file mode 100644 <nl> index 7385b56c0e . . 0000000000 <nl> Binary files a / RNWCPP / Playground / Assets / StoreLogo . png and / dev / null differ <nl> deleted file mode 100644 <nl> index 288995b397 . . 0000000000 <nl> Binary files a / RNWCPP / Playground / Assets / Wide310x150Logo . scale - 200 . png and / dev / null differ <nl> deleted file mode 100644 <nl> index e315c6c34f . . 0000000000 <nl> mmm a / RNWCPP / Playground / MainPage . xaml <nl> ppp / dev / null <nl> <nl> - < Page <nl> - x : Class = " Playground . MainPage " <nl> - xmlns = " http : / / schemas . microsoft . com / winfx / 2006 / xaml / presentation " <nl> - xmlns : x = " http : / / schemas . microsoft . com / winfx / 2006 / xaml " <nl> - xmlns : local = " using : Playground " <nl> - xmlns : d = " http : / / schemas . microsoft . com / expression / blend / 2008 " <nl> - xmlns : mc = " http : / / schemas . openxmlformats . org / markup - compatibility / 2006 " <nl> - xmlns : react = " using : react . uwp " <nl> - mc : Ignorable = " d " <nl> - Background = " { ThemeResource ApplicationPageBackgroundThemeBrush } " > <nl> - <nl> - < Grid > <nl> - < react : ReactControl x : Name = " RootElement " / > <nl> - < / Grid > <nl> - < / Page > <nl> deleted file mode 100644 <nl> index 067358198a . . 0000000000 <nl> mmm a / RNWCPP / Playground / MainPage . xaml . cs <nl> ppp / dev / null <nl> <nl> - using System ; <nl> - using System . Collections . Generic ; <nl> - using System . IO ; <nl> - using System . Linq ; <nl> - using System . Runtime . InteropServices . WindowsRuntime ; <nl> - using Windows . Foundation ; <nl> - using Windows . Foundation . Collections ; <nl> - using Windows . UI . Xaml ; <nl> - using Windows . UI . Xaml . Controls ; <nl> - using Windows . UI . Xaml . Controls . Primitives ; <nl> - using Windows . UI . Xaml . Data ; <nl> - using Windows . UI . Xaml . Input ; <nl> - using Windows . UI . Xaml . Media ; <nl> - using Windows . UI . Xaml . Navigation ; <nl> - using react . uwp ; <nl> - <nl> - / / The Blank Page item template is documented at https : / / go . microsoft . com / fwlink / ? LinkId = 402352 & clcid = 0x409 <nl> - <nl> - namespace Playground <nl> - { <nl> - / / / < summary > <nl> - / / / An empty page that can be used on its own or navigated to within a Frame . <nl> - / / / < / summary > <nl> - public sealed partial class MainPage : Page <nl> - { <nl> - const string JSFILENAME = " Playground / index . windows " ; <nl> - const string JSCOMPONENTNAME = " Playground " ; <nl> - <nl> - public MainPage ( ) <nl> - { <nl> - this . InitializeComponent ( ) ; <nl> - LoadReact ( ) ; <nl> - } <nl> - <nl> - private void LoadReact ( ) <nl> - { <nl> - InstanceSettings settings ; <nl> - settings . UseWebDebugger = true ; <nl> - settings . UseLiveReload = true ; <nl> - <nl> - var instance = Instance . Create ( JSFILENAME ) ; <nl> - <nl> - / / instantiate sample module for registering callbacks for live reload , JS error handling etc . , <nl> - instance . RegisterModule ( new SampleModule ( ) ) ; <nl> - instance . Start ( settings ) ; <nl> - <nl> - RootElement . Instance = instance ; <nl> - <nl> - / / Setup sample initial properties for initializing UI thread <nl> - string initialProps = " { " <nl> - + " \ " one \ " : \ " 1 \ " " <nl> - + " , \ " two \ " : \ " 2 \ " " <nl> - + " } " ; <nl> - <nl> - RootElement . InitialProps = initialProps ; <nl> - <nl> - RootElement . JsComponentName = JSCOMPONENTNAME ; <nl> - <nl> - RootElement . StartRender ( ) ; <nl> - } <nl> - } <nl> - <nl> - public class SampleModule : react . uwp . IModule <nl> - { <nl> - Dictionary < string , string > _constants ; <nl> - Dictionary < string , MethodDelegate > m_delegates = new Dictionary < string , MethodDelegate > ( ) ; <nl> - Dictionary < String , MethodWithCallbackDelegate > m_delegateWithCallback = new Dictionary < string , MethodWithCallbackDelegate > ( ) ; <nl> - <nl> - public SampleModule ( ) <nl> - { <nl> - _constants = new Dictionary < string , string > ( ) ; <nl> - _constants . Add ( " a " , " \ " b \ " " ) ; <nl> - <nl> - m_delegates . Add ( " method1 " , new MethodDelegate ( <nl> - ( string para ) = > <nl> - { <nl> - <nl> - } ) ) ; <nl> - <nl> - m_delegateWithCallback . Add ( " method2 " , new MethodWithCallbackDelegate ( <nl> - ( string para , MethodCallback callback ) = > <nl> - { <nl> - string [ ] results = new string [ ] { " { \ " result \ " : true } " } ; <nl> - callback ( results ) ; <nl> - } ) ) ; <nl> - } <nl> - <nl> - public IReadOnlyDictionary < string , string > Constants <nl> - { <nl> - get <nl> - { <nl> - return _constants ; <nl> - } <nl> - } <nl> - <nl> - public IReadOnlyDictionary < string , MethodDelegate > Methods <nl> - { <nl> - get <nl> - { <nl> - return m_delegates ; <nl> - } <nl> - } <nl> - <nl> - public IReadOnlyDictionary < string , MethodWithCallbackDelegate > MethodsWithCallback <nl> - { <nl> - get <nl> - { <nl> - return m_delegateWithCallback ; <nl> - } <nl> - } <nl> - <nl> - public string Name <nl> - { <nl> - get <nl> - { <nl> - return " SampleModule " ; <nl> - } <nl> - } <nl> - } <nl> - } <nl> - <nl> deleted file mode 100644 <nl> index 9cec45bf6c . . 0000000000 <nl> mmm a / RNWCPP / Playground / Package . appxmanifest <nl> ppp / dev / null <nl> <nl> -  < ? xml version = " 1 . 0 " encoding = " utf - 8 " ? > <nl> - <nl> - < Package <nl> - xmlns = " http : / / schemas . microsoft . com / appx / manifest / foundation / windows10 " <nl> - xmlns : mp = " http : / / schemas . microsoft . com / appx / 2014 / phone / manifest " <nl> - xmlns : uap = " http : / / schemas . microsoft . com / appx / manifest / uap / windows10 " <nl> - IgnorableNamespaces = " uap mp " > <nl> - <nl> - < Identity <nl> - Name = " e02d780d - b346 - 4104 - 8faf - d9d26d35b052 " <nl> - Publisher = " CN = harinik " <nl> - Version = " 1 . 0 . 0 . 0 " / > <nl> - <nl> - < mp : PhoneIdentity PhoneProductId = " e02d780d - b346 - 4104 - 8faf - d9d26d35b052 " PhonePublisherId = " 00000000 - 0000 - 0000 - 0000 - 000000000000 " / > <nl> - <nl> - < Properties > <nl> - < DisplayName > Playground < / DisplayName > <nl> - < PublisherDisplayName > harinik < / PublisherDisplayName > <nl> - < Logo > Assets \ StoreLogo . png < / Logo > <nl> - < / Properties > <nl> - <nl> - < Dependencies > <nl> - < TargetDeviceFamily Name = " Windows . Universal " MinVersion = " 10 . 0 . 0 . 0 " MaxVersionTested = " 10 . 0 . 0 . 0 " / > <nl> - < / Dependencies > <nl> - <nl> - < Resources > <nl> - < Resource Language = " x - generate " / > <nl> - < / Resources > <nl> - <nl> - < Applications > <nl> - < Application Id = " App " <nl> - Executable = " $ targetnametoken $ . exe " <nl> - EntryPoint = " Playground . App " > <nl> - < uap : VisualElements <nl> - DisplayName = " Playground " <nl> - Square150x150Logo = " Assets \ Square150x150Logo . png " <nl> - Square44x44Logo = " Assets \ Square44x44Logo . png " <nl> - Description = " Playground " <nl> - BackgroundColor = " transparent " > <nl> - < uap : DefaultTile Wide310x150Logo = " Assets \ Wide310x150Logo . png " / > <nl> - < uap : SplashScreen Image = " Assets \ SplashScreen . png " / > <nl> - < / uap : VisualElements > <nl> - < / Application > <nl> - < / Applications > <nl> - <nl> - < Capabilities > <nl> - < Capability Name = " internetClient " / > <nl> - < / Capabilities > <nl> - < / Package > <nl> \ No newline at end of file <nl> deleted file mode 100644 <nl> index 002e1f51d9 . . 0000000000 <nl> mmm a / RNWCPP / Playground / Playground . csproj <nl> ppp / dev / null <nl> <nl> -  < ? xml version = " 1 . 0 " encoding = " utf - 8 " ? > <nl> - < Project ToolsVersion = " 15 . 0 " DefaultTargets = " Build " xmlns = " http : / / schemas . microsoft . com / developer / msbuild / 2003 " > <nl> - < Import Project = " $ ( MSBuildExtensionsPath ) \ $ ( MSBuildToolsVersion ) \ Microsoft . Common . props " Condition = " Exists ( ' $ ( MSBuildExtensionsPath ) \ $ ( MSBuildToolsVersion ) \ Microsoft . Common . props ' ) " / > <nl> - < PropertyGroup > <nl> - < Configuration Condition = " ' $ ( Configuration ) ' = = ' ' " > Debug < / Configuration > <nl> - < Platform Condition = " ' $ ( Platform ) ' = = ' ' " > x86 < / Platform > <nl> - < ProjectGuid > { D3F174D1 - 3C67 - 46D2 - A4C6 - E9540C37DDA0 } < / ProjectGuid > <nl> - < OutputType > AppContainerExe < / OutputType > <nl> - < AppDesignerFolder > Properties < / AppDesignerFolder > <nl> - < RootNamespace > Playground < / RootNamespace > <nl> - < AssemblyName > Playground < / AssemblyName > <nl> - < DefaultLanguage > en - US < / DefaultLanguage > <nl> - < TargetPlatformIdentifier > UAP < / TargetPlatformIdentifier > <nl> - < TargetPlatformVersion Condition = " ' $ ( TargetPlatformVersion ) ' = = ' ' " > 10 . 0 . 17763 . 0 < / TargetPlatformVersion > <nl> - < TargetPlatformMinVersion > 10 . 0 . 14393 . 0 < / TargetPlatformMinVersion > <nl> - < MinimumVisualStudioVersion > 14 < / MinimumVisualStudioVersion > <nl> - < FileAlignment > 512 < / FileAlignment > <nl> - < ProjectTypeGuids > { A5A43C5B - DE2A - 4C0C - 9213 - 0A381AF9435A } ; { FAE04EC0 - 301F - 11D3 - BF4B - 00C04F79EFBC } < / ProjectTypeGuids > <nl> - < WindowsXamlEnableOverview > true < / WindowsXamlEnableOverview > <nl> - < PackageCertificateKeyFile > Playground_TemporaryKey . pfx < / PackageCertificateKeyFile > <nl> - < / PropertyGroup > <nl> - < PropertyGroup Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Debug | x86 ' " > <nl> - < DebugSymbols > true < / DebugSymbols > <nl> - < OutputPath > bin \ x86 \ Debug \ < / OutputPath > <nl> - < DefineConstants > DEBUG ; TRACE ; NETFX_CORE ; WINDOWS_UWP < / DefineConstants > <nl> - < NoWarn > ; 2008 < / NoWarn > <nl> - < DebugType > full < / DebugType > <nl> - < PlatformTarget > x86 < / PlatformTarget > <nl> - < UseVSHostingProcess > false < / UseVSHostingProcess > <nl> - < ErrorReport > prompt < / ErrorReport > <nl> - < Prefer32Bit > true < / Prefer32Bit > <nl> - < / PropertyGroup > <nl> - < PropertyGroup Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Release | x86 ' " > <nl> - < OutputPath > bin \ x86 \ Release \ < / OutputPath > <nl> - < DefineConstants > TRACE ; NETFX_CORE ; WINDOWS_UWP < / DefineConstants > <nl> - < Optimize > true < / Optimize > <nl> - < NoWarn > ; 2008 < / NoWarn > <nl> - < DebugType > pdbonly < / DebugType > <nl> - < PlatformTarget > x86 < / PlatformTarget > <nl> - < UseVSHostingProcess > false < / UseVSHostingProcess > <nl> - < ErrorReport > prompt < / ErrorReport > <nl> - < Prefer32Bit > true < / Prefer32Bit > <nl> - < UseDotNetNativeToolchain > true < / UseDotNetNativeToolchain > <nl> - < / PropertyGroup > <nl> - < PropertyGroup Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Debug | ARM ' " > <nl> - < DebugSymbols > true < / DebugSymbols > <nl> - < OutputPath > bin \ ARM \ Debug \ < / OutputPath > <nl> - < DefineConstants > DEBUG ; TRACE ; NETFX_CORE ; WINDOWS_UWP < / DefineConstants > <nl> - < NoWarn > ; 2008 < / NoWarn > <nl> - < DebugType > full < / DebugType > <nl> - < PlatformTarget > ARM < / PlatformTarget > <nl> - < UseVSHostingProcess > false < / UseVSHostingProcess > <nl> - < ErrorReport > prompt < / ErrorReport > <nl> - < Prefer32Bit > true < / Prefer32Bit > <nl> - < / PropertyGroup > <nl> - < PropertyGroup Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Release | ARM ' " > <nl> - < OutputPath > bin \ ARM \ Release \ < / OutputPath > <nl> - < DefineConstants > TRACE ; NETFX_CORE ; WINDOWS_UWP < / DefineConstants > <nl> - < Optimize > true < / Optimize > <nl> - < NoWarn > ; 2008 < / NoWarn > <nl> - < DebugType > pdbonly < / DebugType > <nl> - < PlatformTarget > ARM < / PlatformTarget > <nl> - < UseVSHostingProcess > false < / UseVSHostingProcess > <nl> - < ErrorReport > prompt < / ErrorReport > <nl> - < Prefer32Bit > true < / Prefer32Bit > <nl> - < UseDotNetNativeToolchain > true < / UseDotNetNativeToolchain > <nl> - < / PropertyGroup > <nl> - < PropertyGroup Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Debug | ARM64 ' " > <nl> - < DebugSymbols > true < / DebugSymbols > <nl> - < OutputPath > bin \ ARM64 \ Debug \ < / OutputPath > <nl> - < DefineConstants > DEBUG ; TRACE ; NETFX_CORE ; WINDOWS_UWP < / DefineConstants > <nl> - < NoWarn > ; 2008 < / NoWarn > <nl> - < DebugType > full < / DebugType > <nl> - < PlatformTarget > ARM64 < / PlatformTarget > <nl> - < UseVSHostingProcess > false < / UseVSHostingProcess > <nl> - < ErrorReport > prompt < / ErrorReport > <nl> - < Prefer32Bit > true < / Prefer32Bit > <nl> - < UseDotNetNativeToolchain > true < / UseDotNetNativeToolchain > <nl> - < / PropertyGroup > <nl> - < PropertyGroup Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Release | ARM64 ' " > <nl> - < OutputPath > bin \ ARM64 \ Release \ < / OutputPath > <nl> - < DefineConstants > TRACE ; NETFX_CORE ; WINDOWS_UWP < / DefineConstants > <nl> - < Optimize > true < / Optimize > <nl> - < NoWarn > ; 2008 < / NoWarn > <nl> - < DebugType > pdbonly < / DebugType > <nl> - < PlatformTarget > ARM64 < / PlatformTarget > <nl> - < UseVSHostingProcess > false < / UseVSHostingProcess > <nl> - < ErrorReport > prompt < / ErrorReport > <nl> - < Prefer32Bit > true < / Prefer32Bit > <nl> - < UseDotNetNativeToolchain > true < / UseDotNetNativeToolchain > <nl> - < / PropertyGroup > <nl> - < PropertyGroup Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Debug | x64 ' " > <nl> - < DebugSymbols > true < / DebugSymbols > <nl> - < OutputPath > bin \ x64 \ Debug \ < / OutputPath > <nl> - < DefineConstants > DEBUG ; TRACE ; NETFX_CORE ; WINDOWS_UWP < / DefineConstants > <nl> - < NoWarn > ; 2008 < / NoWarn > <nl> - < DebugType > full < / DebugType > <nl> - < PlatformTarget > x64 < / PlatformTarget > <nl> - < UseVSHostingProcess > false < / UseVSHostingProcess > <nl> - < ErrorReport > prompt < / ErrorReport > <nl> - < Prefer32Bit > true < / Prefer32Bit > <nl> - < / PropertyGroup > <nl> - < PropertyGroup Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Release | x64 ' " > <nl> - < OutputPath > bin \ x64 \ Release \ < / OutputPath > <nl> - < DefineConstants > TRACE ; NETFX_CORE ; WINDOWS_UWP < / DefineConstants > <nl> - < Optimize > true < / Optimize > <nl> - < NoWarn > ; 2008 < / NoWarn > <nl> - < DebugType > pdbonly < / DebugType > <nl> - < PlatformTarget > x64 < / PlatformTarget > <nl> - < UseVSHostingProcess > false < / UseVSHostingProcess > <nl> - < ErrorReport > prompt < / ErrorReport > <nl> - < Prefer32Bit > true < / Prefer32Bit > <nl> - < UseDotNetNativeToolchain > true < / UseDotNetNativeToolchain > <nl> - < / PropertyGroup > <nl> - < PropertyGroup > <nl> - < RestoreProjectStyle > PackageReference < / RestoreProjectStyle > <nl> - < / PropertyGroup > <nl> - < ItemGroup > <nl> - < Compile Include = " App . xaml . cs " > <nl> - < DependentUpon > App . xaml < / DependentUpon > <nl> - < / Compile > <nl> - < Compile Include = " MainPage . xaml . cs " > <nl> - < DependentUpon > MainPage . xaml < / DependentUpon > <nl> - < / Compile > <nl> - < Compile Include = " Properties \ AssemblyInfo . cs " / > <nl> - < / ItemGroup > <nl> - < ItemGroup > <nl> - < AppxManifest Include = " Package . appxmanifest " > <nl> - < SubType > Designer < / SubType > <nl> - < / AppxManifest > <nl> - < None Include = " Playground_TemporaryKey . pfx " / > <nl> - < / ItemGroup > <nl> - < ItemGroup > <nl> - < Content Include = " Properties \ Default . rd . xml " / > <nl> - < Content Include = " Assets \ LockScreenLogo . scale - 200 . png " / > <nl> - < Content Include = " Assets \ SplashScreen . scale - 200 . png " / > <nl> - < Content Include = " Assets \ Square150x150Logo . scale - 200 . png " / > <nl> - < Content Include = " Assets \ Square44x44Logo . scale - 200 . png " / > <nl> - < Content Include = " Assets \ Square44x44Logo . targetsize - 24_altform - unplated . png " / > <nl> - < Content Include = " Assets \ StoreLogo . png " / > <nl> - < Content Include = " Assets \ Wide310x150Logo . scale - 200 . png " / > <nl> - < / ItemGroup > <nl> - < ItemGroup > <nl> - < ApplicationDefinition Include = " App . xaml " > <nl> - < Generator > MSBuild : Compile < / Generator > <nl> - < SubType > Designer < / SubType > <nl> - < / ApplicationDefinition > <nl> - < Page Include = " MainPage . xaml " > <nl> - < Generator > MSBuild : Compile < / Generator > <nl> - < SubType > Designer < / SubType > <nl> - < / Page > <nl> - < / ItemGroup > <nl> - < ItemGroup > <nl> - < PackageReference Include = " Microsoft . NETCore . UniversalWindowsPlatform " > <nl> - < Version > 6 . 2 . 3 < / Version > <nl> - < / PackageReference > <nl> - < / ItemGroup > <nl> - < ItemGroup > <nl> - < ProjectReference Include = " . . \ ReactUWP \ ReactUWP . vcxproj " > <nl> - < Project > { 2d5d43d9 - cffc - 4c40 - b4cd - 02efb4e2742b } < / Project > <nl> - < Name > ReactUWP < / Name > <nl> - < / ProjectReference > <nl> - < / ItemGroup > <nl> - < PropertyGroup Condition = " ' $ ( VisualStudioVersion ) ' = = ' ' or ' $ ( VisualStudioVersion ) ' & lt ; ' 14 . 0 ' " > <nl> - < VisualStudioVersion > 14 . 0 < / VisualStudioVersion > <nl> - < / PropertyGroup > <nl> - < Import Project = " $ ( MSBuildExtensionsPath ) \ Microsoft \ WindowsXaml \ v $ ( VisualStudioVersion ) \ Microsoft . Windows . UI . Xaml . CSharp . targets " / > <nl> - < ! - - To modify your build process , add your task inside one of the targets below and uncomment it . <nl> - Other similar extension points exist , see Microsoft . Common . targets . <nl> - < Target Name = " BeforeBuild " > <nl> - < / Target > <nl> - < Target Name = " AfterBuild " > <nl> - < / Target > <nl> - - - > <nl> - < / Project > <nl> \ No newline at end of file <nl> deleted file mode 100644 <nl> index 976c85a925 . . 0000000000 <nl> mmm a / RNWCPP / Playground / Properties / AssemblyInfo . cs <nl> ppp / dev / null <nl> <nl> -  using System . Reflection ; <nl> - using System . Runtime . CompilerServices ; <nl> - using System . Runtime . InteropServices ; <nl> - <nl> - / / General Information about an assembly is controlled through the following <nl> - / / set of attributes . Change these attribute values to modify the information <nl> - / / associated with an assembly . <nl> - [ assembly : AssemblyTitle ( " Playground " ) ] <nl> - [ assembly : AssemblyDescription ( " " ) ] <nl> - [ assembly : AssemblyConfiguration ( " " ) ] <nl> - [ assembly : AssemblyCompany ( " " ) ] <nl> - [ assembly : AssemblyProduct ( " Playground " ) ] <nl> - [ assembly : AssemblyCopyright ( " Copyright © 2019 " ) ] <nl> - [ assembly : AssemblyTrademark ( " " ) ] <nl> - [ assembly : AssemblyCulture ( " " ) ] <nl> - <nl> - / / Version information for an assembly consists of the following four values : <nl> - / / <nl> - / / Major Version <nl> - / / Minor Version <nl> - / / Build Number <nl> - / / Revision <nl> - / / <nl> - / / You can specify all the values or you can default the Build and Revision Numbers <nl> - / / by using the ' * ' as shown below : <nl> - / / [ assembly : AssemblyVersion ( " 1 . 0 . * " ) ] <nl> - [ assembly : AssemblyVersion ( " 1 . 0 . 0 . 0 " ) ] <nl> - [ assembly : AssemblyFileVersion ( " 1 . 0 . 0 . 0 " ) ] <nl> - [ assembly : ComVisible ( false ) ] <nl> \ No newline at end of file <nl> deleted file mode 100644 <nl> index af00722cdf . . 0000000000 <nl> mmm a / RNWCPP / Playground / Properties / Default . rd . xml <nl> ppp / dev / null <nl> <nl> - < ! - - <nl> - This file contains Runtime Directives used by . NET Native . The defaults here are suitable for most <nl> - developers . However , you can modify these parameters to modify the behavior of the . NET Native <nl> - optimizer . <nl> - <nl> - Runtime Directives are documented at https : / / go . microsoft . com / fwlink / ? LinkID = 391919 <nl> - <nl> - To fully enable reflection for App1 . MyClass and all of its public / private members <nl> - < Type Name = " App1 . MyClass " Dynamic = " Required All " / > <nl> - <nl> - To enable dynamic creation of the specific instantiation of AppClass < T > over System . Int32 <nl> - < TypeInstantiation Name = " App1 . AppClass " Arguments = " System . Int32 " Activate = " Required Public " / > <nl> - <nl> - Using the Namespace directive to apply reflection policy to all the types in a particular namespace <nl> - < Namespace Name = " DataClasses . ViewModels " Serialize = " All " / > <nl> mmm > <nl> - <nl> - < Directives xmlns = " http : / / schemas . microsoft . com / netfx / 2013 / 01 / metadata " > <nl> - < Application > <nl> - < ! - - <nl> - An Assembly element with Name = " * Application * " applies to all assemblies in <nl> - the application package . The asterisks are not wildcards . <nl> - - - > <nl> - < Assembly Name = " * Application * " Dynamic = " Required All " / > <nl> - <nl> - <nl> - < ! - - Add your application specific runtime directives here . - - > <nl> - <nl> - <nl> - < / Application > <nl> - < / Directives > <nl> \ No newline at end of file <nl> deleted file mode 100644 <nl> index 22c60d8eca . . 0000000000 <nl> mmm a / RNWCPP / Playground / index . windows . js <nl> ppp / dev / null <nl> <nl> - / * * <nl> - * Sample React Native App <nl> - * https : / / github . com / facebook / react - native <nl> - * / <nl> - <nl> - import React , { Component } from ' react ' ; <nl> - import { <nl> - AppRegistry , <nl> - StyleSheet , <nl> - Text , <nl> - View , <nl> - } from ' react - native ' ; <nl> - <nl> - class Playground extends Component { <nl> - render ( ) { <nl> - return ( <nl> - < View style = { styles . container } > <nl> - < Text style = { styles . welcome } > <nl> - Welcome to React Native ! <nl> - < / Text > <nl> - < Text style = { styles . instructions } > <nl> - To get started , edit index . windows . js <nl> - < / Text > <nl> - < / View > <nl> - ) ; <nl> - } <nl> - } <nl> - <nl> - const styles = StyleSheet . create ( { <nl> - container : { <nl> - flex : 1 , <nl> - justifyContent : ' center ' , <nl> - alignItems : ' center ' , <nl> - backgroundColor : ' # F5FCFF ' , <nl> - } , <nl> - welcome : { <nl> - fontSize : 20 , <nl> - textAlign : ' center ' , <nl> - margin : 10 , <nl> - } , <nl> - instructions : { <nl> - textAlign : ' center ' , <nl> - color : ' # 333333 ' , <nl> - marginBottom : 5 , <nl> - } , <nl> - } ) ; <nl> - <nl> - AppRegistry . registerComponent ( ' Playground ' , ( ) = > Playground ) ; <nl> \ No newline at end of file <nl> mmm a / RNWCPP / ReactWindows . sln <nl> ppp b / RNWCPP / ReactWindows . sln <nl> Project ( " { 2150E333 - 8FDC - 42A3 - 9474 - 1A3956D46DE8 } " ) = " ReactNative " , " ReactNative " <nl> EndProject <nl> Project ( " { 2150E333 - 8FDC - 42A3 - 9474 - 1A3956D46DE8 } " ) = " Folly " , " Folly " , " { 41F31595 - 2F20 - 4D6B - A6CF - 60444415012A } " <nl> EndProject <nl> - Project ( " { FAE04EC0 - 301F - 11D3 - BF4B - 00C04F79EFBC } " ) = " Playground " , " Playground \ Playground . csproj " , " { D3F174D1 - 3C67 - 46D2 - A4C6 - E9540C37DDA0 } " <nl> - EndProject <nl> Global <nl> GlobalSection ( SharedMSBuildProjectFiles ) = preSolution <nl> Shared \ Shared . vcxitems * { 2049dbe9 - 8d13 - 42c9 - ae4b - 413ae38fffd0 } * SharedItemsImports = 9 <nl> Global <nl> Chakra \ Chakra . vcxitems * { c38970c0 - 5fbf - 4d69 - 90d8 - cbac225ae895 } * SharedItemsImports = 9 <nl> EndGlobalSection <nl> GlobalSection ( SolutionConfigurationPlatforms ) = preSolution <nl> - Debug | ARM = Debug | ARM <nl> - Debug | ARM64 = Debug | ARM64 <nl> Debug | x64 = Debug | x64 <nl> Debug | x86 = Debug | x86 <nl> - Release | ARM = Release | ARM <nl> - Release | ARM64 = Release | ARM64 <nl> + Debug | ARM = Debug | ARM <nl> Release | x64 = Release | x64 <nl> Release | x86 = Release | x86 <nl> + Release | ARM = Release | ARM <nl> EndGlobalSection <nl> GlobalSection ( ProjectConfigurationPlatforms ) = postSolution <nl> { 8B88FFAE - 4DBC - 49A2 - AFA5 - D2477D4AD189 } . Debug | ARM . ActiveCfg = Debug | ARM <nl> { 8B88FFAE - 4DBC - 49A2 - AFA5 - D2477D4AD189 } . Debug | ARM . Build . 0 = Debug | ARM <nl> { 8B88FFAE - 4DBC - 49A2 - AFA5 - D2477D4AD189 } . Debug | ARM . Deploy . 0 = Debug | ARM <nl> - { 8B88FFAE - 4DBC - 49A2 - AFA5 - D2477D4AD189 } . Debug | ARM64 . ActiveCfg = Debug | x86 <nl> { 8B88FFAE - 4DBC - 49A2 - AFA5 - D2477D4AD189 } . Debug | x64 . ActiveCfg = Debug | x64 <nl> { 8B88FFAE - 4DBC - 49A2 - AFA5 - D2477D4AD189 } . Debug | x64 . Build . 0 = Debug | x64 <nl> { 8B88FFAE - 4DBC - 49A2 - AFA5 - D2477D4AD189 } . Debug | x64 . Deploy . 0 = Debug | x64 <nl> Global <nl> { 8B88FFAE - 4DBC - 49A2 - AFA5 - D2477D4AD189 } . Release | ARM . ActiveCfg = Release | ARM <nl> { 8B88FFAE - 4DBC - 49A2 - AFA5 - D2477D4AD189 } . Release | ARM . Build . 0 = Release | ARM <nl> { 8B88FFAE - 4DBC - 49A2 - AFA5 - D2477D4AD189 } . Release | ARM . Deploy . 0 = Release | ARM <nl> - { 8B88FFAE - 4DBC - 49A2 - AFA5 - D2477D4AD189 } . Release | ARM64 . ActiveCfg = Release | x86 <nl> { 8B88FFAE - 4DBC - 49A2 - AFA5 - D2477D4AD189 } . Release | x64 . ActiveCfg = Release | x64 <nl> { 8B88FFAE - 4DBC - 49A2 - AFA5 - D2477D4AD189 } . Release | x64 . Build . 0 = Release | x64 <nl> { 8B88FFAE - 4DBC - 49A2 - AFA5 - D2477D4AD189 } . Release | x64 . Deploy . 0 = Release | x64 <nl> Global <nl> { 8B88FFAE - 4DBC - 49A2 - AFA5 - D2477D4AD189 } . Release | x86 . Deploy . 0 = Release | Win32 <nl> { A990658C - CE31 - 4BCC - 976F - 0FC6B1AF693D } . Debug | ARM . ActiveCfg = Debug | ARM <nl> { A990658C - CE31 - 4BCC - 976F - 0FC6B1AF693D } . Debug | ARM . Build . 0 = Debug | ARM <nl> - { A990658C - CE31 - 4BCC - 976F - 0FC6B1AF693D } . Debug | ARM64 . ActiveCfg = Debug | x86 <nl> { A990658C - CE31 - 4BCC - 976F - 0FC6B1AF693D } . Debug | x64 . ActiveCfg = Debug | x64 <nl> { A990658C - CE31 - 4BCC - 976F - 0FC6B1AF693D } . Debug | x64 . Build . 0 = Debug | x64 <nl> { A990658C - CE31 - 4BCC - 976F - 0FC6B1AF693D } . Debug | x86 . ActiveCfg = Debug | Win32 <nl> { A990658C - CE31 - 4BCC - 976F - 0FC6B1AF693D } . Debug | x86 . Build . 0 = Debug | Win32 <nl> { A990658C - CE31 - 4BCC - 976F - 0FC6B1AF693D } . Release | ARM . ActiveCfg = Release | ARM <nl> { A990658C - CE31 - 4BCC - 976F - 0FC6B1AF693D } . Release | ARM . Build . 0 = Release | ARM <nl> - { A990658C - CE31 - 4BCC - 976F - 0FC6B1AF693D } . Release | ARM64 . ActiveCfg = Release | x86 <nl> { A990658C - CE31 - 4BCC - 976F - 0FC6B1AF693D } . Release | x64 . ActiveCfg = Release | x64 <nl> { A990658C - CE31 - 4BCC - 976F - 0FC6B1AF693D } . Release | x64 . Build . 0 = Release | x64 <nl> { A990658C - CE31 - 4BCC - 976F - 0FC6B1AF693D } . Release | x86 . ActiveCfg = Release | Win32 <nl> { A990658C - CE31 - 4BCC - 976F - 0FC6B1AF693D } . Release | x86 . Build . 0 = Release | Win32 <nl> { 2D5D43D9 - CFFC - 4C40 - B4CD - 02EFB4E2742B } . Debug | ARM . ActiveCfg = Debug | ARM <nl> { 2D5D43D9 - CFFC - 4C40 - B4CD - 02EFB4E2742B } . Debug | ARM . Build . 0 = Debug | ARM <nl> - { 2D5D43D9 - CFFC - 4C40 - B4CD - 02EFB4E2742B } . Debug | ARM64 . ActiveCfg = Debug | x86 <nl> { 2D5D43D9 - CFFC - 4C40 - B4CD - 02EFB4E2742B } . Debug | x64 . ActiveCfg = Debug | x64 <nl> { 2D5D43D9 - CFFC - 4C40 - B4CD - 02EFB4E2742B } . Debug | x64 . Build . 0 = Debug | x64 <nl> { 2D5D43D9 - CFFC - 4C40 - B4CD - 02EFB4E2742B } . Debug | x86 . ActiveCfg = Debug | Win32 <nl> { 2D5D43D9 - CFFC - 4C40 - B4CD - 02EFB4E2742B } . Debug | x86 . Build . 0 = Debug | Win32 <nl> { 2D5D43D9 - CFFC - 4C40 - B4CD - 02EFB4E2742B } . Release | ARM . ActiveCfg = Release | ARM <nl> { 2D5D43D9 - CFFC - 4C40 - B4CD - 02EFB4E2742B } . Release | ARM . Build . 0 = Release | ARM <nl> - { 2D5D43D9 - CFFC - 4C40 - B4CD - 02EFB4E2742B } . Release | ARM64 . ActiveCfg = Release | x86 <nl> { 2D5D43D9 - CFFC - 4C40 - B4CD - 02EFB4E2742B } . Release | x64 . ActiveCfg = Release | x64 <nl> { 2D5D43D9 - CFFC - 4C40 - B4CD - 02EFB4E2742B } . Release | x64 . Build . 0 = Release | x64 <nl> { 2D5D43D9 - CFFC - 4C40 - B4CD - 02EFB4E2742B } . Release | x86 . ActiveCfg = Release | Win32 <nl> { 2D5D43D9 - CFFC - 4C40 - B4CD - 02EFB4E2742B } . Release | x86 . Build . 0 = Release | Win32 <nl> { A9D95A91 - 4DB7 - 4F72 - BEB6 - FE8A5C89BFBD } . Debug | ARM . ActiveCfg = Debug | ARM <nl> { A9D95A91 - 4DB7 - 4F72 - BEB6 - FE8A5C89BFBD } . Debug | ARM . Build . 0 = Debug | ARM <nl> - { A9D95A91 - 4DB7 - 4F72 - BEB6 - FE8A5C89BFBD } . Debug | ARM64 . ActiveCfg = Debug | x86 <nl> { A9D95A91 - 4DB7 - 4F72 - BEB6 - FE8A5C89BFBD } . Debug | x64 . ActiveCfg = Debug | x64 <nl> { A9D95A91 - 4DB7 - 4F72 - BEB6 - FE8A5C89BFBD } . Debug | x64 . Build . 0 = Debug | x64 <nl> { A9D95A91 - 4DB7 - 4F72 - BEB6 - FE8A5C89BFBD } . Debug | x86 . ActiveCfg = Debug | Win32 <nl> { A9D95A91 - 4DB7 - 4F72 - BEB6 - FE8A5C89BFBD } . Debug | x86 . Build . 0 = Debug | Win32 <nl> { A9D95A91 - 4DB7 - 4F72 - BEB6 - FE8A5C89BFBD } . Release | ARM . ActiveCfg = Release | ARM <nl> { A9D95A91 - 4DB7 - 4F72 - BEB6 - FE8A5C89BFBD } . Release | ARM . Build . 0 = Release | ARM <nl> - { A9D95A91 - 4DB7 - 4F72 - BEB6 - FE8A5C89BFBD } . Release | ARM64 . ActiveCfg = Release | x86 <nl> { A9D95A91 - 4DB7 - 4F72 - BEB6 - FE8A5C89BFBD } . Release | x64 . ActiveCfg = Release | x64 <nl> { A9D95A91 - 4DB7 - 4F72 - BEB6 - FE8A5C89BFBD } . Release | x64 . Build . 0 = Release | x64 <nl> { A9D95A91 - 4DB7 - 4F72 - BEB6 - FE8A5C89BFBD } . Release | x86 . ActiveCfg = Release | Win32 <nl> { A9D95A91 - 4DB7 - 4F72 - BEB6 - FE8A5C89BFBD } . Release | x86 . Build . 0 = Release | Win32 <nl> { 11C084A3 - A57C - 4296 - A679 - CAC17B603144 } . Debug | ARM . ActiveCfg = Debug | ARM <nl> { 11C084A3 - A57C - 4296 - A679 - CAC17B603144 } . Debug | ARM . Build . 0 = Debug | ARM <nl> - { 11C084A3 - A57C - 4296 - A679 - CAC17B603144 } . Debug | ARM64 . ActiveCfg = Debug | x86 <nl> { 11C084A3 - A57C - 4296 - A679 - CAC17B603144 } . Debug | x64 . ActiveCfg = Debug | x64 <nl> { 11C084A3 - A57C - 4296 - A679 - CAC17B603144 } . Debug | x64 . Build . 0 = Debug | x64 <nl> { 11C084A3 - A57C - 4296 - A679 - CAC17B603144 } . Debug | x86 . ActiveCfg = Debug | Win32 <nl> { 11C084A3 - A57C - 4296 - A679 - CAC17B603144 } . Debug | x86 . Build . 0 = Debug | Win32 <nl> { 11C084A3 - A57C - 4296 - A679 - CAC17B603144 } . Release | ARM . ActiveCfg = Release | ARM <nl> { 11C084A3 - A57C - 4296 - A679 - CAC17B603144 } . Release | ARM . Build . 0 = Release | ARM <nl> - { 11C084A3 - A57C - 4296 - A679 - CAC17B603144 } . Release | ARM64 . ActiveCfg = Release | x86 <nl> { 11C084A3 - A57C - 4296 - A679 - CAC17B603144 } . Release | x64 . ActiveCfg = Release | x64 <nl> { 11C084A3 - A57C - 4296 - A679 - CAC17B603144 } . Release | x64 . Build . 0 = Release | x64 <nl> { 11C084A3 - A57C - 4296 - A679 - CAC17B603144 } . Release | x86 . ActiveCfg = Release | Win32 <nl> { 11C084A3 - A57C - 4296 - A679 - CAC17B603144 } . Release | x86 . Build . 0 = Release | Win32 <nl> { 88BAB0FA - E1AC - 4DA7 - A30C - F91702A8EADB } . Debug | ARM . ActiveCfg = Debug | Win32 <nl> - { 88BAB0FA - E1AC - 4DA7 - A30C - F91702A8EADB } . Debug | ARM64 . ActiveCfg = Debug | x86 <nl> { 88BAB0FA - E1AC - 4DA7 - A30C - F91702A8EADB } . Debug | x64 . ActiveCfg = Debug | x64 <nl> { 88BAB0FA - E1AC - 4DA7 - A30C - F91702A8EADB } . Debug | x64 . Build . 0 = Debug | x64 <nl> { 88BAB0FA - E1AC - 4DA7 - A30C - F91702A8EADB } . Debug | x86 . ActiveCfg = Debug | Win32 <nl> { 88BAB0FA - E1AC - 4DA7 - A30C - F91702A8EADB } . Debug | x86 . Build . 0 = Debug | Win32 <nl> { 88BAB0FA - E1AC - 4DA7 - A30C - F91702A8EADB } . Release | ARM . ActiveCfg = Release | Win32 <nl> - { 88BAB0FA - E1AC - 4DA7 - A30C - F91702A8EADB } . Release | ARM64 . ActiveCfg = Release | x86 <nl> { 88BAB0FA - E1AC - 4DA7 - A30C - F91702A8EADB } . Release | x64 . ActiveCfg = Release | x64 <nl> { 88BAB0FA - E1AC - 4DA7 - A30C - F91702A8EADB } . Release | x64 . Build . 0 = Release | x64 <nl> { 88BAB0FA - E1AC - 4DA7 - A30C - F91702A8EADB } . Release | x86 . ActiveCfg = Release | Win32 <nl> { 88BAB0FA - E1AC - 4DA7 - A30C - F91702A8EADB } . Release | x86 . Build . 0 = Release | Win32 <nl> { 96CD24DC - 91C2 - 480A - BC26 - EE2250DA80D7 } . Debug | ARM . ActiveCfg = Debug | Win32 <nl> - { 96CD24DC - 91C2 - 480A - BC26 - EE2250DA80D7 } . Debug | ARM64 . ActiveCfg = Debug | x86 <nl> { 96CD24DC - 91C2 - 480A - BC26 - EE2250DA80D7 } . Debug | x64 . ActiveCfg = Debug | x64 <nl> { 96CD24DC - 91C2 - 480A - BC26 - EE2250DA80D7 } . Debug | x64 . Build . 0 = Debug | x64 <nl> { 96CD24DC - 91C2 - 480A - BC26 - EE2250DA80D7 } . Debug | x86 . ActiveCfg = Debug | Win32 <nl> { 96CD24DC - 91C2 - 480A - BC26 - EE2250DA80D7 } . Debug | x86 . Build . 0 = Debug | Win32 <nl> { 96CD24DC - 91C2 - 480A - BC26 - EE2250DA80D7 } . Release | ARM . ActiveCfg = Release | Win32 <nl> - { 96CD24DC - 91C2 - 480A - BC26 - EE2250DA80D7 } . Release | ARM64 . ActiveCfg = Release | x86 <nl> { 96CD24DC - 91C2 - 480A - BC26 - EE2250DA80D7 } . Release | x64 . ActiveCfg = Release | x64 <nl> { 96CD24DC - 91C2 - 480A - BC26 - EE2250DA80D7 } . Release | x64 . Build . 0 = Release | x64 <nl> { 96CD24DC - 91C2 - 480A - BC26 - EE2250DA80D7 } . Release | x86 . ActiveCfg = Release | Win32 <nl> { 96CD24DC - 91C2 - 480A - BC26 - EE2250DA80D7 } . Release | x86 . Build . 0 = Release | Win32 <nl> { 6F713CA6 - 6BFE - 4DF8 - 932D - 4E49745C967E } . Debug | ARM . ActiveCfg = Debug | Win32 <nl> - { 6F713CA6 - 6BFE - 4DF8 - 932D - 4E49745C967E } . Debug | ARM64 . ActiveCfg = Debug | x86 <nl> { 6F713CA6 - 6BFE - 4DF8 - 932D - 4E49745C967E } . Debug | x64 . ActiveCfg = Debug | x64 <nl> { 6F713CA6 - 6BFE - 4DF8 - 932D - 4E49745C967E } . Debug | x86 . ActiveCfg = Debug | Win32 <nl> { 6F713CA6 - 6BFE - 4DF8 - 932D - 4E49745C967E } . Release | ARM . ActiveCfg = Release | Win32 <nl> - { 6F713CA6 - 6BFE - 4DF8 - 932D - 4E49745C967E } . Release | ARM64 . ActiveCfg = Release | x86 <nl> { 6F713CA6 - 6BFE - 4DF8 - 932D - 4E49745C967E } . Release | x64 . ActiveCfg = Release | x64 <nl> { 6F713CA6 - 6BFE - 4DF8 - 932D - 4E49745C967E } . Release | x86 . ActiveCfg = Release | Win32 <nl> { 74085F13 - 2DDE - 45E5 - A0CA - 927AC9D0B953 } . Debug | ARM . ActiveCfg = Debug | Win32 <nl> - { 74085F13 - 2DDE - 45E5 - A0CA - 927AC9D0B953 } . Debug | ARM64 . ActiveCfg = Debug | x86 <nl> { 74085F13 - 2DDE - 45E5 - A0CA - 927AC9D0B953 } . Debug | x64 . ActiveCfg = Debug | x64 <nl> { 74085F13 - 2DDE - 45E5 - A0CA - 927AC9D0B953 } . Debug | x64 . Build . 0 = Debug | x64 <nl> { 74085F13 - 2DDE - 45E5 - A0CA - 927AC9D0B953 } . Debug | x86 . ActiveCfg = Debug | Win32 <nl> { 74085F13 - 2DDE - 45E5 - A0CA - 927AC9D0B953 } . Debug | x86 . Build . 0 = Debug | Win32 <nl> { 74085F13 - 2DDE - 45E5 - A0CA - 927AC9D0B953 } . Release | ARM . ActiveCfg = Release | Win32 <nl> - { 74085F13 - 2DDE - 45E5 - A0CA - 927AC9D0B953 } . Release | ARM64 . ActiveCfg = Release | x86 <nl> { 74085F13 - 2DDE - 45E5 - A0CA - 927AC9D0B953 } . Release | x64 . ActiveCfg = Release | x64 <nl> { 74085F13 - 2DDE - 45E5 - A0CA - 927AC9D0B953 } . Release | x64 . Build . 0 = Release | x64 <nl> { 74085F13 - 2DDE - 45E5 - A0CA - 927AC9D0B953 } . Release | x86 . ActiveCfg = Release | Win32 <nl> { 74085F13 - 2DDE - 45E5 - A0CA - 927AC9D0B953 } . Release | x86 . Build . 0 = Release | Win32 <nl> { 00830A8B - 97E0 - 4320 - B7B0 - 0078B405997B } . Debug | ARM . ActiveCfg = Debug | Win32 <nl> - { 00830A8B - 97E0 - 4320 - B7B0 - 0078B405997B } . Debug | ARM64 . ActiveCfg = Debug | x86 <nl> { 00830A8B - 97E0 - 4320 - B7B0 - 0078B405997B } . Debug | x64 . ActiveCfg = Debug | x64 <nl> { 00830A8B - 97E0 - 4320 - B7B0 - 0078B405997B } . Debug | x64 . Build . 0 = Debug | x64 <nl> { 00830A8B - 97E0 - 4320 - B7B0 - 0078B405997B } . Debug | x86 . ActiveCfg = Debug | Win32 <nl> { 00830A8B - 97E0 - 4320 - B7B0 - 0078B405997B } . Debug | x86 . Build . 0 = Debug | Win32 <nl> { 00830A8B - 97E0 - 4320 - B7B0 - 0078B405997B } . Release | ARM . ActiveCfg = Release | Win32 <nl> - { 00830A8B - 97E0 - 4320 - B7B0 - 0078B405997B } . Release | ARM64 . ActiveCfg = Release | x86 <nl> { 00830A8B - 97E0 - 4320 - B7B0 - 0078B405997B } . Release | x64 . ActiveCfg = Release | x64 <nl> { 00830A8B - 97E0 - 4320 - B7B0 - 0078B405997B } . Release | x64 . Build . 0 = Release | x64 <nl> { 00830A8B - 97E0 - 4320 - B7B0 - 0078B405997B } . Release | x86 . ActiveCfg = Release | Win32 <nl> { 00830A8B - 97E0 - 4320 - B7B0 - 0078B405997B } . Release | x86 . Build . 0 = Release | Win32 <nl> { FA4CDCC9 - D6CE - 4BD4 - 9FC8 - 33C6286C6EF3 } . Debug | ARM . ActiveCfg = Debug | Win32 <nl> - { FA4CDCC9 - D6CE - 4BD4 - 9FC8 - 33C6286C6EF3 } . Debug | ARM64 . ActiveCfg = Debug | x86 <nl> { FA4CDCC9 - D6CE - 4BD4 - 9FC8 - 33C6286C6EF3 } . Debug | x64 . ActiveCfg = Debug | x64 <nl> { FA4CDCC9 - D6CE - 4BD4 - 9FC8 - 33C6286C6EF3 } . Debug | x86 . ActiveCfg = Debug | Win32 <nl> { FA4CDCC9 - D6CE - 4BD4 - 9FC8 - 33C6286C6EF3 } . Release | ARM . ActiveCfg = Release | Win32 <nl> - { FA4CDCC9 - D6CE - 4BD4 - 9FC8 - 33C6286C6EF3 } . Release | ARM64 . ActiveCfg = Release | x86 <nl> { FA4CDCC9 - D6CE - 4BD4 - 9FC8 - 33C6286C6EF3 } . Release | x64 . ActiveCfg = Release | x64 <nl> { FA4CDCC9 - D6CE - 4BD4 - 9FC8 - 33C6286C6EF3 } . Release | x86 . ActiveCfg = Release | Win32 <nl> { 95048601 - C3DC - 475F - ADF8 - 7C0C764C10D5 } . Debug | ARM . ActiveCfg = Debug | Win32 <nl> - { 95048601 - C3DC - 475F - ADF8 - 7C0C764C10D5 } . Debug | ARM64 . ActiveCfg = Debug | x86 <nl> { 95048601 - C3DC - 475F - ADF8 - 7C0C764C10D5 } . Debug | x64 . ActiveCfg = Debug | x64 <nl> { 95048601 - C3DC - 475F - ADF8 - 7C0C764C10D5 } . Debug | x64 . Build . 0 = Debug | x64 <nl> { 95048601 - C3DC - 475F - ADF8 - 7C0C764C10D5 } . Debug | x86 . ActiveCfg = Debug | Win32 <nl> { 95048601 - C3DC - 475F - ADF8 - 7C0C764C10D5 } . Debug | x86 . Build . 0 = Debug | Win32 <nl> { 95048601 - C3DC - 475F - ADF8 - 7C0C764C10D5 } . Release | ARM . ActiveCfg = Release | Win32 <nl> - { 95048601 - C3DC - 475F - ADF8 - 7C0C764C10D5 } . Release | ARM64 . ActiveCfg = Release | x86 <nl> { 95048601 - C3DC - 475F - ADF8 - 7C0C764C10D5 } . Release | x64 . ActiveCfg = Release | x64 <nl> { 95048601 - C3DC - 475F - ADF8 - 7C0C764C10D5 } . Release | x64 . Build . 0 = Release | x64 <nl> { 95048601 - C3DC - 475F - ADF8 - 7C0C764C10D5 } . Release | x86 . ActiveCfg = Release | Win32 <nl> { 95048601 - C3DC - 475F - ADF8 - 7C0C764C10D5 } . Release | x86 . Build . 0 = Release | Win32 <nl> { E0D269B4 - D7F0 - 4C4E - 92CD - B2C06109A2BB } . Debug | ARM . ActiveCfg = Debug | Win32 <nl> - { E0D269B4 - D7F0 - 4C4E - 92CD - B2C06109A2BB } . Debug | ARM64 . ActiveCfg = Debug | x86 <nl> { E0D269B4 - D7F0 - 4C4E - 92CD - B2C06109A2BB } . Debug | x64 . ActiveCfg = Debug | x64 <nl> { E0D269B4 - D7F0 - 4C4E - 92CD - B2C06109A2BB } . Debug | x64 . Build . 0 = Debug | x64 <nl> { E0D269B4 - D7F0 - 4C4E - 92CD - B2C06109A2BB } . Debug | x86 . ActiveCfg = Debug | Win32 <nl> { E0D269B4 - D7F0 - 4C4E - 92CD - B2C06109A2BB } . Debug | x86 . Build . 0 = Debug | Win32 <nl> { E0D269B4 - D7F0 - 4C4E - 92CD - B2C06109A2BB } . Release | ARM . ActiveCfg = Release | Win32 <nl> - { E0D269B4 - D7F0 - 4C4E - 92CD - B2C06109A2BB } . Release | ARM64 . ActiveCfg = Release | x86 <nl> { E0D269B4 - D7F0 - 4C4E - 92CD - B2C06109A2BB } . Release | x64 . ActiveCfg = Release | x64 <nl> { E0D269B4 - D7F0 - 4C4E - 92CD - B2C06109A2BB } . Release | x64 . Build . 0 = Release | x64 <nl> { E0D269B4 - D7F0 - 4C4E - 92CD - B2C06109A2BB } . Release | x86 . ActiveCfg = Release | Win32 <nl> { E0D269B4 - D7F0 - 4C4E - 92CD - B2C06109A2BB } . Release | x86 . Build . 0 = Release | Win32 <nl> { 7119A2D9 - 2EC8 - 4070 - BAE9 - 85859B94B8BA } . Debug | ARM . ActiveCfg = Debug | ARM <nl> - { 7119A2D9 - 2EC8 - 4070 - BAE9 - 85859B94B8BA } . Debug | ARM64 . ActiveCfg = Debug | x86 <nl> { 7119A2D9 - 2EC8 - 4070 - BAE9 - 85859B94B8BA } . Debug | x64 . ActiveCfg = Debug | x64 <nl> { 7119A2D9 - 2EC8 - 4070 - BAE9 - 85859B94B8BA } . Debug | x86 . ActiveCfg = Debug | x86 <nl> { 7119A2D9 - 2EC8 - 4070 - BAE9 - 85859B94B8BA } . Release | ARM . ActiveCfg = Release | ARM <nl> - { 7119A2D9 - 2EC8 - 4070 - BAE9 - 85859B94B8BA } . Release | ARM64 . ActiveCfg = Release | x86 <nl> { 7119A2D9 - 2EC8 - 4070 - BAE9 - 85859B94B8BA } . Release | x64 . ActiveCfg = Release | x64 <nl> { 7119A2D9 - 2EC8 - 4070 - BAE9 - 85859B94B8BA } . Release | x86 . ActiveCfg = Release | x86 <nl> { 956D7AE7 - 0C64 - 44A1 - B5BC - 0936B23A3A32 } . Debug | ARM . ActiveCfg = Debug | Any CPU <nl> - { 956D7AE7 - 0C64 - 44A1 - B5BC - 0936B23A3A32 } . Debug | ARM64 . ActiveCfg = Debug | Any CPU <nl> { 956D7AE7 - 0C64 - 44A1 - B5BC - 0936B23A3A32 } . Debug | x64 . ActiveCfg = Debug | Any CPU <nl> { 956D7AE7 - 0C64 - 44A1 - B5BC - 0936B23A3A32 } . Debug | x86 . ActiveCfg = Debug | Any CPU <nl> { 956D7AE7 - 0C64 - 44A1 - B5BC - 0936B23A3A32 } . Release | ARM . ActiveCfg = Release | Any CPU <nl> - { 956D7AE7 - 0C64 - 44A1 - B5BC - 0936B23A3A32 } . Release | ARM64 . ActiveCfg = Release | Any CPU <nl> { 956D7AE7 - 0C64 - 44A1 - B5BC - 0936B23A3A32 } . Release | x64 . ActiveCfg = Release | Any CPU <nl> { 956D7AE7 - 0C64 - 44A1 - B5BC - 0936B23A3A32 } . Release | x86 . ActiveCfg = Release | Any CPU <nl> { 069986C5 - 80F3 - 4A56 - AF79 - F24EBB05941F } . Debug | ARM . ActiveCfg = Debug | Win32 <nl> - { 069986C5 - 80F3 - 4A56 - AF79 - F24EBB05941F } . Debug | ARM64 . ActiveCfg = Debug | x86 <nl> { 069986C5 - 80F3 - 4A56 - AF79 - F24EBB05941F } . Debug | x64 . ActiveCfg = Debug | x64 <nl> { 069986C5 - 80F3 - 4A56 - AF79 - F24EBB05941F } . Debug | x64 . Build . 0 = Debug | x64 <nl> { 069986C5 - 80F3 - 4A56 - AF79 - F24EBB05941F } . Debug | x64 . Deploy . 0 = Debug | x64 <nl> Global <nl> { 069986C5 - 80F3 - 4A56 - AF79 - F24EBB05941F } . Debug | x86 . Build . 0 = Debug | Win32 <nl> { 069986C5 - 80F3 - 4A56 - AF79 - F24EBB05941F } . Debug | x86 . Deploy . 0 = Debug | Win32 <nl> { 069986C5 - 80F3 - 4A56 - AF79 - F24EBB05941F } . Release | ARM . ActiveCfg = Release | Win32 <nl> - { 069986C5 - 80F3 - 4A56 - AF79 - F24EBB05941F } . Release | ARM64 . ActiveCfg = Release | x86 <nl> { 069986C5 - 80F3 - 4A56 - AF79 - F24EBB05941F } . Release | x64 . ActiveCfg = Release | x64 <nl> { 069986C5 - 80F3 - 4A56 - AF79 - F24EBB05941F } . Release | x64 . Build . 0 = Release | x64 <nl> { 069986C5 - 80F3 - 4A56 - AF79 - F24EBB05941F } . Release | x64 . Deploy . 0 = Release | x64 <nl> Global <nl> { 069986C5 - 80F3 - 4A56 - AF79 - F24EBB05941F } . Release | x86 . Deploy . 0 = Release | Win32 <nl> { 700A84FD - F92A - 43F1 - 8D06 - B0E0745DF9B5 } . Debug | ARM . ActiveCfg = Debug | ARM <nl> { 700A84FD - F92A - 43F1 - 8D06 - B0E0745DF9B5 } . Debug | ARM . Build . 0 = Debug | ARM <nl> - { 700A84FD - F92A - 43F1 - 8D06 - B0E0745DF9B5 } . Debug | ARM64 . ActiveCfg = Debug | x86 <nl> { 700A84FD - F92A - 43F1 - 8D06 - B0E0745DF9B5 } . Debug | x64 . ActiveCfg = Debug | x64 <nl> { 700A84FD - F92A - 43F1 - 8D06 - B0E0745DF9B5 } . Debug | x64 . Build . 0 = Debug | x64 <nl> { 700A84FD - F92A - 43F1 - 8D06 - B0E0745DF9B5 } . Debug | x86 . ActiveCfg = Debug | Win32 <nl> { 700A84FD - F92A - 43F1 - 8D06 - B0E0745DF9B5 } . Debug | x86 . Build . 0 = Debug | Win32 <nl> { 700A84FD - F92A - 43F1 - 8D06 - B0E0745DF9B5 } . Release | ARM . ActiveCfg = Release | ARM <nl> { 700A84FD - F92A - 43F1 - 8D06 - B0E0745DF9B5 } . Release | ARM . Build . 0 = Release | ARM <nl> - { 700A84FD - F92A - 43F1 - 8D06 - B0E0745DF9B5 } . Release | ARM64 . ActiveCfg = Release | x86 <nl> { 700A84FD - F92A - 43F1 - 8D06 - B0E0745DF9B5 } . Release | x64 . ActiveCfg = Release | x64 <nl> { 700A84FD - F92A - 43F1 - 8D06 - B0E0745DF9B5 } . Release | x64 . Build . 0 = Release | x64 <nl> { 700A84FD - F92A - 43F1 - 8D06 - B0E0745DF9B5 } . Release | x86 . ActiveCfg = Release | Win32 <nl> { 700A84FD - F92A - 43F1 - 8D06 - B0E0745DF9B5 } . Release | x86 . Build . 0 = Release | Win32 <nl> - { D3F174D1 - 3C67 - 46D2 - A4C6 - E9540C37DDA0 } . Debug | ARM . ActiveCfg = Debug | ARM <nl> - { D3F174D1 - 3C67 - 46D2 - A4C6 - E9540C37DDA0 } . Debug | ARM . Build . 0 = Debug | ARM <nl> - { D3F174D1 - 3C67 - 46D2 - A4C6 - E9540C37DDA0 } . Debug | ARM . Deploy . 0 = Debug | ARM <nl> - { D3F174D1 - 3C67 - 46D2 - A4C6 - E9540C37DDA0 } . Debug | ARM64 . ActiveCfg = Debug | ARM64 <nl> - { D3F174D1 - 3C67 - 46D2 - A4C6 - E9540C37DDA0 } . Debug | ARM64 . Build . 0 = Debug | ARM64 <nl> - { D3F174D1 - 3C67 - 46D2 - A4C6 - E9540C37DDA0 } . Debug | ARM64 . Deploy . 0 = Debug | ARM64 <nl> - { D3F174D1 - 3C67 - 46D2 - A4C6 - E9540C37DDA0 } . Debug | x64 . ActiveCfg = Debug | x64 <nl> - { D3F174D1 - 3C67 - 46D2 - A4C6 - E9540C37DDA0 } . Debug | x64 . Build . 0 = Debug | x64 <nl> - { D3F174D1 - 3C67 - 46D2 - A4C6 - E9540C37DDA0 } . Debug | x64 . Deploy . 0 = Debug | x64 <nl> - { D3F174D1 - 3C67 - 46D2 - A4C6 - E9540C37DDA0 } . Debug | x86 . ActiveCfg = Debug | x86 <nl> - { D3F174D1 - 3C67 - 46D2 - A4C6 - E9540C37DDA0 } . Debug | x86 . Build . 0 = Debug | x86 <nl> - { D3F174D1 - 3C67 - 46D2 - A4C6 - E9540C37DDA0 } . Debug | x86 . Deploy . 0 = Debug | x86 <nl> - { D3F174D1 - 3C67 - 46D2 - A4C6 - E9540C37DDA0 } . Release | ARM . ActiveCfg = Release | ARM <nl> - { D3F174D1 - 3C67 - 46D2 - A4C6 - E9540C37DDA0 } . Release | ARM . Build . 0 = Release | ARM <nl> - { D3F174D1 - 3C67 - 46D2 - A4C6 - E9540C37DDA0 } . Release | ARM . Deploy . 0 = Release | ARM <nl> - { D3F174D1 - 3C67 - 46D2 - A4C6 - E9540C37DDA0 } . Release | ARM64 . ActiveCfg = Release | ARM64 <nl> - { D3F174D1 - 3C67 - 46D2 - A4C6 - E9540C37DDA0 } . Release | ARM64 . Build . 0 = Release | ARM64 <nl> - { D3F174D1 - 3C67 - 46D2 - A4C6 - E9540C37DDA0 } . Release | ARM64 . Deploy . 0 = Release | ARM64 <nl> - { D3F174D1 - 3C67 - 46D2 - A4C6 - E9540C37DDA0 } . Release | x64 . ActiveCfg = Release | x64 <nl> - { D3F174D1 - 3C67 - 46D2 - A4C6 - E9540C37DDA0 } . Release | x64 . Build . 0 = Release | x64 <nl> - { D3F174D1 - 3C67 - 46D2 - A4C6 - E9540C37DDA0 } . Release | x64 . Deploy . 0 = Release | x64 <nl> - { D3F174D1 - 3C67 - 46D2 - A4C6 - E9540C37DDA0 } . Release | x86 . ActiveCfg = Release | x86 <nl> - { D3F174D1 - 3C67 - 46D2 - A4C6 - E9540C37DDA0 } . Release | x86 . Build . 0 = Release | x86 <nl> - { D3F174D1 - 3C67 - 46D2 - A4C6 - E9540C37DDA0 } . Release | x86 . Deploy . 0 = Release | x86 <nl> EndGlobalSection <nl> GlobalSection ( SolutionProperties ) = preSolution <nl> HideSolutionNode = FALSE <nl> Global <nl> { 956D7AE7 - 0C64 - 44A1 - B5BC - 0936B23A3A32 } = { F90FDFD1 - 2C76 - 4DCD - B248 - F6FB2BB15BDF } <nl> { F90FDFD1 - 2C76 - 4DCD - B248 - F6FB2BB15BDF } = { 978A75A5 - B8D2 - 4306 - 9AEF - D00793F33F5F } <nl> { 41F31595 - 2F20 - 4D6B - A6CF - 60444415012A } = { 978A75A5 - B8D2 - 4306 - 9AEF - D00793F33F5F } <nl> - { D3F174D1 - 3C67 - 46D2 - A4C6 - E9540C37DDA0 } = { 41B38B66 - 3EFF - 4661 - AEE3 - CD5E40F56BCD } <nl> EndGlobalSection <nl> GlobalSection ( ExtensibilityGlobals ) = postSolution <nl> SolutionGuid = { C1055EEE - 3785 - 4C0E - 8934 - FBAA21BFF90C } <nl>
Revert Playground checkin which broke our CI loop ( )
microsoft/react-native-windows
6f79a6d71b6b0b2b113c719f9514e2d6cfae9fc4
2019-03-23T06:11:15Z
mmm a / lib / Serialization / Deserialization . cpp <nl> ppp b / lib / Serialization / Deserialization . cpp <nl> class swift : : DeclDeserializer { <nl> <nl> Expected < Decl * > deserializeExtension ( ArrayRef < uint64_t > scratch , <nl> StringRef blobData ) { <nl> - TypeID baseID ; <nl> + TypeID extendedTypeID ; <nl> DeclContextID contextID ; <nl> bool isImplicit ; <nl> GenericSignatureID genericEnvID ; <nl> unsigned numConformances , numInherited ; <nl> ArrayRef < uint64_t > inheritedAndDependencyIDs ; <nl> <nl> - decls_block : : ExtensionLayout : : readRecord ( scratch , baseID , contextID , <nl> + decls_block : : ExtensionLayout : : readRecord ( scratch , extendedTypeID , contextID , <nl> isImplicit , genericEnvID , <nl> numConformances , numInherited , <nl> inheritedAndDependencyIDs ) ; <nl> class swift : : DeclDeserializer { <nl> <nl> MF . configureGenericEnvironment ( extension , genericEnvID ) ; <nl> <nl> - auto baseTy = MF . getType ( baseID ) ; <nl> + auto extendedType = MF . getType ( extendedTypeID ) ; <nl> ctx . evaluator . cacheOutput ( ExtendedTypeRequest { extension } , <nl> - std : : move ( baseTy ) ) ; <nl> + std : : move ( extendedType ) ) ; <nl> auto nominal = extension - > getExtendedNominal ( ) ; <nl> <nl> if ( isImplicit ) <nl> mmm a / lib / Serialization / Serialization . cpp <nl> ppp b / lib / Serialization / Serialization . cpp <nl> class Serializer : : DeclSerializer : public DeclVisitor < DeclSerializer > { <nl> verifyAttrSerializable ( extension ) ; <nl> <nl> auto contextID = S . addDeclContextRef ( extension - > getDeclContext ( ) ) ; <nl> - Type baseTy = extension - > getExtendedType ( ) ; <nl> - assert ( ! baseTy - > hasArchetype ( ) ) ; <nl> + Type extendedType = extension - > getExtendedType ( ) ; <nl> + assert ( ! extendedType - > hasArchetype ( ) ) ; <nl> <nl> / / FIXME : Use the canonical type here in order to minimize circularity <nl> / / issues at deserialization time . A known problematic case here is <nl> class Serializer : : DeclSerializer : public DeclVisitor < DeclSerializer > { <nl> / / <nl> / / We could limit this to only the problematic cases , but it seems like a <nl> / / simpler user model to just always desugar extension types . <nl> - baseTy = baseTy - > getCanonicalType ( ) ; <nl> + extendedType = extendedType - > getCanonicalType ( ) ; <nl> <nl> / / Make sure the base type has registered itself as a provider of generic <nl> / / parameters . <nl> - auto baseNominal = baseTy - > getAnyNominal ( ) ; <nl> - ( void ) S . addDeclRef ( baseNominal ) ; <nl> + auto firstNominalInExtendedType = extendedType - > getAnyNominal ( ) ; <nl> + ( void ) S . addDeclRef ( firstNominalInExtendedType ) ; <nl> <nl> auto conformances = extension - > getLocalConformances ( <nl> ConformanceLookupKind : : All , nullptr ) ; <nl> class Serializer : : DeclSerializer : public DeclVisitor < DeclSerializer > { <nl> size_t numInherited = inheritedAndDependencyTypes . size ( ) ; <nl> <nl> llvm : : SmallSetVector < Type , 4 > dependencies ; <nl> - collectDependenciesFromType ( dependencies , baseTy , / * excluding * / nullptr ) ; <nl> + collectDependenciesFromType ( <nl> + dependencies , extendedType , / * excluding * / nullptr ) ; <nl> for ( Requirement req : extension - > getGenericRequirements ( ) ) { <nl> collectDependenciesFromRequirement ( dependencies , req , <nl> / * excluding * / nullptr ) ; <nl> class Serializer : : DeclSerializer : public DeclVisitor < DeclSerializer > { <nl> <nl> unsigned abbrCode = S . DeclTypeAbbrCodes [ ExtensionLayout : : Code ] ; <nl> ExtensionLayout : : emitRecord ( S . Out , S . ScratchRecord , abbrCode , <nl> - S . addTypeRef ( baseTy ) , <nl> + S . addTypeRef ( extendedType ) , <nl> contextID . getOpaqueValue ( ) , <nl> extension - > isImplicit ( ) , <nl> S . addGenericEnvironmentRef ( <nl> class Serializer : : DeclSerializer : public DeclVisitor < DeclSerializer > { <nl> inheritedAndDependencyTypes ) ; <nl> <nl> bool isClassExtension = false ; <nl> - if ( baseNominal ) { <nl> - isClassExtension = isa < ClassDecl > ( baseNominal ) | | <nl> - isa < ProtocolDecl > ( baseNominal ) ; <nl> + if ( firstNominalInExtendedType ) { <nl> + isClassExtension = isa < ClassDecl > ( firstNominalInExtendedType ) | | <nl> + isa < ProtocolDecl > ( firstNominalInExtendedType ) ; <nl> } <nl> <nl> / / Extensions of nested generic types have multiple generic parameter <nl>
[ NFC ] Rename ' baseFoo ' to ' extendedTypeFoo ' in ( de ) serialization .
apple/swift
b9dd9f78edbedcaa0939b11065f1870e4e8e5502
2019-09-05T00:20:26Z
mmm a / xbmc / platform / win32 / WIN32Util . h <nl> ppp b / xbmc / platform / win32 / WIN32Util . h <nl> <nl> # include < vector > <nl> <nl> # include " URL . h " <nl> - # include " MediaSource . h " <nl> # include " utils / Geometry . h " <nl> <nl> # define BONJOUR_EVENT ( WM_USER + 0x100 ) / / Message sent to the Window when a Bonjour event occurs . <nl> mmm a / xbmc / platform / win32 / filesystem / Win32File . cpp <nl> ppp b / xbmc / platform / win32 / filesystem / Win32File . cpp <nl> <nl> # include " platform / win32 / WIN32Util . h " <nl> # include " platform / win32 / CharsetConverter . h " <nl> # include " utils / log . h " <nl> - # include " utils / SystemInfo . h " <nl> # include " utils / auto_buffer . h " <nl> <nl> # include < Windows . h > <nl> mmm a / xbmc / platform / win32 / filesystem / Win32SMBDirectory . cpp <nl> ppp b / xbmc / platform / win32 / filesystem / Win32SMBDirectory . cpp <nl> <nl> # include " FileItem . h " <nl> # include " platform / win32 / WIN32Util . h " <nl> # include " platform / win32 / CharsetConverter . h " <nl> - # include " utils / SystemInfo . h " <nl> # include " utils / CharsetConverter . h " <nl> # include " URL . h " <nl> # include " utils / log . h " <nl>
[ platform ] Cleanup includes .
xbmc/xbmc
90415effa6b22dfb751a8251203f9356815c1b85
2018-10-18T14:09:50Z
mmm a / src / mongo / client / remote_command_retry_scheduler_test . cpp <nl> ppp b / src / mongo / client / remote_command_retry_scheduler_test . cpp <nl> TEST_F ( RemoteCommandRetrySchedulerTest , <nl> request , <nl> [ & result , <nl> sharedCallbackData ] ( const executor : : TaskExecutor : : RemoteCommandCallbackArgs & rcba ) { <nl> - LOGV2 ( 20156 , <nl> - " setting result to { rcba_response_status } " , <nl> - " rcba_response_status " _attr = rcba . response . status ) ; <nl> + LOGV2 ( 20156 , " Setting result " , " result " _attr = rcba . response . status ) ; <nl> result = rcba . response . status ; <nl> } , <nl> std : : move ( policy ) ) ; <nl> mmm a / src / mongo / client / remote_command_targeter_rs . cpp <nl> ppp b / src / mongo / client / remote_command_targeter_rs . cpp <nl> RemoteCommandTargeterRS : : RemoteCommandTargeterRS ( const std : : string & rsName , <nl> std : : set < HostAndPort > seedServers ( seedHosts . begin ( ) , seedHosts . end ( ) ) ; <nl> _rsMonitor = ReplicaSetMonitor : : createIfNeeded ( rsName , seedServers ) ; <nl> <nl> - LOGV2_DEBUG ( <nl> - 20157 , <nl> - 1 , <nl> - " Started targeter for " <nl> - " { ConnectionString_forReplicaSet_rsName_std_vector_HostAndPort_seedServers_begin_ " <nl> - " seedServers_end } " , <nl> - " ConnectionString_forReplicaSet_rsName_std_vector_HostAndPort_seedServers_begin_seedServers_end " _attr = <nl> - ConnectionString : : forReplicaSet ( <nl> - rsName , std : : vector < HostAndPort > ( seedServers . begin ( ) , seedServers . end ( ) ) ) ) ; <nl> + LOGV2_DEBUG ( 20157 , <nl> + 1 , <nl> + " Started targeter for { connectionString } " , <nl> + " Started targeter " , <nl> + " connectionString " _attr = ConnectionString : : forReplicaSet ( <nl> + rsName , std : : vector < HostAndPort > ( seedServers . begin ( ) , seedServers . end ( ) ) ) ) ; <nl> } <nl> <nl> ConnectionString RemoteCommandTargeterRS : : connectionString ( ) { <nl> mmm a / src / mongo / client / replica_set_change_notifier . cpp <nl> ppp b / src / mongo / client / replica_set_change_notifier . cpp <nl> void ReplicaSetChangeNotifier : : _addListener ( std : : shared_ptr < Listener > listener ) <nl> } <nl> <nl> void ReplicaSetChangeNotifier : : onFoundSet ( const std : : string & name ) noexcept { <nl> - LOGV2_DEBUG ( 20158 , 2 , " Signaling found set { name } " , " name " _attr = name ) ; <nl> + LOGV2_DEBUG ( 20158 , <nl> + 2 , <nl> + " Signaling found set { replicaSet } " , <nl> + " Signaling found set " , <nl> + " replicaSet " _attr = name ) ; <nl> <nl> stdx : : unique_lock < Latch > lk ( _mutex ) ; <nl> <nl> void ReplicaSetChangeNotifier : : onPossibleSet ( ConnectionString connectionString ) <nl> LOGV2_DEBUG ( 20159 , <nl> 2 , <nl> " Signaling possible set { connectionString } " , <nl> + " Signaling possible set " , <nl> " connectionString " _attr = connectionString ) ; <nl> <nl> const auto & name = connectionString . getSetName ( ) ; <nl> void ReplicaSetChangeNotifier : : onConfirmedSet ( ConnectionString connectionString , <nl> LOGV2_DEBUG ( 20160 , <nl> 2 , <nl> " Signaling confirmed set { connectionString } with primary { primary } " , <nl> + " Signaling confirmed set with primary " , <nl> " connectionString " _attr = connectionString , <nl> " primary " _attr = primary ) ; <nl> <nl> void ReplicaSetChangeNotifier : : onConfirmedSet ( ConnectionString connectionString , <nl> } <nl> <nl> void ReplicaSetChangeNotifier : : onDroppedSet ( const std : : string & name ) noexcept { <nl> - LOGV2_DEBUG ( 20161 , 2 , " Signaling dropped set { name } " , " name " _attr = name ) ; <nl> + LOGV2_DEBUG ( 20161 , <nl> + 2 , <nl> + " Signaling dropped set { replicaSet } " , <nl> + " Signaling dropped set " , <nl> + " replicaSet " _attr = name ) ; <nl> <nl> stdx : : unique_lock < Latch > lk ( _mutex ) ; <nl> <nl> mmm a / src / mongo / client / replica_set_monitor_manager . cpp <nl> ppp b / src / mongo / client / replica_set_monitor_manager . cpp <nl> void ReplicaSetMonitorManager : : removeMonitor ( StringData setName ) { <nl> _monitors . erase ( it ) ; <nl> LOGV2 ( 20187 , <nl> " Removed ReplicaSetMonitor for replica set { replicaSet } " , <nl> + " Removed ReplicaSetMonitor for replica set " , <nl> " replicaSet " _attr = setName ) ; <nl> } <nl> } <nl> mmm a / src / mongo / client / scanning_replica_set_monitor . cpp <nl> ppp b / src / mongo / client / scanning_replica_set_monitor . cpp <nl> void ScanningReplicaSetMonitor : : SetState : : rescheduleRefresh ( SchedulingStrategy s <nl> if ( isDropped ) { / / already removed so no need to refresh <nl> LOGV2_DEBUG ( 24070 , <nl> 1 , <nl> - " Stopping refresh for replica set { name } because it ' s removed " , <nl> - " name " _attr = name ) ; <nl> + " Stopping refresh for replica set { replicaSet } because it ' s removed " , <nl> + " Stopping refresh for replica set because it ' s removed " , <nl> + " replicaSet " _attr = name ) ; <nl> return ; <nl> } <nl> <nl> void ScanningReplicaSetMonitor : : SetState : : rescheduleRefresh ( SchedulingStrategy s <nl> LOGV2_DEBUG ( 24071 , <nl> 1 , <nl> " Next replica set scan scheduled for { nextScanTime } " , <nl> + " Next replica set scan scheduled " , <nl> " nextScanTime " _attr = nextScanTime ) ; <nl> auto swHandle = scheduleWorkAt ( nextScanTime , [ this ] ( const CallbackArgs & cbArgs ) { <nl> if ( cbArgs . myHandle ! = refresherHandle ) <nl> void ScanningReplicaSetMonitor : : SetState : : rescheduleRefresh ( SchedulingStrategy s <nl> if ( ErrorCodes : : isShutdownError ( swHandle . getStatus ( ) . code ( ) ) ) { <nl> LOGV2_DEBUG ( 24072 , <nl> 1 , <nl> - " Cant schedule refresh for { name } . Executor shutdown in progress " , <nl> - " name " _attr = name ) ; <nl> + " Can ' t schedule refresh for { replicaSet } . Executor shutdown in progress " , <nl> + " Can ' t schedule refresh for replica set . Executor shutdown in progress " , <nl> + " replicaSet " _attr = name ) ; <nl> return ; <nl> } <nl> <nl> if ( ! swHandle . isOK ( ) ) { <nl> LOGV2_FATAL ( 40140 , <nl> - " Can ' t continue refresh for replica set { name } due to { swHandle_getStatus } " , <nl> - " name " _attr = name , <nl> - " swHandle_getStatus " _attr = redact ( swHandle . getStatus ( ) ) ) ; <nl> + " Can ' t continue refresh for replica set { replicaSet } : { error } " , <nl> + " Can ' t continue refresh for replica set " , <nl> + " error " _attr = redact ( swHandle . getStatus ( ) ) , <nl> + " replicaSet " _attr = name ) ; <nl> } <nl> <nl> refresherHandle = std : : move ( swHandle . getValue ( ) ) ; <nl> void Refresher : : scheduleNetworkRequests ( ) { <nl> } <nl> <nl> if ( ! swHandle . isOK ( ) ) { <nl> - LOGV2_FATAL ( <nl> - 31176 , <nl> - " Can ' t continue scan for replica set { set_name } due to { swHandle_getStatus } " , <nl> - " set_name " _attr = _set - > name , <nl> - " swHandle_getStatus " _attr = redact ( swHandle . getStatus ( ) ) ) ; <nl> + LOGV2_FATAL ( 31176 , <nl> + " Can ' t continue scan for replica set { replicaSet } : { error } " , <nl> + " Can ' t continue scan for replica set " , <nl> + " error " _attr = redact ( swHandle . getStatus ( ) ) , <nl> + " replicaSet " _attr = _set - > name ) ; <nl> } <nl> <nl> node - > scheduledIsMasterHandle = uassertStatusOK ( std : : move ( swHandle ) ) ; <nl> Refresher : : NextStep Refresher : : getNextStep ( ) { <nl> if ( _scan - > hostsToScan . empty ( ) ) { <nl> / / We ' ve tried all hosts we can , so nothing more to do in this round . <nl> if ( ! _scan - > foundUpMaster ) { <nl> - LOGV2_WARNING ( <nl> - 24089 , " Unable to reach primary for set { set_name } " , " set_name " _attr = _set - > name ) ; <nl> + LOGV2_WARNING ( 24089 , <nl> + " Unable to reach primary for replica set { replicaSet } " , <nl> + " Unable to reach primary for replica set " , <nl> + " replicaSet " _attr = _set - > name ) ; <nl> <nl> / / Since we ' ve talked to everyone we could but still didn ' t find a primary , we <nl> / / do the best we can , and assume all unconfirmedReplies are actually from nodes <nl> Refresher : : NextStep Refresher : : getNextStep ( ) { <nl> auto nScans = _set - > consecutiveFailedScans + + ; <nl> if ( nScans < = 10 | | nScans % 10 = = 0 ) { <nl> LOGV2 ( 24073 , <nl> - " Cannot reach any nodes for set { set_name } . Please check network " <nl> + " Cannot reach any nodes for replica set { replicaSet } . Please check network " <nl> " connectivity and the status of the set . This has happened for " <nl> - " { set_consecutiveFailedScans } checks in a row . " , <nl> - " set_name " _attr = _set - > name , <nl> - " set_consecutiveFailedScans " _attr = _set - > consecutiveFailedScans ) ; <nl> + " { numConsecutiveFailedScans } checks in a row . " , <nl> + " Cannot reach any nodes for replica set . Please check network connectivity " <nl> + " and the status of the set . A number of consecutive scan checks have failed " , <nl> + " replicaSet " _attr = _set - > name , <nl> + " numConsecutiveFailedScans " _attr = _set - > consecutiveFailedScans ) ; <nl> } <nl> } <nl> <nl> Refresher : : NextStep Refresher : : getNextStep ( ) { <nl> <nl> LOGV2_DEBUG ( 24074 , <nl> 1 , <nl> - " Refreshing replica set { set_name } took { scan_timer_millis } ms " , <nl> - " set_name " _attr = _set - > name , <nl> - " scan_timer_millis " _attr = _scan - > timer . millis ( ) ) ; <nl> + " Refreshing replica set { replicaSet } took { duration } " , <nl> + " Replica set refreshed " , <nl> + " duration " _attr = Milliseconds ( _scan - > timer . millis ( ) ) , <nl> + " replicaSet " _attr = _set - > name ) ; <nl> <nl> return NextStep ( NextStep : : DONE ) ; <nl> } <nl> void Refresher : : receivedIsMaster ( const HostAndPort & from , <nl> _scan - > possibleNodes . insert ( reply . members . begin ( ) , reply . members . end ( ) ) ; <nl> } <nl> } else { <nl> - LOGV2_ERROR ( 24091 , <nl> - " replset name mismatch : expected \ " { set_name } \ " , but remote node { from } " <nl> - " has replset name \ " { reply_setName } \ " , ismaster : { replyObj } " , <nl> - " set_name " _attr = _set - > name , <nl> - " from " _attr = from , <nl> - " reply_setName " _attr = reply . setName , <nl> - " replyObj " _attr = replyObj ) ; <nl> + LOGV2_ERROR ( <nl> + 24091 , <nl> + " replset name mismatch : expected { expectedSetName } , but remote node " <nl> + " { fromRemoteNode } has replset name { receivedSetName } , isMaster : { isMasterReply } " , <nl> + " replset name mismatch . The expected set name does not match the set name " <nl> + " received from the remote node " , <nl> + " expectedSetName " _attr = _set - > name , <nl> + " fromRemoteNode " _attr = from , <nl> + " receivedSetName " _attr = reply . setName , <nl> + " isMasterReply " _attr = replyObj ) ; <nl> } <nl> <nl> failedHost ( from , <nl> Status Refresher : : receivedIsMasterFromMaster ( const HostAndPort & from , const IsMa <nl> ! std : : equal ( _set - > nodes . begin ( ) , _set - > nodes . end ( ) , reply . members . begin ( ) , hostsEqual ) ) { <nl> LOGV2_DEBUG ( 24075 , <nl> 2 , <nl> - " Adjusting nodes in our view of replica set { set_name } based on master reply : " <nl> - " { reply_raw } " , <nl> - " set_name " _attr = _set - > name , <nl> - " reply_raw " _attr = redact ( reply . raw ) ) ; <nl> + " Adjusting nodes in our view of replica set { replicaSet } based on isMaster " <nl> + " reply : { isMasterReply } " , <nl> + " Adjusting nodes in our view of the replica set based on isMaster reply " , <nl> + " replicaSet " _attr = _set - > name , <nl> + " isMasterReply " _attr = redact ( reply . raw ) ) ; <nl> <nl> / / remove non - members from _set - > nodes <nl> _set - > nodes . erase ( <nl> Status Refresher : : receivedIsMasterFromMaster ( const HostAndPort & from , const IsMa <nl> / / LogLevel can be pretty low , since replica set reconfiguration should be pretty rare <nl> / / and we want to record our changes <nl> LOGV2 ( 24076 , <nl> - " Confirmed replica set for { set_name } is { set_seedConnStr } " , <nl> - " set_name " _attr = _set - > name , <nl> - " set_seedConnStr " _attr = _set - > seedConnStr ) ; <nl> + " Confirmed replica set for { replicaSet } is { connectionString } " , <nl> + " Confirmed replica set " , <nl> + " replicaSet " _attr = _set - > name , <nl> + " connectionString " _attr = _set - > seedConnStr ) ; <nl> <nl> _set - > notifier - > onConfirmedSet ( _set - > seedConnStr , reply . host , reply . passives ) ; <nl> } <nl> void IsMasterReply : : parse ( const BSONObj & obj ) { <nl> } catch ( const std : : exception & e ) { <nl> ok = false ; <nl> LOGV2 ( 24077 , <nl> - " exception while parsing isMaster reply : { e_what } { obj } " , <nl> - " e_what " _attr = e . what ( ) , <nl> - " obj " _attr = obj ) ; <nl> + " Exception while parsing isMaster reply : { error } { isMasterReply } " , <nl> + " Exception while parsing isMaster reply " , <nl> + " error " _attr = e . what ( ) , <nl> + " isMasterReply " _attr = obj ) ; <nl> } <nl> } <nl> <nl> Node : : Node ( const HostAndPort & host ) : host ( host ) , latencyMicros ( unknownLatency ) <nl> void Node : : markFailed ( const Status & status ) { <nl> if ( isUp ) { <nl> LOGV2 ( 24078 , <nl> - " Marking host { host } as failed { causedBy_status } " , <nl> + " Marking host { host } as failed : { error } " , <nl> + " Marking host as failed " , <nl> " host " _attr = host , <nl> - " causedBy_status " _attr = causedBy ( redact ( status ) ) ) ; <nl> + " error " _attr = redact ( status ) ) ; <nl> <nl> isUp = false ; <nl> } <nl> void Node : : markFailed ( const Status & status ) { <nl> <nl> bool Node : : matches ( const ReadPreference pref ) const { <nl> if ( ! isUp ) { <nl> - LOGV2_DEBUG ( 24079 , 3 , " Host { host } is not up " , " host " _attr = host ) ; <nl> + LOGV2_DEBUG ( 24079 , 3 , " Host { host } is not up " , " Host is not up " , " host " _attr = host ) ; <nl> return false ; <nl> } <nl> <nl> LOGV2_DEBUG ( 24080 , <nl> 3 , <nl> - " Host { host } is { isMaster_primary_not_primary } " , <nl> + " Host { host } is primary ? { isPrimary } " , <nl> + " Host is primary ? " , <nl> " host " _attr = host , <nl> - " isMaster_primary_not_primary " _attr = ( isMaster ? " primary " : " not primary " ) ) ; <nl> + " isPrimary " _attr = isMaster ) ; <nl> if ( pref = = ReadPreference : : PrimaryOnly ) { <nl> return isMaster ; <nl> } <nl> void Node : : update ( const IsMasterReply & reply ) { <nl> <nl> LOGV2_DEBUG ( 24081 , <nl> 3 , <nl> - " Updating host { host } based on ismaster reply : { reply_raw } " , <nl> + " Updating host { host } based on isMaster reply : { isMasterReply } " , <nl> + " Updating host based on isMaster reply " , <nl> " host " _attr = host , <nl> - " reply_raw " _attr = reply . raw ) ; <nl> + " isMasterReply " _attr = reply . raw ) ; <nl> <nl> / / Nodes that are hidden or neither master or secondary are considered down since we can ' t <nl> / / send any operations to them . <nl> void Node : : update ( const IsMasterReply & reply ) { <nl> <nl> LOGV2_DEBUG ( 24082 , <nl> 3 , <nl> - " Updating { host } lastWriteDate to { reply_lastWriteDate } " , <nl> + " Updating { host } lastWriteDate to { lastWriteDate } " , <nl> + " Updating host lastWriteDate " , <nl> " host " _attr = host , <nl> - " reply_lastWriteDate " _attr = reply . lastWriteDate ) ; <nl> + " lastWriteDate " _attr = reply . lastWriteDate ) ; <nl> lastWriteDate = reply . lastWriteDate ; <nl> <nl> LOGV2_DEBUG ( 24083 , <nl> 3 , <nl> - " Updating { host } opTime to { reply_opTime } " , <nl> + " Updating { host } opTime to { opTime } " , <nl> + " Updating host opTime " , <nl> " host " _attr = host , <nl> - " reply_opTime " _attr = reply . opTime ) ; <nl> + " opTime " _attr = reply . opTime ) ; <nl> opTime = reply . opTime ; <nl> lastWriteDateUpdateTime = Date_t : : now ( ) ; <nl> } <nl> SetState : : SetState ( const MongoURI & uri , <nl> <nl> if ( name . empty ( ) ) <nl> LOGV2_WARNING ( 24090 , <nl> - " Replica set name empty , first node : { seedNodes_begin } " , <nl> - " seedNodes_begin " _attr = * ( seedNodes . begin ( ) ) ) ; <nl> + " Replica set name empty , first node : { firstNode } " , <nl> + " Replica set name empty , adding first node " , <nl> + " firstNode " _attr = * ( seedNodes . begin ( ) ) ) ; <nl> <nl> / / This adds the seed hosts to nodes , but they aren ' t usable for anything except seeding a <nl> / / scan until we start a scan and either find a master or contact all hosts without finding <nl> Node * SetState : : findOrCreateNode ( const HostAndPort & host ) { <nl> if ( it = = nodes . end ( ) | | it - > host ! = host ) { <nl> LOGV2_DEBUG ( 24084 , <nl> 2 , <nl> - " Adding node { host } to our view of replica set { name } " , <nl> + " Adding node { host } to our view of replica set { replicaSet } " , <nl> + " Adding node to our view of the replica set " , <nl> " host " _attr = host , <nl> - " name " _attr = name ) ; <nl> + " replicaSet " _attr = name ) ; <nl> it = nodes . insert ( it , Node ( host ) ) ; <nl> } <nl> return & ( * it ) ; <nl> void SetState : : updateNodeIfInNodes ( const IsMasterReply & reply ) { <nl> if ( ! node ) { <nl> LOGV2_DEBUG ( 24085 , <nl> 2 , <nl> - " Skipping application of ismaster reply from { reply_host } since it isn ' t a " <nl> - " confirmed member of set { name } " , <nl> - " reply_host " _attr = reply . host , <nl> - " name " _attr = name ) ; <nl> + " Skipping application of isMaster reply from { host } since it isn ' t a " <nl> + " confirmed member of set { replicaSet } " , <nl> + " Skipping application of isMaster reply from host since it isn ' t a confirmed " <nl> + " member of the replica set " , <nl> + " host " _attr = reply . host , <nl> + " replicaSet " _attr = name ) ; <nl> return ; <nl> } <nl> <nl> void SetState : : notify ( ) { <nl> it - > promise . emplaceValue ( std : : move ( match ) ) ; <nl> waiters . erase ( it + + ) ; <nl> } else if ( it - > deadline < = cachedNow ) { <nl> - LOGV2_DEBUG ( <nl> - 24086 , <nl> - 1 , <nl> - " Unable to statisfy read preference { it_criteria } by deadline { it_deadline } " , <nl> - " it_criteria " _attr = it - > criteria , <nl> - " it_deadline " _attr = it - > deadline ) ; <nl> + LOGV2_DEBUG ( 24086 , <nl> + 1 , <nl> + " Unable to statisfy read preference { criteria } by deadline { deadline } " , <nl> + " Unable to statisfy read preference by deadline " , <nl> + " criteria " _attr = it - > criteria , <nl> + " deadline " _attr = it - > deadline ) ; <nl> it - > promise . setError ( makeUnsatisfedReadPrefError ( it - > criteria ) ) ; <nl> waiters . erase ( it + + ) ; <nl> } else if ( shouldQuickFail ) { <nl> mmm a / src / mongo / client / scanning_replica_set_monitor_scan_test . cpp <nl> ppp b / src / mongo / client / scanning_replica_set_monitor_scan_test . cpp <nl> TEST_F ( MinOpTimeTest , MinOpTimeIgnored ) { <nl> class Listener : public ReplicaSetChangeNotifier : : Listener { <nl> public : <nl> void logEvent ( StringData name , const Key & key ) { <nl> - LOGV2 ( 20190 , " { name } : { key } " , " name " _attr = name , " key " _attr = key ) ; <nl> + LOGV2 ( 20190 , " Replica set change listener event " , " name " _attr = name , " key " _attr = key ) ; <nl> } <nl> void logEvent ( StringData name , const State & state ) { <nl> LOGV2 ( 20191 , <nl> - " { name } : ( { state_generation } ) { state_connStr } | { state_primary } " , <nl> + " Replica set change listener event " , <nl> " name " _attr = name , <nl> - " state_generation " _attr = state . generation , <nl> - " state_connStr " _attr = state . connStr , <nl> - " state_primary " _attr = state . primary ) ; <nl> + " stateGeneration " _attr = state . generation , <nl> + " stateConnStr " _attr = state . connStr , <nl> + " statePrimary " _attr = state . primary ) ; <nl> } <nl> <nl> void onFoundSet ( const Key & key ) noexcept override { <nl> mmm a / src / mongo / client / scanning_replica_set_monitor_test_concurrent . cpp <nl> ppp b / src / mongo / client / scanning_replica_set_monitor_test_concurrent . cpp <nl> class ScanningReplicaSetMonitorConcurrentTest : public ThreadPoolExecutorTest { <nl> _numChecks [ request . target ] + + ; <nl> LOGV2_DEBUG ( 20192 , <nl> 2 , <nl> - " at { elapsed } got mock net operation { request } " , <nl> + " Got mock network operation " , <nl> " elapsed " _attr = elapsed ( ) , <nl> " request " _attr = request . toString ( ) ) ; <nl> const auto node = replSet . getNode ( request . target . toString ( ) ) ; <nl> if ( node - > isRunning ( ) ) { <nl> const auto opmsg = OpMsgRequest : : fromDBAndBody ( request . dbname , request . cmdObj ) ; <nl> const auto reply = node - > runCommand ( request . id , opmsg ) - > getCommandReply ( ) ; <nl> - LOGV2_DEBUG ( 20193 , 2 , " replying { reply } " , " reply " _attr = reply ) ; <nl> + LOGV2_DEBUG ( 20193 , 2 , " Replying " , " reply " _attr = reply ) ; <nl> net - > scheduleSuccessfulResponse ( noi , RemoteCommandResponse ( reply , Milliseconds ( 0 ) ) ) ; <nl> } else { <nl> - LOGV2_DEBUG ( 20194 , 2 , " black hole " ) ; <nl> + LOGV2_DEBUG ( 20194 , 2 , " Black hole " ) ; <nl> net - > blackHole ( noi ) ; <nl> } <nl> net - > runReadyNetworkOperations ( ) ; <nl> class ScanningReplicaSetMonitorConcurrentTest : public ThreadPoolExecutorTest { <nl> / / Operations can happen inline with advanceTime ( ) , so log before and after the call . <nl> LOGV2_DEBUG ( 20195 , <nl> 3 , <nl> - " Advancing time from { elapsed } to { elapsed_d } " , <nl> - " elapsed " _attr = elapsed ( ) , <nl> - " elapsed_d " _attr = ( elapsed ( ) + d ) ) ; <nl> + " Advancing time " , <nl> + " elapsedStart " _attr = elapsed ( ) , <nl> + " elapsedEnd " _attr = ( elapsed ( ) + d ) ) ; <nl> net - > advanceTime ( net - > now ( ) + d ) ; <nl> - LOGV2_DEBUG ( 20196 , 3 , " Advanced to { elapsed } " , " elapsed " _attr = elapsed ( ) ) ; <nl> + LOGV2_DEBUG ( 20196 , 3 , " Advanced time " , " elapsed " _attr = elapsed ( ) ) ; <nl> } <nl> <nl> int getNumChecks ( HostAndPort host ) { <nl> mmm a / src / mongo / client / sdam / json_test_arg_parser . cpp <nl> ppp b / src / mongo / client / sdam / json_test_arg_parser . cpp <nl> ArgParser : : ArgParser ( int argc , char * argv [ ] ) { <nl> } <nl> <nl> void ArgParser : : LogParams ( ) const { <nl> - LOGV2 ( 20199 , " Verbosity : { verbose } " , " verbose " _attr = _verbose ) ; <nl> - LOGV2 ( 20200 , " Source Directory : { sourceDirectory } " , " sourceDirectory " _attr = _sourceDirectory ) ; <nl> + LOGV2 ( 20199 , " Verbosity " , " verbose " _attr = _verbose ) ; <nl> + LOGV2 ( 20200 , " Source directory " , " directory " _attr = _sourceDirectory ) ; <nl> if ( _testFilters . size ( ) ) { <nl> - LOGV2 ( 20201 , <nl> - " Filters : { boost_join_testFilters } " , <nl> - " boost_join_testFilters " _attr = boost : : join ( _testFilters , " , " ) ) ; <nl> + LOGV2 ( 20201 , " Test filters " , " filters " _attr = boost : : join ( _testFilters , " , " ) ) ; <nl> } <nl> } <nl> <nl> mmm a / src / mongo / client / sdam / sdam_json_test_runner . cpp <nl> ppp b / src / mongo / client / sdam / sdam_json_test_runner . cpp <nl> using namespace mongo : : sdam ; <nl> <nl> namespace mongo : : sdam { <nl> <nl> - std : : string emphasize ( const std : : string text ) { <nl> - std : : stringstream output ; <nl> - const auto border = std : : string ( 3 , ' # ' ) ; <nl> - output < < border < < " " < < text < < " " < < border < < std : : endl ; <nl> - return output . str ( ) ; <nl> - } <nl> - <nl> / * * <nl> * This class is responsible for parsing and executing a single ' phase ' of the json test <nl> * / <nl> class TestCasePhase { <nl> auto descriptionStr = <nl> ( response . getResponse ( ) ) ? response . getResponse ( ) - > toString ( ) : " [ Network Error ] " ; <nl> LOGV2 ( 20202 , <nl> - " Sending server description : { response_getServer } : { descriptionStr } " , <nl> - " response_getServer " _attr = response . getServer ( ) , <nl> - " descriptionStr " _attr = descriptionStr ) ; <nl> + " Sending server description " , <nl> + " server " _attr = response . getServer ( ) , <nl> + " description " _attr = descriptionStr ) ; <nl> topology . onServerDescription ( response ) ; <nl> } <nl> <nl> LOGV2 ( 20203 , <nl> - " TopologyDescription after Phase { phaseNum } : { topology_getTopologyDescription } " , <nl> - " phaseNum " _attr = _phaseNum , <nl> - " topology_getTopologyDescription " _attr = <nl> - topology . getTopologyDescription ( ) - > toString ( ) ) ; <nl> + " TopologyDescription after phase " , <nl> + " phaseNumber " _attr = _phaseNum , <nl> + " topologyDescription " _attr = topology . getTopologyDescription ( ) - > toString ( ) ) ; <nl> <nl> validateServers ( <nl> & testResult , topology . getTopologyDescription ( ) , _topologyOutcome [ " servers " ] . Obj ( ) ) ; <nl> class JsonTestCase { <nl> TestCaseResult result { { } , _testFilePath , _testName } ; <nl> <nl> for ( const auto & testPhase : _testPhases ) { <nl> - LOGV2 ( 20204 , <nl> - " { emphasize_Phase_std_to_string_testPhase_getPhaseNum } " , <nl> - " emphasize_Phase_std_to_string_testPhase_getPhaseNum " _attr = <nl> - emphasize ( " Phase " + std : : to_string ( testPhase . getPhaseNum ( ) ) ) ) ; <nl> + LOGV2 ( 20204 , " # # # Phase Number # # # " , " phase " _attr = testPhase . getPhaseNum ( ) ) ; <nl> auto phaseResult = testPhase . execute ( topology ) ; <nl> result . phaseResults . push_back ( phaseResult ) ; <nl> if ( ! result . Success ( ) ) { <nl> - LOGV2 ( 20205 , <nl> - " Phase { phaseResult_phaseNumber } failed . " , <nl> - " phaseResult_phaseNumber " _attr = phaseResult . phaseNumber ) ; <nl> + LOGV2 ( 20205 , " Phase failed " , " phase " _attr = phaseResult . phaseNumber ) ; <nl> break ; <nl> } <nl> } <nl> class JsonTestCase { <nl> private : <nl> void parseTest ( fs : : path testFilePath ) { <nl> _testFilePath = testFilePath . string ( ) ; <nl> - LOGV2 ( 20206 , " " ) ; <nl> - LOGV2 ( 20207 , <nl> - " { emphasize_Parsing_testFilePath_string } " , <nl> - " emphasize_Parsing_testFilePath_string " _attr = <nl> - emphasize ( " Parsing " + testFilePath . string ( ) ) ) ; <nl> + LOGV2 ( 20207 , " # # # Parsing Test File # # # " , " testFilePath " _attr = testFilePath . string ( ) ) ; <nl> { <nl> std : : ifstream testFile ( _testFilePath ) ; <nl> std : : ostringstream json ; <nl> class SdamJsonTestRunner { <nl> for ( auto jsonTest : testFiles ) { <nl> auto testCase = JsonTestCase ( jsonTest ) ; <nl> try { <nl> - LOGV2 ( 20208 , <nl> - " { emphasize_Executing_testCase_Name } " , <nl> - " emphasize_Executing_testCase_Name " _attr = <nl> - emphasize ( " Executing " + testCase . Name ( ) ) ) ; <nl> + LOGV2 ( 20208 , " # # # Executing Test Case # # # " , " test " _attr = testCase . Name ( ) ) ; <nl> results . push_back ( testCase . execute ( ) ) ; <nl> } catch ( const DBException & ex ) { <nl> std : : stringstream error ; <nl> class SdamJsonTestRunner { <nl> results . begin ( ) , results . end ( ) , [ ] ( const JsonTestCase : : TestCaseResult & result ) { <nl> return ! result . Success ( ) ; <nl> } ) ) { <nl> - LOGV2 ( 20209 , <nl> - " { emphasize_Failed_Test_Results } " , <nl> - " emphasize_Failed_Test_Results " _attr = emphasize ( " Failed Test Results " ) ) ; <nl> + LOGV2 ( 20209 , " # # # Failed Test Results # # # " ) ; <nl> } <nl> <nl> for ( const auto result : results ) { <nl> class SdamJsonTestRunner { <nl> if ( result . Success ( ) ) { <nl> + + numSuccess ; <nl> } else { <nl> - LOGV2 ( <nl> - 20210 , " { emphasize_testName } " , " emphasize_testName " _attr = emphasize ( testName ) ) ; <nl> - LOGV2 ( 20211 , " error in file : { file } " , " file " _attr = file ) ; <nl> + LOGV2 ( 20210 , " # # # Test Name # # # " , " name " _attr = testName ) ; <nl> + LOGV2 ( 20211 , " Error in file " , " file " _attr = file ) ; <nl> + + numFailed ; <nl> for ( auto phaseResult : phaseResults ) { <nl> - LOGV2 ( 20212 , <nl> - " Phase { phaseResult_phaseNumber } : " , <nl> - " phaseResult_phaseNumber " _attr = phaseResult . phaseNumber ) ; <nl> + LOGV2 ( 20212 , " Phase " , " phaseNumber " _attr = phaseResult . phaseNumber ) ; <nl> if ( ! phaseResult . Success ( ) ) { <nl> for ( auto error : phaseResult . errorDescriptions ) { <nl> LOGV2 ( 20213 , <nl> - " \ t { error_first } : { error_second } " , <nl> - " error_first " _attr = error . first , <nl> - " error_second " _attr = error . second ) ; <nl> + " Errors " , <nl> + " errorFirst " _attr = error . first , <nl> + " errorSecond " _attr = error . second ) ; <nl> } <nl> } <nl> } <nl> class SdamJsonTestRunner { <nl> } <nl> } <nl> LOGV2 ( 20215 , <nl> - " { numTestCases } test cases ; { numSuccess } success ; { numFailed } failed . " , <nl> + " Test cases summary " , <nl> " numTestCases " _attr = numTestCases , <nl> " numSuccess " _attr = numSuccess , <nl> " numFailed " _attr = numFailed ) ; <nl> class SdamJsonTestRunner { <nl> } else { <nl> LOGV2_DEBUG ( 20216 , <nl> 2 , <nl> - " ' { filePath_string } ' skipped due to filter configuration . " , <nl> - " filePath_string " _attr = filePath . string ( ) ) ; <nl> + " Test skipped due to filter configuration " , <nl> + " filePath " _attr = filePath . string ( ) ) ; <nl> } <nl> } <nl> <nl> mmm a / src / mongo / client / sdam / server_description . cpp <nl> ppp b / src / mongo / client / sdam / server_description . cpp <nl> void ServerDescription : : parseTypeFromIsMaster ( const BSONObj isMaster ) { <nl> t = ServerType : : kRSGhost ; <nl> } else { <nl> LOGV2_ERROR ( 23931 , <nl> - " unknown server type from successful ismaster reply : { isMaster } " , <nl> + " Unknown server type from successful isMaster reply : { isMaster } " , <nl> + " Unknown server type from successful isMaster reply " , <nl> " isMaster " _attr = isMaster . toString ( ) ) ; <nl> t = ServerType : : kUnknown ; <nl> } <nl> mmm a / src / mongo / client / sdam / server_selection_json_test_runner . cpp <nl> ppp b / src / mongo / client / sdam / server_selection_json_test_runner . cpp <nl> using namespace mongo : : sdam ; <nl> <nl> namespace mongo : : sdam { <nl> <nl> - std : : string emphasize ( const std : : string text ) { <nl> - std : : stringstream output ; <nl> - const auto border = std : : string ( 3 , ' # ' ) ; <nl> - output < < border < < " " < < text < < " " < < border < < std : : endl ; <nl> - return output . str ( ) ; <nl> - } <nl> - <nl> std : : ostream & operator < < ( std : : ostream & os , const std : : vector < HostAndPort > & input ) { <nl> for ( auto const & i : input ) { <nl> os < < i . toString ( ) < < " " ; <nl> class JsonRttTestCase : public JsonTestCase { <nl> ~ JsonRttTestCase ( ) = default ; <nl> <nl> TestCaseResult execute ( ) { <nl> - LOGV2 ( <nl> - 4333500 , " { testFilePath } " , " testFilePath " _attr = emphasize ( " Running " + _testFilePath ) ) ; <nl> + LOGV2 ( 4333500 , " # # # Running Test # # # " , " testFilePath " _attr = _testFilePath ) ; <nl> <nl> ServerDescriptionPtr updatedServerDescription ; <nl> if ( _serverDescription ) { <nl> class JsonRttTestCase : public JsonTestCase { <nl> validateNewAvgRtt ( & result , updatedServerDescription ) ; <nl> <nl> if ( ! result . Success ( ) ) { <nl> - LOGV2 ( 4333501 , " Test { testFilePath } failed . " , " testFilePath " _attr = _testFilePath ) ; <nl> + LOGV2 ( 4333501 , " Test failed " , " testFilePath " _attr = _testFilePath ) ; <nl> } <nl> <nl> return result ; <nl> class JsonRttTestCase : public JsonTestCase { <nl> private : <nl> void parseTest ( fs : : path testFilePath ) { <nl> _testFilePath = testFilePath . string ( ) ; <nl> - LOGV2 ( 4333502 , " " ) ; <nl> - LOGV2 ( 4333503 , <nl> - " { testFilePath } " , <nl> - " testFilePath " _attr = emphasize ( " Parsing " + testFilePath . string ( ) ) ) ; <nl> + LOGV2 ( 4333503 , " # # # Parsing Test # # # " , " testFilePath " _attr = testFilePath . string ( ) ) ; <nl> { <nl> std : : ifstream testFile ( _testFilePath ) ; <nl> std : : ostringstream json ; <nl> class JsonServerSelectionTestCase : public JsonTestCase { <nl> ~ JsonServerSelectionTestCase ( ) = default ; <nl> <nl> TestCaseResult execute ( ) { <nl> - LOGV2 ( <nl> - 4333504 , " { testFilePath } " , " testFilePath " _attr = emphasize ( " Running " + _testFilePath ) ) ; <nl> + LOGV2 ( 4333504 , " # # # Running Test # # # " , " testFilePath " _attr = _testFilePath ) ; <nl> <nl> SdamServerSelector serverSelector ( <nl> sdam : : ServerSelectionConfiguration : : defaultConfiguration ( ) ) ; <nl> class JsonServerSelectionTestCase : public JsonTestCase { <nl> validateServersInLatencyWindow ( & result , selectedServers ) ; <nl> <nl> if ( ! result . Success ( ) ) { <nl> - LOGV2 ( 4333505 , " Test { testFilePath } failed . " , " testFilePath " _attr = _testFilePath ) ; <nl> + LOGV2 ( 4333505 , " Test failed " , " testFilePath " _attr = _testFilePath ) ; <nl> } <nl> <nl> return result ; <nl> class JsonServerSelectionTestCase : public JsonTestCase { <nl> private : <nl> void parseTest ( fs : : path testFilePath ) { <nl> _testFilePath = testFilePath . string ( ) ; <nl> - LOGV2 ( 4333506 , " " ) ; <nl> - LOGV2 ( 4333507 , <nl> - " { testFilePath } " , <nl> - " testFilePath " _attr = emphasize ( " Parsing " + testFilePath . string ( ) ) ) ; <nl> + LOGV2 ( 4333507 , " # # # Parsing Test # # # " , " testFilePath " _attr = testFilePath . string ( ) ) ; <nl> { <nl> std : : ifstream testFile ( _testFilePath ) ; <nl> std : : ostringstream json ; <nl> class ServerSelectionJsonTestRunner { <nl> } ( ) ; <nl> <nl> try { <nl> - LOGV2 ( 4333508 , <nl> - " { testFilePath } " , <nl> - " testFilePath " _attr = emphasize ( " Executing " + testCase - > FilePath ( ) ) ) ; <nl> + LOGV2 ( <nl> + 4333508 , " # # # Executing Test # # # " , " testFilePath " _attr = testCase - > FilePath ( ) ) ; <nl> results . push_back ( testCase - > execute ( ) ) ; <nl> } catch ( const DBException & ex ) { <nl> std : : stringstream error ; <nl> class ServerSelectionJsonTestRunner { <nl> results . begin ( ) , results . end ( ) , [ ] ( const JsonTestCase : : TestCaseResult & result ) { <nl> return ! result . Success ( ) ; <nl> } ) ) { <nl> - LOGV2 ( 4333509 , <nl> - " { Failed_Test_Results } " , <nl> - " Failed_Test_Results " _attr = emphasize ( " Failed Test Results " ) ) ; <nl> + LOGV2 ( 4333509 , " # # # Failed Test Results # # # " ) ; <nl> } <nl> <nl> for ( const auto result : results ) { <nl> class ServerSelectionJsonTestRunner { <nl> if ( result . Success ( ) ) { <nl> + + numSuccess ; <nl> } else { <nl> - LOGV2 ( 4333510 , " { testFilePath } " , " testFilePath " _attr = emphasize ( file ) ) ; <nl> - LOGV2 ( 4333511 , " error in file : { file } " , " file " _attr = file ) ; <nl> + LOGV2 ( 4333510 , " # # # Failed Test File # # # " , " testFilePath " _attr = file ) ; <nl> + + numFailed ; <nl> - LOGV2 ( 4333512 , " " ) ; <nl> } <nl> } <nl> LOGV2 ( 4333513 , <nl> - " { numTestCases } test cases ; { numSuccess } success ; { numFailed } failed . " , <nl> + " Results summary " , <nl> " numTestCases " _attr = numTestCases , <nl> " numSuccess " _attr = numSuccess , <nl> " numFailed " _attr = numFailed ) ; <nl> class ServerSelectionJsonTestRunner { <nl> } else { <nl> LOGV2_DEBUG ( 4333514 , <nl> 2 , <nl> - " ' { filePath } ' skipped due to filter configuration . " , <nl> + " Test skipped due to filter configuration " , <nl> " filePath " _attr = filePath . string ( ) ) ; <nl> } <nl> } <nl> mmm a / src / mongo / client / sdam / topology_description . cpp <nl> ppp b / src / mongo / client / sdam / topology_description . cpp <nl> const boost : : optional < ServerDescriptionPtr > TopologyDescription : : findServerByAdd <nl> <nl> boost : : optional < ServerDescriptionPtr > TopologyDescription : : installServerDescription ( <nl> const ServerDescriptionPtr & newServerDescription ) { <nl> - LOGV2_DEBUG ( 4333202 , <nl> - 2 , <nl> - " install server description { description } " , <nl> - " description " _attr = newServerDescription - > toString ( ) ) ; <nl> - <nl> boost : : optional < ServerDescriptionPtr > previousDescription ; <nl> if ( getType ( ) = = TopologyType : : kSingle ) { <nl> / / For Single , there is always one ServerDescription in TopologyDescription . servers ; <nl> mmm a / src / mongo / client / sdam / topology_manager . cpp <nl> ppp b / src / mongo / client / sdam / topology_manager . cpp <nl> bool TopologyManager : : onServerDescription ( const IsMasterOutcome & isMasterOutcome <nl> 23930 , <nl> " Ignoring this isMaster response because our topologyVersion : { lastTopologyVersion } is " <nl> " fresher than the provided topologyVersion : { newTopologyVersion } " , <nl> + " Ignoring this isMaster response because our last topologyVersion is fresher than the " <nl> + " new topologyVersion provided " , <nl> " lastTopologyVersion " _attr = lastTopologyVersion - > toBSON ( ) , <nl> " newTopologyVersion " _attr = newTopologyVersion - > toBSON ( ) ) ; <nl> return false ; <nl> void TopologyManager : : onServerRTTUpdated ( HostAndPort hostAndPort , IsMasterRTT rt <nl> / / otherwise , the server was removed from the topology . Nothing to do . <nl> LOGV2 ( 4333201 , <nl> " Not updating RTT . Server { server } does not exist in { replicaSet } " , <nl> - " host " _attr = hostAndPort , <nl> + " Not updating RTT . The server does not exist in the replica set " , <nl> + " server " _attr = hostAndPort , <nl> " replicaSet " _attr = getTopologyDescription ( ) - > getSetName ( ) ) ; <nl> } <nl> <nl> mmm a / src / mongo / client / sdam / topology_state_machine . cpp <nl> ppp b / src / mongo / client / sdam / topology_state_machine . cpp <nl> <nl> # include " mongo / logv2 / log . h " <nl> <nl> namespace mongo : : sdam { <nl> + namespace { <nl> + static constexpr auto kLogLevel = 2 ; <nl> + } / / namespace <nl> + <nl> TopologyStateMachine : : TopologyStateMachine ( const SdamConfiguration & config ) : _config ( config ) { <nl> initTransitionTable ( ) ; <nl> } <nl> void mongo : : sdam : : TopologyStateMachine : : initTransitionTable ( ) { <nl> void TopologyStateMachine : : onServerDescription ( TopologyDescription & topologyDescription , <nl> const ServerDescriptionPtr & serverDescription ) { <nl> if ( ! topologyDescription . containsServerAddress ( serverDescription - > getAddress ( ) ) ) { <nl> - LOGV2 ( 20219 , <nl> - " { kLogPrefix } ignoring ismaster reply from server that is not in the topology : " <nl> - " { serverDescription_getAddress } " , <nl> - " kLogPrefix " _attr = kLogPrefix , <nl> - " serverDescription_getAddress " _attr = serverDescription - > getAddress ( ) ) ; <nl> + LOGV2_DEBUG ( 20219 , <nl> + kLogLevel , <nl> + " Ignoring isMaster reply from server that is not in the topology : " <nl> + " { serverAddress } " , <nl> + " Ignoring isMaster reply from server that is not in the topology " , <nl> + " serverAddress " _attr = serverDescription - > getAddress ( ) ) ; <nl> return ; <nl> } <nl> <nl> void TopologyStateMachine : : setTopologyTypeAndUpdateRSWithoutPrimary ( <nl> void TopologyStateMachine : : removeServerDescription ( TopologyDescription & topologyDescription , <nl> const HostAndPort serverAddress ) { <nl> topologyDescription . removeServerDescription ( serverAddress ) ; <nl> - LOGV2 ( 20220 , <nl> - " { kLogPrefix } server ' { serverAddress } ' was removed from the topology . " , <nl> - " kLogPrefix " _attr = kLogPrefix , <nl> - " serverAddress " _attr = serverAddress ) ; <nl> + LOGV2_DEBUG ( 20220 , <nl> + kLogLevel , <nl> + " Server ' { serverAddress } ' was removed from the topology " , <nl> + " Server was removed from the topology " , <nl> + " serverAddress " _attr = serverAddress ) ; <nl> } <nl> <nl> void TopologyStateMachine : : modifyTopologyType ( TopologyDescription & topologyDescription , <nl> TopologyType topologyType ) { <nl> topologyDescription . _type = topologyType ; <nl> - LOGV2 ( 20221 , <nl> - " { kLogPrefix } the topology type was set to { topologyType } " , <nl> - " kLogPrefix " _attr = kLogPrefix , <nl> - " topologyType " _attr = toString ( topologyType ) ) ; <nl> } <nl> <nl> void TopologyStateMachine : : modifySetName ( TopologyDescription & topologyDescription , <nl> const boost : : optional < std : : string > & setName ) { <nl> topologyDescription . _setName = setName ; <nl> - LOGV2 ( 20222 , <nl> - " { kLogPrefix } the topology setName was set to { setName_setName_null } " , <nl> - " kLogPrefix " _attr = kLogPrefix , <nl> - " setName_setName_null " _attr = ( ( setName ) ? * setName : " [ null ] " ) ) ; <nl> } <nl> <nl> void TopologyStateMachine : : installServerDescription ( TopologyDescription & topologyDescription , <nl> ServerDescriptionPtr newServerDescription , <nl> bool newServer ) { <nl> topologyDescription . installServerDescription ( newServerDescription ) ; <nl> - LOGV2_DEBUG ( 20223 , <nl> - 1 , <nl> - " { kLogPrefix } { newServer_installed_new_updated_existing } server description : " <nl> - " { newServerDescription } " , <nl> - " kLogPrefix " _attr = kLogPrefix , <nl> - " newServer_installed_new_updated_existing " _attr = <nl> - ( ( newServer ) ? " installed new " : " updated existing " ) , <nl> - " newServerDescription " _attr = newServerDescription - > toString ( ) ) ; <nl> } <nl> <nl> void TopologyStateMachine : : modifyMaxElectionId ( TopologyDescription & topologyDescription , <nl> const OID & newMaxElectionId ) { <nl> topologyDescription . _maxElectionId = newMaxElectionId ; <nl> - LOGV2 ( 20224 , <nl> - " { kLogPrefix } topology max election id set to { newMaxElectionId } " , <nl> - " kLogPrefix " _attr = kLogPrefix , <nl> - " newMaxElectionId " _attr = newMaxElectionId ) ; <nl> } <nl> <nl> void TopologyStateMachine : : modifyMaxSetVersion ( TopologyDescription & topologyDescription , <nl> int & newMaxSetVersion ) { <nl> topologyDescription . _maxSetVersion = newMaxSetVersion ; <nl> - LOGV2 ( 20225 , <nl> - " { kLogPrefix } topology max set version set to { newMaxSetVersion } " , <nl> - " kLogPrefix " _attr = kLogPrefix , <nl> - " newMaxSetVersion " _attr = newMaxSetVersion ) ; <nl> } <nl> } / / namespace mongo : : sdam <nl> mmm a / src / mongo / client / sdam / topology_state_machine . h <nl> ppp b / src / mongo / client / sdam / topology_state_machine . h <nl> class TopologyStateMachine { <nl> <nl> StateTransitionTable _stt ; <nl> SdamConfiguration _config ; <nl> - <nl> - static inline auto kLogPrefix = " sdam : " ; <nl> } ; <nl> using TopologyStateMachinePtr = std : : unique_ptr < TopologyStateMachine > ; <nl> } / / namespace mongo : : sdam <nl> mmm a / src / mongo / client / server_is_master_monitor . cpp <nl> ppp b / src / mongo / client / server_is_master_monitor . cpp <nl> SingleServerIsMasterMonitor : : SingleServerIsMasterMonitor ( <nl> LOGV2_DEBUG ( 4333217 , <nl> kLogLevel + 1 , <nl> " RSM { replicaSet } monitoring { host } " , <nl> + " RSM monitoring host " , <nl> " host " _attr = host , <nl> " replicaSet " _attr = _setUri . getSetName ( ) ) ; <nl> } <nl> void SingleServerIsMasterMonitor : : requestImmediateCheck ( ) { <nl> 4333227 , <nl> kLogLevel , <nl> " RSM { replicaSet } monitoring { host } in expedited mode until we detect a primary . " , <nl> + " RSM monitoring host in expedited mode until we detect a primary " , <nl> " host " _attr = _host , <nl> " replicaSet " _attr = _setUri . getSetName ( ) ) ; <nl> <nl> void SingleServerIsMasterMonitor : : requestImmediateCheck ( ) { <nl> const auto expeditedRefreshPeriod = _currentRefreshPeriod ( lock , false ) ; <nl> <nl> if ( _isMasterOutstanding ) { <nl> - LOGV2_DEBUG ( 4333216 , <nl> - kLogLevel + 2 , <nl> - " RSM { replicaSet } immediate isMaster check requested , but there " <nl> - " is already an outstanding request . " , <nl> - " replicaSet " _attr = _setUri . getSetName ( ) ) ; <nl> + LOGV2_DEBUG ( <nl> + 4333216 , <nl> + kLogLevel + 2 , <nl> + " RSM { replicaSet } immediate isMaster check requested , but there " <nl> + " is already an outstanding request " , <nl> + " RSM immediate isMaster check requested , but there is already an outstanding request " , <nl> + " replicaSet " _attr = _setUri . getSetName ( ) ) ; <nl> return ; <nl> } <nl> <nl> void SingleServerIsMasterMonitor : : _rescheduleNextIsMaster ( WithLock lock , Millise <nl> " Rescheduling the next replica set monitoring request " , <nl> " replicaSet " _attr = _setUri . getSetName ( ) , <nl> " host " _attr = _host , <nl> - " duration " _attr = delay ) ; <nl> + " delay " _attr = delay ) ; <nl> _cancelOutstandingRequest ( lock ) ; <nl> _scheduleNextIsMaster ( lock , delay ) ; <nl> } <nl> SingleServerIsMasterMonitor : : _scheduleStreamableIsMaster ( ) { <nl> self - > _isMasterOutstanding = false ; <nl> LOGV2_DEBUG ( 4495400 , <nl> kLogLevel , <nl> - " RSM { replicaSet } not processing response : { status } " , <nl> - " status " _attr = result . response . status , <nl> + " RSM { replicaSet } not processing response : { error } " , <nl> + " RSM not processing response " , <nl> + " error " _attr = result . response . status , <nl> " replicaSet " _attr = self - > _setUri . getSetName ( ) ) ; <nl> return ; <nl> } <nl> StatusWith < TaskExecutor : : CallbackHandle > SingleServerIsMasterMonitor : : _scheduleS <nl> if ( self - > _isShutdown ) { <nl> LOGV2_DEBUG ( 4333219 , <nl> kLogLevel , <nl> - " RSM { replicaSet } not processing response : { status } " , <nl> - " status " _attr = result . response . status , <nl> + " RSM { replicaSet } not processing response : { error } " , <nl> + " RSM not processing response " , <nl> + " error " _attr = result . response . status , <nl> " replicaSet " _attr = self - > _setUri . getSetName ( ) ) ; <nl> return ; <nl> } <nl> void SingleServerIsMasterMonitor : : shutdown ( ) { <nl> LOGV2_DEBUG ( 4333220 , <nl> kLogLevel + 1 , <nl> " RSM { replicaSet } Closing host { host } " , <nl> + " RSM closing host " , <nl> " host " _attr = _host , <nl> " replicaSet " _attr = _setUri . getSetName ( ) ) ; <nl> <nl> void SingleServerIsMasterMonitor : : shutdown ( ) { <nl> LOGV2_DEBUG ( 4333229 , <nl> kLogLevel + 1 , <nl> " RSM { replicaSet } Done Closing host { host } " , <nl> + " RSM done closing host " , <nl> " host " _attr = _host , <nl> " replicaSet " _attr = _setUri . getSetName ( ) ) ; <nl> } <nl> void SingleServerIsMasterMonitor : : _cancelOutstandingRequest ( WithLock ) { <nl> void SingleServerIsMasterMonitor : : _onIsMasterSuccess ( const BSONObj bson ) { <nl> LOGV2_DEBUG ( 4333221 , <nl> kLogLevel + 1 , <nl> - " RSM { replicaSet } received successful isMaster for server { host } : { bson } " , <nl> + " RSM { replicaSet } received successful isMaster for server { host } : { isMasterReply } " , <nl> + " RSM received successful isMaster " , <nl> " host " _attr = _host , <nl> " replicaSet " _attr = _setUri . getSetName ( ) , <nl> - " bson " _attr = bson . toString ( ) ) ; <nl> + " isMasterReply " _attr = bson . toString ( ) ) ; <nl> <nl> _eventListener - > onServerHeartbeatSucceededEvent ( _host , bson ) ; <nl> } <nl> <nl> void SingleServerIsMasterMonitor : : _onIsMasterFailure ( const Status & status , const BSONObj bson ) { <nl> - LOGV2_DEBUG ( 4333222 , <nl> - kLogLevel , <nl> - " RSM { replicaSet } received failed isMaster for server { host } : { status } : { bson } " , <nl> - " host " _attr = _host , <nl> - " status " _attr = status . toString ( ) , <nl> - " replicaSet " _attr = _setUri . getSetName ( ) , <nl> - " bson " _attr = bson . toString ( ) ) ; <nl> + LOGV2_DEBUG ( <nl> + 4333222 , <nl> + kLogLevel , <nl> + " RSM { replicaSet } received failed isMaster for server { host } : { error } : { isMasterReply } " , <nl> + " RSM received failed isMaster " , <nl> + " host " _attr = _host , <nl> + " error " _attr = status . toString ( ) , <nl> + " replicaSet " _attr = _setUri . getSetName ( ) , <nl> + " isMasterReply " _attr = bson . toString ( ) ) ; <nl> <nl> _eventListener - > onServerHeartbeatFailureEvent ( status , _host , bson ) ; <nl> } <nl> ServerIsMasterMonitor : : ServerIsMasterMonitor ( <nl> _setUri ( setUri ) { <nl> LOGV2_DEBUG ( 4333223 , <nl> kLogLevel , <nl> - " RSM { replicaSet } monitoring { size } members . " , <nl> + " RSM { replicaSet } monitoring { nReplicaSetMembers } members . " , <nl> + " RSM now monitoring replica set " , <nl> " replicaSet " _attr = _setUri . getSetName ( ) , <nl> - " size " _attr = initialTopologyDescription - > getServers ( ) . size ( ) ) ; <nl> + " nReplicaSetMembers " _attr = initialTopologyDescription - > getServers ( ) . size ( ) ) ; <nl> onTopologyDescriptionChangedEvent ( nullptr , initialTopologyDescription ) ; <nl> } <nl> <nl> void ServerIsMasterMonitor : : onTopologyDescriptionChangedEvent ( <nl> singleMonitor - > shutdown ( ) ; <nl> LOGV2_DEBUG ( 4333225 , <nl> kLogLevel , <nl> - " RSM { replicaSet } host { addr } was removed from the topology . " , <nl> + " RSM { replicaSet } host { host } was removed from the topology " , <nl> + " RSM host was removed from the topology " , <nl> " replicaSet " _attr = _setUri . getSetName ( ) , <nl> - " addr " _attr = serverAddress ) ; <nl> + " host " _attr = serverAddress ) ; <nl> it = _singleMonitors . erase ( it , + + it ) ; <nl> } else { <nl> + + it ; <nl> void ServerIsMasterMonitor : : onTopologyDescriptionChangedEvent ( <nl> if ( isMissing ) { <nl> LOGV2_DEBUG ( 4333226 , <nl> kLogLevel , <nl> - " RSM { replicaSet } { addr } was added to the topology . " , <nl> + " RSM { replicaSet } { host } was added to the topology " , <nl> + " RSM host was added to the topology " , <nl> " replicaSet " _attr = _setUri . getSetName ( ) , <nl> - " addr " _attr = serverAddress ) ; <nl> + " host " _attr = serverAddress ) ; <nl> _singleMonitors [ serverAddress ] = std : : make_shared < SingleServerIsMasterMonitor > ( <nl> _setUri , <nl> serverAddress , <nl> mmm a / src / mongo / client / server_is_master_monitor_test . cpp <nl> ppp b / src / mongo / client / server_is_master_monitor_test . cpp <nl> class ServerIsMasterMonitorTestFixture : public unittest : : Test { <nl> } <nl> <nl> LOGV2 ( 457991 , <nl> - " got mock network operation " , <nl> + " Got mock network operation " , <nl> " elapsed " _attr = elapsed ( ) , <nl> " request " _attr = request . toString ( ) ) ; <nl> <nl> class ServerIsMasterMonitorTestFixture : public unittest : : Test { <nl> LOGV2_DEBUG ( 457992 , <nl> 1 , <nl> " Advancing time " , <nl> - " from_time_elapsed " _attr = elapsed ( ) , <nl> - " to_time_elapsed " _attr = ( elapsed ( ) + d ) ) ; <nl> + " elpasedStart " _attr = elapsed ( ) , <nl> + " elapsedEnd " _attr = ( elapsed ( ) + d ) ) ; <nl> _net - > advanceTime ( _net - > now ( ) + d ) ; <nl> - LOGV2_DEBUG ( 457993 , 1 , " Advanced time " , " time_elapsed " _attr = elapsed ( ) ) ; <nl> + LOGV2_DEBUG ( 457993 , 1 , " Advanced time " , " timeElapsed " _attr = elapsed ( ) ) ; <nl> } <nl> <nl> / * * <nl> class ServerIsMasterMonitorTestFixture : public unittest : : Test { <nl> void checkNoActivityBefore ( Milliseconds deadline , <nl> boost : : optional < HostAndPort > hostAndPort = boost : : none ) { <nl> while ( elapsed ( ) < deadline ) { <nl> - if ( hasReadyRequests ( ) ) { <nl> - { <nl> - InNetworkGuard guard ( _net ) ; <nl> - _net - > runReadyNetworkOperations ( ) ; <nl> - auto noi = _net - > getNextReadyRequest ( ) ; <nl> - auto request = noi - > getRequest ( ) ; <nl> - LOGV2_DEBUG ( 4579931 , <nl> - 0 , <nl> - " mynameisrae about to fail because was activity " , <nl> - " request " _attr = request . toString ( ) , <nl> - " elapsed " _attr = elapsed ( ) ) ; <nl> - } <nl> - ASSERT_FALSE ( true ) ; <nl> - } <nl> ASSERT_FALSE ( hasReadyRequests ( ) ) ; <nl> if ( hostAndPort ) { <nl> ASSERT_FALSE ( _topologyListener - > hasIsMasterResponse ( hostAndPort . get ( ) ) ) ; <nl> mmm a / src / mongo / client / server_ping_monitor . cpp <nl> ppp b / src / mongo / client / server_ping_monitor . cpp <nl> void SingleServerPingMonitor : : _scheduleServerPing ( ) { <nl> if ( ErrorCodes : : isShutdownError ( schedulePingHandle . getStatus ( ) . code ( ) ) ) { <nl> LOGV2_DEBUG ( 23727 , <nl> kLogLevel , <nl> - " Can ' t schedule ping for { hostAndPort } . Executor shutdown in progress " , <nl> - " hostAndPort " _attr = _hostAndPort ) ; <nl> + " Can ' t schedule ping for { host } . Executor shutdown in progress " , <nl> + " Can ' t schedule ping for host . Executor shutdown in progress " , <nl> + " host " _attr = _hostAndPort , <nl> + " replicaSet " _attr = _setUri . getSetName ( ) ) ; <nl> return ; <nl> } <nl> <nl> if ( ! schedulePingHandle . isOK ( ) ) { <nl> LOGV2_FATAL ( 23732 , <nl> - " Can ' t continue scheduling pings to { hostAndPort } due to " <nl> - " { schedulePingHandle_getStatus } " , <nl> - " hostAndPort " _attr = _hostAndPort , <nl> - " schedulePingHandle_getStatus " _attr = redact ( schedulePingHandle . getStatus ( ) ) ) ; <nl> + " Can ' t continue scheduling pings to { host } due to { error } " , <nl> + " Can ' t continue scheduling pings to host " , <nl> + " host " _attr = _hostAndPort , <nl> + " error " _attr = redact ( schedulePingHandle . getStatus ( ) ) , <nl> + " replicaSet " _attr = _setUri . getSetName ( ) ) ; <nl> fassertFailed ( 31434 ) ; <nl> } <nl> <nl> void SingleServerPingMonitor : : _doServerPing ( ) { <nl> if ( ErrorCodes : : isShutdownError ( remotePingHandle . getStatus ( ) . code ( ) ) ) { <nl> LOGV2_DEBUG ( 23728 , <nl> kLogLevel , <nl> - " Can ' t ping { hostAndPort } . Executor shutdown in progress " , <nl> - " hostAndPort " _attr = _hostAndPort ) ; <nl> + " Can ' t ping { host } . Executor shutdown in progress " , <nl> + " Can ' t ping host . Executor shutdown in progress " , <nl> + " host " _attr = _hostAndPort , <nl> + " replicaSet " _attr = _setUri . getSetName ( ) ) ; <nl> return ; <nl> } <nl> <nl> if ( ! remotePingHandle . isOK ( ) ) { <nl> LOGV2_FATAL ( 23733 , <nl> - " Can ' t continue pinging { hostAndPort } due to { remotePingHandle_getStatus } " , <nl> - " hostAndPort " _attr = _hostAndPort , <nl> - " remotePingHandle_getStatus " _attr = redact ( remotePingHandle . getStatus ( ) ) ) ; <nl> + " Can ' t continue pinging { host } due to { error } " , <nl> + " Can ' t continue pinging host " , <nl> + " host " _attr = _hostAndPort , <nl> + " error " _attr = redact ( remotePingHandle . getStatus ( ) ) , <nl> + " replicaSet " _attr = _setUri . getSetName ( ) ) ; <nl> fassertFailed ( 31435 ) ; <nl> } <nl> <nl> void ServerPingMonitor : : onServerHandshakeCompleteEvent ( sdam : : IsMasterRTT duratio <nl> if ( _serverPingMonitorMap . find ( address ) ! = _serverPingMonitorMap . end ( ) ) { <nl> LOGV2_DEBUG ( 466811 , <nl> kLogLevel + 1 , <nl> - " ServerPingMonitor already monitoring { address } " , <nl> - " address " _attr = address ) ; <nl> + " ServerPingMonitor already monitoring { host } " , <nl> + " ServerPingMonitor already monitoring host " , <nl> + " host " _attr = address , <nl> + " replicaSet " _attr = _setUri . getSetName ( ) ) ; <nl> return ; <nl> } <nl> auto newSingleMonitor = std : : make_shared < SingleServerPingMonitor > ( <nl> void ServerPingMonitor : : onServerHandshakeCompleteEvent ( sdam : : IsMasterRTT duratio <nl> newSingleMonitor - > init ( ) ; <nl> LOGV2_DEBUG ( 23729 , <nl> kLogLevel , <nl> - " ServerPingMonitor is now monitoring { address } " , <nl> - " address " _attr = address ) ; <nl> + " ServerPingMonitor is now monitoring { host } " , <nl> + " ServerPingMonitor is now monitoring host " , <nl> + " host " _attr = address , <nl> + " replicaSet " _attr = _setUri . getSetName ( ) ) ; <nl> } <nl> <nl> void ServerPingMonitor : : onTopologyDescriptionChangedEvent ( <nl> void ServerPingMonitor : : onTopologyDescriptionChangedEvent ( <nl> singleMonitor - > drop ( ) ; <nl> LOGV2_DEBUG ( 462899 , <nl> kLogLevel , <nl> - " ServerPingMonitor for host { addr } was removed from being monitored . " , <nl> - " addr " _attr = serverAddress ) ; <nl> + " ServerPingMonitor for host { host } was removed from being monitored " , <nl> + " ServerPingMonitor for host was removed from being monitored " , <nl> + " host " _attr = serverAddress , <nl> + " replicaSet " _attr = _setUri . getSetName ( ) ) ; <nl> it = _serverPingMonitorMap . erase ( it , + + it ) ; <nl> } else { <nl> + + it ; <nl> mmm a / src / mongo / client / server_ping_monitor_test . cpp <nl> ppp b / src / mongo / client / server_ping_monitor_test . cpp <nl> class ServerPingMonitorTestFixture : public unittest : : Test { <nl> executor : : TaskExecutorTest : : assertRemoteCommandNameEquals ( " ping " , request ) ; <nl> ASSERT_EQ ( request . target , hostAndPort ) ; <nl> LOGV2 ( 23925 , <nl> - " at { elapsed } got mock network operation { request } " , <nl> + " Got mock network operation " , <nl> " elapsed " _attr = elapsed ( ) , <nl> " request " _attr = request . toString ( ) ) ; <nl> <nl> class ServerPingMonitorTestFixture : public unittest : : Test { <nl> / / Operations can happen inline with advanceTime ( ) , so log before and after the call . <nl> LOGV2_DEBUG ( 23926 , <nl> 1 , <nl> - " Advancing time from { elapsed } to { elapsed_d } " , <nl> - " elapsed " _attr = elapsed ( ) , <nl> - " elapsed_d " _attr = ( elapsed ( ) + d ) ) ; <nl> + " About to advance time " , <nl> + " elapsedStart " _attr = elapsed ( ) , <nl> + " elapsedEnd " _attr = ( elapsed ( ) + d ) ) ; <nl> _net - > advanceTime ( _net - > now ( ) + d ) ; <nl> - LOGV2_DEBUG ( 23927 , 1 , " Advanced to { elapsed } " , " elapsed " _attr = elapsed ( ) ) ; <nl> + LOGV2_DEBUG ( 23927 , 1 , " Advanced time " , " elapsed " _attr = elapsed ( ) ) ; <nl> } <nl> <nl> / * * <nl> mmm a / src / mongo / client / streamable_replica_set_monitor . cpp <nl> ppp b / src / mongo / client / streamable_replica_set_monitor . cpp <nl> ReplicaSetMonitorPtr StreamableReplicaSetMonitor : : make ( <nl> <nl> void StreamableReplicaSetMonitor : : init ( ) { <nl> stdx : : lock_guard lock ( _mutex ) ; <nl> - LOGV2_DEBUG ( 4333206 , kLowerLogLevel , " Starting Replica Set Monitor { uri } " , " uri " _attr = _uri ) ; <nl> + LOGV2_DEBUG ( 4333206 , <nl> + kLowerLogLevel , <nl> + " Starting Replica Set Monitor { uri } " , <nl> + " Starting Replica Set Monitor " , <nl> + " uri " _attr = _uri ) ; <nl> <nl> _eventsPublisher = std : : make_shared < sdam : : TopologyEventsPublisher > ( _executor ) ; <nl> _topologyManager = std : : make_unique < TopologyManager > ( <nl> void StreamableReplicaSetMonitor : : drop ( ) { <nl> lock , Status { ErrorCodes : : ShutdownInProgress , " the ReplicaSetMonitor is shutting down " } ) ; <nl> } <nl> <nl> - LOGV2 ( 4333209 , " Closing Replica Set Monitor { replicaSet } " , " replicaSet " _attr = getName ( ) ) ; <nl> + LOGV2 ( 4333209 , <nl> + " Closing Replica Set Monitor { replicaSet } " , <nl> + " Closing Replica Set Monitor " , <nl> + " replicaSet " _attr = getName ( ) ) ; <nl> _queryProcessor - > shutdown ( ) ; <nl> _pingMonitor - > shutdown ( ) ; <nl> _isMasterMonitor - > shutdown ( ) ; <nl> <nl> ReplicaSetMonitorManager : : get ( ) - > getNotifier ( ) . onDroppedSet ( getName ( ) ) ; <nl> - LOGV2 ( 4333210 , " Done closing Replica Set Monitor { replicaSet } " , " replicaSet " _attr = getName ( ) ) ; <nl> + LOGV2 ( 4333210 , <nl> + " Done closing Replica Set Monitor { replicaSet } " , <nl> + " Done closing Replica Set Monitor " , <nl> + " replicaSet " _attr = getName ( ) ) ; <nl> } <nl> <nl> SemiFuture < HostAndPort > StreamableReplicaSetMonitor : : getHostOrRefresh ( <nl> SemiFuture < std : : vector < HostAndPort > > StreamableReplicaSetMonitor : : getHostsOrRefr <nl> LOGV2_DEBUG ( 4333212 , <nl> kLowerLogLevel , <nl> " RSM { replicaSet } start async getHosts with { readPref } " , <nl> + " RSM start async getHosts " , <nl> " replicaSet " _attr = getName ( ) , <nl> " readPref " _attr = readPrefToStringWithMinOpTime ( criteria ) ) ; <nl> <nl> SemiFuture < std : : vector < HostAndPort > > StreamableReplicaSetMonitor : : _enqueueOutsta <nl> query - > promise . setError ( errorStatus ) ; <nl> query - > done = true ; <nl> LOGV2_INFO ( 4333208 , <nl> - " RSM { replicaSet } host selection timeout : { status } " , <nl> + " RSM { replicaSet } host selection timeout : { error } " , <nl> + " RSM host selection timeout " , <nl> " replicaSet " _attr = getName ( ) , <nl> " error " _attr = errorStatus . toString ( ) ) ; <nl> } ; <nl> SemiFuture < std : : vector < HostAndPort > > StreamableReplicaSetMonitor : : _enqueueOutsta <nl> <nl> if ( ! swDeadlineHandle . isOK ( ) ) { <nl> LOGV2_INFO ( 4333207 , <nl> - " RSM { replicaSet } error scheduling deadline handler : { status } " , <nl> + " RSM { replicaSet } error scheduling deadline handler : { error } " , <nl> + " RSM error scheduling deadline handler " , <nl> " replicaSet " _attr = getName ( ) , <nl> " error " _attr = swDeadlineHandle . getStatus ( ) ) ; <nl> return SemiFuture < HostAndPortList > : : makeReady ( swDeadlineHandle . getStatus ( ) ) ; <nl> void StreamableReplicaSetMonitor : : onTopologyDescriptionChangedEvent ( <nl> / / Notify external components if there are membership changes in the topology . <nl> if ( _hasMembershipChange ( previousDescription , newDescription ) ) { <nl> LOGV2 ( 4333213 , <nl> - " RSM { replicaSet } Topology Change : { topologyDescription } " , <nl> + " RSM { replicaSet } Topology Change : { newTopologyDescription } " , <nl> + " RSM Topology Change " , <nl> " replicaSet " _attr = getName ( ) , <nl> - " topologyDescription " _attr = newDescription - > toString ( ) ) ; <nl> + " newTopologyDescription " _attr = newDescription - > toString ( ) , <nl> + " previousTopologyDescription " _attr = previousDescription - > toString ( ) ) ; <nl> <nl> auto maybePrimary = newDescription - > getPrimary ( ) ; <nl> if ( maybePrimary ) { <nl> void StreamableReplicaSetMonitor : : _processOutstanding ( <nl> const auto latency = _executor - > now ( ) - query - > start ; <nl> LOGV2_DEBUG ( 433214 , <nl> kLowerLogLevel , <nl> - " RSM { replicaSet } finished async getHosts : { readPref } ( { latency } ) " , <nl> + " RSM { replicaSet } finished async getHosts : { readPref } ( { duration } ) " , <nl> + " RSM finished async getHosts " , <nl> " replicaSet " _attr = getName ( ) , <nl> " readPref " _attr = readPrefToStringWithMinOpTime ( query - > criteria ) , <nl> - " latency " _attr = latency . toString ( ) ) ; <nl> + " duration " _attr = Milliseconds ( latency ) ) ; <nl> shouldRemove = true ; <nl> } <nl> } <nl> mmm a / src / mongo / client / streamable_replica_set_monitor_query_processor . cpp <nl> ppp b / src / mongo / client / streamable_replica_set_monitor_query_processor . cpp <nl> void StreamableReplicaSetMonitor : : StreamableReplicaSetMonitorQueryProcessor : : <nl> if ( ! replicaSetMonitor ) { <nl> LOGV2_DEBUG ( 4333215 , <nl> kLogLevel , <nl> - " could not find rsm instance { replicaSet } for query processing . " , <nl> + " Could not find rsm instance { replicaSet } for query processing " , <nl> + " Could not find rsm instance for query processing " , <nl> " replicaSet " _attr = * setName ) ; <nl> return ; <nl> } <nl>
SERVER - 47074 Clean up log lines in mongo / client / sdam and RSM - related files
mongodb/mongo
694b92620fe581f57ed78ca9c4c59ece4d5b9a74
2020-05-12T19:25:44Z
mmm a / include / LightGBM / utils / common . h <nl> ppp b / include / LightGBM / utils / common . h <nl> inline static bool CheckDoubleEqualOrdered ( double a , double b ) { <nl> } <nl> <nl> inline static double GetDoubleUpperBound ( double a ) { <nl> - return std : : nextafter ( a , INFINITY ) ; ; <nl> + return std : : nextafter ( a , INFINITY ) ; <nl> } <nl> <nl> inline static size_t GetLine ( const char * str ) { <nl>
Remove extra semicolons ( )
microsoft/LightGBM
adda5c53301f2d8f439e949385a2e6eb43183897
2020-07-08T08:04:22Z
mmm a / src / clustering / immediate_consistency / branch / backfill_throttler . cc <nl> ppp b / src / clustering / immediate_consistency / branch / backfill_throttler . cc <nl> backfill_throttler_t : : lock_t : : lock_t ( backfill_throttler_t * p , <nl> new new_semaphore_t ( parent - > PER_PEER_LIMIT ) ) . first ; <nl> } <nl> peer_acq . init ( new new_semaphore_acq_t ( peer_sem_it - > second , 1 ) ) ; <nl> - wait_interruptible ( global_acq - > acquisition_signal ( ) , & ct_interruptor ) ; <nl> + wait_interruptible ( peer_acq - > acquisition_signal ( ) , & ct_interruptor ) ; <nl> global_acq . init ( new new_semaphore_acq_t ( & parent - > global_sem , 1 ) ) ; <nl> wait_interruptible ( global_acq - > acquisition_signal ( ) , & ct_interruptor ) ; <nl> } catch ( interrupted_exc_t & e ) { <nl>
Copy & Paste error
rethinkdb/rethinkdb
619f46641de66faa9f58843e404c3f6816661595
2014-04-08T23:52:50Z
mmm a / BUILD <nl> ppp b / BUILD <nl> cc_library ( <nl> " src / core / json / json_writer . c " , <nl> " src / core / profiling / basic_timers . c " , <nl> " src / core / profiling / stap_timers . c " , <nl> + " src / core / surface / api_trace . c " , <nl> " src / core / surface / byte_buffer . c " , <nl> " src / core / surface / byte_buffer_queue . c " , <nl> " src / core / surface / byte_buffer_reader . c " , <nl> cc_library ( <nl> " src / core / json / json_writer . c " , <nl> " src / core / profiling / basic_timers . c " , <nl> " src / core / profiling / stap_timers . c " , <nl> + " src / core / surface / api_trace . c " , <nl> " src / core / surface / byte_buffer . c " , <nl> " src / core / surface / byte_buffer_queue . c " , <nl> " src / core / surface / byte_buffer_reader . c " , <nl> objc_library ( <nl> " src / core / json / json_writer . c " , <nl> " src / core / profiling / basic_timers . c " , <nl> " src / core / profiling / stap_timers . c " , <nl> + " src / core / surface / api_trace . c " , <nl> " src / core / surface / byte_buffer . c " , <nl> " src / core / surface / byte_buffer_queue . c " , <nl> " src / core / surface / byte_buffer_reader . c " , <nl> mmm a / Makefile <nl> ppp b / Makefile <nl> LIBGRPC_SRC = \ <nl> src / core / json / json_writer . c \ <nl> src / core / profiling / basic_timers . c \ <nl> src / core / profiling / stap_timers . c \ <nl> + src / core / surface / api_trace . c \ <nl> src / core / surface / byte_buffer . c \ <nl> src / core / surface / byte_buffer_queue . c \ <nl> src / core / surface / byte_buffer_reader . c \ <nl> LIBGRPC_UNSECURE_SRC = \ <nl> src / core / json / json_writer . c \ <nl> src / core / profiling / basic_timers . c \ <nl> src / core / profiling / stap_timers . c \ <nl> + src / core / surface / api_trace . c \ <nl> src / core / surface / byte_buffer . c \ <nl> src / core / surface / byte_buffer_queue . c \ <nl> src / core / surface / byte_buffer_reader . c \ <nl> mmm a / gRPC . podspec <nl> ppp b / gRPC . podspec <nl> Pod : : Spec . new do | s | <nl> ' src / core / json / json_writer . c ' , <nl> ' src / core / profiling / basic_timers . c ' , <nl> ' src / core / profiling / stap_timers . c ' , <nl> + ' src / core / surface / api_trace . c ' , <nl> ' src / core / surface / byte_buffer . c ' , <nl> ' src / core / surface / byte_buffer_queue . c ' , <nl> ' src / core / surface / byte_buffer_reader . c ' , <nl> mmm a / tools / doxygen / Doxyfile . core . internal <nl> ppp b / tools / doxygen / Doxyfile . core . internal <nl> src / core / json / json_string . c \ <nl> src / core / json / json_writer . c \ <nl> src / core / profiling / basic_timers . c \ <nl> src / core / profiling / stap_timers . c \ <nl> + src / core / surface / api_trace . c \ <nl> src / core / surface / byte_buffer . c \ <nl> src / core / surface / byte_buffer_queue . c \ <nl> src / core / surface / byte_buffer_reader . c \ <nl> mmm a / tools / run_tests / sources_and_headers . json <nl> ppp b / tools / run_tests / sources_and_headers . json <nl> <nl> " src / core / security / server_secure_chttp2 . c " , <nl> " src / core / statistics / census_interface . h " , <nl> " src / core / statistics / census_rpc_stats . h " , <nl> + " src / core / surface / api_trace . c " , <nl> " src / core / surface / byte_buffer . c " , <nl> " src / core / surface / byte_buffer_queue . c " , <nl> " src / core / surface / byte_buffer_queue . h " , <nl> <nl> " src / core / profiling / timers . h " , <nl> " src / core / statistics / census_interface . h " , <nl> " src / core / statistics / census_rpc_stats . h " , <nl> + " src / core / surface / api_trace . c " , <nl> " src / core / surface / byte_buffer . c " , <nl> " src / core / surface / byte_buffer_queue . c " , <nl> " src / core / surface / byte_buffer_queue . h " , <nl> new file mode 100644 <nl> index 00000000000 . . dc1a58b8dd4 <nl> mmm / dev / null <nl> ppp b / vsprojects / grpc / grpc . vcxproj <nl> <nl> + < ? xml version = " 1 . 0 " encoding = " utf - 8 " ? > <nl> + < Project DefaultTargets = " Build " ToolsVersion = " 12 . 0 " xmlns = " http : / / schemas . microsoft . com / developer / msbuild / 2003 " > <nl> + < Import Project = " . . \ packages \ grpc . dependencies . openssl . 1 . 0 . 2 . 2 \ build \ native \ grpc . dependencies . openssl . props " Condition = " Exists ( ' . . \ packages \ grpc . dependencies . openssl . 1 . 0 . 2 . 2 \ build \ native \ grpc . dependencies . openssl . props ' ) " / > <nl> + < ItemGroup Label = " ProjectConfigurations " > <nl> + < ProjectConfiguration Include = " Debug - DLL | Win32 " > <nl> + < Configuration > Debug - DLL < / Configuration > <nl> + < Platform > Win32 < / Platform > <nl> + < / ProjectConfiguration > <nl> + < ProjectConfiguration Include = " Debug - DLL | x64 " > <nl> + < Configuration > Debug - DLL < / Configuration > <nl> + < Platform > x64 < / Platform > <nl> + < / ProjectConfiguration > <nl> + < ProjectConfiguration Include = " Release - DLL | Win32 " > <nl> + < Configuration > Release - DLL < / Configuration > <nl> + < Platform > Win32 < / Platform > <nl> + < / ProjectConfiguration > <nl> + < ProjectConfiguration Include = " Release - DLL | x64 " > <nl> + < Configuration > Release - DLL < / Configuration > <nl> + < Platform > x64 < / Platform > <nl> + < / ProjectConfiguration > <nl> + < ProjectConfiguration Include = " Debug | Win32 " > <nl> + < Configuration > Debug < / Configuration > <nl> + < Platform > Win32 < / Platform > <nl> + < / ProjectConfiguration > <nl> + < ProjectConfiguration Include = " Debug | x64 " > <nl> + < Configuration > Debug < / Configuration > <nl> + < Platform > x64 < / Platform > <nl> + < / ProjectConfiguration > <nl> + < ProjectConfiguration Include = " Release | Win32 " > <nl> + < Configuration > Release < / Configuration > <nl> + < Platform > Win32 < / Platform > <nl> + < / ProjectConfiguration > <nl> + < ProjectConfiguration Include = " Release | x64 " > <nl> + < Configuration > Release < / Configuration > <nl> + < Platform > x64 < / Platform > <nl> + < / ProjectConfiguration > <nl> + < / ItemGroup > <nl> + < PropertyGroup Label = " Globals " > <nl> + < ProjectGuid > { 29D16885 - 7228 - 4C31 - 81ED - 5F9187C7F2A9 } < / ProjectGuid > <nl> + < / PropertyGroup > <nl> + < Import Project = " $ ( VCTargetsPath ) \ Microsoft . Cpp . Default . props " / > <nl> + < PropertyGroup Condition = " ' $ ( VisualStudioVersion ) ' = = ' 10 . 0 ' " Label = " Configuration " > <nl> + < PlatformToolset > v100 < / PlatformToolset > <nl> + < / PropertyGroup > <nl> + < PropertyGroup Condition = " ' $ ( VisualStudioVersion ) ' = = ' 11 . 0 ' " Label = " Configuration " > <nl> + < PlatformToolset > v110 < / PlatformToolset > <nl> + < / PropertyGroup > <nl> + < PropertyGroup Condition = " ' $ ( VisualStudioVersion ) ' = = ' 12 . 0 ' " Label = " Configuration " > <nl> + < PlatformToolset > v120 < / PlatformToolset > <nl> + < / PropertyGroup > <nl> + < PropertyGroup Condition = " ' $ ( Configuration ) ' = = ' Debug ' " Label = " Configuration " > <nl> + < ConfigurationType > StaticLibrary < / ConfigurationType > <nl> + < UseDebugLibraries > true < / UseDebugLibraries > <nl> + < CharacterSet > Unicode < / CharacterSet > <nl> + < / PropertyGroup > <nl> + < PropertyGroup Condition = " ' $ ( Configuration ) ' = = ' Release ' " Label = " Configuration " > <nl> + < ConfigurationType > StaticLibrary < / ConfigurationType > <nl> + < UseDebugLibraries > false < / UseDebugLibraries > <nl> + < WholeProgramOptimization > true < / WholeProgramOptimization > <nl> + < CharacterSet > Unicode < / CharacterSet > <nl> + < / PropertyGroup > <nl> + < PropertyGroup Condition = " ' $ ( Configuration ) ' = = ' Debug - DLL ' " Label = " Configuration " > <nl> + < ConfigurationType > StaticLibrary < / ConfigurationType > <nl> + < UseDebugLibraries > true < / UseDebugLibraries > <nl> + < CharacterSet > Unicode < / CharacterSet > <nl> + < / PropertyGroup > <nl> + < PropertyGroup Condition = " ' $ ( Configuration ) ' = = ' Release - DLL ' " Label = " Configuration " > <nl> + < ConfigurationType > StaticLibrary < / ConfigurationType > <nl> + < UseDebugLibraries > false < / UseDebugLibraries > <nl> + < WholeProgramOptimization > true < / WholeProgramOptimization > <nl> + < CharacterSet > Unicode < / CharacterSet > <nl> + < / PropertyGroup > <nl> + < Import Project = " $ ( VCTargetsPath ) \ Microsoft . Cpp . props " / > <nl> + < ImportGroup Label = " ExtensionSettings " > <nl> + < / ImportGroup > <nl> + < ImportGroup Label = " PropertySheets " > <nl> + < Import Project = " $ ( UserRootDir ) \ Microsoft . Cpp . $ ( Platform ) . user . props " Condition = " exists ( ' $ ( UserRootDir ) \ Microsoft . Cpp . $ ( Platform ) . user . props ' ) " Label = " LocalAppDataPlatform " / > <nl> + < Import Project = " . . \ winsock . props " / > <nl> + < Import Project = " . . \ global . props " / > <nl> + < / ImportGroup > <nl> + < PropertyGroup Label = " UserMacros " / > <nl> + < PropertyGroup Condition = " ' $ ( Configuration ) ' = = ' Debug ' " > <nl> + < TargetName > grpc < / TargetName > <nl> + < Linkage - grpc_dependencies_zlib > static < / Linkage - grpc_dependencies_zlib > <nl> + < Configuration - grpc_dependencies_zlib > Debug < / Configuration - grpc_dependencies_zlib > <nl> + < Configuration - grpc_dependencies_openssl > Debug < / Configuration - grpc_dependencies_openssl > <nl> + < / PropertyGroup > <nl> + < PropertyGroup Condition = " ' $ ( Configuration ) ' = = ' Release ' " > <nl> + < TargetName > grpc < / TargetName > <nl> + < Linkage - grpc_dependencies_zlib > static < / Linkage - grpc_dependencies_zlib > <nl> + < Configuration - grpc_dependencies_zlib > Debug < / Configuration - grpc_dependencies_zlib > <nl> + < Configuration - grpc_dependencies_openssl > Debug < / Configuration - grpc_dependencies_openssl > <nl> + < / PropertyGroup > <nl> + < ItemDefinitionGroup Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Debug - DLL | Win32 ' " > <nl> + < ClCompile > <nl> + < PrecompiledHeader > NotUsing < / PrecompiledHeader > <nl> + < WarningLevel > Level3 < / WarningLevel > <nl> + < Optimization > Disabled < / Optimization > <nl> + < PreprocessorDefinitions > WIN32 ; _DEBUG ; _LIB ; _USE_32BIT_TIME_T ; % ( PreprocessorDefinitions ) < / PreprocessorDefinitions > <nl> + < SDLCheck > true < / SDLCheck > <nl> + < RuntimeLibrary > MultiThreadedDebug < / RuntimeLibrary > <nl> + < / ClCompile > <nl> + < Link > <nl> + < SubSystem > Windows < / SubSystem > <nl> + < GenerateDebugInformation > true < / GenerateDebugInformation > <nl> + < / Link > <nl> + < / ItemDefinitionGroup > <nl> + < ItemDefinitionGroup Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Debug - DLL | x64 ' " > <nl> + < ClCompile > <nl> + < PrecompiledHeader > NotUsing < / PrecompiledHeader > <nl> + < WarningLevel > Level3 < / WarningLevel > <nl> + < Optimization > Disabled < / Optimization > <nl> + < PreprocessorDefinitions > WIN32 ; _DEBUG ; _LIB ; % ( PreprocessorDefinitions ) < / PreprocessorDefinitions > <nl> + < SDLCheck > true < / SDLCheck > <nl> + < RuntimeLibrary > MultiThreadedDebug < / RuntimeLibrary > <nl> + < / ClCompile > <nl> + < Link > <nl> + < SubSystem > Windows < / SubSystem > <nl> + < GenerateDebugInformation > true < / GenerateDebugInformation > <nl> + < / Link > <nl> + < / ItemDefinitionGroup > <nl> + < ItemDefinitionGroup Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Release - DLL | Win32 ' " > <nl> + < ClCompile > <nl> + < WarningLevel > Level3 < / WarningLevel > <nl> + < PrecompiledHeader > NotUsing < / PrecompiledHeader > <nl> + < Optimization > MaxSpeed < / Optimization > <nl> + < FunctionLevelLinking > true < / FunctionLevelLinking > <nl> + < IntrinsicFunctions > true < / IntrinsicFunctions > <nl> + < PreprocessorDefinitions > WIN32 ; NDEBUG ; _LIB ; _USE_32BIT_TIME_T ; % ( PreprocessorDefinitions ) < / PreprocessorDefinitions > <nl> + < SDLCheck > true < / SDLCheck > <nl> + < RuntimeLibrary > MultiThreaded < / RuntimeLibrary > <nl> + < / ClCompile > <nl> + < Link > <nl> + < SubSystem > Windows < / SubSystem > <nl> + < GenerateDebugInformation > true < / GenerateDebugInformation > <nl> + < EnableCOMDATFolding > true < / EnableCOMDATFolding > <nl> + < OptimizeReferences > true < / OptimizeReferences > <nl> + < / Link > <nl> + < / ItemDefinitionGroup > <nl> + < ItemDefinitionGroup Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Release - DLL | x64 ' " > <nl> + < ClCompile > <nl> + < WarningLevel > Level3 < / WarningLevel > <nl> + < PrecompiledHeader > NotUsing < / PrecompiledHeader > <nl> + < Optimization > MaxSpeed < / Optimization > <nl> + < FunctionLevelLinking > true < / FunctionLevelLinking > <nl> + < IntrinsicFunctions > true < / IntrinsicFunctions > <nl> + < PreprocessorDefinitions > WIN32 ; NDEBUG ; _LIB ; % ( PreprocessorDefinitions ) < / PreprocessorDefinitions > <nl> + < SDLCheck > true < / SDLCheck > <nl> + < RuntimeLibrary > MultiThreaded < / RuntimeLibrary > <nl> + < / ClCompile > <nl> + < Link > <nl> + < SubSystem > Windows < / SubSystem > <nl> + < GenerateDebugInformation > true < / GenerateDebugInformation > <nl> + < EnableCOMDATFolding > true < / EnableCOMDATFolding > <nl> + < OptimizeReferences > true < / OptimizeReferences > <nl> + < / Link > <nl> + < / ItemDefinitionGroup > <nl> + < ItemDefinitionGroup Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Debug | Win32 ' " > <nl> + < ClCompile > <nl> + < PrecompiledHeader > NotUsing < / PrecompiledHeader > <nl> + < WarningLevel > Level3 < / WarningLevel > <nl> + < Optimization > Disabled < / Optimization > <nl> + < PreprocessorDefinitions > WIN32 ; _DEBUG ; _LIB ; _USE_32BIT_TIME_T ; % ( PreprocessorDefinitions ) < / PreprocessorDefinitions > <nl> + < SDLCheck > true < / SDLCheck > <nl> + < RuntimeLibrary > MultiThreadedDebug < / RuntimeLibrary > <nl> + < / ClCompile > <nl> + < Link > <nl> + < SubSystem > Windows < / SubSystem > <nl> + < GenerateDebugInformation > true < / GenerateDebugInformation > <nl> + < / Link > <nl> + < / ItemDefinitionGroup > <nl> + < ItemDefinitionGroup Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Debug | x64 ' " > <nl> + < ClCompile > <nl> + < PrecompiledHeader > NotUsing < / PrecompiledHeader > <nl> + < WarningLevel > Level3 < / WarningLevel > <nl> + < Optimization > Disabled < / Optimization > <nl> + < PreprocessorDefinitions > WIN32 ; _DEBUG ; _LIB ; % ( PreprocessorDefinitions ) < / PreprocessorDefinitions > <nl> + < SDLCheck > true < / SDLCheck > <nl> + < RuntimeLibrary > MultiThreadedDebug < / RuntimeLibrary > <nl> + < / ClCompile > <nl> + < Link > <nl> + < SubSystem > Windows < / SubSystem > <nl> + < GenerateDebugInformation > true < / GenerateDebugInformation > <nl> + < / Link > <nl> + < / ItemDefinitionGroup > <nl> + < ItemDefinitionGroup Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Release | Win32 ' " > <nl> + < ClCompile > <nl> + < WarningLevel > Level3 < / WarningLevel > <nl> + < PrecompiledHeader > NotUsing < / PrecompiledHeader > <nl> + < Optimization > MaxSpeed < / Optimization > <nl> + < FunctionLevelLinking > true < / FunctionLevelLinking > <nl> + < IntrinsicFunctions > true < / IntrinsicFunctions > <nl> + < PreprocessorDefinitions > WIN32 ; NDEBUG ; _LIB ; _USE_32BIT_TIME_T ; % ( PreprocessorDefinitions ) < / PreprocessorDefinitions > <nl> + < SDLCheck > true < / SDLCheck > <nl> + < RuntimeLibrary > MultiThreaded < / RuntimeLibrary > <nl> + < / ClCompile > <nl> + < Link > <nl> + < SubSystem > Windows < / SubSystem > <nl> + < GenerateDebugInformation > true < / GenerateDebugInformation > <nl> + < EnableCOMDATFolding > true < / EnableCOMDATFolding > <nl> + < OptimizeReferences > true < / OptimizeReferences > <nl> + < / Link > <nl> + < / ItemDefinitionGroup > <nl> + < ItemDefinitionGroup Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Release | x64 ' " > <nl> + < ClCompile > <nl> + < WarningLevel > Level3 < / WarningLevel > <nl> + < PrecompiledHeader > NotUsing < / PrecompiledHeader > <nl> + < Optimization > MaxSpeed < / Optimization > <nl> + < FunctionLevelLinking > true < / FunctionLevelLinking > <nl> + < IntrinsicFunctions > true < / IntrinsicFunctions > <nl> + < PreprocessorDefinitions > WIN32 ; NDEBUG ; _LIB ; % ( PreprocessorDefinitions ) < / PreprocessorDefinitions > <nl> + < SDLCheck > true < / SDLCheck > <nl> + < RuntimeLibrary > MultiThreaded < / RuntimeLibrary > <nl> + < / ClCompile > <nl> + < Link > <nl> + < SubSystem > Windows < / SubSystem > <nl> + < GenerateDebugInformation > true < / GenerateDebugInformation > <nl> + < EnableCOMDATFolding > true < / EnableCOMDATFolding > <nl> + < OptimizeReferences > true < / OptimizeReferences > <nl> + < / Link > <nl> + < / ItemDefinitionGroup > <nl> + < ItemGroup > <nl> + < ClInclude Include = " . . \ . . \ include \ grpc \ grpc_security . h " / > <nl> + < ClInclude Include = " . . \ . . \ include \ grpc \ byte_buffer . h " / > <nl> + < ClInclude Include = " . . \ . . \ include \ grpc \ byte_buffer_reader . h " / > <nl> + < ClInclude Include = " . . \ . . \ include \ grpc \ compression . h " / > <nl> + < ClInclude Include = " . . \ . . \ include \ grpc \ grpc . h " / > <nl> + < ClInclude Include = " . . \ . . \ include \ grpc \ status . h " / > <nl> + < ClInclude Include = " . . \ . . \ include \ grpc \ census . h " / > <nl> + < / ItemGroup > <nl> + < ItemGroup > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ security \ auth_filters . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ security \ base64 . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ security \ credentials . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ security \ json_token . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ security \ jwt_verifier . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ security \ secure_endpoint . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ security \ secure_transport_setup . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ security \ security_connector . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ security \ security_context . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ tsi \ fake_transport_security . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ tsi \ ssl_transport_security . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ tsi \ transport_security . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ tsi \ transport_security_interface . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ census \ grpc_filter . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ channel \ channel_args . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ channel \ channel_stack . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ channel \ client_channel . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ channel \ compress_filter . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ channel \ connected_channel . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ channel \ context . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ channel \ http_client_filter . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ channel \ http_server_filter . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ channel \ noop_filter . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ client_config . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ connector . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ lb_policies \ pick_first . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ lb_policy . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ resolver . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ resolver_factory . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ resolver_registry . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ resolvers \ dns_resolver . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ resolvers \ sockaddr_resolver . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ subchannel . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ subchannel_factory . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ subchannel_factory_decorators \ add_channel_arg . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ subchannel_factory_decorators \ merge_channel_args . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ uri_parser . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ compression \ message_compress . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ debug \ trace . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ httpcli \ format_request . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ httpcli \ httpcli . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ httpcli \ parser . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ alarm . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ alarm_heap . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ alarm_internal . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ endpoint . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ endpoint_pair . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ fd_posix . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ iocp_windows . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ iomgr . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ iomgr_internal . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ iomgr_posix . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ pollset . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ pollset_posix . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ pollset_set . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ pollset_set_posix . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ pollset_set_windows . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ pollset_windows . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ resolve_address . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ sockaddr . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ sockaddr_posix . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ sockaddr_utils . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ sockaddr_win32 . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ socket_utils_posix . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ socket_windows . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ tcp_client . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ tcp_posix . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ tcp_server . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ tcp_windows . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ time_averaged_stats . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ udp_server . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ wakeup_fd_pipe . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ wakeup_fd_posix . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ json \ json . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ json \ json_common . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ json \ json_reader . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ json \ json_writer . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ profiling \ timers . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ profiling \ timers_preciseclock . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ statistics \ census_interface . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ statistics \ census_rpc_stats . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ surface \ byte_buffer_queue . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ surface \ call . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ surface \ channel . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ surface \ completion_queue . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ surface \ event_string . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ surface \ init . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ surface \ server . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ surface \ surface_trace . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ alpn . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ bin_encoder . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ frame . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ frame_data . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ frame_goaway . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ frame_ping . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ frame_rst_stream . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ frame_settings . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ frame_window_update . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ hpack_parser . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ hpack_table . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ http2_errors . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ huffsyms . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ incoming_metadata . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ internal . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ status_conversion . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ stream_encoder . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ stream_map . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ timeout_encoding . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ varint . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2_transport . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ connectivity_state . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ metadata . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ stream_op . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ transport . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ transport_impl . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ census \ context . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ census \ rpc_stat_id . h " / > <nl> + < / ItemGroup > <nl> + < ItemGroup > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ httpcli \ httpcli_security_connector . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ security \ base64 . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ security \ client_auth_filter . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ security \ credentials . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ security \ credentials_metadata . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ security \ credentials_posix . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ security \ credentials_win32 . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ security \ google_default_credentials . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ security \ json_token . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ security \ jwt_verifier . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ security \ secure_endpoint . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ security \ secure_transport_setup . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ security \ security_connector . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ security \ security_context . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ security \ server_auth_filter . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ security \ server_secure_chttp2 . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ init_secure . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ secure_channel_create . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ tsi \ fake_transport_security . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ tsi \ ssl_transport_security . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ tsi \ transport_security . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ census \ grpc_context . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ census \ grpc_filter . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ channel \ channel_args . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ channel \ channel_stack . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ channel \ client_channel . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ channel \ compress_filter . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ channel \ connected_channel . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ channel \ http_client_filter . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ channel \ http_server_filter . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ channel \ noop_filter . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ client_config . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ connector . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ lb_policies \ pick_first . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ lb_policy . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ resolver . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ resolver_factory . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ resolver_registry . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ resolvers \ dns_resolver . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ resolvers \ sockaddr_resolver . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ subchannel . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ subchannel_factory . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ subchannel_factory_decorators \ add_channel_arg . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ subchannel_factory_decorators \ merge_channel_args . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ uri_parser . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ compression \ algorithm . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ compression \ message_compress . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ debug \ trace . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ httpcli \ format_request . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ httpcli \ httpcli . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ httpcli \ parser . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ alarm . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ alarm_heap . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ endpoint . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ endpoint_pair_posix . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ endpoint_pair_windows . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ fd_posix . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ iocp_windows . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ iomgr . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ iomgr_posix . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ iomgr_windows . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ pollset_multipoller_with_epoll . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ pollset_multipoller_with_poll_posix . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ pollset_posix . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ pollset_set_posix . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ pollset_set_windows . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ pollset_windows . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ resolve_address_posix . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ resolve_address_windows . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ sockaddr_utils . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ socket_utils_common_posix . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ socket_utils_linux . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ socket_utils_posix . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ socket_windows . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ tcp_client_posix . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ tcp_client_windows . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ tcp_posix . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ tcp_server_posix . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ tcp_server_windows . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ tcp_windows . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ time_averaged_stats . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ udp_server . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ wakeup_fd_eventfd . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ wakeup_fd_nospecial . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ wakeup_fd_pipe . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ wakeup_fd_posix . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ json \ json . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ json \ json_reader . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ json \ json_string . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ json \ json_writer . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ profiling \ basic_timers . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ profiling \ stap_timers . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ api_trace . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ byte_buffer . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ byte_buffer_queue . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ byte_buffer_reader . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ call . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ call_details . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ call_log_batch . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ channel . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ channel_connectivity . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ channel_create . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ completion_queue . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ event_string . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ init . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ lame_client . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ metadata_array . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ server . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ server_chttp2 . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ server_create . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ surface_trace . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ version . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ alpn . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ bin_encoder . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ frame_data . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ frame_goaway . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ frame_ping . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ frame_rst_stream . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ frame_settings . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ frame_window_update . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ hpack_parser . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ hpack_table . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ huffsyms . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ incoming_metadata . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ parsing . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ status_conversion . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ stream_encoder . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ stream_lists . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ stream_map . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ timeout_encoding . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ varint . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ writing . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2_transport . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ connectivity_state . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ metadata . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ stream_op . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ transport . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ transport_op_string . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ census \ context . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ census \ initialize . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ census \ record_stat . c " > <nl> + < / ClCompile > <nl> + < / ItemGroup > <nl> + < ItemGroup > <nl> + < ProjectReference Include = " . . \ gpr \ gpr . vcxproj " > <nl> + < Project > { B23D3D1A - 9438 - 4EDA - BEB6 - 9A0A03D17792 } < / Project > <nl> + < / ProjectReference > <nl> + < / ItemGroup > <nl> + < ItemGroup > <nl> + < None Include = " packages . config " / > <nl> + < / ItemGroup > <nl> + < Import Project = " $ ( VCTargetsPath ) \ Microsoft . Cpp . targets " / > <nl> + < ImportGroup Label = " ExtensionTargets " > <nl> + < Import Project = " . . \ packages \ grpc . dependencies . zlib . redist . 1 . 2 . 8 . 9 \ build \ native \ grpc . dependencies . zlib . redist . targets " Condition = " Exists ( ' . . \ packages \ grpc . dependencies . zlib . redist . 1 . 2 . 8 . 9 \ build \ native \ grpc . dependencies . zlib . redist . targets ' ) " / > <nl> + < Import Project = " . . \ packages \ grpc . dependencies . zlib . 1 . 2 . 8 . 9 \ build \ native \ grpc . dependencies . zlib . targets " Condition = " Exists ( ' . . \ packages \ grpc . dependencies . zlib . 1 . 2 . 8 . 9 \ build \ native \ grpc . dependencies . zlib . targets ' ) " / > <nl> + < Import Project = " . . \ packages \ grpc . dependencies . openssl . redist . 1 . 0 . 2 . 2 \ build \ native \ grpc . dependencies . openssl . redist . targets " Condition = " Exists ( ' . . \ packages \ grpc . dependencies . openssl . redist . 1 . 0 . 2 . 2 \ build \ native \ grpc . dependencies . openssl . redist . targets ' ) " / > <nl> + < Import Project = " . . \ packages \ grpc . dependencies . openssl . 1 . 0 . 2 . 2 \ build \ native \ grpc . dependencies . openssl . targets " Condition = " Exists ( ' . . \ packages \ grpc . dependencies . openssl . 1 . 0 . 2 . 2 \ build \ native \ grpc . dependencies . openssl . targets ' ) " / > <nl> + < / ImportGroup > <nl> + < Target Name = " EnsureNuGetPackageBuildImports " BeforeTargets = " PrepareForBuild " > <nl> + < PropertyGroup > <nl> + < ErrorText > This project references NuGet package ( s ) that are missing on this computer . Enable NuGet Package Restore to download them . For more information , see http : / / go . microsoft . com / fwlink / ? LinkID = 322105 . The missing file is { 0 } . < / ErrorText > <nl> + < / PropertyGroup > <nl> + < Error Condition = " ! Exists ( ' . . \ packages \ grpc . dependencies . zlib . redist . 1 . 2 . 8 . 9 \ build \ native \ grpc . dependencies . zlib . redist . targets ' ) " Text = " $ ( [ System . String ] : : Format ( ' $ ( ErrorText ) ' , ' . . \ packages \ grpc . dependencies . zlib . redist . 1 . 2 . 8 . 9 \ build \ native \ grpc . dependencies . zlib . redist . targets ' ) ) " / > <nl> + < Error Condition = " ! Exists ( ' . . \ packages \ grpc . dependencies . zlib . 1 . 2 . 8 . 9 \ build \ native \ grpc . dependencies . zlib . targets ' ) " Text = " $ ( [ System . String ] : : Format ( ' $ ( ErrorText ) ' , ' . . \ packages \ grpc . dependencies . zlib . 1 . 2 . 8 . 9 \ build \ native \ grpc . dependencies . zlib . targets ' ) ) " / > <nl> + < Error Condition = " ! Exists ( ' . . \ packages \ grpc . dependencies . openssl . redist . 1 . 0 . 2 . 2 \ build \ native \ grpc . dependencies . openssl . redist . targets ' ) " Text = " $ ( [ System . String ] : : Format ( ' $ ( ErrorText ) ' , ' . . \ packages \ grpc . dependencies . openssl . redist . 1 . 0 . 2 . 2 \ build \ native \ grpc . dependencies . openssl . redist . targets ' ) ) " / > <nl> + < Error Condition = " ! Exists ( ' . . \ packages \ grpc . dependencies . openssl . 1 . 0 . 2 . 2 \ build \ native \ grpc . dependencies . openssl . props ' ) " Text = " $ ( [ System . String ] : : Format ( ' $ ( ErrorText ) ' , ' . . \ packages \ grpc . dependencies . openssl . 1 . 0 . 2 . 2 \ build \ native \ grpc . dependencies . openssl . props ' ) ) " / > <nl> + < Error Condition = " ! Exists ( ' . . \ packages \ grpc . dependencies . openssl . 1 . 0 . 2 . 2 \ build \ native \ grpc . dependencies . openssl . targets ' ) " Text = " $ ( [ System . String ] : : Format ( ' $ ( ErrorText ) ' , ' . . \ packages \ grpc . dependencies . openssl . 1 . 0 . 2 . 2 \ build \ native \ grpc . dependencies . openssl . targets ' ) ) " / > <nl> + < / Target > <nl> + < / Project > <nl> new file mode 100644 <nl> index 00000000000 . . 624bac04f5b <nl> mmm / dev / null <nl> ppp b / vsprojects / grpc / grpc . vcxproj . filters <nl> <nl> + < ? xml version = " 1 . 0 " encoding = " utf - 8 " ? > <nl> + < Project ToolsVersion = " 4 . 0 " xmlns = " http : / / schemas . microsoft . com / developer / msbuild / 2003 " > <nl> + < ItemGroup > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ httpcli \ httpcli_security_connector . c " > <nl> + < Filter > src \ core \ httpcli < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ security \ base64 . c " > <nl> + < Filter > src \ core \ security < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ security \ client_auth_filter . c " > <nl> + < Filter > src \ core \ security < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ security \ credentials . c " > <nl> + < Filter > src \ core \ security < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ security \ credentials_metadata . c " > <nl> + < Filter > src \ core \ security < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ security \ credentials_posix . c " > <nl> + < Filter > src \ core \ security < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ security \ credentials_win32 . c " > <nl> + < Filter > src \ core \ security < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ security \ google_default_credentials . c " > <nl> + < Filter > src \ core \ security < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ security \ json_token . c " > <nl> + < Filter > src \ core \ security < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ security \ jwt_verifier . c " > <nl> + < Filter > src \ core \ security < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ security \ secure_endpoint . c " > <nl> + < Filter > src \ core \ security < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ security \ secure_transport_setup . c " > <nl> + < Filter > src \ core \ security < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ security \ security_connector . c " > <nl> + < Filter > src \ core \ security < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ security \ security_context . c " > <nl> + < Filter > src \ core \ security < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ security \ server_auth_filter . c " > <nl> + < Filter > src \ core \ security < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ security \ server_secure_chttp2 . c " > <nl> + < Filter > src \ core \ security < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ init_secure . c " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ secure_channel_create . c " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ tsi \ fake_transport_security . c " > <nl> + < Filter > src \ core \ tsi < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ tsi \ ssl_transport_security . c " > <nl> + < Filter > src \ core \ tsi < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ tsi \ transport_security . c " > <nl> + < Filter > src \ core \ tsi < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ census \ grpc_context . c " > <nl> + < Filter > src \ core \ census < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ census \ grpc_filter . c " > <nl> + < Filter > src \ core \ census < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ channel \ channel_args . c " > <nl> + < Filter > src \ core \ channel < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ channel \ channel_stack . c " > <nl> + < Filter > src \ core \ channel < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ channel \ client_channel . c " > <nl> + < Filter > src \ core \ channel < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ channel \ compress_filter . c " > <nl> + < Filter > src \ core \ channel < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ channel \ connected_channel . c " > <nl> + < Filter > src \ core \ channel < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ channel \ http_client_filter . c " > <nl> + < Filter > src \ core \ channel < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ channel \ http_server_filter . c " > <nl> + < Filter > src \ core \ channel < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ channel \ noop_filter . c " > <nl> + < Filter > src \ core \ channel < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ client_config . c " > <nl> + < Filter > src \ core \ client_config < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ connector . c " > <nl> + < Filter > src \ core \ client_config < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ lb_policies \ pick_first . c " > <nl> + < Filter > src \ core \ client_config \ lb_policies < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ lb_policy . c " > <nl> + < Filter > src \ core \ client_config < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ resolver . c " > <nl> + < Filter > src \ core \ client_config < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ resolver_factory . c " > <nl> + < Filter > src \ core \ client_config < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ resolver_registry . c " > <nl> + < Filter > src \ core \ client_config < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ resolvers \ dns_resolver . c " > <nl> + < Filter > src \ core \ client_config \ resolvers < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ resolvers \ sockaddr_resolver . c " > <nl> + < Filter > src \ core \ client_config \ resolvers < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ subchannel . c " > <nl> + < Filter > src \ core \ client_config < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ subchannel_factory . c " > <nl> + < Filter > src \ core \ client_config < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ subchannel_factory_decorators \ add_channel_arg . c " > <nl> + < Filter > src \ core \ client_config \ subchannel_factory_decorators < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ subchannel_factory_decorators \ merge_channel_args . c " > <nl> + < Filter > src \ core \ client_config \ subchannel_factory_decorators < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ uri_parser . c " > <nl> + < Filter > src \ core \ client_config < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ compression \ algorithm . c " > <nl> + < Filter > src \ core \ compression < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ compression \ message_compress . c " > <nl> + < Filter > src \ core \ compression < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ debug \ trace . c " > <nl> + < Filter > src \ core \ debug < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ httpcli \ format_request . c " > <nl> + < Filter > src \ core \ httpcli < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ httpcli \ httpcli . c " > <nl> + < Filter > src \ core \ httpcli < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ httpcli \ parser . c " > <nl> + < Filter > src \ core \ httpcli < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ alarm . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ alarm_heap . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ endpoint . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ endpoint_pair_posix . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ endpoint_pair_windows . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ fd_posix . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ iocp_windows . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ iomgr . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ iomgr_posix . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ iomgr_windows . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ pollset_multipoller_with_epoll . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ pollset_multipoller_with_poll_posix . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ pollset_posix . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ pollset_set_posix . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ pollset_set_windows . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ pollset_windows . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ resolve_address_posix . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ resolve_address_windows . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ sockaddr_utils . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ socket_utils_common_posix . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ socket_utils_linux . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ socket_utils_posix . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ socket_windows . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ tcp_client_posix . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ tcp_client_windows . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ tcp_posix . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ tcp_server_posix . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ tcp_server_windows . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ tcp_windows . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ time_averaged_stats . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ udp_server . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ wakeup_fd_eventfd . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ wakeup_fd_nospecial . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ wakeup_fd_pipe . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ wakeup_fd_posix . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ json \ json . c " > <nl> + < Filter > src \ core \ json < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ json \ json_reader . c " > <nl> + < Filter > src \ core \ json < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ json \ json_string . c " > <nl> + < Filter > src \ core \ json < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ json \ json_writer . c " > <nl> + < Filter > src \ core \ json < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ profiling \ basic_timers . c " > <nl> + < Filter > src \ core \ profiling < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ profiling \ stap_timers . c " > <nl> + < Filter > src \ core \ profiling < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ api_trace . c " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ byte_buffer . c " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ byte_buffer_queue . c " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ byte_buffer_reader . c " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ call . c " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ call_details . c " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ call_log_batch . c " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ channel . c " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ channel_connectivity . c " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ channel_create . c " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ completion_queue . c " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ event_string . c " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ init . c " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ lame_client . c " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ metadata_array . c " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ server . c " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ server_chttp2 . c " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ server_create . c " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ surface_trace . c " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ version . c " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ alpn . c " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ bin_encoder . c " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ frame_data . c " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ frame_goaway . c " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ frame_ping . c " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ frame_rst_stream . c " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ frame_settings . c " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ frame_window_update . c " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ hpack_parser . c " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ hpack_table . c " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ huffsyms . c " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ incoming_metadata . c " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ parsing . c " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ status_conversion . c " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ stream_encoder . c " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ stream_lists . c " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ stream_map . c " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ timeout_encoding . c " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ varint . c " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ writing . c " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2_transport . c " > <nl> + < Filter > src \ core \ transport < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ connectivity_state . c " > <nl> + < Filter > src \ core \ transport < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ metadata . c " > <nl> + < Filter > src \ core \ transport < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ stream_op . c " > <nl> + < Filter > src \ core \ transport < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ transport . c " > <nl> + < Filter > src \ core \ transport < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ transport_op_string . c " > <nl> + < Filter > src \ core \ transport < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ census \ context . c " > <nl> + < Filter > src \ core \ census < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ census \ initialize . c " > <nl> + < Filter > src \ core \ census < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ census \ record_stat . c " > <nl> + < Filter > src \ core \ census < / Filter > <nl> + < / ClCompile > <nl> + < / ItemGroup > <nl> + < ItemGroup > <nl> + < ClInclude Include = " . . \ . . \ include \ grpc \ grpc_security . h " > <nl> + < Filter > include \ grpc < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ include \ grpc \ byte_buffer . h " > <nl> + < Filter > include \ grpc < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ include \ grpc \ byte_buffer_reader . h " > <nl> + < Filter > include \ grpc < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ include \ grpc \ compression . h " > <nl> + < Filter > include \ grpc < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ include \ grpc \ grpc . h " > <nl> + < Filter > include \ grpc < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ include \ grpc \ status . h " > <nl> + < Filter > include \ grpc < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ include \ grpc \ census . h " > <nl> + < Filter > include \ grpc < / Filter > <nl> + < / ClInclude > <nl> + < / ItemGroup > <nl> + < ItemGroup > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ security \ auth_filters . h " > <nl> + < Filter > src \ core \ security < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ security \ base64 . h " > <nl> + < Filter > src \ core \ security < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ security \ credentials . h " > <nl> + < Filter > src \ core \ security < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ security \ json_token . h " > <nl> + < Filter > src \ core \ security < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ security \ jwt_verifier . h " > <nl> + < Filter > src \ core \ security < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ security \ secure_endpoint . h " > <nl> + < Filter > src \ core \ security < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ security \ secure_transport_setup . h " > <nl> + < Filter > src \ core \ security < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ security \ security_connector . h " > <nl> + < Filter > src \ core \ security < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ security \ security_context . h " > <nl> + < Filter > src \ core \ security < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ tsi \ fake_transport_security . h " > <nl> + < Filter > src \ core \ tsi < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ tsi \ ssl_transport_security . h " > <nl> + < Filter > src \ core \ tsi < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ tsi \ transport_security . h " > <nl> + < Filter > src \ core \ tsi < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ tsi \ transport_security_interface . h " > <nl> + < Filter > src \ core \ tsi < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ census \ grpc_filter . h " > <nl> + < Filter > src \ core \ census < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ channel \ channel_args . h " > <nl> + < Filter > src \ core \ channel < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ channel \ channel_stack . h " > <nl> + < Filter > src \ core \ channel < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ channel \ client_channel . h " > <nl> + < Filter > src \ core \ channel < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ channel \ compress_filter . h " > <nl> + < Filter > src \ core \ channel < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ channel \ connected_channel . h " > <nl> + < Filter > src \ core \ channel < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ channel \ context . h " > <nl> + < Filter > src \ core \ channel < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ channel \ http_client_filter . h " > <nl> + < Filter > src \ core \ channel < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ channel \ http_server_filter . h " > <nl> + < Filter > src \ core \ channel < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ channel \ noop_filter . h " > <nl> + < Filter > src \ core \ channel < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ client_config . h " > <nl> + < Filter > src \ core \ client_config < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ connector . h " > <nl> + < Filter > src \ core \ client_config < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ lb_policies \ pick_first . h " > <nl> + < Filter > src \ core \ client_config \ lb_policies < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ lb_policy . h " > <nl> + < Filter > src \ core \ client_config < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ resolver . h " > <nl> + < Filter > src \ core \ client_config < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ resolver_factory . h " > <nl> + < Filter > src \ core \ client_config < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ resolver_registry . h " > <nl> + < Filter > src \ core \ client_config < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ resolvers \ dns_resolver . h " > <nl> + < Filter > src \ core \ client_config \ resolvers < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ resolvers \ sockaddr_resolver . h " > <nl> + < Filter > src \ core \ client_config \ resolvers < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ subchannel . h " > <nl> + < Filter > src \ core \ client_config < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ subchannel_factory . h " > <nl> + < Filter > src \ core \ client_config < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ subchannel_factory_decorators \ add_channel_arg . h " > <nl> + < Filter > src \ core \ client_config \ subchannel_factory_decorators < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ subchannel_factory_decorators \ merge_channel_args . h " > <nl> + < Filter > src \ core \ client_config \ subchannel_factory_decorators < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ uri_parser . h " > <nl> + < Filter > src \ core \ client_config < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ compression \ message_compress . h " > <nl> + < Filter > src \ core \ compression < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ debug \ trace . h " > <nl> + < Filter > src \ core \ debug < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ httpcli \ format_request . h " > <nl> + < Filter > src \ core \ httpcli < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ httpcli \ httpcli . h " > <nl> + < Filter > src \ core \ httpcli < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ httpcli \ parser . h " > <nl> + < Filter > src \ core \ httpcli < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ alarm . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ alarm_heap . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ alarm_internal . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ endpoint . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ endpoint_pair . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ fd_posix . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ iocp_windows . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ iomgr . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ iomgr_internal . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ iomgr_posix . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ pollset . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ pollset_posix . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ pollset_set . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ pollset_set_posix . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ pollset_set_windows . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ pollset_windows . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ resolve_address . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ sockaddr . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ sockaddr_posix . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ sockaddr_utils . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ sockaddr_win32 . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ socket_utils_posix . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ socket_windows . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ tcp_client . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ tcp_posix . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ tcp_server . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ tcp_windows . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ time_averaged_stats . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ udp_server . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ wakeup_fd_pipe . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ wakeup_fd_posix . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ json \ json . h " > <nl> + < Filter > src \ core \ json < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ json \ json_common . h " > <nl> + < Filter > src \ core \ json < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ json \ json_reader . h " > <nl> + < Filter > src \ core \ json < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ json \ json_writer . h " > <nl> + < Filter > src \ core \ json < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ profiling \ timers . h " > <nl> + < Filter > src \ core \ profiling < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ profiling \ timers_preciseclock . h " > <nl> + < Filter > src \ core \ profiling < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ statistics \ census_interface . h " > <nl> + < Filter > src \ core \ statistics < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ statistics \ census_rpc_stats . h " > <nl> + < Filter > src \ core \ statistics < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ surface \ byte_buffer_queue . h " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ surface \ call . h " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ surface \ channel . h " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ surface \ completion_queue . h " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ surface \ event_string . h " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ surface \ init . h " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ surface \ server . h " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ surface \ surface_trace . h " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ alpn . h " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ bin_encoder . h " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ frame . h " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ frame_data . h " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ frame_goaway . h " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ frame_ping . h " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ frame_rst_stream . h " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ frame_settings . h " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ frame_window_update . h " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ hpack_parser . h " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ hpack_table . h " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ http2_errors . h " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ huffsyms . h " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ incoming_metadata . h " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ internal . h " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ status_conversion . h " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ stream_encoder . h " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ stream_map . h " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ timeout_encoding . h " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ varint . h " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2_transport . h " > <nl> + < Filter > src \ core \ transport < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ connectivity_state . h " > <nl> + < Filter > src \ core \ transport < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ metadata . h " > <nl> + < Filter > src \ core \ transport < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ stream_op . h " > <nl> + < Filter > src \ core \ transport < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ transport . h " > <nl> + < Filter > src \ core \ transport < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ transport_impl . h " > <nl> + < Filter > src \ core \ transport < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ census \ context . h " > <nl> + < Filter > src \ core \ census < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ census \ rpc_stat_id . h " > <nl> + < Filter > src \ core \ census < / Filter > <nl> + < / ClInclude > <nl> + < / ItemGroup > <nl> + <nl> + < ItemGroup > <nl> + < Filter Include = " include " > <nl> + < UniqueIdentifier > { 968de0a1 - 346d - b75a - 6f19 - 6a55119b8235 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " include \ grpc " > <nl> + < UniqueIdentifier > { 880c644d - b84f - cfca - 98bd - e145f36232ab } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " src " > <nl> + < UniqueIdentifier > { d538af37 - 07b2 - 062b - fa2a - d9f882cb2737 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " src \ core " > <nl> + < UniqueIdentifier > { ea745680 - 21ea - 9c5e - 679b - 64dc40562d08 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " src \ core \ census " > <nl> + < UniqueIdentifier > { fb3aefc2 - 8205 - b0bf - 525f - ab5e339f7f76 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " src \ core \ channel " > <nl> + < UniqueIdentifier > { d897b6c3 - c555 - 234e - a589 - b4f008063615 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " src \ core \ client_config " > <nl> + < UniqueIdentifier > { e71e6928 - b1e3 - 0616 - 0961 - 1505370458ab } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " src \ core \ client_config \ lb_policies " > <nl> + < UniqueIdentifier > { a3eca4d5 - f760 - 61a6 - 7251 - 556b828c8b44 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " src \ core \ client_config \ resolvers " > <nl> + < UniqueIdentifier > { 6d97b8d9 - 2c15 - 927a - 892a - 709d073c02ab } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " src \ core \ client_config \ subchannel_factory_decorators " > <nl> + < UniqueIdentifier > { 428cdbb1 - c777 - 2c64 - 79b3 - 43d6ee413061 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " src \ core \ compression " > <nl> + < UniqueIdentifier > { 263cb913 - dfe6 - 42a4 - 096b - cac231f76305 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " src \ core \ debug " > <nl> + < UniqueIdentifier > { 1da7ef8a - a06d - 5499 - b3de - 19fee4a4214d } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " src \ core \ httpcli " > <nl> + < UniqueIdentifier > { a9bc00ad - 835f - c625 - c6d9 - 6a1324f98b9f } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " src \ core \ iomgr " > <nl> + < UniqueIdentifier > { 1baf3894 - af37 - e647 - bdbc - 95dc17ed0073 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " src \ core \ json " > <nl> + < UniqueIdentifier > { e665cc0e - b994 - d7c5 - cc18 - 2007392019f0 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " src \ core \ profiling " > <nl> + < UniqueIdentifier > { 87674b72 - 0f05 - 0469 - 481a - bd8c7af9ad80 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " src \ core \ security " > <nl> + < UniqueIdentifier > { 1d850ac6 - e639 - 4eab - 5338 - 4ba40272fcc9 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " src \ core \ statistics " > <nl> + < UniqueIdentifier > { 0ef49896 - 2313 - 4a3f - 1ce2 - 716fa0e5c6ca } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " src \ core \ surface " > <nl> + < UniqueIdentifier > { aeb18e82 - 5d25 - 0aad - 8b02 - a0a3470073ce } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " src \ core \ transport " > <nl> + < UniqueIdentifier > { 168fa1b1 - 1c18 - eb55 - 9a4d - 746bc58df2c1 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " src \ core \ transport \ chttp2 " > <nl> + < UniqueIdentifier > { b8b623c3 - a168 - a2b1 - 0d5f - b70a1f1cd8d2 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " src \ core \ tsi " > <nl> + < UniqueIdentifier > { 0b0f9ab1 - efa4 - 7f03 - e446 - 6fb9b5227e84 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < / ItemGroup > <nl> + < / Project > <nl> + <nl> new file mode 100644 <nl> index 00000000000 . . 2329d3532cc <nl> mmm / dev / null <nl> ppp b / vsprojects / grpc_unsecure / grpc_unsecure . vcxproj <nl> <nl> + < ? xml version = " 1 . 0 " encoding = " utf - 8 " ? > <nl> + < Project DefaultTargets = " Build " ToolsVersion = " 12 . 0 " xmlns = " http : / / schemas . microsoft . com / developer / msbuild / 2003 " > <nl> + < ItemGroup Label = " ProjectConfigurations " > <nl> + < ProjectConfiguration Include = " Debug - DLL | Win32 " > <nl> + < Configuration > Debug - DLL < / Configuration > <nl> + < Platform > Win32 < / Platform > <nl> + < / ProjectConfiguration > <nl> + < ProjectConfiguration Include = " Debug - DLL | x64 " > <nl> + < Configuration > Debug - DLL < / Configuration > <nl> + < Platform > x64 < / Platform > <nl> + < / ProjectConfiguration > <nl> + < ProjectConfiguration Include = " Release - DLL | Win32 " > <nl> + < Configuration > Release - DLL < / Configuration > <nl> + < Platform > Win32 < / Platform > <nl> + < / ProjectConfiguration > <nl> + < ProjectConfiguration Include = " Release - DLL | x64 " > <nl> + < Configuration > Release - DLL < / Configuration > <nl> + < Platform > x64 < / Platform > <nl> + < / ProjectConfiguration > <nl> + < ProjectConfiguration Include = " Debug | Win32 " > <nl> + < Configuration > Debug < / Configuration > <nl> + < Platform > Win32 < / Platform > <nl> + < / ProjectConfiguration > <nl> + < ProjectConfiguration Include = " Debug | x64 " > <nl> + < Configuration > Debug < / Configuration > <nl> + < Platform > x64 < / Platform > <nl> + < / ProjectConfiguration > <nl> + < ProjectConfiguration Include = " Release | Win32 " > <nl> + < Configuration > Release < / Configuration > <nl> + < Platform > Win32 < / Platform > <nl> + < / ProjectConfiguration > <nl> + < ProjectConfiguration Include = " Release | x64 " > <nl> + < Configuration > Release < / Configuration > <nl> + < Platform > x64 < / Platform > <nl> + < / ProjectConfiguration > <nl> + < / ItemGroup > <nl> + < PropertyGroup Label = " Globals " > <nl> + < ProjectGuid > { 46CEDFFF - 9692 - 456A - AA24 - 38B5D6BCF4C5 } < / ProjectGuid > <nl> + < / PropertyGroup > <nl> + < Import Project = " $ ( VCTargetsPath ) \ Microsoft . Cpp . Default . props " / > <nl> + < PropertyGroup Condition = " ' $ ( VisualStudioVersion ) ' = = ' 10 . 0 ' " Label = " Configuration " > <nl> + < PlatformToolset > v100 < / PlatformToolset > <nl> + < / PropertyGroup > <nl> + < PropertyGroup Condition = " ' $ ( VisualStudioVersion ) ' = = ' 11 . 0 ' " Label = " Configuration " > <nl> + < PlatformToolset > v110 < / PlatformToolset > <nl> + < / PropertyGroup > <nl> + < PropertyGroup Condition = " ' $ ( VisualStudioVersion ) ' = = ' 12 . 0 ' " Label = " Configuration " > <nl> + < PlatformToolset > v120 < / PlatformToolset > <nl> + < / PropertyGroup > <nl> + < PropertyGroup Condition = " ' $ ( Configuration ) ' = = ' Debug ' " Label = " Configuration " > <nl> + < ConfigurationType > StaticLibrary < / ConfigurationType > <nl> + < UseDebugLibraries > true < / UseDebugLibraries > <nl> + < CharacterSet > Unicode < / CharacterSet > <nl> + < / PropertyGroup > <nl> + < PropertyGroup Condition = " ' $ ( Configuration ) ' = = ' Release ' " Label = " Configuration " > <nl> + < ConfigurationType > StaticLibrary < / ConfigurationType > <nl> + < UseDebugLibraries > false < / UseDebugLibraries > <nl> + < WholeProgramOptimization > true < / WholeProgramOptimization > <nl> + < CharacterSet > Unicode < / CharacterSet > <nl> + < / PropertyGroup > <nl> + < PropertyGroup Condition = " ' $ ( Configuration ) ' = = ' Debug - DLL ' " Label = " Configuration " > <nl> + < ConfigurationType > StaticLibrary < / ConfigurationType > <nl> + < UseDebugLibraries > true < / UseDebugLibraries > <nl> + < CharacterSet > Unicode < / CharacterSet > <nl> + < / PropertyGroup > <nl> + < PropertyGroup Condition = " ' $ ( Configuration ) ' = = ' Release - DLL ' " Label = " Configuration " > <nl> + < ConfigurationType > StaticLibrary < / ConfigurationType > <nl> + < UseDebugLibraries > false < / UseDebugLibraries > <nl> + < WholeProgramOptimization > true < / WholeProgramOptimization > <nl> + < CharacterSet > Unicode < / CharacterSet > <nl> + < / PropertyGroup > <nl> + < Import Project = " $ ( VCTargetsPath ) \ Microsoft . Cpp . props " / > <nl> + < ImportGroup Label = " ExtensionSettings " > <nl> + < / ImportGroup > <nl> + < ImportGroup Label = " PropertySheets " > <nl> + < Import Project = " $ ( UserRootDir ) \ Microsoft . Cpp . $ ( Platform ) . user . props " Condition = " exists ( ' $ ( UserRootDir ) \ Microsoft . Cpp . $ ( Platform ) . user . props ' ) " Label = " LocalAppDataPlatform " / > <nl> + < Import Project = " . . \ winsock . props " / > <nl> + < Import Project = " . . \ global . props " / > <nl> + < / ImportGroup > <nl> + < PropertyGroup Label = " UserMacros " / > <nl> + < PropertyGroup Condition = " ' $ ( Configuration ) ' = = ' Debug ' " > <nl> + < TargetName > grpc_unsecure < / TargetName > <nl> + < Linkage - grpc_dependencies_zlib > static < / Linkage - grpc_dependencies_zlib > <nl> + < Configuration - grpc_dependencies_zlib > Debug < / Configuration - grpc_dependencies_zlib > <nl> + < / PropertyGroup > <nl> + < PropertyGroup Condition = " ' $ ( Configuration ) ' = = ' Release ' " > <nl> + < TargetName > grpc_unsecure < / TargetName > <nl> + < Linkage - grpc_dependencies_zlib > static < / Linkage - grpc_dependencies_zlib > <nl> + < Configuration - grpc_dependencies_zlib > Debug < / Configuration - grpc_dependencies_zlib > <nl> + < / PropertyGroup > <nl> + < ItemDefinitionGroup Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Debug - DLL | Win32 ' " > <nl> + < ClCompile > <nl> + < PrecompiledHeader > NotUsing < / PrecompiledHeader > <nl> + < WarningLevel > Level3 < / WarningLevel > <nl> + < Optimization > Disabled < / Optimization > <nl> + < PreprocessorDefinitions > WIN32 ; _DEBUG ; _LIB ; _USE_32BIT_TIME_T ; % ( PreprocessorDefinitions ) < / PreprocessorDefinitions > <nl> + < SDLCheck > true < / SDLCheck > <nl> + < RuntimeLibrary > MultiThreadedDebug < / RuntimeLibrary > <nl> + < / ClCompile > <nl> + < Link > <nl> + < SubSystem > Windows < / SubSystem > <nl> + < GenerateDebugInformation > true < / GenerateDebugInformation > <nl> + < / Link > <nl> + < / ItemDefinitionGroup > <nl> + < ItemDefinitionGroup Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Debug - DLL | x64 ' " > <nl> + < ClCompile > <nl> + < PrecompiledHeader > NotUsing < / PrecompiledHeader > <nl> + < WarningLevel > Level3 < / WarningLevel > <nl> + < Optimization > Disabled < / Optimization > <nl> + < PreprocessorDefinitions > WIN32 ; _DEBUG ; _LIB ; % ( PreprocessorDefinitions ) < / PreprocessorDefinitions > <nl> + < SDLCheck > true < / SDLCheck > <nl> + < RuntimeLibrary > MultiThreadedDebug < / RuntimeLibrary > <nl> + < / ClCompile > <nl> + < Link > <nl> + < SubSystem > Windows < / SubSystem > <nl> + < GenerateDebugInformation > true < / GenerateDebugInformation > <nl> + < / Link > <nl> + < / ItemDefinitionGroup > <nl> + < ItemDefinitionGroup Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Release - DLL | Win32 ' " > <nl> + < ClCompile > <nl> + < WarningLevel > Level3 < / WarningLevel > <nl> + < PrecompiledHeader > NotUsing < / PrecompiledHeader > <nl> + < Optimization > MaxSpeed < / Optimization > <nl> + < FunctionLevelLinking > true < / FunctionLevelLinking > <nl> + < IntrinsicFunctions > true < / IntrinsicFunctions > <nl> + < PreprocessorDefinitions > WIN32 ; NDEBUG ; _LIB ; _USE_32BIT_TIME_T ; % ( PreprocessorDefinitions ) < / PreprocessorDefinitions > <nl> + < SDLCheck > true < / SDLCheck > <nl> + < RuntimeLibrary > MultiThreaded < / RuntimeLibrary > <nl> + < / ClCompile > <nl> + < Link > <nl> + < SubSystem > Windows < / SubSystem > <nl> + < GenerateDebugInformation > true < / GenerateDebugInformation > <nl> + < EnableCOMDATFolding > true < / EnableCOMDATFolding > <nl> + < OptimizeReferences > true < / OptimizeReferences > <nl> + < / Link > <nl> + < / ItemDefinitionGroup > <nl> + < ItemDefinitionGroup Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Release - DLL | x64 ' " > <nl> + < ClCompile > <nl> + < WarningLevel > Level3 < / WarningLevel > <nl> + < PrecompiledHeader > NotUsing < / PrecompiledHeader > <nl> + < Optimization > MaxSpeed < / Optimization > <nl> + < FunctionLevelLinking > true < / FunctionLevelLinking > <nl> + < IntrinsicFunctions > true < / IntrinsicFunctions > <nl> + < PreprocessorDefinitions > WIN32 ; NDEBUG ; _LIB ; % ( PreprocessorDefinitions ) < / PreprocessorDefinitions > <nl> + < SDLCheck > true < / SDLCheck > <nl> + < RuntimeLibrary > MultiThreaded < / RuntimeLibrary > <nl> + < / ClCompile > <nl> + < Link > <nl> + < SubSystem > Windows < / SubSystem > <nl> + < GenerateDebugInformation > true < / GenerateDebugInformation > <nl> + < EnableCOMDATFolding > true < / EnableCOMDATFolding > <nl> + < OptimizeReferences > true < / OptimizeReferences > <nl> + < / Link > <nl> + < / ItemDefinitionGroup > <nl> + < ItemDefinitionGroup Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Debug | Win32 ' " > <nl> + < ClCompile > <nl> + < PrecompiledHeader > NotUsing < / PrecompiledHeader > <nl> + < WarningLevel > Level3 < / WarningLevel > <nl> + < Optimization > Disabled < / Optimization > <nl> + < PreprocessorDefinitions > WIN32 ; _DEBUG ; _LIB ; _USE_32BIT_TIME_T ; % ( PreprocessorDefinitions ) < / PreprocessorDefinitions > <nl> + < SDLCheck > true < / SDLCheck > <nl> + < RuntimeLibrary > MultiThreadedDebug < / RuntimeLibrary > <nl> + < / ClCompile > <nl> + < Link > <nl> + < SubSystem > Windows < / SubSystem > <nl> + < GenerateDebugInformation > true < / GenerateDebugInformation > <nl> + < / Link > <nl> + < / ItemDefinitionGroup > <nl> + < ItemDefinitionGroup Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Debug | x64 ' " > <nl> + < ClCompile > <nl> + < PrecompiledHeader > NotUsing < / PrecompiledHeader > <nl> + < WarningLevel > Level3 < / WarningLevel > <nl> + < Optimization > Disabled < / Optimization > <nl> + < PreprocessorDefinitions > WIN32 ; _DEBUG ; _LIB ; % ( PreprocessorDefinitions ) < / PreprocessorDefinitions > <nl> + < SDLCheck > true < / SDLCheck > <nl> + < RuntimeLibrary > MultiThreadedDebug < / RuntimeLibrary > <nl> + < / ClCompile > <nl> + < Link > <nl> + < SubSystem > Windows < / SubSystem > <nl> + < GenerateDebugInformation > true < / GenerateDebugInformation > <nl> + < / Link > <nl> + < / ItemDefinitionGroup > <nl> + < ItemDefinitionGroup Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Release | Win32 ' " > <nl> + < ClCompile > <nl> + < WarningLevel > Level3 < / WarningLevel > <nl> + < PrecompiledHeader > NotUsing < / PrecompiledHeader > <nl> + < Optimization > MaxSpeed < / Optimization > <nl> + < FunctionLevelLinking > true < / FunctionLevelLinking > <nl> + < IntrinsicFunctions > true < / IntrinsicFunctions > <nl> + < PreprocessorDefinitions > WIN32 ; NDEBUG ; _LIB ; _USE_32BIT_TIME_T ; % ( PreprocessorDefinitions ) < / PreprocessorDefinitions > <nl> + < SDLCheck > true < / SDLCheck > <nl> + < RuntimeLibrary > MultiThreaded < / RuntimeLibrary > <nl> + < / ClCompile > <nl> + < Link > <nl> + < SubSystem > Windows < / SubSystem > <nl> + < GenerateDebugInformation > true < / GenerateDebugInformation > <nl> + < EnableCOMDATFolding > true < / EnableCOMDATFolding > <nl> + < OptimizeReferences > true < / OptimizeReferences > <nl> + < / Link > <nl> + < / ItemDefinitionGroup > <nl> + < ItemDefinitionGroup Condition = " ' $ ( Configuration ) | $ ( Platform ) ' = = ' Release | x64 ' " > <nl> + < ClCompile > <nl> + < WarningLevel > Level3 < / WarningLevel > <nl> + < PrecompiledHeader > NotUsing < / PrecompiledHeader > <nl> + < Optimization > MaxSpeed < / Optimization > <nl> + < FunctionLevelLinking > true < / FunctionLevelLinking > <nl> + < IntrinsicFunctions > true < / IntrinsicFunctions > <nl> + < PreprocessorDefinitions > WIN32 ; NDEBUG ; _LIB ; % ( PreprocessorDefinitions ) < / PreprocessorDefinitions > <nl> + < SDLCheck > true < / SDLCheck > <nl> + < RuntimeLibrary > MultiThreaded < / RuntimeLibrary > <nl> + < / ClCompile > <nl> + < Link > <nl> + < SubSystem > Windows < / SubSystem > <nl> + < GenerateDebugInformation > true < / GenerateDebugInformation > <nl> + < EnableCOMDATFolding > true < / EnableCOMDATFolding > <nl> + < OptimizeReferences > true < / OptimizeReferences > <nl> + < / Link > <nl> + < / ItemDefinitionGroup > <nl> + < ItemGroup > <nl> + < ClInclude Include = " . . \ . . \ include \ grpc \ byte_buffer . h " / > <nl> + < ClInclude Include = " . . \ . . \ include \ grpc \ byte_buffer_reader . h " / > <nl> + < ClInclude Include = " . . \ . . \ include \ grpc \ compression . h " / > <nl> + < ClInclude Include = " . . \ . . \ include \ grpc \ grpc . h " / > <nl> + < ClInclude Include = " . . \ . . \ include \ grpc \ status . h " / > <nl> + < ClInclude Include = " . . \ . . \ include \ grpc \ census . h " / > <nl> + < / ItemGroup > <nl> + < ItemGroup > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ census \ grpc_filter . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ channel \ channel_args . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ channel \ channel_stack . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ channel \ client_channel . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ channel \ compress_filter . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ channel \ connected_channel . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ channel \ context . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ channel \ http_client_filter . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ channel \ http_server_filter . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ channel \ noop_filter . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ client_config . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ connector . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ lb_policies \ pick_first . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ lb_policy . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ resolver . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ resolver_factory . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ resolver_registry . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ resolvers \ dns_resolver . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ resolvers \ sockaddr_resolver . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ subchannel . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ subchannel_factory . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ subchannel_factory_decorators \ add_channel_arg . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ subchannel_factory_decorators \ merge_channel_args . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ uri_parser . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ compression \ message_compress . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ debug \ trace . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ httpcli \ format_request . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ httpcli \ httpcli . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ httpcli \ parser . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ alarm . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ alarm_heap . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ alarm_internal . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ endpoint . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ endpoint_pair . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ fd_posix . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ iocp_windows . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ iomgr . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ iomgr_internal . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ iomgr_posix . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ pollset . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ pollset_posix . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ pollset_set . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ pollset_set_posix . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ pollset_set_windows . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ pollset_windows . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ resolve_address . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ sockaddr . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ sockaddr_posix . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ sockaddr_utils . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ sockaddr_win32 . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ socket_utils_posix . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ socket_windows . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ tcp_client . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ tcp_posix . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ tcp_server . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ tcp_windows . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ time_averaged_stats . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ udp_server . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ wakeup_fd_pipe . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ wakeup_fd_posix . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ json \ json . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ json \ json_common . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ json \ json_reader . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ json \ json_writer . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ profiling \ timers . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ profiling \ timers_preciseclock . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ statistics \ census_interface . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ statistics \ census_rpc_stats . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ surface \ byte_buffer_queue . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ surface \ call . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ surface \ channel . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ surface \ completion_queue . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ surface \ event_string . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ surface \ init . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ surface \ server . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ surface \ surface_trace . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ alpn . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ bin_encoder . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ frame . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ frame_data . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ frame_goaway . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ frame_ping . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ frame_rst_stream . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ frame_settings . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ frame_window_update . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ hpack_parser . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ hpack_table . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ http2_errors . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ huffsyms . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ incoming_metadata . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ internal . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ status_conversion . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ stream_encoder . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ stream_map . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ timeout_encoding . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ varint . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2_transport . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ connectivity_state . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ metadata . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ stream_op . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ transport . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ transport_impl . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ census \ context . h " / > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ census \ rpc_stat_id . h " / > <nl> + < / ItemGroup > <nl> + < ItemGroup > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ init_unsecure . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ census \ grpc_context . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ census \ grpc_filter . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ channel \ channel_args . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ channel \ channel_stack . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ channel \ client_channel . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ channel \ compress_filter . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ channel \ connected_channel . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ channel \ http_client_filter . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ channel \ http_server_filter . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ channel \ noop_filter . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ client_config . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ connector . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ lb_policies \ pick_first . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ lb_policy . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ resolver . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ resolver_factory . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ resolver_registry . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ resolvers \ dns_resolver . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ resolvers \ sockaddr_resolver . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ subchannel . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ subchannel_factory . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ subchannel_factory_decorators \ add_channel_arg . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ subchannel_factory_decorators \ merge_channel_args . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ uri_parser . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ compression \ algorithm . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ compression \ message_compress . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ debug \ trace . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ httpcli \ format_request . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ httpcli \ httpcli . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ httpcli \ parser . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ alarm . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ alarm_heap . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ endpoint . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ endpoint_pair_posix . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ endpoint_pair_windows . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ fd_posix . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ iocp_windows . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ iomgr . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ iomgr_posix . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ iomgr_windows . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ pollset_multipoller_with_epoll . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ pollset_multipoller_with_poll_posix . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ pollset_posix . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ pollset_set_posix . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ pollset_set_windows . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ pollset_windows . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ resolve_address_posix . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ resolve_address_windows . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ sockaddr_utils . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ socket_utils_common_posix . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ socket_utils_linux . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ socket_utils_posix . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ socket_windows . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ tcp_client_posix . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ tcp_client_windows . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ tcp_posix . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ tcp_server_posix . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ tcp_server_windows . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ tcp_windows . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ time_averaged_stats . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ udp_server . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ wakeup_fd_eventfd . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ wakeup_fd_nospecial . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ wakeup_fd_pipe . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ wakeup_fd_posix . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ json \ json . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ json \ json_reader . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ json \ json_string . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ json \ json_writer . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ profiling \ basic_timers . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ profiling \ stap_timers . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ api_trace . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ byte_buffer . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ byte_buffer_queue . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ byte_buffer_reader . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ call . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ call_details . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ call_log_batch . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ channel . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ channel_connectivity . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ channel_create . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ completion_queue . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ event_string . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ init . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ lame_client . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ metadata_array . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ server . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ server_chttp2 . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ server_create . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ surface_trace . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ version . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ alpn . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ bin_encoder . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ frame_data . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ frame_goaway . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ frame_ping . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ frame_rst_stream . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ frame_settings . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ frame_window_update . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ hpack_parser . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ hpack_table . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ huffsyms . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ incoming_metadata . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ parsing . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ status_conversion . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ stream_encoder . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ stream_lists . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ stream_map . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ timeout_encoding . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ varint . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ writing . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2_transport . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ connectivity_state . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ metadata . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ stream_op . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ transport . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ transport_op_string . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ census \ context . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ census \ initialize . c " > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ census \ record_stat . c " > <nl> + < / ClCompile > <nl> + < / ItemGroup > <nl> + < ItemGroup > <nl> + < ProjectReference Include = " . . \ gpr \ gpr . vcxproj " > <nl> + < Project > { B23D3D1A - 9438 - 4EDA - BEB6 - 9A0A03D17792 } < / Project > <nl> + < / ProjectReference > <nl> + < / ItemGroup > <nl> + < ItemGroup > <nl> + < None Include = " packages . config " / > <nl> + < / ItemGroup > <nl> + < Import Project = " $ ( VCTargetsPath ) \ Microsoft . Cpp . targets " / > <nl> + < ImportGroup Label = " ExtensionTargets " > <nl> + < Import Project = " . . \ packages \ grpc . dependencies . zlib . redist . 1 . 2 . 8 . 9 \ build \ native \ grpc . dependencies . zlib . redist . targets " Condition = " Exists ( ' . . \ packages \ grpc . dependencies . zlib . redist . 1 . 2 . 8 . 9 \ build \ native \ grpc . dependencies . zlib . redist . targets ' ) " / > <nl> + < Import Project = " . . \ packages \ grpc . dependencies . zlib . 1 . 2 . 8 . 9 \ build \ native \ grpc . dependencies . zlib . targets " Condition = " Exists ( ' . . \ packages \ grpc . dependencies . zlib . 1 . 2 . 8 . 9 \ build \ native \ grpc . dependencies . zlib . targets ' ) " / > <nl> + < / ImportGroup > <nl> + < Target Name = " EnsureNuGetPackageBuildImports " BeforeTargets = " PrepareForBuild " > <nl> + < PropertyGroup > <nl> + < ErrorText > This project references NuGet package ( s ) that are missing on this computer . Enable NuGet Package Restore to download them . For more information , see http : / / go . microsoft . com / fwlink / ? LinkID = 322105 . The missing file is { 0 } . < / ErrorText > <nl> + < / PropertyGroup > <nl> + < Error Condition = " ! Exists ( ' . . \ packages \ grpc . dependencies . zlib . redist . 1 . 2 . 8 . 9 \ build \ native \ grpc . dependencies . zlib . redist . targets ' ) " Text = " $ ( [ System . String ] : : Format ( ' $ ( ErrorText ) ' , ' . . \ packages \ grpc . dependencies . zlib . redist . 1 . 2 . 8 . 9 \ build \ native \ grpc . dependencies . zlib . redist . targets ' ) ) " / > <nl> + < Error Condition = " ! Exists ( ' . . \ packages \ grpc . dependencies . zlib . 1 . 2 . 8 . 9 \ build \ native \ grpc . dependencies . zlib . targets ' ) " Text = " $ ( [ System . String ] : : Format ( ' $ ( ErrorText ) ' , ' . . \ packages \ grpc . dependencies . zlib . 1 . 2 . 8 . 9 \ build \ native \ grpc . dependencies . zlib . targets ' ) ) " / > <nl> + < / Target > <nl> + < / Project > <nl> new file mode 100644 <nl> index 00000000000 . . 493bae2fb8b <nl> mmm / dev / null <nl> ppp b / vsprojects / grpc_unsecure / grpc_unsecure . vcxproj . filters <nl> <nl> + < ? xml version = " 1 . 0 " encoding = " utf - 8 " ? > <nl> + < Project ToolsVersion = " 4 . 0 " xmlns = " http : / / schemas . microsoft . com / developer / msbuild / 2003 " > <nl> + < ItemGroup > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ init_unsecure . c " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ census \ grpc_context . c " > <nl> + < Filter > src \ core \ census < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ census \ grpc_filter . c " > <nl> + < Filter > src \ core \ census < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ channel \ channel_args . c " > <nl> + < Filter > src \ core \ channel < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ channel \ channel_stack . c " > <nl> + < Filter > src \ core \ channel < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ channel \ client_channel . c " > <nl> + < Filter > src \ core \ channel < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ channel \ compress_filter . c " > <nl> + < Filter > src \ core \ channel < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ channel \ connected_channel . c " > <nl> + < Filter > src \ core \ channel < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ channel \ http_client_filter . c " > <nl> + < Filter > src \ core \ channel < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ channel \ http_server_filter . c " > <nl> + < Filter > src \ core \ channel < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ channel \ noop_filter . c " > <nl> + < Filter > src \ core \ channel < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ client_config . c " > <nl> + < Filter > src \ core \ client_config < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ connector . c " > <nl> + < Filter > src \ core \ client_config < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ lb_policies \ pick_first . c " > <nl> + < Filter > src \ core \ client_config \ lb_policies < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ lb_policy . c " > <nl> + < Filter > src \ core \ client_config < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ resolver . c " > <nl> + < Filter > src \ core \ client_config < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ resolver_factory . c " > <nl> + < Filter > src \ core \ client_config < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ resolver_registry . c " > <nl> + < Filter > src \ core \ client_config < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ resolvers \ dns_resolver . c " > <nl> + < Filter > src \ core \ client_config \ resolvers < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ resolvers \ sockaddr_resolver . c " > <nl> + < Filter > src \ core \ client_config \ resolvers < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ subchannel . c " > <nl> + < Filter > src \ core \ client_config < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ subchannel_factory . c " > <nl> + < Filter > src \ core \ client_config < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ subchannel_factory_decorators \ add_channel_arg . c " > <nl> + < Filter > src \ core \ client_config \ subchannel_factory_decorators < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ subchannel_factory_decorators \ merge_channel_args . c " > <nl> + < Filter > src \ core \ client_config \ subchannel_factory_decorators < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ client_config \ uri_parser . c " > <nl> + < Filter > src \ core \ client_config < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ compression \ algorithm . c " > <nl> + < Filter > src \ core \ compression < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ compression \ message_compress . c " > <nl> + < Filter > src \ core \ compression < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ debug \ trace . c " > <nl> + < Filter > src \ core \ debug < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ httpcli \ format_request . c " > <nl> + < Filter > src \ core \ httpcli < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ httpcli \ httpcli . c " > <nl> + < Filter > src \ core \ httpcli < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ httpcli \ parser . c " > <nl> + < Filter > src \ core \ httpcli < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ alarm . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ alarm_heap . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ endpoint . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ endpoint_pair_posix . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ endpoint_pair_windows . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ fd_posix . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ iocp_windows . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ iomgr . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ iomgr_posix . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ iomgr_windows . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ pollset_multipoller_with_epoll . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ pollset_multipoller_with_poll_posix . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ pollset_posix . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ pollset_set_posix . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ pollset_set_windows . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ pollset_windows . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ resolve_address_posix . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ resolve_address_windows . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ sockaddr_utils . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ socket_utils_common_posix . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ socket_utils_linux . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ socket_utils_posix . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ socket_windows . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ tcp_client_posix . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ tcp_client_windows . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ tcp_posix . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ tcp_server_posix . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ tcp_server_windows . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ tcp_windows . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ time_averaged_stats . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ udp_server . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ wakeup_fd_eventfd . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ wakeup_fd_nospecial . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ wakeup_fd_pipe . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ iomgr \ wakeup_fd_posix . c " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ json \ json . c " > <nl> + < Filter > src \ core \ json < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ json \ json_reader . c " > <nl> + < Filter > src \ core \ json < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ json \ json_string . c " > <nl> + < Filter > src \ core \ json < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ json \ json_writer . c " > <nl> + < Filter > src \ core \ json < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ profiling \ basic_timers . c " > <nl> + < Filter > src \ core \ profiling < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ profiling \ stap_timers . c " > <nl> + < Filter > src \ core \ profiling < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ api_trace . c " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ byte_buffer . c " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ byte_buffer_queue . c " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ byte_buffer_reader . c " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ call . c " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ call_details . c " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ call_log_batch . c " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ channel . c " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ channel_connectivity . c " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ channel_create . c " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ completion_queue . c " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ event_string . c " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ init . c " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ lame_client . c " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ metadata_array . c " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ server . c " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ server_chttp2 . c " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ server_create . c " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ surface_trace . c " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ surface \ version . c " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ alpn . c " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ bin_encoder . c " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ frame_data . c " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ frame_goaway . c " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ frame_ping . c " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ frame_rst_stream . c " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ frame_settings . c " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ frame_window_update . c " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ hpack_parser . c " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ hpack_table . c " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ huffsyms . c " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ incoming_metadata . c " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ parsing . c " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ status_conversion . c " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ stream_encoder . c " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ stream_lists . c " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ stream_map . c " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ timeout_encoding . c " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ varint . c " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2 \ writing . c " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ chttp2_transport . c " > <nl> + < Filter > src \ core \ transport < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ connectivity_state . c " > <nl> + < Filter > src \ core \ transport < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ metadata . c " > <nl> + < Filter > src \ core \ transport < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ stream_op . c " > <nl> + < Filter > src \ core \ transport < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ transport . c " > <nl> + < Filter > src \ core \ transport < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ transport \ transport_op_string . c " > <nl> + < Filter > src \ core \ transport < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ census \ context . c " > <nl> + < Filter > src \ core \ census < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ census \ initialize . c " > <nl> + < Filter > src \ core \ census < / Filter > <nl> + < / ClCompile > <nl> + < ClCompile Include = " . . \ . . \ src \ core \ census \ record_stat . c " > <nl> + < Filter > src \ core \ census < / Filter > <nl> + < / ClCompile > <nl> + < / ItemGroup > <nl> + < ItemGroup > <nl> + < ClInclude Include = " . . \ . . \ include \ grpc \ byte_buffer . h " > <nl> + < Filter > include \ grpc < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ include \ grpc \ byte_buffer_reader . h " > <nl> + < Filter > include \ grpc < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ include \ grpc \ compression . h " > <nl> + < Filter > include \ grpc < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ include \ grpc \ grpc . h " > <nl> + < Filter > include \ grpc < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ include \ grpc \ status . h " > <nl> + < Filter > include \ grpc < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ include \ grpc \ census . h " > <nl> + < Filter > include \ grpc < / Filter > <nl> + < / ClInclude > <nl> + < / ItemGroup > <nl> + < ItemGroup > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ census \ grpc_filter . h " > <nl> + < Filter > src \ core \ census < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ channel \ channel_args . h " > <nl> + < Filter > src \ core \ channel < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ channel \ channel_stack . h " > <nl> + < Filter > src \ core \ channel < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ channel \ client_channel . h " > <nl> + < Filter > src \ core \ channel < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ channel \ compress_filter . h " > <nl> + < Filter > src \ core \ channel < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ channel \ connected_channel . h " > <nl> + < Filter > src \ core \ channel < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ channel \ context . h " > <nl> + < Filter > src \ core \ channel < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ channel \ http_client_filter . h " > <nl> + < Filter > src \ core \ channel < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ channel \ http_server_filter . h " > <nl> + < Filter > src \ core \ channel < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ channel \ noop_filter . h " > <nl> + < Filter > src \ core \ channel < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ client_config . h " > <nl> + < Filter > src \ core \ client_config < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ connector . h " > <nl> + < Filter > src \ core \ client_config < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ lb_policies \ pick_first . h " > <nl> + < Filter > src \ core \ client_config \ lb_policies < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ lb_policy . h " > <nl> + < Filter > src \ core \ client_config < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ resolver . h " > <nl> + < Filter > src \ core \ client_config < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ resolver_factory . h " > <nl> + < Filter > src \ core \ client_config < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ resolver_registry . h " > <nl> + < Filter > src \ core \ client_config < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ resolvers \ dns_resolver . h " > <nl> + < Filter > src \ core \ client_config \ resolvers < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ resolvers \ sockaddr_resolver . h " > <nl> + < Filter > src \ core \ client_config \ resolvers < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ subchannel . h " > <nl> + < Filter > src \ core \ client_config < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ subchannel_factory . h " > <nl> + < Filter > src \ core \ client_config < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ subchannel_factory_decorators \ add_channel_arg . h " > <nl> + < Filter > src \ core \ client_config \ subchannel_factory_decorators < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ subchannel_factory_decorators \ merge_channel_args . h " > <nl> + < Filter > src \ core \ client_config \ subchannel_factory_decorators < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ client_config \ uri_parser . h " > <nl> + < Filter > src \ core \ client_config < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ compression \ message_compress . h " > <nl> + < Filter > src \ core \ compression < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ debug \ trace . h " > <nl> + < Filter > src \ core \ debug < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ httpcli \ format_request . h " > <nl> + < Filter > src \ core \ httpcli < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ httpcli \ httpcli . h " > <nl> + < Filter > src \ core \ httpcli < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ httpcli \ parser . h " > <nl> + < Filter > src \ core \ httpcli < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ alarm . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ alarm_heap . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ alarm_internal . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ endpoint . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ endpoint_pair . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ fd_posix . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ iocp_windows . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ iomgr . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ iomgr_internal . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ iomgr_posix . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ pollset . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ pollset_posix . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ pollset_set . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ pollset_set_posix . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ pollset_set_windows . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ pollset_windows . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ resolve_address . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ sockaddr . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ sockaddr_posix . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ sockaddr_utils . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ sockaddr_win32 . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ socket_utils_posix . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ socket_windows . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ tcp_client . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ tcp_posix . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ tcp_server . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ tcp_windows . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ time_averaged_stats . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ udp_server . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ wakeup_fd_pipe . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ iomgr \ wakeup_fd_posix . h " > <nl> + < Filter > src \ core \ iomgr < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ json \ json . h " > <nl> + < Filter > src \ core \ json < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ json \ json_common . h " > <nl> + < Filter > src \ core \ json < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ json \ json_reader . h " > <nl> + < Filter > src \ core \ json < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ json \ json_writer . h " > <nl> + < Filter > src \ core \ json < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ profiling \ timers . h " > <nl> + < Filter > src \ core \ profiling < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ profiling \ timers_preciseclock . h " > <nl> + < Filter > src \ core \ profiling < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ statistics \ census_interface . h " > <nl> + < Filter > src \ core \ statistics < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ statistics \ census_rpc_stats . h " > <nl> + < Filter > src \ core \ statistics < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ surface \ byte_buffer_queue . h " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ surface \ call . h " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ surface \ channel . h " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ surface \ completion_queue . h " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ surface \ event_string . h " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ surface \ init . h " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ surface \ server . h " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ surface \ surface_trace . h " > <nl> + < Filter > src \ core \ surface < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ alpn . h " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ bin_encoder . h " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ frame . h " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ frame_data . h " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ frame_goaway . h " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ frame_ping . h " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ frame_rst_stream . h " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ frame_settings . h " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ frame_window_update . h " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ hpack_parser . h " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ hpack_table . h " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ http2_errors . h " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ huffsyms . h " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ incoming_metadata . h " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ internal . h " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ status_conversion . h " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ stream_encoder . h " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ stream_map . h " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ timeout_encoding . h " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2 \ varint . h " > <nl> + < Filter > src \ core \ transport \ chttp2 < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ chttp2_transport . h " > <nl> + < Filter > src \ core \ transport < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ connectivity_state . h " > <nl> + < Filter > src \ core \ transport < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ metadata . h " > <nl> + < Filter > src \ core \ transport < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ stream_op . h " > <nl> + < Filter > src \ core \ transport < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ transport . h " > <nl> + < Filter > src \ core \ transport < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ transport \ transport_impl . h " > <nl> + < Filter > src \ core \ transport < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ census \ context . h " > <nl> + < Filter > src \ core \ census < / Filter > <nl> + < / ClInclude > <nl> + < ClInclude Include = " . . \ . . \ src \ core \ census \ rpc_stat_id . h " > <nl> + < Filter > src \ core \ census < / Filter > <nl> + < / ClInclude > <nl> + < / ItemGroup > <nl> + <nl> + < ItemGroup > <nl> + < Filter Include = " include " > <nl> + < UniqueIdentifier > { 10076c7e - 7c8e - 8005 - 0c81 - 64454af2cbc8 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " include \ grpc " > <nl> + < UniqueIdentifier > { 77b9717b - b8d8 - dd5f - 14bb - a3e96809a70a } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " src " > <nl> + < UniqueIdentifier > { aaf326a1 - c884 - 46ea - 875a - cbbd9983e539 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " src \ core " > <nl> + < UniqueIdentifier > { 88491077 - 386b - 2039 - d14c - 0c40136b5f7a } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " src \ core \ census " > <nl> + < UniqueIdentifier > { a7596ee2 - afee - 3a82 - 7e6e - bd8b8f904e04 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " src \ core \ channel " > <nl> + < UniqueIdentifier > { cc102c4b - 66ff - cf4c - 2288 - d76327e1a183 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " src \ core \ client_config " > <nl> + < UniqueIdentifier > { 02bd7340 - 02ee - 4337 - ffa5 - 0b6ecc7cf60c } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " src \ core \ client_config \ lb_policies " > <nl> + < UniqueIdentifier > { 308af086 - 46c7 - fa66 - 9021 - 19b1c3d4a6bd } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " src \ core \ client_config \ resolvers " > <nl> + < UniqueIdentifier > { dd617c24 - 6f07 - fdff - 80d5 - c8610d6f815e } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " src \ core \ client_config \ subchannel_factory_decorators " > <nl> + < UniqueIdentifier > { 64285d1a - ebd0 - 7637 - ae20 - 15df5ca6cc83 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " src \ core \ compression " > <nl> + < UniqueIdentifier > { 2e3aca1d - 223d - 10a1 - b282 - 7f9fc68ee6f5 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " src \ core \ debug " > <nl> + < UniqueIdentifier > { 6d8d5774 - 7291 - 554d - fafa - 583463cd3fd9 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " src \ core \ httpcli " > <nl> + < UniqueIdentifier > { 1ba3a245 - 47e7 - 89b5 - b0c9 - aca758bd0277 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " src \ core \ iomgr " > <nl> + < UniqueIdentifier > { a9df8b24 - ecea - ff6d - 8999 - d8fa54cd70bf } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " src \ core \ json " > <nl> + < UniqueIdentifier > { 443ffc61 - 1bea - 2477 - 6e54 - 1ddf8c139264 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " src \ core \ profiling " > <nl> + < UniqueIdentifier > { 7f91d9bf - c9de - 835a - d74d - b16f843b89a9 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " src \ core \ statistics " > <nl> + < UniqueIdentifier > { e084164c - a069 - 00e3 - db35 - 4e0b1cd6f0b7 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " src \ core \ surface " > <nl> + < UniqueIdentifier > { 6cd0127e - c24b - d43c - 38f5 - 198db8d4322a } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " src \ core \ transport " > <nl> + < UniqueIdentifier > { 6687ff98 - e36e - c0b1 - 2756 - 1bc79edec406 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < Filter Include = " src \ core \ transport \ chttp2 " > <nl> + < UniqueIdentifier > { 5fcd6206 - f774 - 9ae6 - 4b85 - 305d6a723843 } < / UniqueIdentifier > <nl> + < / Filter > <nl> + < / ItemGroup > <nl> + < / Project > <nl> + <nl>
Update build tools
grpc/grpc
fe1093c3a8d59c6bdc97eef6f6ade784df99204b
2015-10-02T23:37:33Z
mmm a / . gitmodules <nl> ppp b / . gitmodules <nl> <nl> url = https : / / github . com / ValveSoftware / wine / <nl> [ submodule " dxvk " ] <nl> path = dxvk <nl> - url = https : / / github . com / doitsujin / dxvk . git <nl> + url = https : / / github . com / ValveSoftware / dxvk / <nl> [ submodule " freetype2 " ] <nl> path = freetype2 <nl> url = git : / / git . sv . nongnu . org / freetype / freetype2 . git <nl> mmm a / dxvk <nl> ppp b / dxvk <nl> @ @ - 1 + 1 @ @ <nl> - Subproject commit d94f1fcb377d844e1e3122e3411a5b2b1df69c22 <nl> + Subproject commit cf8264ffc3c781bd9e4629ea35cfc3eef05e592b <nl>
update dxvk to v0 . 61 plus vr support
ValveSoftware/Proton
21483b3075e5d01703e968111378363444edc4a5
2018-07-12T16:16:45Z
mmm a / test / mjsunit / arguments - deopt . js <nl> ppp b / test / mjsunit / arguments - deopt . js <nl> <nl> args . push ( i ) ; <nl> if ( i % 10 = = 0 ) % OptimizeFunctionOnNextCall ( sum1 ) ; <nl> assertEquals ( i * ( i + 1 ) / 2 , sum1 ( . . . args ) ) ; <nl> + if ( i % 10 = = 0 ) % PrepareFunctionForOptimization ( sum1 ) ; <nl> } <nl> } ) ( ) ; <nl> <nl> <nl> args . push ( i ) ; <nl> if ( i % 10 = = 0 ) % OptimizeFunctionOnNextCall ( sum2 ) ; <nl> assertEquals ( i * ( i + 1 ) / 2 , sum2 ( . . . args ) ) ; <nl> + if ( i % 10 = = 0 ) % PrepareFunctionForOptimization ( sum2 ) ; <nl> } <nl> } ) ( ) ; <nl> <nl> <nl> args . push ( i ) ; <nl> if ( i % 10 = = 0 ) % OptimizeFunctionOnNextCall ( sum3 ) ; <nl> assertEquals ( i * ( i + 1 ) / 2 , sum3 ( . . . args ) ) ; <nl> + if ( i % 10 = = 0 ) % PrepareFunctionForOptimization ( sum3 ) ; <nl> } <nl> } ) ( ) ; <nl> <nl> <nl> args . push ( i ) ; <nl> if ( i % 10 = = 0 ) % OptimizeFunctionOnNextCall ( sum4 ) ; <nl> assertEquals ( i * ( i + 1 ) / 2 - 1 , sum4 ( . . . args ) ) ; <nl> + if ( i % 10 = = 0 ) % PrepareFunctionForOptimization ( sum4 ) ; <nl> } <nl> } ) ( ) ; <nl> <nl> <nl> args . push ( i ) ; <nl> if ( i % 10 = = 0 ) % OptimizeFunctionOnNextCall ( read ) ; <nl> assertEquals ( i , read ( . . . args ) ) ; <nl> + if ( i % 10 = = 0 ) % PrepareFunctionForOptimization ( read ) ; <nl> } <nl> } ) ( ) ; <nl> mmm a / test / mjsunit / regress / regress - crbug - 412208 . js <nl> ppp b / test / mjsunit / regress / regress - crbug - 412208 . js <nl> function f ( ) { <nl> return non_const_true | | ( f ( ) = this ) ; <nl> } <nl> <nl> + % PrepareFunctionForOptimization ( f ) ; <nl> assertTrue ( f ( ) ) ; <nl> assertTrue ( f ( ) ) ; <nl> % OptimizeFunctionOnNextCall ( f ) ; <nl> mmm a / test / mjsunit / regress / regress - crbug - 412215 . js <nl> ppp b / test / mjsunit / regress / regress - crbug - 412215 . js <nl> function f ( ) { <nl> d = 357 ; <nl> return { foo : b } ; <nl> } <nl> + % PrepareFunctionForOptimization ( f ) ; <nl> f ( ) ; <nl> f ( ) ; <nl> % OptimizeFunctionOnNextCall ( f ) ; <nl> function g ( obj ) { <nl> return obj . foo . length ; <nl> } <nl> <nl> + % PrepareFunctionForOptimization ( f ) ; <nl> g ( dummy ) ; <nl> g ( dummy ) ; <nl> % OptimizeFunctionOnNextCall ( g ) ; <nl> mmm a / test / mjsunit / regress / regress - crbug - 500435 . js <nl> ppp b / test / mjsunit / regress / regress - crbug - 500435 . js <nl> function foo ( a ) { <nl> } <nl> } <nl> <nl> + % PrepareFunctionForOptimization ( foo ) ; <nl> foo ( [ 1 , 2 ] ) ; <nl> foo ( [ 2 , 3 ] ) ; <nl> % OptimizeFunctionOnNextCall ( foo ) ; <nl> mmm a / test / mjsunit / regress / regress - crbug - 500824 . js <nl> ppp b / test / mjsunit / regress / regress - crbug - 500824 . js <nl> var f = ( function ( v ) { <nl> } ; <nl> } ) ( get_thrower ( ) ) . fun ; <nl> <nl> + % PrepareFunctionForOptimization ( f ) ; <nl> % OptimizeFunctionOnNextCall ( f ) ; <nl> f ( ) ; <nl> mmm a / test / mjsunit / regress / regress - crbug - 510738 . js <nl> ppp b / test / mjsunit / regress / regress - crbug - 510738 . js <nl> <nl> / / Flags : - - allow - natives - syntax <nl> <nl> function check ( f , result ) { <nl> + % PrepareFunctionForOptimization ( f ) ; <nl> % OptimizeFunctionOnNextCall ( f ) ; <nl> assertEquals ( result , f ( ) ) ; <nl> } <nl> mmm a / test / mjsunit / regress / regress - crbug - 527364 . js <nl> ppp b / test / mjsunit / regress / regress - crbug - 527364 . js <nl> function run_close_to_stack_limit ( f ) { <nl> } <nl> <nl> var boom = module ( ) . f ; <nl> + % PrepareFunctionForOptimization ( boom ) ; <nl> % OptimizeFunctionOnNextCall ( boom ) <nl> run_close_to_stack_limit ( boom ) ; <nl> mmm a / test / mjsunit / regress / regress - crbug - 530598 . js <nl> ppp b / test / mjsunit / regress / regress - crbug - 530598 . js <nl> var f2 = ( function ( ) { <nl> function f ( a ) { return a | | g ( ) ; } <nl> return f ; <nl> } ) ( ) ; <nl> + % PrepareFunctionForOptimization ( f2 ) ; <nl> assertTrue ( f2 ( true ) ) ; <nl> % OptimizeFunctionOnNextCall ( f2 ) ; <nl> assertTrue ( f2 ( true ) ) ; <nl> mmm a / test / mjsunit / regress / regress - crbug - 589792 . js <nl> ppp b / test / mjsunit / regress / regress - crbug - 589792 . js <nl> var boom = ( function ( stdlib , foreign , heap ) { <nl> } <nl> return foo <nl> } ) ( this , 0 , new ArrayBuffer ( 256 ) ) ; <nl> + % PrepareFunctionForOptimization ( boom ) ; <nl> % OptimizeFunctionOnNextCall ( boom ) ; <nl> boom ( 0 , 0x1000 ) ; <nl> mmm a / test / mjsunit / regress / regress - crbug - 590989 - 1 . js <nl> ppp b / test / mjsunit / regress / regress - crbug - 590989 - 1 . js <nl> var p = { foo : 1 . 5 } <nl> <nl> function g ( x ) { return x . foo = = = + x . foo ; } <nl> <nl> + % PrepareFunctionForOptimization ( g ) ; <nl> assertEquals ( false , g ( o ) ) ; <nl> assertEquals ( false , g ( o ) ) ; <nl> % OptimizeFunctionOnNextCall ( g ) ; <nl> assertEquals ( false , g ( o ) ) ; / / Still fine here . <nl> assertEquals ( true , g ( p ) ) ; <nl> + % PrepareFunctionForOptimization ( g ) ; <nl> % OptimizeFunctionOnNextCall ( g ) ; <nl> assertEquals ( false , g ( o ) ) ; / / Confused by type feedback . <nl> mmm a / test / mjsunit / regress / regress - crbug - 644245 . js <nl> ppp b / test / mjsunit / regress / regress - crbug - 644245 . js <nl> function f ( ) { <nl> } <nl> } <nl> <nl> + % PrepareFunctionForOptimization ( f ) ; <nl> f ( ) ; <nl> f ( ) ; <nl> % OptimizeFunctionOnNextCall ( f ) ; <nl> mmm a / test / mjsunit / regress / regress - crbug - 645103 . js <nl> ppp b / test / mjsunit / regress / regress - crbug - 645103 . js <nl> class Subclass extends Base { <nl> super ( ) ; <nl> } <nl> } <nl> + % PrepareFunctionForOptimization ( Subclass ) ; <nl> new Subclass ( ) ; <nl> new Subclass ( ) ; <nl> % OptimizeFunctionOnNextCall ( Subclass ) ; <nl> mmm a / test / mjsunit / regress / regress - crbug - 647887 . js <nl> ppp b / test / mjsunit / regress / regress - crbug - 647887 . js <nl> function f ( obj ) { <nl> return key = = = undefined ; <nl> } <nl> <nl> + % PrepareFunctionForOptimization ( f ) ; <nl> % OptimizeFunctionOnNextCall ( f ) ; <nl> assertFalse ( f ( { foo : 0 } ) ) ; <nl> mmm a / test / mjsunit / regress / regress - crbug - 657478 . js <nl> ppp b / test / mjsunit / regress / regress - crbug - 657478 . js <nl> <nl> <nl> function foo ( o ) { return % _ToLength ( o . length ) ; } <nl> <nl> + % PrepareFunctionForOptimization ( foo ) ; <nl> foo ( new Array ( 4 ) ) ; <nl> foo ( new Array ( Math . pow ( 2 , 32 ) - 1 ) ) ; <nl> foo ( { length : 10 } ) ; <nl> mmm a / test / mjsunit / regress / regress - crbug - 659475 - 1 . js <nl> ppp b / test / mjsunit / regress / regress - crbug - 659475 - 1 . js <nl> function Check ( ) { <nl> n . xyz = 0x826852f4 ; <nl> } <nl> <nl> + % PrepareFunctionForOptimization ( Ctor ) ; <nl> Ctor ( ) ; <nl> Ctor ( ) ; <nl> % OptimizeFunctionOnNextCall ( Ctor ) ; <nl> Ctor ( ) ; <nl> <nl> + % PrepareFunctionForOptimization ( Check ) ; <nl> Check ( ) ; <nl> Check ( ) ; <nl> % OptimizeFunctionOnNextCall ( Check ) ; <nl> mmm a / test / mjsunit / regress / regress - crbug - 659475 - 2 . js <nl> ppp b / test / mjsunit / regress / regress - crbug - 659475 - 2 . js <nl> function Check ( ) { <nl> n . xyz = 0x826852f4 ; <nl> } <nl> <nl> + % PrepareFunctionForOptimization ( Ctor ) ; <nl> Ctor ( ) ; <nl> Ctor ( ) ; <nl> % OptimizeFunctionOnNextCall ( Ctor ) ; <nl> Ctor ( ) ; <nl> <nl> + % PrepareFunctionForOptimization ( Check ) ; <nl> Check ( ) ; <nl> Check ( ) ; <nl> % OptimizeFunctionOnNextCall ( Check ) ; <nl> mmm a / test / mjsunit / regress / regress - crbug - 659915a . js <nl> ppp b / test / mjsunit / regress / regress - crbug - 659915a . js <nl> function h ( a ) { <nl> <nl> function boom ( ) { return g ( 1 ) } <nl> <nl> + % PrepareFunctionForOptimization ( boom ) ; <nl> assertEquals ( 1 , h ( 1 ) ) ; <nl> assertEquals ( 2 , boom ( ) ) ; <nl> assertEquals ( 3 , boom ( ) ) ; <nl> mmm a / test / mjsunit / regress / regress - crbug - 663402 . js <nl> ppp b / test / mjsunit / regress / regress - crbug - 663402 . js <nl> function emit_f ( size ) { <nl> / / a single instruction ' s immediate field ( 2 ^ 12 ) . <nl> var kLength = 701 ; <nl> emit_f ( kLength ) ; <nl> + % PrepareFunctionForOptimization ( f ) ; <nl> f ( 1 ) ; <nl> f ( 1 ) ; <nl> % OptimizeFunctionOnNextCall ( f ) ; <nl> mmm a / test / mjsunit / regress / regress - crbug - 663750 . js <nl> ppp b / test / mjsunit / regress / regress - crbug - 663750 . js <nl> function foo ( a ) { <nl> this . x = 0 ; <nl> delete x ; <nl> <nl> + % PrepareFunctionForOptimization ( foo ) ; <nl> foo ( ) ; <nl> foo ( ) ; <nl> % OptimizeFunctionOnNextCall ( foo ) ; <nl> assertEquals ( undefined , v ) ; <nl> <nl> Object . freeze ( this ) ; <nl> <nl> + % PrepareFunctionForOptimization ( foo ) ; <nl> foo ( 4 ) ; <nl> foo ( 5 ) ; <nl> % OptimizeFunctionOnNextCall ( foo ) ; <nl> mmm a / test / mjsunit / regress / regress - crbug - 669850 . js <nl> ppp b / test / mjsunit / regress / regress - crbug - 669850 . js <nl> <nl> / / Flags : - - allow - natives - syntax <nl> <nl> eval ( ' function f ( a ) { return [ ' + new Array ( 1 < < 17 ) + ' , a ] } ' ) ; <nl> + % PrepareFunctionForOptimization ( f ) ; <nl> assertEquals ( 23 , f ( 23 ) [ 1 < < 17 ] ) ; <nl> assertEquals ( 42 , f ( 42 ) [ 1 < < 17 ] ) ; <nl> % OptimizeFunctionOnNextCall ( f ) ; <nl> mmm a / test / mjsunit / regress / regress - crbug - 671576 . js <nl> ppp b / test / mjsunit / regress / regress - crbug - 671576 . js <nl> function f ( ) { <nl> for ( var i of [ NaN ] . keys ( ) ) ; <nl> } <nl> <nl> + % PrepareFunctionForOptimization ( f ) ; <nl> f ( ) ; <nl> % OptimizeFunctionOnNextCall ( f ) ; <nl> f ( ) ; <nl> mmm a / test / mjsunit / regress / regress - crbug - 672792 . js <nl> ppp b / test / mjsunit / regress / regress - crbug - 672792 . js <nl> <nl> / / Generate a function { f } containing a large array literal of doubles . <nl> eval ( " function f ( ) { return [ " + String ( " 0 . 1 , " ) . repeat ( 65535 ) + " ] } " ) ; <nl> <nl> + % PrepareFunctionForOptimization ( f ) ; <nl> + <nl> / / Running the function once will initialize the boilerplate . <nl> assertEquals ( 65535 , f ( ) . length ) ; <nl> <nl> mmm a / test / mjsunit / regress / regress - crbug - 681983 . js <nl> ppp b / test / mjsunit / regress / regress - crbug - 681983 . js <nl> function f ( ) { <nl> return g ( - 1 ) ; <nl> } <nl> <nl> + % PrepareFunctionForOptimization ( f ) ; <nl> % OptimizeFunctionOnNextCall ( f ) ; <nl> assertEquals ( 4294967295 , f ( ) ) ; <nl> mmm a / test / mjsunit / regress / regress - crbug - 684208 . js <nl> ppp b / test / mjsunit / regress / regress - crbug - 684208 . js <nl> function foo ( ) { <nl> % _DeoptimizeNow ( ) ; <nl> return a [ 2 ] ; <nl> } <nl> + % PrepareFunctionForOptimization ( foo ) ; <nl> assertSame ( undefined , foo ( ) ) ; <nl> assertSame ( undefined , foo ( ) ) ; <nl> % OptimizeFunctionOnNextCall ( foo ) <nl> mmm a / test / mjsunit / regress / regress - crbug - 696622 . js <nl> ppp b / test / mjsunit / regress / regress - crbug - 696622 . js <nl> class C { } <nl> class D extends C { constructor ( ) { super ( . . . unresolved , 75 ) } } <nl> D . __proto__ = null ; <nl> <nl> + % PrepareFunctionForOptimization ( D ) ; <nl> assertThrows ( ( ) = > new D ( ) , TypeError ) ; <nl> assertThrows ( ( ) = > new D ( ) , TypeError ) ; <nl> % OptimizeFunctionOnNextCall ( D ) ; <nl> mmm a / test / mjsunit / regress / regress - crbug - 700733 . js <nl> ppp b / test / mjsunit / regress / regress - crbug - 700733 . js <nl> <nl> var obj = { } ; <nl> obj . load_boom = smi_arr ; <nl> <nl> + % PrepareFunctionForOptimization ( do_keyed_load ) ; <nl> do_keyed_load ( arrs ) ; <nl> do_keyed_load ( arrs ) ; <nl> % OptimizeFunctionOnNextCall ( do_keyed_load ) ; <nl> <nl> var obj = { } ; <nl> obj . store_boom = smi_arr ; <nl> <nl> + % PrepareFunctionForOptimization ( do_keyed_store ) ; <nl> do_keyed_store ( arrs ) ; <nl> do_keyed_store ( arrs ) ; <nl> % OptimizeFunctionOnNextCall ( do_keyed_store ) ; <nl> mmm a / test / mjsunit / regress / regress - crbug - 706642 . js <nl> ppp b / test / mjsunit / regress / regress - crbug - 706642 . js <nl> var observer = new Proxy ( A , { <nl> } <nl> } ) ; <nl> <nl> + % PrepareFunctionForOptimization ( B ) ; <nl> Reflect . construct ( B , [ ] , observer ) ; <nl> Reflect . construct ( B , [ ] , observer ) ; <nl> % OptimizeFunctionOnNextCall ( B ) ; <nl> mmm a / test / mjsunit / regress / regress - crbug - 724153 . js <nl> ppp b / test / mjsunit / regress / regress - crbug - 724153 . js <nl> <nl> } <nl> src + = ' c ) { return a + c } ) ' ; <nl> var f = eval ( src ) ; <nl> + % PrepareFunctionForOptimization ( f ) ; <nl> assertEquals ( NaN , f ( 1 ) ) ; <nl> assertEquals ( NaN , f ( 2 ) ) ; <nl> % OptimizeFunctionOnNextCall ( f ) ; <nl> mmm a / test / mjsunit / regress / regress - crbug - 725201 . js <nl> ppp b / test / mjsunit / regress / regress - crbug - 725201 . js <nl> function __f_1 ( ) { <nl> function __f_2 ( ) { <nl> Array . prototype . __proto__ = { 77e4 : null } ; <nl> } <nl> + % PrepareFunctionForOptimization ( __f_2 ) ; <nl> __f_2 ( ) ; <nl> % OptimizeFunctionOnNextCall ( __f_2 ) ; <nl> __f_2 ( ) ; <nl> mmm a / test / mjsunit / regress / regress - crbug - 732169 . js <nl> ppp b / test / mjsunit / regress / regress - crbug - 732169 . js <nl> <nl> ( function TestGeneratorMaterialization ( ) { <nl> function * f ( [ x ] ) { yield x } <nl> / / No warm - up of { f } to trigger soft deopt . <nl> + % PrepareFunctionForOptimization ( f ) ; <nl> % OptimizeFunctionOnNextCall ( f ) ; <nl> var gen = f ( [ 23 ] ) ; <nl> assertEquals ( " [ object Generator ] " , gen . toString ( ) ) ; <nl> <nl> return gen ; <nl> } <nl> function h ( ) { f ( ) } <nl> + % PrepareFunctionForOptimization ( h ) ; <nl> / / Enough warm - up to make { p } an in - object property . <nl> for ( var i = 0 ; i < 100 ; + + i ) { g ( ) ; h ( ) ; } <nl> % OptimizeFunctionOnNextCall ( h ) ; <nl> mmm a / test / mjsunit / regress / regress - crbug - 751715 . js <nl> ppp b / test / mjsunit / regress / regress - crbug - 751715 . js <nl> class Base { } <nl> class Derived extends Base { <nl> constructor ( ) { super ( ) ; } <nl> } <nl> + % PrepareFunctionForOptimization ( Derived ) ; <nl> var proxy = new Proxy ( Base , { get ( ) { } } ) ; <nl> assertDoesNotThrow ( ( ) = > Reflect . construct ( Derived , [ ] ) ) ; <nl> assertThrows ( ( ) = > Reflect . construct ( Derived , [ ] , proxy ) , TypeError ) ; <nl> mmm a / test / mjsunit / regress / regress - crbug - 752481 . js <nl> ppp b / test / mjsunit / regress / regress - crbug - 752481 . js <nl> <nl> const A = class A { } <nl> <nl> function test ( foo ) { <nl> + % PrepareFunctionForOptimization ( foo ) ; <nl> assertThrows ( foo ) ; <nl> assertThrows ( foo ) ; <nl> % OptimizeFunctionOnNextCall ( foo ) ; <nl> mmm a / test / mjsunit / regress / regress - crbug - 772610 . js <nl> ppp b / test / mjsunit / regress / regress - crbug - 772610 . js <nl> function f ( ) { <nl> % _DeoptimizeNow ( ) ; <nl> return o . length ; <nl> } <nl> + % PrepareFunctionForOptimization ( f ) ; <nl> assertEquals ( 1 , f ( ) ) ; <nl> assertEquals ( 1 , f ( ) ) ; <nl> % OptimizeFunctionOnNextCall ( f ) ; <nl> mmm a / test / mjsunit / regress / regress - crbug - 772720 . js <nl> ppp b / test / mjsunit / regress / regress - crbug - 772720 . js <nl> function f ( ) { <nl> local + = ' abcdefghijkl ' + ( 0 + global ) ; <nl> global + = ' abcdefghijkl ' ; <nl> } <nl> + % PrepareFunctionForOptimization ( f ) ; <nl> f ( ) ; <nl> % OptimizeFunctionOnNextCall ( f ) ; <nl> f ( ) ; <nl> mmm a / test / mjsunit / regress / regress - crbug - 776511 . js <nl> ppp b / test / mjsunit / regress / regress - crbug - 776511 . js <nl> function __getRandomProperty ( obj , seed ) { <nl> } ; <nl> return __v_59904 . filter ( __v_59909 ) ; <nl> } ; <nl> + % PrepareFunctionForOptimization ( __v_59906 ) ; <nl> print ( __v_59906 ( ) ) ; <nl> __v_59904 [ __getRandomProperty ( __v_59904 , 366855 ) ] = this , gc ( ) ; <nl> print ( __v_59906 ( ) ) ; <nl> mmm a / test / mjsunit / regress / regress - crbug - 801627 . js <nl> ppp b / test / mjsunit / regress / regress - crbug - 801627 . js <nl> class Derived extends Base { <nl> / / Feed a bound function as new . target <nl> / / to the profiler , so HeapObjectMatcher <nl> / / can find it . <nl> + % PrepareFunctionForOptimization ( Derived ) ; <nl> Reflect . construct ( Derived , [ ] , Object . bind ( ) ) ; <nl> % OptimizeFunctionOnNextCall ( Derived ) ; <nl> new Derived ( ) ; <nl> mmm a / test / mjsunit / regress / regress - crbug - 820820 . js <nl> ppp b / test / mjsunit / regress / regress - crbug - 820820 . js <nl> function foo ( ) { <nl> try { undefined [ 0 ] = bar ( ) ; } catch ( e ) { } <nl> Math . min ( bar ( ) , bar ( ) , bar ( ) ) ; <nl> } <nl> + % PrepareFunctionForOptimization ( foo ) ; <nl> foo ( ) ; <nl> foo ( ) ; <nl> % OptimizeFunctionOnNextCall ( foo ) ; <nl> mmm a / test / mjsunit / regress / regress - crbug - 891627 . js <nl> ppp b / test / mjsunit / regress / regress - crbug - 891627 . js <nl> bar ( 0 . 1 ) ; <nl> return bar ( x | - 1 ) = = 4294967295 ; <nl> } <nl> <nl> + % PrepareFunctionForOptimization ( foo ) ; <nl> assertFalse ( foo ( 1 ) ) ; <nl> assertFalse ( foo ( 0 ) ) ; <nl> % OptimizeFunctionOnNextCall ( foo ) ; <nl> bar ( 0 . 1 ) ; <nl> makeFoo ( 0 ) ; / / Defeat the function context specialization . <nl> const foo = makeFoo ( 1 ) ; <nl> <nl> + % PrepareFunctionForOptimization ( foo ) ; <nl> assertFalse ( foo ( 1 ) ) ; <nl> assertFalse ( foo ( 0 ) ) ; <nl> % OptimizeFunctionOnNextCall ( foo ) ; <nl> mmm a / test / mjsunit / regress / regress - crbug - 906043 . js <nl> ppp b / test / mjsunit / regress / regress - crbug - 906043 . js <nl> a3 . fill ( 3 . 3 ) ; <nl> <nl> var a4 = [ 1 . 1 ] ; <nl> <nl> + % PrepareFunctionForOptimization ( fun ) ; <nl> for ( let i = 0 ; i < 3 ; i + + ) fun ( . . . a4 ) ; <nl> % OptimizeFunctionOnNextCall ( fun ) ; <nl> fun ( . . . a4 ) ; <nl> mmm a / test / mjsunit / regress / regress - crbug - 931664 . js <nl> ppp b / test / mjsunit / regress / regress - crbug - 931664 . js <nl> function opt ( ) { <nl> finally { } <nl> } <nl> } <nl> + % PrepareFunctionForOptimization ( opt ) ; <nl> opt ( ) ; <nl> % OptimizeFunctionOnNextCall ( opt ) ; <nl> opt ( ) ; <nl> mmm a / test / mjsunit / regress / regress - crbug - 935932 . js <nl> ppp b / test / mjsunit / regress / regress - crbug - 935932 . js <nl> <nl> / / Flags : - - allow - natives - syntax <nl> <nl> function test ( func , expect ) { <nl> + % PrepareFunctionForOptimization ( func ) ; <nl> assertTrue ( func ( ) = = expect ) ; <nl> % OptimizeFunctionOnNextCall ( func ) ; <nl> assertTrue ( func ( ) = = expect ) ; <nl> test ( check_v4 , true ) ; <nl> function testIn ( index , array ) { <nl> return index in array ; <nl> } <nl> + % PrepareFunctionForOptimization ( testIn ) ; <nl> <nl> let a = [ ] ; <nl> a . __proto__ = [ 0 , 1 , 2 ] ; <nl> test ( check_v4 , true ) ; <nl> <nl> % ClearFunctionFeedback ( testIn ) ; <nl> % DeoptimizeFunction ( testIn ) ; <nl> + % PrepareFunctionForOptimization ( testIn ) ; <nl> <nl> / / First load will set IC to Load handle with allow hole to undefined conversion false . <nl> assertTrue ( testIn ( 0 , a ) ) ; <nl> test ( check_v4 , true ) ; <nl> / / Repeat the same testing for access out - of - bounds of the array , but in bounds of it ' s prototype . <nl> % ClearFunctionFeedback ( testIn ) ; <nl> % DeoptimizeFunction ( testIn ) ; <nl> + % PrepareFunctionForOptimization ( testIn ) ; <nl> <nl> assertTrue ( testIn ( 2 , a ) ) ; <nl> assertTrue ( testIn ( 2 , a ) ) ; <nl> test ( check_v4 , true ) ; <nl> <nl> % ClearFunctionFeedback ( testIn ) ; <nl> % DeoptimizeFunction ( testIn ) ; <nl> + % PrepareFunctionForOptimization ( testIn ) ; <nl> <nl> assertTrue ( testIn ( 2 , a ) ) ; <nl> % OptimizeFunctionOnNextCall ( testIn ) ; <nl>
[ cleanup ] Add missing % PrepareFunctionForOptimize in mjsunit tests
v8/v8
2425885552cac28e1828e119a2c9ffa6c99651a2
2019-06-17T16:48:50Z
mmm a / include / swift / AST / Builtins . def <nl> ppp b / include / swift / AST / Builtins . def <nl> BUILTIN_SIL_OPERATION ( Init , " initialize " , Special ) <nl> / / / MarkDependence has type ( T , U ) - > T <nl> BUILTIN_SIL_OPERATION ( MarkDependence , " markDependence " , Special ) <nl> <nl> + / / / MakeMaterializeForSetCallback has type <nl> + / / / ( ( Builtin . RawPointer , Builtin . RawPointer , inout T , T . Type ) - > ( ) ) <nl> + / / / - > Builtin . RawPointer <nl> + / / / <nl> + / / / The first argument is the address returned from materializeForSet . <nl> + / / / The second argument is the address of the Builtin . UnsafeValueBuffer <nl> + / / / that was passed to materializeForSet . <nl> + / / / The third argument is self . <nl> + / / / The last argument is the metatype for self . <nl> + BUILTIN_SIL_OPERATION ( MakeMaterializeForSetCallback , <nl> + " makeMaterializeForSetCallback " , Special ) <nl> + <nl> / / / CastToNativeObject has type ( T ) - > Builtin . NativeObject . <nl> BUILTIN_SIL_OPERATION ( CastToNativeObject , " castToNativeObject " , Special ) <nl> <nl> mmm a / include / swift / SIL / SILBasicBlock . h <nl> ppp b / include / swift / SIL / SILBasicBlock . h <nl> public llvm : : ilist_node < SILBasicBlock > , public SILAllocated < SILBasicBlock > { <nl> <nl> / / / Replace the \ p { i } th BB arg with a new BBArg with SILType \ p Ty and ValueDecl <nl> / / / \ p D . <nl> - SILArgument * replaceBBArg ( unsigned i , SILType Ty , ValueDecl * D = nullptr ) ; <nl> + SILArgument * replaceBBArg ( unsigned i , SILType Ty , const ValueDecl * D = nullptr ) ; <nl> <nl> / / / Erase a specific argument from the arg list . <nl> void eraseBBArg ( int Index ) { BBArgList . erase ( BBArgList . begin ( ) + Index ) ; } <nl> mmm a / include / swift / SIL / SILFunction . h <nl> ppp b / include / swift / SIL / SILFunction . h <nl> class SILFunction <nl> return LoweredType ; <nl> } <nl> <nl> + / / / Unsafely rewrite the lowered type of this function . <nl> + / / / <nl> + / / / This routine does not touch the entry block arguments <nl> + / / / or return instructions ; you need to do that yourself <nl> + / / / if you care . <nl> + / / / <nl> + / / / This is a hack and should be removed ! <nl> + void rewriteLoweredTypeUnsafe ( CanSILFunctionType newType ) { <nl> + assert ( canBeDeleted ( ) ) ; <nl> + LoweredType = newType ; <nl> + } <nl> + <nl> bool canBeDeleted ( ) const { <nl> return ! getRefCount ( ) & & ! isZombie ( ) ; <nl> } <nl> mmm a / lib / AST / Builtins . cpp <nl> ppp b / lib / AST / Builtins . cpp <nl> static ValueDecl * getTryPinOperation ( ASTContext & ctx , Identifier name ) { <nl> genericTy , archetypeTy , paramList ) ; <nl> } <nl> <nl> + static ValueDecl * <nl> + getMakeMaterializeForSetCallbackOperation ( ASTContext & ctx , Identifier name ) { <nl> + / / < T > ( ( Builtin . RawPointer , <nl> + / / Builtin . RawPointer , <nl> + / / inout T , <nl> + / / T . Type ) - > ( ) ) - > Builtin . RawPointer <nl> + <nl> + Type genericTy ; <nl> + Type archetypeTy ; <nl> + GenericParamList * paramList ; <nl> + std : : tie ( genericTy , archetypeTy , paramList ) = getGenericParam ( ctx ) ; <nl> + <nl> + TupleTypeElt callbackParams [ ] = { <nl> + ctx . TheRawPointerType , <nl> + ctx . TheRawPointerType , <nl> + InOutType : : get ( genericTy ) , <nl> + MetatypeType : : get ( genericTy ) , <nl> + } ; <nl> + TupleTypeElt callbackBodyParams [ ] = { <nl> + ctx . TheRawPointerType , <nl> + ctx . TheRawPointerType , <nl> + InOutType : : get ( archetypeTy ) , <nl> + MetatypeType : : get ( archetypeTy ) , <nl> + } ; <nl> + Type emptyTupleTy = TupleType : : getEmpty ( ctx ) ; <nl> + <nl> + TupleTypeElt params [ ] = { <nl> + FunctionType : : get ( TupleType : : get ( callbackParams , ctx ) , emptyTupleTy ) , <nl> + } ; <nl> + TupleTypeElt bodyParams [ ] = { <nl> + FunctionType : : get ( TupleType : : get ( callbackBodyParams , ctx ) , emptyTupleTy ) , <nl> + } ; <nl> + <nl> + return getBuiltinGenericFunction ( name , params , bodyParams , <nl> + ctx . TheRawPointerType , ctx . TheRawPointerType , <nl> + paramList ) ; <nl> + } <nl> + <nl> / / / An array of the overloaded builtin kinds . <nl> static const OverloadedBuiltinKind OverloadedBuiltinKinds [ ] = { <nl> OverloadedBuiltinKind : : None , <nl> ValueDecl * swift : : getBuiltinValueDecl ( ASTContext & Context , Identifier Id ) { <nl> case BuiltinValueKind : : ReinterpretCast : <nl> if ( ! Types . empty ( ) ) return nullptr ; <nl> return getReinterpretCastOperation ( Context , Id ) ; <nl> + <nl> + case BuiltinValueKind : : MakeMaterializeForSetCallback : <nl> + if ( ! Types . empty ( ) ) return nullptr ; <nl> + return getMakeMaterializeForSetCallbackOperation ( Context , Id ) ; <nl> <nl> case BuiltinValueKind : : AddressOf : <nl> if ( ! Types . empty ( ) ) return nullptr ; <nl> mmm a / lib / SIL / SILBasicBlock . cpp <nl> ppp b / lib / SIL / SILBasicBlock . cpp <nl> void SILBasicBlock : : eraseFromParent ( ) { <nl> <nl> / / / Replace the ith BB argument with a new one with type Ty ( and optional <nl> / / / ValueDecl D ) . <nl> - SILArgument * SILBasicBlock : : replaceBBArg ( unsigned i , SILType Ty , ValueDecl * D ) { <nl> + SILArgument * SILBasicBlock : : replaceBBArg ( unsigned i , SILType Ty , <nl> + const ValueDecl * D ) { <nl> SILModule & M = getParent ( ) - > getModule ( ) ; <nl> assert ( BBArgList [ i ] - > use_empty ( ) & & " Expected no uses of the old BB arg ! " ) ; <nl> <nl> mmm a / lib / SILGen / SILGen . cpp <nl> ppp b / lib / SILGen / SILGen . cpp <nl> void SILGenModule : : emitEnumConstructor ( EnumElementDecl * decl ) { <nl> postEmitFunction ( constant , f ) ; <nl> } <nl> <nl> - void SILGenModule : : emitClosure ( AbstractClosureExpr * ce ) { <nl> + SILFunction * SILGenModule : : emitClosure ( AbstractClosureExpr * ce ) { <nl> SILDeclRef constant ( ce ) ; <nl> SILFunction * f = preEmitFunction ( constant , ce , ce ) ; <nl> PrettyStackTraceSILFunction X ( " silgen closureexpr " , f ) ; <nl> SILGenFunction ( * this , * f ) . emitClosure ( ce ) ; <nl> postEmitFunction ( constant , f ) ; <nl> + return f ; <nl> } <nl> <nl> / / / Determine whether the given class requires a separate instance <nl> mmm a / lib / SILGen / SILGen . h <nl> ppp b / lib / SILGen / SILGen . h <nl> class LLVM_LIBRARY_VISIBILITY SILGenModule : public ASTVisitor < SILGenModule > { <nl> <nl> / / / \ brief Generates code for the given closure expression and adds the <nl> / / / SILFunction to the current SILModule under the nane SILDeclRef ( ce ) . <nl> - void emitClosure ( AbstractClosureExpr * ce ) ; <nl> + SILFunction * emitClosure ( AbstractClosureExpr * ce ) ; <nl> / / / Generates code for the given ConstructorDecl and adds <nl> / / / the SILFunction to the current SILModule under the name SILDeclRef ( decl ) . <nl> void emitConstructor ( ConstructorDecl * decl ) ; <nl> mmm a / lib / SILGen / SILGenBuiltin . cpp <nl> ppp b / lib / SILGen / SILGenBuiltin . cpp <nl> <nl> # include " swift / AST / DiagnosticsSIL . h " <nl> # include " swift / AST / Module . h " <nl> # include " swift / Basic / Fallthrough . h " <nl> + # include " swift / SIL / SILArgument . h " <nl> # include " swift / SIL / SILUndef . h " <nl> <nl> using namespace swift ; <nl> static ManagedValue emitBuiltinMarkDependence ( SILGenFunction & gen , <nl> return gen . emitManagedRValueWithCleanup ( result ) ; <nl> } <nl> <nl> + static CanType makeThick ( CanMetatypeType oldMetatype ) { <nl> + return CanMetatypeType : : get ( oldMetatype . getInstanceType ( ) , <nl> + MetatypeRepresentation : : Thick ) ; <nl> + } <nl> + <nl> + static SILFunction * <nl> + adjustMetatypeArgumentToThick ( SILGenModule & SGM , SILFunction * fn ) { <nl> + assert ( fn - > canBeDeleted ( ) & & " cannot adjust type of function with uses ! " ) ; <nl> + auto oldLoweredType = fn - > getLoweredFunctionType ( ) ; <nl> + <nl> + auto oldMetatypeParam = oldLoweredType - > getParameters ( ) . back ( ) ; <nl> + assert ( oldMetatypeParam . getConvention ( ) <nl> + = = ParameterConvention : : Direct_Unowned ) ; <nl> + auto oldMetatypeType = cast < MetatypeType > ( oldMetatypeParam . getType ( ) ) ; <nl> + <nl> + switch ( oldMetatypeType - > getRepresentation ( ) ) { <nl> + / / If the metatype is already thick , we ' re fine . <nl> + case MetatypeRepresentation : : Thick : <nl> + return fn ; <nl> + <nl> + / / If it ' s thin , we need to rewrite it to be thick . <nl> + case MetatypeRepresentation : : Thin : <nl> + break ; <nl> + <nl> + case MetatypeRepresentation : : ObjC : <nl> + llvm_unreachable ( " unexpected objc metatype ! " ) ; <nl> + } <nl> + <nl> + SmallVector < SILParameterInfo , 4 > newParamTypes ; <nl> + newParamTypes . append ( oldLoweredType - > getParameters ( ) . begin ( ) , <nl> + oldLoweredType - > getParameters ( ) . end ( ) ) ; <nl> + newParamTypes . back ( ) = <nl> + SILParameterInfo ( makeThick ( oldMetatypeType ) , <nl> + ParameterConvention : : Direct_Unowned ) ; <nl> + <nl> + / / Unsafely replace the old lowered type . <nl> + CanSILFunctionType newLoweredType = <nl> + SILFunctionType : : get ( oldLoweredType - > getGenericSignature ( ) , <nl> + oldLoweredType - > getExtInfo ( ) , <nl> + oldLoweredType - > getCalleeConvention ( ) , <nl> + newParamTypes , <nl> + oldLoweredType - > getResult ( ) , <nl> + SGM . getASTContext ( ) ) ; <nl> + fn - > rewriteLoweredTypeUnsafe ( newLoweredType ) ; <nl> + <nl> + / / Replace the old BB argument . <nl> + SILBasicBlock * entryBB = & fn - > front ( ) ; <nl> + auto argIndex = entryBB - > bbarg_size ( ) - 1 ; <nl> + SILArgument * oldArg = entryBB - > getBBArg ( argIndex ) ; <nl> + SILType oldArgType = oldArg - > getType ( ) ; <nl> + const ValueDecl * oldArgDecl = oldArg - > getDecl ( ) ; <nl> + SILType newArgType = SILType : : getPrimitiveObjectType ( <nl> + makeThick ( cast < MetatypeType > ( oldArgType . getSwiftRValueType ( ) ) ) ) ; <nl> + / / If we need a thin metatype anywhere , synthesize it . <nl> + if ( ! oldArg - > use_empty ( ) ) { <nl> + SILLocation loc = const_cast < ValueDecl * > ( oldArgDecl ) ; <nl> + loc . markAsPrologue ( ) ; <nl> + <nl> + SILBuilder builder ( entryBB , entryBB - > begin ( ) ) ; <nl> + auto newThinMetatype = builder . createMetatype ( loc , oldArgType ) ; <nl> + oldArg - > replaceAllUsesWith ( newThinMetatype ) ; <nl> + } <nl> + entryBB - > replaceBBArg ( argIndex , newArgType , oldArgDecl ) ; <nl> + <nl> + return fn ; <nl> + } <nl> + <nl> + static ManagedValue <nl> + emitBuiltinMakeMaterializeForSetCallback ( SILGenFunction & gen , <nl> + SILLocation loc , <nl> + ArrayRef < Substitution > subs , <nl> + Expr * arg , <nl> + SGFContext C ) { <nl> + assert ( subs . size ( ) = = 1 ) ; <nl> + <nl> + / / The argument must be a closure . This should also catch the <nl> + / / possibility of captures . <nl> + auto closure = dyn_cast < ClosureExpr > ( arg - > getSemanticsProvidingExpr ( ) ) ; <nl> + if ( ! closure ) { <nl> + gen . SGM . diagnose ( loc , diag : : invalid_sil_builtin , <nl> + " argument to Builtin . makeMaterializeForSetCallback must be a closure . " ) ; <nl> + return gen . emitUndef ( loc , gen . getASTContext ( ) . TheRawPointerType ) ; <nl> + } <nl> + <nl> + / / FIXME : just emit the closure with a specific abstraction pattern . <nl> + SILFunction * fn = gen . SGM . emitClosure ( closure ) ; <nl> + fn = adjustMetatypeArgumentToThick ( gen . SGM , fn ) ; <nl> + <nl> + SILValue result = gen . B . createFunctionRef ( loc , fn ) ; <nl> + SILType resultType = SILType : : getRawPointerType ( gen . getASTContext ( ) ) ; <nl> + result = gen . B . createThinFunctionToPointer ( loc , result , resultType ) ; <nl> + return ManagedValue : : forUnmanaged ( result ) ; <nl> + } <nl> + <nl> / / / Specialized emitter for type traits . <nl> template < TypeTraitResult ( TypeBase : : * Trait ) ( ) , <nl> BuiltinValueKind Kind > <nl> static ManagedValue emitBuiltinTypeTrait ( SILGenFunction & gen , <nl> loc , SILType : : getBuiltinIntegerType ( 8 , gen . getASTContext ( ) ) , <nl> ( uintmax_t ) result ) ; <nl> return ManagedValue : : forUnmanaged ( val ) ; <nl> - } <nl> + } <nl> <nl> Optional < SpecializedEmitter > <nl> SpecializedEmitter : : forDecl ( SILGenModule & SGM , SILDeclRef function ) { <nl> mmm a / test / SILGen / materializeForSet . swift <nl> ppp b / test / SILGen / materializeForSet . swift <nl> <nl> - / / RUN : % swift - emit - sil % s | FileCheck % s <nl> - / / RUN : % swift - emit - silgen % s | FileCheck % s - check - prefix = SILGEN <nl> + / / RUN : % swift - emit - sil - parse - stdlib % s | FileCheck % s <nl> + / / RUN : % swift - emit - silgen - parse - stdlib % s | FileCheck % s - check - prefix = SILGEN <nl> + <nl> + import Swift <nl> + <nl> + func test_callback ( ) - > Builtin . RawPointer ? { <nl> + return Builtin . makeMaterializeForSetCallback <nl> + { ( value : Builtin . RawPointer , storage : Builtin . RawPointer , <nl> + inout selfV : Int , type ) - > ( ) in ( ) } <nl> + } <nl> + / / CHECK : sil hidden @ _TF17materializeForSet13test_callbackFT_GSqBp_ : $ @ thin ( ) - > Optional < Builtin . RawPointer > <nl> + / / CHECK : [ [ T0 : % . * ] ] = function_ref @ _TFF17materializeForSet13test_callbackFT_GSqBp_U_FTBpBpRSiMSi_T_ : $ @ thin ( Builtin . RawPointer , Builtin . RawPointer , @ inout Int , @ thick Int . Type ) - > ( ) <nl> + / / CHECK : thin_function_to_pointer [ [ T0 ] ] : $ @ thin ( Builtin . RawPointer , Builtin . RawPointer , @ inout Int , @ thick Int . Type ) - > ( ) to $ Builtin . RawPointer <nl> + <nl> + / / CHECK : sil shared @ _TFF17materializeForSet13test_callbackFT_GSqBp_U_FTBpBpRSiMSi_T_ : $ @ thin ( Builtin . RawPointer , Builtin . RawPointer , @ inout Int , @ thick Int . Type ) - > ( ) { <nl> + / / CHECK : bb0 ( % 0 : $ Builtin . RawPointer , % 1 : $ Builtin . RawPointer , % 2 : $ * Int , % 3 : $ @ thick Int . Type ) : <nl> + / / CHECK : [ [ T0 : % . * ] ] = metatype $ @ thin Int . Type <nl> + / / CHECK : debug_value [ [ T0 ] ] : $ @ thin Int . Type <nl> <nl> class Base { <nl> var stored : Int = 0 <nl>
Add a rather hacky builtin function for constructing
apple/swift
b6eb086af8aa138707162b0118ef08f9bc1be79b
2014-12-17T22:23:26Z
mmm a / lib / SILOptimizer / IPO / PerformanceInliner . cpp <nl> ppp b / lib / SILOptimizer / IPO / PerformanceInliner . cpp <nl> namespace { <nl> <nl> <nl> void ConstantTracker : : trackInst ( SILInstruction * inst ) { <nl> - if ( LoadInst * LI = dyn_cast < LoadInst > ( inst ) ) { <nl> + if ( auto * LI = dyn_cast < swift : : LoadInst > ( inst ) ) { <nl> SILValue baseAddr = scanProjections ( LI - > getOperand ( ) ) ; <nl> if ( SILInstruction * loadLink = getMemoryContent ( baseAddr ) ) <nl> links [ LI ] = loadLink ; <nl>
Make it clear to the compiler that we mean swift : : LoadInst , not llvm : : LoadInst here .
apple/swift
58221cd15a0556bf75b3281ba90e72f09bcf6faa
2015-12-14T21:25:53Z
mmm a / modules / objdetect / doc / erfilter . rst <nl> ppp b / modules / objdetect / doc / erfilter . rst <nl> erGrouping <nl> mmmmmmmmm - <nl> Find groups of Extremal Regions that are organized as text blocks . <nl> <nl> - . . ocv : function : : void erGrouping ( InputArrayOfArrays src , std : : vector < std : : vector < ERStat > > & regions , std : : vector < Rect > & groups ) <nl> + . . ocv : function : : void erGrouping ( InputArrayOfArrays src , std : : vector < std : : vector < ERStat > > & regions , const std : : string & filename , float minProbablity , std : : vector < Rect > & groups ) <nl> <nl> : param src : Vector of sinle channel images CV_8UC1 from wich the regions were extracted <nl> : param regions : Vector of ER ' s retreived from the ERFilter algorithm from each channel <nl> + : param filename : The XML or YAML file with the classifier model ( e . g . trained_classifier_erGrouping . xml ) <nl> + : param minProbability : The minimum probability for accepting a group <nl> : param groups : The output of the algorithm are stored in this parameter as list of rectangles . <nl> <nl> This function implements the grouping algorithm described in [ Gomez13 ] . Notice that this implementation constrains the results to horizontally - aligned text and latin script ( since ERFilter classifiers are trained only for latin script detection ) . <nl> <nl> - The algorithm combines two different clustering techniques in a single parameter - free procedure to detect groups of regions organized as text . The maximally meaningful groups are fist detected in several feature spaces , where each feature space is a combination of proximity information ( x , y coordinates ) and a similarity measure ( intensity , color , size , gradient magnitude , etc . ) , thus providing a set of hypotheses of text groups . Evidence Accumulation framework is used to combine all these hypotheses to get the final estimate . Each of the resulting groups are finally heuristically validated in order to assess if they form a valid horizontally - aligned text block . <nl> + The algorithm combines two different clustering techniques in a single parameter - free procedure to detect groups of regions organized as text . The maximally meaningful groups are fist detected in several feature spaces , where each feature space is a combination of proximity information ( x , y coordinates ) and a similarity measure ( intensity , color , size , gradient magnitude , etc . ) , thus providing a set of hypotheses of text groups . Evidence Accumulation framework is used to combine all these hypotheses to get the final estimate . Each of the resulting groups are finally validated using a classifier in order to assess if they form a valid horizontally - aligned text block . <nl> mmm a / modules / objdetect / include / opencv2 / objdetect / erfilter . hpp <nl> ppp b / modules / objdetect / include / opencv2 / objdetect / erfilter . hpp <nl> CV_EXPORTS void computeNMChannels ( InputArray _src , OutputArrayOfArrays _channels <nl> ( x , y coordinates ) and a similarity measure ( intensity , color , size , gradient magnitude , etc . ) , <nl> thus providing a set of hypotheses of text groups . Evidence Accumulation framework is used to <nl> combine all these hypotheses to get the final estimate . Each of the resulting groups are finally <nl> - heuristically validated in order to assest if they form a valid horizontally - aligned text block . <nl> + validated using a classifier in order to assest if they form a valid horizontally - aligned text block . <nl> <nl> \ param src Vector of sinle channel images CV_8UC1 from wich the regions were extracted . <nl> \ param regions Vector of ER ' s retreived from the ERFilter algorithm from each channel <nl> + \ param filename The XML or YAML file with the classifier model ( e . g . trained_classifier_erGrouping . xml ) <nl> + \ param minProbability The minimum probability for accepting a group <nl> \ param groups The output of the algorithm are stored in this parameter as list of rectangles . <nl> * / <nl> CV_EXPORTS void erGrouping ( InputArrayOfArrays src , std : : vector < std : : vector < ERStat > > & regions , <nl> - std : : vector < Rect > & groups ) ; <nl> + const std : : string & filename , float minProbablity , <nl> + std : : vector < Rect > & groups ) ; <nl> <nl> } <nl> # endif / / _OPENCV_ERFILTER_HPP_ <nl> mmm a / modules / objdetect / src / erfilter . cpp <nl> ppp b / modules / objdetect / src / erfilter . cpp <nl> void ERFilterNM : : er_tree_extract ( InputArray image ) <nl> <nl> if ( thresholdDelta > 1 ) <nl> { <nl> - Mat tmp ; <nl> - src . copyTo ( tmp ) ; <nl> - src . release ( ) ; <nl> - src = ( image . getMat ( ) / thresholdDelta ) - 1 ; <nl> + src = ( src / thresholdDelta ) - 1 ; <nl> } <nl> <nl> const unsigned char * image_data = src . data ; <nl> float extract_features ( InputOutputArray src , vector < ERStat > & regions , vector < ERF <nl> return max_stroke ; <nl> } <nl> <nl> + static bool edge_comp ( Vec4f i , Vec4f j ) <nl> + { <nl> + Point a = Point ( cvRound ( i [ 0 ] ) , cvRound ( i [ 1 ] ) ) ; <nl> + Point b = Point ( cvRound ( i [ 2 ] ) , cvRound ( i [ 3 ] ) ) ; <nl> + double edist_i = cv : : norm ( a - b ) ; <nl> + a = Point ( cvRound ( j [ 0 ] ) , cvRound ( j [ 1 ] ) ) ; <nl> + b = Point ( cvRound ( j [ 2 ] ) , cvRound ( j [ 3 ] ) ) ; <nl> + double edist_j = cv : : norm ( a - b ) ; <nl> + return ( edist_i < edist_j ) ; <nl> + } <nl> + <nl> + static bool find_vertex ( vector < Point > & vertex , Point & p ) <nl> + { <nl> + for ( int i = 0 ; i < ( int ) vertex . size ( ) ; i + + ) <nl> + { <nl> + if ( vertex . at ( i ) = = p ) <nl> + return true ; <nl> + } <nl> + return false ; <nl> + } <nl> + <nl> + <nl> / * ! <nl> Find groups of Extremal Regions that are organized as text blocks . This function implements <nl> the grouping algorithm described in : <nl> float extract_features ( InputOutputArray src , vector < ERStat > & regions , vector < ERF <nl> ( x , y coordinates ) and a similarity measure ( intensity , color , size , gradient magnitude , etc . ) , <nl> thus providing a set of hypotheses of text groups . Evidence Accumulation framework is used to <nl> combine all these hypotheses to get the final estimate . Each of the resulting groups are finally <nl> - heuristically validated in order to assest if they form a valid horizontally - aligned text block . <nl> + validated by a classifier in order to assest if they form a valid horizontally - aligned text block . <nl> <nl> \ param src Vector of sinle channel images CV_8UC1 from wich the regions were extracted . <nl> \ param regions Vector of ER ' s retreived from the ERFilter algorithm from each channel <nl> + \ param filename The XML or YAML file with the classifier model ( e . g . trained_classifier_erGrouping . xml ) <nl> + \ param minProbability The minimum probability for accepting a group <nl> \ param groups The output of the algorithm are stored in this parameter as list of rectangles . <nl> * / <nl> - void erGrouping ( InputArrayOfArrays _src , vector < vector < ERStat > > & regions , std : : vector < Rect > & text_boxes ) <nl> + void erGrouping ( InputArrayOfArrays _src , vector < vector < ERStat > > & regions , const std : : string & filename , float minProbability , std : : vector < Rect > & text_boxes ) <nl> { <nl> + <nl> / / TODO assert correct vector < Mat > <nl> <nl> + CvBoost group_boost ; <nl> + if ( ifstream ( filename . c_str ( ) ) ) <nl> + group_boost . load ( filename . c_str ( ) , " boost " ) ; <nl> + else <nl> + CV_Error ( CV_StsBadArg , " erGrouping : Default classifier file not found ! " ) ; <nl> + <nl> std : : vector < Mat > src ; <nl> _src . getMatVector ( src ) ; <nl> <nl> void erGrouping ( InputArrayOfArrays _src , vector < vector < ERStat > > & regions , std : : <nl> free ( D ) ; <nl> <nl> <nl> + <nl> / * mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm Groups Validation mmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - * / <nl> / * Examine each of the clusters in order to assest if they are valid text lines or not * / <nl> / * mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm * / <nl> <nl> - / / remove non - horizontally - aligned groups <nl> - vector < Rect > groups_rects ; <nl> + vector < vector < float > > data_arrays ( meaningful_clusters . size ( ) ) ; <nl> + vector < Rect > groups_rects ( meaningful_clusters . size ( ) ) ; <nl> + <nl> + / / Collect group level features and classify the group <nl> for ( int i = ( int ) meaningful_clusters . size ( ) - 1 ; i > = 0 ; i - - ) <nl> { <nl> <nl> Rect group_rect ; <nl> float sumx = 0 , sumy = 0 , sumxy = 0 , sumx2 = 0 ; <nl> <nl> + / / linear regression slope helps discriminating horizontal aligned groups <nl> for ( int j = 0 ; j < ( int ) meaningful_clusters . at ( i ) . size ( ) ; j + + ) <nl> { <nl> if ( j = = 0 ) <nl> void erGrouping ( InputArrayOfArrays _src , vector < vector < ERStat > > & regions , std : : <nl> float a1 = ( ( int ) meaningful_clusters . at ( i ) . size ( ) * sumxy - sumx * sumy ) / <nl> ( ( int ) meaningful_clusters . at ( i ) . size ( ) * sumx2 - sumx * sumx ) ; <nl> <nl> - if ( abs ( a1 ) > 0 . 13 ) <nl> - meaningful_clusters . erase ( meaningful_clusters . begin ( ) + i ) ; <nl> + vector < float > data ; <nl> + if ( a1 ! = a1 ) <nl> + data_arrays . at ( i ) . push_back ( 1 . f ) ; <nl> else <nl> - groups_rects . insert ( groups_rects . begin ( ) , group_rect ) ; <nl> - <nl> - } <nl> + data_arrays . at ( i ) . push_back ( a1 ) ; <nl> <nl> - / / TODO if group has less than 5 chars we can infer that is a single line so an additional rule can <nl> - / / be added here in order to reject non - colinear small groups <nl> + groups_rects . at ( i ) = group_rect ; <nl> <nl> + / / group probability mean <nl> + double group_probability_mean = 0 ; <nl> + / / number of non - overlapping regions <nl> + vector < Rect > individual_components ; <nl> <nl> - / * TODO this is better code for detecting non - horizontally - aligned groups but only works for <nl> - * single lines so we need here a way to split the rejected groups into several line hypothesis <nl> - * and recursively apply the text line validation test until no more splits can be done <nl> - <nl> - vector < Rect > groups_rects ; <nl> - <nl> - for ( int i = meaningful_clusters . size ( ) - 1 ; i > = 0 ; i - - ) <nl> - { <nl> - <nl> - Rect group_rect ; <nl> + / / The variance of several similarity features is also helpful <nl> + vector < float > strokes ; <nl> + vector < float > grad_magnitudes ; <nl> + vector < float > intensities ; <nl> + vector < float > bg_intensities ; <nl> <nl> - for ( int j = 0 ; j < ( int ) meaningful_clusters . at ( i ) . size ( ) ; j + + ) <nl> - { <nl> - if ( j = = 0 ) <nl> - { <nl> - group_rect = regions . at ( c ) . at ( meaningful_clusters . at ( i ) . at ( j ) ) . rect ; <nl> - } else { <nl> - group_rect = group_rect | regions . at ( c ) . at ( meaningful_clusters . at ( i ) . at ( j ) ) . rect ; <nl> - } <nl> - } <nl> - <nl> - float group_y_center = 0 ; <nl> - for ( int j = 0 ; j < ( int ) meaningful_clusters . at ( i ) . size ( ) ; j + + ) <nl> - { <nl> - int region_y_center = regions . at ( c ) . at ( meaningful_clusters . at ( i ) . at ( j ) ) . rect . y + <nl> - regions . at ( c ) . at ( meaningful_clusters . at ( i ) . at ( j ) ) . rect . height / 2 ; <nl> - group_y_center + = region_y_center ; <nl> - } <nl> - group_y_center = group_y_center / ( int ) meaningful_clusters . at ( i ) . size ( ) ; <nl> + / / We ' ll try to remove groups with repetitive patterns using averaged SAD <nl> + / / SAD = Sum of Absolute Differences <nl> + Mat grey = img ; <nl> + Mat sad = Mat : : zeros ( regions . at ( c ) . at ( meaningful_clusters . at ( i ) . at ( 0 ) ) . rect . size ( ) , CV_8UC1 ) ; <nl> + Mat region_mask = Mat : : zeros ( grey . rows + 2 , grey . cols + 2 , CV_8UC1 ) ; <nl> + float sad_value = 0 ; <nl> + Mat ratios = Mat : : zeros ( 1 , ( int ) meaningful_clusters . at ( i ) . size ( ) , CV_32FC1 ) ; <nl> + / / Mat holes = Mat : : zeros ( 1 , ( int ) meaningful_clusters . at ( i ) . size ( ) , CV_32FC1 ) ; <nl> <nl> - float err = 0 ; <nl> for ( int j = 0 ; j < ( int ) meaningful_clusters . at ( i ) . size ( ) ; j + + ) <nl> { <nl> - int region_y_center = regions . at ( c ) . at ( meaningful_clusters . at ( i ) . at ( j ) ) . rect . y + <nl> - regions . at ( c ) . at ( meaningful_clusters . at ( i ) . at ( j ) ) . rect . height / 2 ; <nl> - err + = pow ( group_y_center - region_y_center , 2 ) ; <nl> - } <nl> - err = sqrt ( err / ( int ) meaningful_clusters . at ( i ) . size ( ) ) ; <nl> - err = err / group_rect . height ; <nl> - <nl> - if ( err > 0 . 17 ) <nl> - meaningful_clusters . erase ( meaningful_clusters . begin ( ) + i ) ; <nl> - else <nl> - groups_rects . insert ( groups_rects . begin ( ) , group_rect ) ; <nl> + ERStat * stat = & regions . at ( c ) . at ( meaningful_clusters . at ( i ) . at ( j ) ) ; <nl> <nl> - } * / <nl> - <nl> - / / check for colinear groups that can be merged <nl> - for ( int i = 0 ; i < ( int ) meaningful_clusters . size ( ) ; i + + ) <nl> - { <nl> - int ay1 = groups_rects . at ( i ) . y ; <nl> - int ay2 = groups_rects . at ( i ) . y + groups_rects . at ( i ) . height ; <nl> - int ax1 = groups_rects . at ( i ) . x ; <nl> - int ax2 = groups_rects . at ( i ) . x + groups_rects . at ( i ) . width ; <nl> - for ( int j = ( int ) meaningful_clusters . size ( ) - 1 ; j > i ; j - - ) <nl> - { <nl> - int by1 = groups_rects . at ( j ) . y ; <nl> - int by2 = groups_rects . at ( j ) . y + groups_rects . at ( j ) . height ; <nl> - int bx1 = groups_rects . at ( j ) . x ; <nl> - int bx2 = groups_rects . at ( j ) . x + groups_rects . at ( j ) . width ; <nl> + / / Fill the region <nl> + Mat region = region_mask ( Rect ( Point ( stat - > rect . x , stat - > rect . y ) , <nl> + Point ( stat - > rect . br ( ) . x + 2 , stat - > rect . br ( ) . y + 2 ) ) ) ; <nl> + region = Scalar ( 0 ) ; <nl> + int newMaskVal = 255 ; <nl> + int flags = 4 + ( newMaskVal < < 8 ) + FLOODFILL_FIXED_RANGE + FLOODFILL_MASK_ONLY ; <nl> + Rect rect ; <nl> <nl> - int y_intersection = min ( ay2 , by2 ) - max ( ay1 , by1 ) ; <nl> + floodFill ( grey ( Rect ( Point ( stat - > rect . x , stat - > rect . y ) , Point ( stat - > rect . br ( ) . x , stat - > rect . br ( ) . y ) ) ) , <nl> + region , Point ( stat - > pixel % grey . cols - stat - > rect . x , stat - > pixel / grey . cols - stat - > rect . y ) , <nl> + Scalar ( 255 ) , & rect , Scalar ( stat - > level ) , Scalar ( 0 ) , flags ) ; <nl> <nl> - if ( y_intersection > 0 . 75 * ( max ( groups_rects . at ( i ) . height , groups_rects . at ( j ) . height ) ) ) <nl> + Mat mask = Mat : : zeros ( regions . at ( c ) . at ( meaningful_clusters . at ( i ) . at ( 0 ) ) . rect . size ( ) , CV_8UC1 ) ; <nl> + resize ( region , mask , mask . size ( ) ) ; <nl> + mask = mask - 254 ; <nl> + if ( j ! = 0 ) <nl> { <nl> - int xdist = min ( abs ( ax2 - bx1 ) , abs ( bx2 - ax1 ) ) ; <nl> - if ( xdist < 0 . 75 * ( max ( groups_rects . at ( i ) . height , groups_rects . at ( j ) . height ) ) ) <nl> - { <nl> - for ( int r = 0 ; r < ( int ) meaningful_clusters . at ( j ) . size ( ) ; r + + ) <nl> - meaningful_clusters . at ( i ) . push_back ( meaningful_clusters . at ( j ) . at ( r ) ) ; <nl> - meaningful_clusters . erase ( meaningful_clusters . begin ( ) + j ) ; <nl> - groups_rects . erase ( groups_rects . begin ( ) + j ) ; <nl> - } <nl> + / / accumulate Sum of Absolute Differences <nl> + absdiff ( sad , mask , sad ) ; <nl> + Scalar s = sum ( sad ) ; <nl> + sad_value + = ( float ) s [ 0 ] / ( sad . rows * sad . cols ) ; <nl> } <nl> + mask . copyTo ( sad ) ; <nl> + ratios . at < float > ( 0 , j ) = ( float ) min ( stat - > rect . width , stat - > rect . height ) / <nl> + max ( stat - > rect . width , stat - > rect . height ) ; <nl> + / / holes . at < float > ( 0 , j ) = ( float ) stat - > hole_area_ratio ; <nl> <nl> - } <nl> - } <nl> - <nl> - / / remove groups with less than 3 non - overlapping regions <nl> - for ( int i = ( int ) meaningful_clusters . size ( ) - 1 ; i > = 0 ; i - - ) <nl> - { <nl> - <nl> - double group_probability_mean = 0 ; <nl> - Rect group_rect ; <nl> - vector < Rect > individual_components ; <nl> - <nl> - for ( int j = 0 ; j < ( int ) meaningful_clusters . at ( i ) . size ( ) ; j + + ) <nl> - { <nl> + strokes . push_back ( ( float ) features . at ( meaningful_clusters . at ( i ) . at ( j ) ) . stroke_mean ) ; <nl> + grad_magnitudes . push_back ( ( float ) features . at ( meaningful_clusters . at ( i ) . at ( j ) ) . gradient_mean ) ; <nl> + intensities . push_back ( features . at ( meaningful_clusters . at ( i ) . at ( j ) ) . intensity_mean ) ; <nl> + bg_intensities . push_back ( features . at ( meaningful_clusters . at ( i ) . at ( j ) ) . boundary_intensity_mean ) ; <nl> group_probability_mean + = regions . at ( c ) . at ( meaningful_clusters . at ( i ) . at ( j ) ) . probability ; <nl> <nl> if ( j = = 0 ) <nl> void erGrouping ( InputArrayOfArrays _src , vector < vector < ERStat > > & regions , std : : <nl> } <nl> group_probability_mean = group_probability_mean / meaningful_clusters . at ( i ) . size ( ) ; <nl> <nl> + data_arrays . at ( i ) . insert ( data_arrays . at ( i ) . begin ( ) , ( float ) individual_components . size ( ) ) ; <nl> <nl> - if ( individual_components . size ( ) < 3 ) / / | | ( group_probability_mean < 0 . 5 ) <nl> + / / variance of widths and heights help to discriminate groups with high height variability <nl> + vector < int > widths ; <nl> + vector < int > heights ; <nl> + / / the MST edge orientations histogram may be dominated by the horizontal axis orientation <nl> + Subdiv2D subdiv ( Rect ( 0 , 0 , src . at ( 0 ) . cols , src . at ( 0 ) . rows ) ) ; <nl> + <nl> + for ( int r = 0 ; r < ( int ) individual_components . size ( ) ; r + + ) <nl> { <nl> - meaningful_clusters . erase ( meaningful_clusters . begin ( ) + i ) ; <nl> - groups_rects . erase ( groups_rects . begin ( ) + i ) ; <nl> - continue ; <nl> + widths . push_back ( individual_components . at ( r ) . width ) ; <nl> + heights . push_back ( individual_components . at ( r ) . height ) ; <nl> + <nl> + Point2f fp ( ( float ) individual_components . at ( r ) . x + individual_components . at ( r ) . width / 2 , <nl> + ( float ) individual_components . at ( r ) . y + individual_components . at ( r ) . height / 2 ) ; <nl> + subdiv . insert ( fp ) ; <nl> } <nl> <nl> - } <nl> + Scalar mean , std ; <nl> + meanStdDev ( Mat ( widths ) , mean , std ) ; <nl> + data_arrays . at ( i ) . push_back ( ( float ) ( std [ 0 ] / mean [ 0 ] ) ) ; <nl> + data_arrays . at ( i ) . push_back ( ( float ) mean [ 0 ] ) ; <nl> + meanStdDev ( Mat ( heights ) , mean , std ) ; <nl> + data_arrays . at ( i ) . push_back ( ( float ) ( std [ 0 ] / mean [ 0 ] ) ) ; <nl> <nl> - / / TODO remove groups with high height variability <nl> + vector < Vec4f > edgeList ; <nl> + subdiv . getEdgeList ( edgeList ) ; <nl> + std : : sort ( edgeList . begin ( ) , edgeList . end ( ) , edge_comp ) ; <nl> + vector < Point > mst_vertices ; <nl> <nl> - / / Try to remove groups with repetitive patterns <nl> - for ( int i = ( int ) meaningful_clusters . size ( ) - 1 ; i > = 0 ; i - - ) <nl> - { <nl> - Mat grey = img ; <nl> - Mat sad = Mat : : zeros ( regions . at ( c ) . at ( meaningful_clusters . at ( i ) . at ( 0 ) ) . rect . size ( ) , CV_8UC1 ) ; <nl> - Mat region_mask = Mat : : zeros ( grey . rows + 2 , grey . cols + 2 , CV_8UC1 ) ; <nl> - float sad_value = 0 ; <nl> - Mat ratios = Mat : : zeros ( 1 , ( int ) meaningful_clusters . at ( i ) . size ( ) , CV_32FC1 ) ; <nl> - Mat holes = Mat : : zeros ( 1 , ( int ) meaningful_clusters . at ( i ) . size ( ) , CV_32FC1 ) ; <nl> + int horiz_edges = 0 , non_horiz_edges = 0 ; <nl> + vector < float > edge_distances ; <nl> <nl> - for ( int r = 0 ; r < ( int ) meaningful_clusters . at ( i ) . size ( ) ; r + + ) <nl> + for ( size_t k = 0 ; k < edgeList . size ( ) ; k + + ) <nl> { <nl> - ERStat * stat = & regions . at ( c ) . at ( meaningful_clusters . at ( i ) . at ( r ) ) ; <nl> - <nl> - / / Fill the region <nl> - Mat region = region_mask ( Rect ( Point ( stat - > rect . x , stat - > rect . y ) , <nl> - Point ( stat - > rect . br ( ) . x + 2 , stat - > rect . br ( ) . y + 2 ) ) ) ; <nl> - region = Scalar ( 0 ) ; <nl> - int newMaskVal = 255 ; <nl> - int flags = 4 + ( newMaskVal < < 8 ) + FLOODFILL_FIXED_RANGE + FLOODFILL_MASK_ONLY ; <nl> - Rect rect ; <nl> - <nl> - floodFill ( grey ( Rect ( Point ( stat - > rect . x , stat - > rect . y ) , Point ( stat - > rect . br ( ) . x , stat - > rect . br ( ) . y ) ) ) , <nl> - region , Point ( stat - > pixel % grey . cols - stat - > rect . x , stat - > pixel / grey . cols - stat - > rect . y ) , <nl> - Scalar ( 255 ) , & rect , Scalar ( stat - > level ) , Scalar ( 0 ) , flags ) ; <nl> - <nl> - Mat mask = Mat : : zeros ( regions . at ( c ) . at ( meaningful_clusters . at ( i ) . at ( 0 ) ) . rect . size ( ) , CV_8UC1 ) ; <nl> - resize ( region , mask , mask . size ( ) ) ; <nl> - mask = mask - 254 ; <nl> - if ( r ! = 0 ) <nl> + Vec4f e = edgeList [ k ] ; <nl> + Point pt0 = Point ( cvRound ( e [ 0 ] ) , cvRound ( e [ 1 ] ) ) ; <nl> + Point pt1 = Point ( cvRound ( e [ 2 ] ) , cvRound ( e [ 3 ] ) ) ; <nl> + if ( ( ( pt0 . x > 0 ) & & ( pt0 . x < src . at ( 0 ) . cols ) & & ( pt0 . y > 0 ) & & ( pt0 . y < src . at ( 0 ) . rows ) & & <nl> + ( pt1 . x > 0 ) & & ( pt1 . x < src . at ( 0 ) . cols ) & & ( pt1 . y > 0 ) & & ( pt1 . y < src . at ( 0 ) . rows ) ) & & <nl> + ( ( ! find_vertex ( mst_vertices , pt0 ) ) | | <nl> + ( ! find_vertex ( mst_vertices , pt1 ) ) ) ) <nl> { <nl> - / / using Sum of Absolute Differences <nl> - absdiff ( sad , mask , sad ) ; <nl> - Scalar s = sum ( sad ) ; <nl> - sad_value + = ( float ) s [ 0 ] / ( sad . rows * sad . cols ) ; <nl> + double angle = atan2 ( ( double ) ( pt0 . y - pt1 . y ) , ( double ) ( pt0 . x - pt1 . x ) ) ; <nl> + / / if ( ( abs ( angle ) < 0 . 35 ) | | ( abs ( angle ) > 5 . 93 ) | | ( ( abs ( angle ) > 2 . 79 ) & & ( abs ( angle ) < 3 . 49 ) ) ) <nl> + if ( ( abs ( angle ) < 0 . 25 ) | | ( abs ( angle ) > 6 . 03 ) | | ( ( abs ( angle ) > 2 . 88 ) & & ( abs ( angle ) < 3 . 4 ) ) ) <nl> + { <nl> + horiz_edges + + ; <nl> + edge_distances . push_back ( ( float ) norm ( pt0 - pt1 ) ) ; <nl> + } <nl> + else <nl> + non_horiz_edges + + ; <nl> + mst_vertices . push_back ( pt0 ) ; <nl> + mst_vertices . push_back ( pt1 ) ; <nl> } <nl> - mask . copyTo ( sad ) ; <nl> - ratios . at < float > ( 0 , r ) = ( float ) min ( stat - > rect . width , stat - > rect . height ) / <nl> - max ( stat - > rect . width , stat - > rect . height ) ; <nl> - holes . at < float > ( 0 , r ) = ( float ) stat - > hole_area_ratio ; <nl> - <nl> - } <nl> - Scalar mean , std ; <nl> - meanStdDev ( holes , mean , std ) ; <nl> - float holes_mean = ( float ) mean [ 0 ] ; <nl> - meanStdDev ( ratios , mean , std ) ; <nl> - <nl> - / / Set empirically <nl> - if ( ( ( float ) sad_value / ( ( int ) meaningful_clusters . at ( i ) . size ( ) - 1 ) < 0 . 12 ) | | <nl> - ( ( ( float ) sad_value / ( ( int ) meaningful_clusters . at ( i ) . size ( ) - 1 ) < 0 . 175 ) & & ( holes_mean < 0 . 015 ) ) | | <nl> - / / TODO this must be num of non - overlapping regions . at ( c ) and probably 7 is ok ! <nl> - ( ( holes_mean < 0 . 005 ) & & ( ( int ) meaningful_clusters . at ( i ) . size ( ) > 10 ) ) ) <nl> - { <nl> - meaningful_clusters . erase ( meaningful_clusters . begin ( ) + i ) ; <nl> - groups_rects . erase ( groups_rects . begin ( ) + i ) ; <nl> } <nl> - } <nl> <nl> - / / remove small groups inside others <nl> - vector < int > groups_to_remove ; <nl> - for ( int i = 0 ; i < ( int ) meaningful_clusters . size ( ) - 1 ; i + + ) <nl> - { <nl> - for ( int j = i + 1 ; j < ( int ) meaningful_clusters . size ( ) ; j + + ) <nl> - { <nl> + if ( horiz_edges = = 0 ) <nl> + data_arrays . at ( i ) . push_back ( 0 . f ) ; <nl> + else <nl> + data_arrays . at ( i ) . push_back ( ( float ) horiz_edges / ( horiz_edges + non_horiz_edges ) ) ; <nl> <nl> - Rect intersection = groups_rects . at ( i ) & groups_rects . at ( j ) ; <nl> + / / remove groups where objects are not equidistant enough <nl> + Scalar dist_mean , dist_std ; <nl> + meanStdDev ( Mat ( edge_distances ) , dist_mean , dist_std ) ; <nl> + if ( dist_std [ 0 ] = = 0 ) <nl> + data_arrays . at ( i ) . push_back ( 0 . f ) ; <nl> + else <nl> + data_arrays . at ( i ) . push_back ( ( float ) ( dist_std [ 0 ] / dist_mean [ 0 ] ) ) ; <nl> <nl> - if ( intersection = = groups_rects . at ( i ) ) <nl> - groups_to_remove . push_back ( i ) ; <nl> - if ( intersection = = groups_rects . at ( j ) ) <nl> - groups_to_remove . push_back ( j ) ; <nl> + if ( dist_mean [ 0 ] = = 0 ) <nl> + data_arrays . at ( i ) . push_back ( 0 . f ) ; <nl> + else <nl> + data_arrays . at ( i ) . push_back ( ( float ) dist_mean [ 0 ] / data_arrays . at ( i ) . at ( 3 ) ) ; <nl> <nl> - } <nl> - } <nl> + / / meanStdDev ( holes , mean , std ) ; <nl> + / / float holes_mean = ( float ) mean [ 0 ] ; <nl> + meanStdDev ( ratios , mean , std ) ; <nl> <nl> - if ( ! groups_to_remove . empty ( ) ) <nl> - { <nl> - int last_removed = - 1 ; <nl> - std : : sort ( groups_to_remove . begin ( ) , groups_to_remove . end ( ) ) ; <nl> - for ( int i = ( int ) groups_to_remove . size ( ) - 1 ; i > = 0 ; i - - ) <nl> + data_arrays . at ( i ) . push_back ( ( float ) sad_value / ( ( int ) meaningful_clusters . at ( i ) . size ( ) - 1 ) ) ; <nl> + meanStdDev ( Mat ( strokes ) , mean , std ) ; <nl> + data_arrays . at ( i ) . push_back ( ( float ) ( std [ 0 ] / mean [ 0 ] ) ) ; <nl> + meanStdDev ( Mat ( grad_magnitudes ) , mean , std ) ; <nl> + data_arrays . at ( i ) . push_back ( ( float ) ( std [ 0 ] / mean [ 0 ] ) ) ; <nl> + meanStdDev ( Mat ( intensities ) , mean , std ) ; <nl> + data_arrays . at ( i ) . push_back ( ( float ) std [ 0 ] ) ; <nl> + meanStdDev ( Mat ( bg_intensities ) , mean , std ) ; <nl> + data_arrays . at ( i ) . push_back ( ( float ) std [ 0 ] ) ; <nl> + <nl> + / / Validate only groups with more than 2 non - overlapping regions <nl> + if ( data_arrays . at ( i ) . at ( 0 ) > 2 ) <nl> { <nl> - if ( groups_to_remove . at ( i ) = = last_removed ) <nl> - continue ; <nl> - else <nl> - last_removed = groups_to_remove . at ( i ) ; <nl> + data_arrays . at ( i ) . insert ( data_arrays . at ( i ) . begin ( ) , 0 . f ) ; <nl> + float votes = group_boost . predict ( Mat ( data_arrays . at ( i ) ) , Mat ( ) , Range : : all ( ) , false , true ) ; <nl> + / / Logistic Correction returns a probability value ( in the range ( 0 , 1 ) ) <nl> + double probability = ( double ) 1 - ( double ) 1 / ( 1 + exp ( - 2 * votes ) ) ; <nl> <nl> - meaningful_clusters . erase ( meaningful_clusters . begin ( ) + groups_to_remove . at ( i ) ) ; <nl> - groups_rects . erase ( groups_rects . begin ( ) + groups_to_remove . at ( i ) ) ; <nl> + if ( probability > minProbability ) <nl> + text_boxes . push_back ( groups_rects . at ( i ) ) ; <nl> } <nl> } <nl> - groups_to_remove . clear ( ) ; <nl> <nl> - for ( int i = 0 ; i < ( int ) groups_rects . size ( ) ; i + + ) <nl> - text_boxes . push_back ( groups_rects . at ( i ) ) ; <nl> } <nl> <nl> / / check for colinear groups that can be merged <nl> deleted file mode 100644 <nl> index 6a9c6bf5e23 . . 00000000000 <nl> Binary files a / samples / cpp / scenetext . jpg and / dev / null differ <nl> new file mode 100644 <nl> index 00000000000 . . f77e60ab916 <nl> Binary files / dev / null and b / samples / cpp / scenetext01 . jpg differ <nl> new file mode 100644 <nl> index 00000000000 . . 7c89866c092 <nl> Binary files / dev / null and b / samples / cpp / scenetext02 . jpg differ <nl> new file mode 100644 <nl> index 00000000000 . . 3950013994c <nl> Binary files / dev / null and b / samples / cpp / scenetext03 . jpg differ <nl> new file mode 100644 <nl> index 00000000000 . . 05dda0faa7a <nl> Binary files / dev / null and b / samples / cpp / scenetext04 . jpg differ <nl> new file mode 100644 <nl> index 00000000000 . . 1d090f03c60 <nl> Binary files / dev / null and b / samples / cpp / scenetext05 . jpg differ <nl> new file mode 100644 <nl> index 00000000000 . . 05de82f1580 <nl> Binary files / dev / null and b / samples / cpp / scenetext06 . jpg differ <nl> deleted file mode 100644 <nl> index a5c19055725 . . 00000000000 <nl> Binary files a / samples / cpp / scenetext_GT . png and / dev / null differ <nl> similarity index 56 % <nl> rename from samples / cpp / erfilter . cpp <nl> rename to samples / cpp / textdetection . cpp <nl> mmm a / samples / cpp / erfilter . cpp <nl> ppp b / samples / cpp / textdetection . cpp <nl> <nl> - <nl> - / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> - / / A demo program of the Extremal Region Filter algorithm described in <nl> - / / Neumann L . , Matas J . : Real - Time Scene Text Localization and Recognition , CVPR 2012 <nl> - / / mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - - <nl> + / * <nl> + * textdetection . cpp <nl> + * <nl> + * A demo program of the Extremal Region Filter algorithm described in <nl> + * Neumann L . , Matas J . : Real - Time Scene Text Localization and Recognition , CVPR 2012 <nl> + * <nl> + * Created on : Sep 23 , 2013 <nl> + * Author : Lluis Gomez i Bigorda < lgomez AT cvc . uab . es > <nl> + * / <nl> <nl> # include " opencv2 / opencv . hpp " <nl> # include " opencv2 / objdetect . hpp " <nl> using namespace cv ; <nl> <nl> void show_help_and_exit ( const char * cmd ) ; <nl> void groups_draw ( Mat & src , vector < Rect > & groups ) ; <nl> - void er_draw ( Mat & src , Mat & dst , ERStat & er ) ; <nl> + void er_show ( vector < Mat > & channels , vector < vector < ERStat > > & regions ) ; <nl> <nl> int main ( int argc , const char * argv [ ] ) <nl> { <nl> + cout < < endl < < argv [ 0 ] < < endl < < endl ; <nl> + cout < < " Demo program of the Extremal Region Filter algorithm described in " < < endl ; <nl> + cout < < " Neumann L . , Matas J . : Real - Time Scene Text Localization and Recognition , CVPR 2012 " < < endl < < endl ; <nl> <nl> if ( argc < 2 ) show_help_and_exit ( argv [ 0 ] ) ; <nl> <nl> int main ( int argc , const char * argv [ ] ) <nl> channels . push_back ( 255 - channels [ c ] ) ; <nl> <nl> / / Create ERFilter objects with the 1st and 2nd stage default classifiers <nl> - Ptr < ERFilter > er_filter1 = createERFilterNM1 ( loadClassifierNM1 ( " trained_classifierNM1 . xml " ) , 8 , 0 . 00025 , 0 . 13 , 0 . 4 , true , 0 . 1 ) ; <nl> - Ptr < ERFilter > er_filter2 = createERFilterNM2 ( loadClassifierNM2 ( " trained_classifierNM2 . xml " ) , 0 . 3 ) ; <nl> + Ptr < ERFilter > er_filter1 = createERFilterNM1 ( loadClassifierNM1 ( " trained_classifierNM1 . xml " ) , 16 , 0 . 00015 , 0 . 13 , 0 . 2 , true , 0 . 1 ) ; <nl> + Ptr < ERFilter > er_filter2 = createERFilterNM2 ( loadClassifierNM2 ( " trained_classifierNM2 . xml " ) , 0 . 5 ) ; <nl> <nl> vector < vector < ERStat > > regions ( channels . size ( ) ) ; <nl> / / Apply the default cascade classifier to each independent channel ( could be done in parallel ) <nl> + cout < < " Extracting Class Specific Extremal Regions from " < < ( int ) channels . size ( ) < < " channels . . . " < < endl ; <nl> + cout < < " ( . . . ) this may take a while ( . . . ) " < < endl < < endl ; <nl> for ( int c = 0 ; c < ( int ) channels . size ( ) ; c + + ) <nl> { <nl> er_filter1 - > run ( channels [ c ] , regions [ c ] ) ; <nl> int main ( int argc , const char * argv [ ] ) <nl> } <nl> <nl> / / Detect character groups <nl> + cout < < " Grouping extracted ERs . . . " ; <nl> vector < Rect > groups ; <nl> - erGrouping ( channels , regions , groups ) ; <nl> + erGrouping ( channels , regions , " trained_classifier_erGrouping . xml " , 0 . 5 , groups ) ; <nl> <nl> / / draw groups <nl> groups_draw ( src , groups ) ; <nl> imshow ( " grouping " , src ) ; <nl> - waitKey ( - 1 ) ; <nl> + <nl> + cout < < " Done ! " < < endl < < endl ; <nl> + cout < < " Press ' e ' to show the extracted Extremal Regions , any other key to exit . " < < endl < < endl ; <nl> + if ( waitKey ( - 1 ) = = 101 ) <nl> + er_show ( channels , regions ) ; <nl> <nl> / / memory clean - up <nl> er_filter1 . release ( ) ; <nl> int main ( int argc , const char * argv [ ] ) <nl> <nl> void show_help_and_exit ( const char * cmd ) <nl> { <nl> - cout < < endl < < cmd < < endl < < endl ; <nl> - cout < < " Demo program of the Extremal Region Filter algorithm described in " < < endl ; <nl> - cout < < " Neumann L . , Matas J . : Real - Time Scene Text Localization and Recognition , CVPR 2012 " < < endl < < endl ; <nl> cout < < " Usage : " < < cmd < < " < input_image > " < < endl ; <nl> cout < < " Default classifier files ( trained_classifierNM * . xml ) must be in current directory " < < endl < < endl ; <nl> exit ( - 1 ) ; <nl> void groups_draw ( Mat & src , vector < Rect > & groups ) <nl> } <nl> } <nl> <nl> - void er_draw ( Mat & src , Mat & dst , ERStat & er ) <nl> + void er_show ( vector < Mat > & channels , vector < vector < ERStat > > & regions ) <nl> { <nl> - <nl> - if ( er . parent ! = NULL ) / / deprecate the root region <nl> + for ( int c = 0 ; c < ( int ) channels . size ( ) ; c + + ) <nl> { <nl> - int newMaskVal = 255 ; <nl> - int flags = 4 + ( newMaskVal < < 8 ) + FLOODFILL_FIXED_RANGE + FLOODFILL_MASK_ONLY ; <nl> - floodFill ( src , dst , Point ( er . pixel % src . cols , er . pixel / src . cols ) , Scalar ( 255 ) , 0 , Scalar ( er . level ) , Scalar ( 0 ) , flags ) ; <nl> + Mat dst = Mat : : zeros ( channels [ 0 ] . rows + 2 , channels [ 0 ] . cols + 2 , CV_8UC1 ) ; <nl> + for ( int r = 0 ; r < ( int ) regions [ c ] . size ( ) ; r + + ) <nl> + { <nl> + ERStat er = regions [ c ] [ r ] ; <nl> + if ( er . parent ! = NULL ) / / deprecate the root region <nl> + { <nl> + int newMaskVal = 255 ; <nl> + int flags = 4 + ( newMaskVal < < 8 ) + FLOODFILL_FIXED_RANGE + FLOODFILL_MASK_ONLY ; <nl> + floodFill ( channels [ c ] , dst , Point ( er . pixel % channels [ c ] . cols , er . pixel / channels [ c ] . cols ) , <nl> + Scalar ( 255 ) , 0 , Scalar ( er . level ) , Scalar ( 0 ) , flags ) ; <nl> + } <nl> + } <nl> + char buff [ 10 ] ; char * buff_ptr = buff ; <nl> + sprintf ( buff , " channel % d " , c ) ; <nl> + imshow ( buff_ptr , dst ) ; <nl> } <nl> - <nl> + waitKey ( - 1 ) ; <nl> } <nl> new file mode 100644 <nl> index 00000000000 . . 2c209419844 <nl> mmm / dev / null <nl> ppp b / samples / cpp / trained_classifier_erGrouping . xml <nl> <nl> + < ? xml version = " 1 . 0 " ? > <nl> + < opencv_storage > <nl> + < boost type_id = " opencv - ml - boost - tree " > <nl> + < boosting_type > RealAdaboost < / boosting_type > <nl> + < splitting_criteria > Gini < / splitting_criteria > <nl> + < ntrees > 500 < / ntrees > <nl> + < weight_trimming_rate > 1 . < / weight_trimming_rate > <nl> + < is_classifier > 1 < / is_classifier > <nl> + < var_all > 14 < / var_all > <nl> + < var_count > 13 < / var_count > <nl> + < ord_var_count > 13 < / ord_var_count > <nl> + < cat_var_count > 0 < / cat_var_count > <nl> + < training_params > <nl> + < use_surrogates > 0 < / use_surrogates > <nl> + < max_categories > 10 < / max_categories > <nl> + < max_depth > 1 < / max_depth > <nl> + < min_sample_count > 10 < / min_sample_count > <nl> + < cross_validation_folds > 0 < / cross_validation_folds > <nl> + < priors type_id = " opencv - matrix " > <nl> + < rows > 1 < / rows > <nl> + < cols > 2 < / cols > <nl> + < dt > d < / dt > <nl> + < data > <nl> + 1 . 1 . < / data > < / priors > < / training_params > <nl> + < var_idx type_id = " opencv - matrix " > <nl> + < rows > 1 < / rows > <nl> + < cols > 13 < / cols > <nl> + < dt > i < / dt > <nl> + < data > <nl> + 1 2 3 4 5 6 7 8 9 10 11 12 13 < / data > < / var_idx > <nl> + < var_type > <nl> + 0 0 0 0 0 0 0 0 0 0 0 0 0 < / var_type > <nl> + < cat_count type_id = " opencv - matrix " > <nl> + < rows > 1 < / rows > <nl> + < cols > 1 < / cols > <nl> + < dt > i < / dt > <nl> + < data > <nl> + 2 < / data > < / cat_count > <nl> + < cat_map type_id = " opencv - matrix " > <nl> + < rows > 1 < / rows > <nl> + < cols > 2 < / cols > <nl> + < dt > i < / dt > <nl> + < data > <nl> + 1 2 < / data > < / cat_map > <nl> + < trees > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > 4 . 9283312788368594e - 01 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 5 < / var > <nl> + < quality > 7 . 8683781623840332e - 01 < / quality > <nl> + < le > 6 . 9047653675079346e - 01 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 2922 < / sample_count > <nl> + < value > 1 . 6857763325385804e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1821 < / sample_count > <nl> + < value > - 3 . 1962829546244120e - 01 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > 2 . 2204460492502639e - 14 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 3 < / var > <nl> + < quality > 6 . 7457795143127441e - 01 < / quality > <nl> + < le > 1 . 6023799896240234e + 01 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 2515 < / sample_count > <nl> + < value > 1 . 3206782471212661e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 2228 < / sample_count > <nl> + < value > - 4 . 2691437618953676e - 01 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > 4 . 4408920985004293e - 14 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 8 < / var > <nl> + < quality > 5 . 7657080888748169e - 01 < / quality > <nl> + < le > 1 . 6375650465488434e - 01 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1474 < / sample_count > <nl> + < value > 1 . 0082101731479634e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 3269 < / sample_count > <nl> + < value > - 2 . 0291975151863534e - 01 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 2735593669695212e - 15 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 0 < / var > <nl> + < quality > 5 . 7874917984008789e - 01 < / quality > <nl> + < le > 3 . 5000000000000000e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1572 < / sample_count > <nl> + < value > 6 . 6258072337754870e - 01 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 3171 < / sample_count > <nl> + < value > - 2 . 7849567684989057e - 01 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 2 . 8033131371785988e - 14 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 4 < / var > <nl> + < quality > 5 . 7350283861160278e - 01 < / quality > <nl> + < le > 2 . 0137399435043335e - 01 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 2403 < / sample_count > <nl> + < value > - 2 . 6904319035307267e - 01 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 2340 < / sample_count > <nl> + < value > 6 . 3213741437159332e - 01 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > 1 . 5987211554601999e - 14 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 5 . 3986549377441406e - 01 < / quality > <nl> + < le > 1 . 8935400247573853e - 01 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 3239 < / sample_count > <nl> + < value > - 2 . 1807445008848766e - 01 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1504 < / sample_count > <nl> + < value > 3 . 9003601258549259e - 01 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 1 . 6209256159527547e - 14 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 7 < / var > <nl> + < quality > 5 . 4257267713546753e - 01 < / quality > <nl> + < le > 1 . 9909399747848511e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 3510 < / sample_count > <nl> + < value > - 1 . 4642486399320545e - 01 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1233 < / sample_count > <nl> + < value > 6 . 7101157562183900e - 01 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > 1 . 2434497875801599e - 14 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 3 < / var > <nl> + < quality > 5 . 2853012084960938e - 01 < / quality > <nl> + < le > 9 . 9499998092651367e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1885 < / sample_count > <nl> + < value > 2 . 2777850958001311e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 2858 < / sample_count > <nl> + < value > - 5 . 8338305506186260e - 02 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > 3 . 7747582837255180e - 15 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 5 < / var > <nl> + < quality > 5 . 3673779964447021e - 01 < / quality > <nl> + < le > 9 . 7619050741195679e - 01 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 3151 < / sample_count > <nl> + < value > - 3 . 5930648005686938e - 01 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1592 < / sample_count > <nl> + < value > 2 . 1654027823349378e - 01 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 2 . 7200464103316410e - 15 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 7 < / var > <nl> + < quality > 5 . 3578829765319824e - 01 < / quality > <nl> + < le > 9 . 2159950733184814e - 01 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1218 < / sample_count > <nl> + < value > 6 . 4123671413103334e - 01 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 3525 < / sample_count > <nl> + < value > - 1 . 2719991722274782e - 01 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 1 . 1601830607333020e - 14 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 8 < / var > <nl> + < quality > 5 . 1844090223312378e - 01 < / quality > <nl> + < le > 1 . 1316300183534622e - 01 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 523 < / sample_count > <nl> + < value > 1 . 1096767031411257e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4220 < / sample_count > <nl> + < value > - 4 . 5908136732827669e - 02 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > 1 . 1102230246251554e - 15 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 5 . 1862132549285889e - 01 < / quality > <nl> + < le > 1 . 1357150226831436e - 01 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1797 < / sample_count > <nl> + < value > - 2 . 6090015710605080e - 01 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 2946 < / sample_count > <nl> + < value > 1 . 4702132673542537e - 01 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > 1 . 5543122344752168e - 15 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 6 < / var > <nl> + < quality > 5 . 1400643587112427e - 01 < / quality > <nl> + < le > 2 . 9116147756576538e - 01 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 3975 < / sample_count > <nl> + < value > - 8 . 8992417491750783e - 02 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 768 < / sample_count > <nl> + < value > 3 . 2676272240123133e - 01 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 2 . 1649348980190600e - 15 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 3 < / var > <nl> + < quality > 5 . 1310420036315918e - 01 < / quality > <nl> + < le > 1 . 6420200347900391e + 01 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 2556 < / sample_count > <nl> + < value > - 3 . 7663847348796514e - 01 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 2187 < / sample_count > <nl> + < value > 7 . 2973860683903505e - 02 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 7176485768195885e - 15 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 3 < / var > <nl> + < quality > 5 . 1715815067291260e - 01 < / quality > <nl> + < le > 4 . 1513149261474609e + 01 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4201 < / sample_count > <nl> + < value > 1 . 0650192844355898e - 01 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 542 < / sample_count > <nl> + < value > - 3 . 3547294967904301e - 01 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > 2 . 8865798640253987e - 15 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 10 < / var > <nl> + < quality > 5 . 1442718505859375e - 01 < / quality > <nl> + < le > 3 . 3584448695182800e - 01 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 3773 < / sample_count > <nl> + < value > - 5 . 3875269838492043e - 02 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 970 < / sample_count > <nl> + < value > 5 . 9866021590419249e - 01 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > 2 . 2204460492503126e - 16 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 11 < / var > <nl> + < quality > 5 . 2047514915466309e - 01 < / quality > <nl> + < le > 7 . 2563352584838867e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 2907 < / sample_count > <nl> + < value > 1 . 9519205768354500e - 01 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1836 < / sample_count > <nl> + < value > - 2 . 1573812016026100e - 01 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > 2 . 2204460492503126e - 16 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 0 < / var > <nl> + < quality > 5 . 0942456722259521e - 01 < / quality > <nl> + < le > 7 . 5000000000000000e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 3372 < / sample_count > <nl> + < value > 8 . 7119641811032406e - 02 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1371 < / sample_count > <nl> + < value > - 2 . 2040766706823176e - 01 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 1 . 7763568394002536e - 15 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 11 < / var > <nl> + < quality > 5 . 0977617502212524e - 01 < / quality > <nl> + < le > 2 . 2220800399780273e + 01 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4448 < / sample_count > <nl> + < value > - 3 . 3399807812663676e - 02 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 295 < / sample_count > <nl> + < value > 6 . 7097467134531630e - 01 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 2 . 4424906541753503e - 15 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 11 < / var > <nl> + < quality > 5 . 0756561756134033e - 01 < / quality > <nl> + < le > 1 . 6015799045562744e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 887 < / sample_count > <nl> + < value > 4 . 6319919460984282e - 01 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 3856 < / sample_count > <nl> + < value > - 3 . 4984615268834660e - 02 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > 2 . 4424906541753385e - 15 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 12 < / var > <nl> + < quality > 5 . 0974738597869873e - 01 < / quality > <nl> + < le > 3 . 3431649208068848e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1502 < / sample_count > <nl> + < value > - 3 . 1609833725570069e - 01 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 3241 < / sample_count > <nl> + < value > 6 . 3800083493002244e - 02 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 1 . 8318679906315118e - 15 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 1 < / var > <nl> + < quality > 5 . 0696289539337158e - 01 < / quality > <nl> + < le > 1 . 8561398983001709e - 01 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 3255 < / sample_count > <nl> + < value > - 8 . 2400708302973011e - 02 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1488 < / sample_count > <nl> + < value > 1 . 7103105096148030e - 01 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > 4 . 4408920985006242e - 16 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 2 < / var > <nl> + < quality > 5 . 0570565462112427e - 01 < / quality > <nl> + < le > 6 . 0240797698497772e - 02 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 267 < / sample_count > <nl> + < value > - 3 . 9841144233646475e - 01 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4476 < / sample_count > <nl> + < value > 3 . 0150891834205489e - 02 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > 2 . 2204460492503126e - 16 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 4 < / var > <nl> + < quality > 5 . 0760245323181152e - 01 < / quality > <nl> + < le > 1 . 1740300059318542e - 01 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1277 < / sample_count > <nl> + < value > 1 . 3462101791484546e - 01 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 3466 < / sample_count > <nl> + < value > - 1 . 1412058806711589e - 01 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > 1 . 7763568394002473e - 15 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 10 < / var > <nl> + < quality > 5 . 0815576314926147e - 01 < / quality > <nl> + < le > 1 . 9874200224876404e - 01 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 2673 < / sample_count > <nl> + < value > - 7 . 2884347987806367e - 02 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 2070 < / sample_count > <nl> + < value > 2 . 2806968894448212e - 01 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 4 . 9960036108132074e - 16 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 8 < / var > <nl> + < quality > 5 . 0588154792785645e - 01 < / quality > <nl> + < le > 7 . 1773901581764221e - 02 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 244 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4499 < / sample_count > <nl> + < value > - 1 . 1763652665445799e - 02 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > 3 . 7199596169089356e - 05 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 7 < / var > <nl> + < quality > 5 . 0559371709823608e - 01 < / quality > <nl> + < le > 1 . 3080499172210693e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 2610 < / sample_count > <nl> + < value > - 8 . 5164847124080928e - 02 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 2133 < / sample_count > <nl> + < value > 1 . 3242723306938603e - 01 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 4 . 9960036108132074e - 16 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 5 < / var > <nl> + < quality > 5 . 0688451528549194e - 01 < / quality > <nl> + < le > 2 . 4852949380874634e - 01 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1450 < / sample_count > <nl> + < value > 4 . 0668167968213126e - 01 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 3293 < / sample_count > <nl> + < value > - 3 . 5718409743961593e - 02 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > 1 . 3322676295501861e - 15 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 11 < / var > <nl> + < quality > 5 . 0737321376800537e - 01 < / quality > <nl> + < le > 1 . 1785449981689453e + 01 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 3672 < / sample_count > <nl> + < value > 7 . 2598161777983533e - 02 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1071 < / sample_count > <nl> + < value > - 2 . 0636167187902807e - 01 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 2 . 2204460492503136e - 16 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 8 < / var > <nl> + < quality > 5 . 0646328926086426e - 01 < / quality > <nl> + < le > 2 . 2429150342941284e - 01 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 3128 < / sample_count > <nl> + < value > 1 . 3477041265837905e - 01 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1615 < / sample_count > <nl> + < value > - 9 . 6796664734187812e - 02 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > 1 . 1102230246251554e - 15 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 8 < / var > <nl> + < quality > 5 . 0777083635330200e - 01 < / quality > <nl> + < le > 1 . 6607899963855743e - 01 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1528 < / sample_count > <nl> + < value > - 3 . 2886395737427671e - 01 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 3215 < / sample_count > <nl> + < value > 4 . 8989548978453992e - 02 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > 6 . 6613381477509353e - 16 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 3 < / var > <nl> + < quality > 5 . 0604039430618286e - 01 < / quality > <nl> + < le > 9 . 8333351135253906e + 01 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4695 < / sample_count > <nl> + < value > - 2 . 4308937783907102e - 02 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 48 < / sample_count > <nl> + < value > 5 . 4540492970830234e - 01 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > 4 . 4408920985006242e - 16 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 1 < / var > <nl> + < quality > 5 . 0586992502212524e - 01 < / quality > <nl> + < le > 1 . 6361099243164062e + 01 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4696 < / sample_count > <nl> + < value > 1 . 4943835842937642e - 02 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 47 < / sample_count > <nl> + < value > - 1 . 0599905445675459e + 00 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 1 . 7763568394002536e - 15 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 6 < / var > <nl> + < quality > 5 . 0557285547256470e - 01 < / quality > <nl> + < le > 7 . 3313897848129272e - 01 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4703 < / sample_count > <nl> + < value > - 1 . 1469727167492691e - 02 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 40 < / sample_count > <nl> + < value > 2 . 1235867315894508e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > 0 . < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 3 < / var > <nl> + < quality > 5 . 0533461570739746e - 01 < / quality > <nl> + < le > 5 . 4708351135253906e + 01 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4473 < / sample_count > <nl> + < value > 3 . 6836595227669341e - 02 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 270 < / sample_count > <nl> + < value > - 2 . 9831157365178368e - 01 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > 2 . 6645352591003686e - 15 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 8 < / var > <nl> + < quality > 5 . 0580126047134399e - 01 < / quality > <nl> + < le > 1 . 2382800132036209e - 01 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 640 < / sample_count > <nl> + < value > 5 . 9834734339166507e - 01 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4103 < / sample_count > <nl> + < value > - 2 . 1654984803013626e - 02 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 2 . 6645352591003828e - 15 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 5 . 0429016351699829e - 01 < / quality > <nl> + < le > 4 . 5694351196289062e - 01 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4600 < / sample_count > <nl> + < value > - 1 . 5430618202863466e - 02 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 143 < / sample_count > <nl> + < value > 6 . 2717046492171924e - 01 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > 4 . 4408920985006242e - 16 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 5 . 0425076484680176e - 01 < / quality > <nl> + < le > 4 . 3997800350189209e - 01 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4580 < / sample_count > <nl> + < value > 1 . 9510845723203964e - 02 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 163 < / sample_count > <nl> + < value > - 4 . 6702205902201765e - 01 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > 4 . 4408920985006242e - 16 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 10 < / var > <nl> + < quality > 5 . 0413805246353149e - 01 < / quality > <nl> + < le > 8 . 3523400127887726e - 02 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 797 < / sample_count > <nl> + < value > - 1 . 6144155238545738e - 01 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 3946 < / sample_count > <nl> + < value > 5 . 1754594157342182e - 02 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 2 . 1649348980190600e - 15 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 6 < / var > <nl> + < quality > 5 . 0415825843811035e - 01 < / quality > <nl> + < le > 4 . 0623052045702934e - 03 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 2135 < / sample_count > <nl> + < value > 2 . 0856384841406828e - 01 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 2608 < / sample_count > <nl> + < value > - 4 . 0473660274366073e - 02 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 2 . 2204460492503136e - 16 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 5 < / var > <nl> + < quality > 5 . 0849056243896484e - 01 < / quality > <nl> + < le > 7 . 4166649580001831e - 01 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 2941 < / sample_count > <nl> + < value > - 2 . 0653680349449580e - 01 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1802 < / sample_count > <nl> + < value > 8 . 3578014587627689e - 02 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 3 . 8857805861880494e - 16 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 4 < / var > <nl> + < quality > 5 . 0404089689254761e - 01 < / quality > <nl> + < le > 5 . 8662700653076172e - 01 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4609 < / sample_count > <nl> + < value > - 8 . 9593500573811428e - 03 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 134 < / sample_count > <nl> + < value > 1 . 4832704778307670e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > 2 . 2204460492503126e - 16 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 4 < / var > <nl> + < quality > 5 . 0676226615905762e - 01 < / quality > <nl> + < le > 5 . 8546447753906250e - 01 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4608 < / sample_count > <nl> + < value > 1 . 6995436338582786e - 02 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 135 < / sample_count > <nl> + < value > - 1 . 0871895961535247e + 00 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > 2 . 2204460492503126e - 16 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 4 < / var > <nl> + < quality > 5 . 0577533245086670e - 01 < / quality > <nl> + < le > 2 . 7839550375938416e - 01 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 3212 < / sample_count > <nl> + < value > - 4 . 8487688681994802e - 02 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1531 < / sample_count > <nl> + < value > 2 . 4308299449728027e - 01 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 1 . 7208456881689956e - 15 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 6 < / var > <nl> + < quality > 5 . 0401997566223145e - 01 < / quality > <nl> + < le > 4 . 0623052045702934e - 03 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 2135 < / sample_count > <nl> + < value > 2 . 1566600675967990e - 01 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 2608 < / sample_count > <nl> + < value > - 3 . 7873936270897468e - 02 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > 2 . 8865798640253987e - 15 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 6 < / var > <nl> + < quality > 5 . 0536459684371948e - 01 < / quality > <nl> + < le > 7 . 5883805751800537e - 02 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 2691 < / sample_count > <nl> + < value > - 1 . 4112986946799597e - 01 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 2052 < / sample_count > <nl> + < value > 7 . 6677932119837408e - 02 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 1 . 3322676295501896e - 15 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 0 < / var > <nl> + < quality > 5 . 0511509180068970e - 01 < / quality > <nl> + < le > 4 . 5000000000000000e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 2292 < / sample_count > <nl> + < value > 1 . 0882591107882306e - 01 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 2451 < / sample_count > <nl> + < value > - 9 . 4657726405678030e - 02 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 3 . 8857805861880494e - 16 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 3 < / var > <nl> + < quality > 5 . 0377565622329712e - 01 < / quality > <nl> + < le > 9 . 0912704467773438e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1767 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 2976 < / sample_count > <nl> + < value > - 7 . 5514316138306052e - 03 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > 2 . 3879499609967105e - 05 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 3 < / var > <nl> + < quality > 5 . 0355505943298340e - 01 < / quality > <nl> + < le > 1 . 6336849212646484e + 01 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 2550 < / sample_count > <nl> + < value > - 2 . 0670790935386987e - 01 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 2193 < / sample_count > <nl> + < value > 3 . 4919206265122779e - 02 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 6 . 6613381477509442e - 16 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 3 < / var > <nl> + < quality > 5 . 0379395484924316e - 01 < / quality > <nl> + < le > 1 . 4472200393676758e + 01 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 2333 < / sample_count > <nl> + < value > 3 . 0039120989420354e - 01 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 2410 < / sample_count > <nl> + < value > - 2 . 6021086936442995e - 02 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > 1 . 1102230246251554e - 15 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 10 < / var > <nl> + < quality > 5 . 0338852405548096e - 01 < / quality > <nl> + < le > 5 . 7804203033447266e - 01 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4457 < / sample_count > <nl> + < value > - 6 . 7771837574461162e - 03 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 286 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > 2 . 1431148710016298e - 05 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 2 < / var > <nl> + < quality > 5 . 0325667858123779e - 01 < / quality > <nl> + < le > 1 . 7895050346851349e - 01 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1565 < / sample_count > <nl> + < value > 1 . 1778538599189300e - 01 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 3178 < / sample_count > <nl> + < value > - 5 . 5600340097294032e - 02 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 9 . 4368957093138405e - 16 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 7 < / var > <nl> + < quality > 5 . 0369518995285034e - 01 < / quality > <nl> + < le > 1 . 0299949645996094e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1643 < / sample_count > <nl> + < value > 1 . 3367635721082954e - 01 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 3100 < / sample_count > <nl> + < value > - 5 . 5671793933628928e - 02 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 8 . 3266726846886810e - 16 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 7 < / var > <nl> + < quality > 5 . 0341546535491943e - 01 < / quality > <nl> + < le > 5 . 9431500434875488e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4548 < / sample_count > <nl> + < value > - 6 . 8310078799520627e - 03 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 195 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > 2 . 1601352997458628e - 05 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 0 < / var > <nl> + < quality > 5 . 0342482328414917e - 01 < / quality > <nl> + < le > 3 . 5000000000000000e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1572 < / sample_count > <nl> + < value > - 1 . 3410183780875257e - 01 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 3171 < / sample_count > <nl> + < value > 5 . 1442257630002285e - 02 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 6 . 6613381477509442e - 16 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 2 < / var > <nl> + < quality > 5 . 0330686569213867e - 01 < / quality > <nl> + < le > 7 . 3027700185775757e - 01 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4698 < / sample_count > <nl> + < value > - 6 . 6138286994767139e - 03 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 45 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > 2 . 0914582372540535e - 05 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 6 . 6739338636398315e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > 2 . 0914582365435406e - 05 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > 4 . 4408920985006242e - 16 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 2 < / var > <nl> + < quality > 5 . 0336450338363647e - 01 < / quality > <nl> + < le > 7 . 2723901271820068e - 01 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4697 < / sample_count > <nl> + < value > 6 . 7710148391918927e - 03 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 46 < / sample_count > <nl> + < value > - 2 . 8881401865717855e + 00 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 8 . 8817841970012602e - 16 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 1 . 0860064029693604e + 00 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 1 . 1102230246251577e - 15 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 3 . 8857805861880494e - 16 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 6 . 2635791301727295e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 3 . 8857805861880494e - 16 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > 2 . 2204460492503126e - 16 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 7 . 4932706356048584e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > 2 . 2204460492503126e - 16 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > 5 . 7564577324623896e + 00 < / value > <nl> + < norm_class_idx > 1 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > <nl> + < _ > <nl> + < best_tree_idx > - 1 < / best_tree_idx > <nl> + < nodes > <nl> + < _ > <nl> + < depth > 0 < / depth > <nl> + < sample_count > 4743 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > <nl> + < splits > <nl> + < _ > < var > 9 < / var > <nl> + < quality > 8 . 0227351188659668e - 01 < / quality > <nl> + < le > 1 . 1104044914245605e + 00 < / le > < / _ > < / splits > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 4742 < / sample_count > <nl> + < value > - 5 . 5511151231257827e - 17 < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > <nl> + < _ > <nl> + < depth > 1 < / depth > <nl> + < sample_count > 1 < / sample_count > <nl> + < value > . Nan < / value > <nl> + < norm_class_idx > 0 < / norm_class_idx > <nl> + < Tn > 0 < / Tn > <nl> + < complexity > 0 < / complexity > <nl> + < alpha > 0 . < / alpha > <nl> + < node_risk > 0 . < / node_risk > <nl> + < tree_risk > 0 . < / tree_risk > <nl> + < tree_error > 0 . < / tree_error > < / _ > < / nodes > < / _ > < / trees > < / boost > <nl> + < / opencv_storage > <nl>
erGrouping now uses a classifier for group validation instead of a set of heuristical ifos .
opencv/opencv
047b568f6da05ad4c64f4bb3f6d0a890dfc582d7
2013-09-27T17:19:45Z
mmm a / db / compaction . cc <nl> ppp b / db / compaction . cc <nl> void Compaction : : Summary ( char * output , int len ) { <nl> snprintf ( output + write , len - write , " ] " ) ; <nl> } <nl> <nl> - uint64_t Compaction : : OutputFilePreallocationSize ( <nl> - const MutableCFOptions & mutable_options ) { <nl> + uint64_t Compaction : : OutputFilePreallocationSize ( ) { <nl> uint64_t preallocation_size = 0 ; <nl> <nl> if ( cfd_ - > ioptions ( ) - > compaction_style = = kCompactionStyleLevel ) { <nl> - preallocation_size = mutable_options . MaxFileSizeForLevel ( output_level ( ) ) ; <nl> + preallocation_size = max_output_file_size_ ; <nl> } else { <nl> for ( size_t level_iter = 0 ; level_iter < num_input_levels ( ) ; + + level_iter ) { <nl> for ( const auto & f : inputs_ [ level_iter ] . files ) { <nl> mmm a / db / compaction . h <nl> ppp b / db / compaction . h <nl> class Compaction { <nl> / / Returns the size in bytes that the output file should be preallocated to . <nl> / / In level compaction , that is max_file_size_ . In universal compaction , that <nl> / / is the sum of all input file sizes . <nl> - uint64_t OutputFilePreallocationSize ( const MutableCFOptions & mutable_options ) ; <nl> + uint64_t OutputFilePreallocationSize ( ) ; <nl> <nl> void SetInputVersion ( Version * input_version ) ; <nl> <nl> mmm a / db / compaction_job . cc <nl> ppp b / db / compaction_job . cc <nl> namespace rocksdb { <nl> struct CompactionJob : : CompactionState { <nl> Compaction * const compaction ; <nl> <nl> - / / If there were two snapshots with seq numbers s1 and <nl> - / / s2 and s1 < s2 , and if we find two instances of a key k1 then lies <nl> - / / entirely within s1 and s2 , then the earlier version of k1 can be safely <nl> - / / deleted because that version is not visible in any snapshot . <nl> - std : : vector < SequenceNumber > existing_snapshots ; <nl> - <nl> / / Files produced by compaction <nl> struct Output { <nl> uint64_t number ; <nl> struct CompactionJob : : CompactionState { <nl> <nl> CompactionJob : : CompactionJob ( <nl> int job_id , Compaction * compaction , const DBOptions & db_options , <nl> - const MutableCFOptions & mutable_cf_options , const EnvOptions & env_options , <nl> - VersionSet * versions , std : : atomic < bool > * shutting_down , <nl> - LogBuffer * log_buffer , Directory * db_directory , Directory * output_directory , <nl> - Statistics * stats , SnapshotList * snapshots , bool is_snapshot_supported , <nl> + const EnvOptions & env_options , VersionSet * versions , <nl> + std : : atomic < bool > * shutting_down , LogBuffer * log_buffer , <nl> + Directory * db_directory , Directory * output_directory , Statistics * stats , <nl> + std : : vector < SequenceNumber > existing_snapshots , <nl> std : : shared_ptr < Cache > table_cache , <nl> - std : : function < uint64_t ( ) > yield_callback , EventLogger * event_logger ) <nl> + std : : function < uint64_t ( ) > yield_callback , EventLogger * event_logger , <nl> + bool paranoid_file_checks ) <nl> : job_id_ ( job_id ) , <nl> compact_ ( new CompactionState ( compaction ) ) , <nl> compaction_stats_ ( 1 ) , <nl> db_options_ ( db_options ) , <nl> - mutable_cf_options_ ( mutable_cf_options ) , <nl> env_options_ ( env_options ) , <nl> env_ ( db_options . env ) , <nl> versions_ ( versions ) , <nl> CompactionJob : : CompactionJob ( <nl> db_directory_ ( db_directory ) , <nl> output_directory_ ( output_directory ) , <nl> stats_ ( stats ) , <nl> - snapshots_ ( snapshots ) , <nl> - is_snapshot_supported_ ( is_snapshot_supported ) , <nl> + existing_snapshots_ ( std : : move ( existing_snapshots ) ) , <nl> table_cache_ ( std : : move ( table_cache ) ) , <nl> yield_callback_ ( std : : move ( yield_callback ) ) , <nl> - event_logger_ ( event_logger ) { <nl> - ThreadStatusUtil : : SetColumnFamily ( <nl> - compact_ - > compaction - > column_family_data ( ) ) ; <nl> + event_logger_ ( event_logger ) , <nl> + paranoid_file_checks_ ( paranoid_file_checks ) { <nl> + ThreadStatusUtil : : SetColumnFamily ( compact_ - > compaction - > column_family_data ( ) ) ; <nl> ThreadStatusUtil : : SetThreadOperation ( ThreadStatus : : OP_COMPACTION ) ; <nl> } <nl> <nl> void CompactionJob : : Prepare ( ) { <nl> <nl> visible_at_tip_ = 0 ; <nl> latest_snapshot_ = 0 ; <nl> - / / TODO ( icanadi ) move snapshots_ out of CompactionJob <nl> - snapshots_ - > getAll ( compact_ - > existing_snapshots ) ; <nl> - if ( compact_ - > existing_snapshots . size ( ) = = 0 ) { <nl> + if ( existing_snapshots_ . size ( ) = = 0 ) { <nl> / / optimize for fast path if there are no snapshots <nl> visible_at_tip_ = versions_ - > LastSequence ( ) ; <nl> earliest_snapshot_ = visible_at_tip_ ; <nl> } else { <nl> - latest_snapshot_ = compact_ - > existing_snapshots . back ( ) ; <nl> + latest_snapshot_ = existing_snapshots_ . back ( ) ; <nl> / / Add the current seqno as the ' latest ' virtual <nl> / / snapshot to the end of this list . <nl> - compact_ - > existing_snapshots . push_back ( versions_ - > LastSequence ( ) ) ; <nl> - earliest_snapshot_ = compact_ - > existing_snapshots [ 0 ] ; <nl> + existing_snapshots_ . push_back ( versions_ - > LastSequence ( ) ) ; <nl> + earliest_snapshot_ = existing_snapshots_ [ 0 ] ; <nl> } <nl> <nl> / / Is this compaction producing files at the bottommost level ? <nl> Status CompactionJob : : Run ( ) { <nl> return status ; <nl> } <nl> <nl> - void CompactionJob : : Install ( Status * status , InstrumentedMutex * db_mutex ) { <nl> + void CompactionJob : : Install ( Status * status , <nl> + const MutableCFOptions & mutable_cf_options , <nl> + InstrumentedMutex * db_mutex ) { <nl> AutoThreadOperationStageUpdater stage_updater ( <nl> ThreadStatus : : STAGE_COMPACTION_INSTALL ) ; <nl> db_mutex - > AssertHeld ( ) ; <nl> void CompactionJob : : Install ( Status * status , InstrumentedMutex * db_mutex ) { <nl> compact_ - > compaction - > output_level ( ) , compaction_stats_ ) ; <nl> <nl> if ( status - > ok ( ) ) { <nl> - * status = InstallCompactionResults ( db_mutex ) ; <nl> + * status = InstallCompactionResults ( db_mutex , mutable_cf_options ) ; <nl> } <nl> VersionStorageInfo : : LevelSummaryStorage tmp ; <nl> auto vstorage = cfd - > current ( ) - > storage_info ( ) ; <nl> Status CompactionJob : : ProcessKeyValueCompaction ( int64_t * imm_micros , <nl> SequenceNumber visible = <nl> visible_at_tip_ <nl> ? visible_at_tip_ <nl> - : is_snapshot_supported_ <nl> - ? findEarliestVisibleSnapshot ( ikey . sequence , <nl> - compact_ - > existing_snapshots , <nl> - & prev_snapshot ) <nl> - : 0 ; <nl> + : findEarliestVisibleSnapshot ( ikey . sequence , existing_snapshots_ , <nl> + & prev_snapshot ) ; <nl> <nl> if ( visible_in_snapshot = = visible ) { <nl> / / If the earliest snapshot is which this key is visible in <nl> Status CompactionJob : : FinishCompactionOutputFile ( Iterator * input ) { <nl> ReadOptions ( ) , env_options_ , cfd - > internal_comparator ( ) , fd ) ; <nl> s = iter - > status ( ) ; <nl> <nl> - if ( s . ok ( ) & & mutable_cf_options_ . paranoid_file_checks ) { <nl> + if ( s . ok ( ) & & paranoid_file_checks_ ) { <nl> for ( iter - > SeekToFirst ( ) ; iter - > Valid ( ) ; iter - > Next ( ) ) { } <nl> s = iter - > status ( ) ; <nl> } <nl> Status CompactionJob : : FinishCompactionOutputFile ( Iterator * input ) { <nl> return s ; <nl> } <nl> <nl> - Status CompactionJob : : InstallCompactionResults ( InstrumentedMutex * db_mutex ) { <nl> + Status CompactionJob : : InstallCompactionResults ( <nl> + InstrumentedMutex * db_mutex , const MutableCFOptions & mutable_cf_options ) { <nl> db_mutex - > AssertHeld ( ) ; <nl> <nl> auto * compaction = compact_ - > compaction ; <nl> Status CompactionJob : : InstallCompactionResults ( InstrumentedMutex * db_mutex ) { <nl> out . smallest , out . largest , out . smallest_seqno , out . largest_seqno ) ; <nl> } <nl> return versions_ - > LogAndApply ( compaction - > column_family_data ( ) , <nl> - mutable_cf_options_ , compaction - > edit ( ) , <nl> + mutable_cf_options , compaction - > edit ( ) , <nl> db_mutex , db_directory_ ) ; <nl> } <nl> <nl> Status CompactionJob : : OpenCompactionOutputFile ( ) { <nl> <nl> compact_ - > outputs . push_back ( out ) ; <nl> compact_ - > outfile - > SetIOPriority ( Env : : IO_LOW ) ; <nl> - compact_ - > outfile - > SetPreallocationBlockSize ( static_cast < size_t > ( <nl> - compact_ - > compaction - > OutputFilePreallocationSize ( mutable_cf_options_ ) ) ) ; <nl> + compact_ - > outfile - > SetPreallocationBlockSize ( <nl> + static_cast < size_t > ( compact_ - > compaction - > OutputFilePreallocationSize ( ) ) ) ; <nl> <nl> ColumnFamilyData * cfd = compact_ - > compaction - > column_family_data ( ) ; <nl> bool skip_filters = false ; <nl> mmm a / db / compaction_job . h <nl> ppp b / db / compaction_job . h <nl> <nl> <nl> # include " db / dbformat . h " <nl> # include " db / log_writer . h " <nl> - # include " db / snapshot . h " <nl> # include " db / column_family . h " <nl> # include " db / version_edit . h " <nl> # include " db / memtable_list . h " <nl> class Arena ; <nl> <nl> class CompactionJob { <nl> public : <nl> - / / TODO ( icanadi ) make effort to reduce number of parameters here <nl> - / / IMPORTANT : mutable_cf_options needs to be alive while CompactionJob is <nl> - / / alive <nl> CompactionJob ( int job_id , Compaction * compaction , const DBOptions & db_options , <nl> - const MutableCFOptions & mutable_cf_options , <nl> const EnvOptions & env_options , VersionSet * versions , <nl> std : : atomic < bool > * shutting_down , LogBuffer * log_buffer , <nl> Directory * db_directory , Directory * output_directory , <nl> - Statistics * stats , SnapshotList * snapshot_list , <nl> - bool is_snapshot_supported , std : : shared_ptr < Cache > table_cache , <nl> + Statistics * stats , <nl> + std : : vector < SequenceNumber > existing_snapshots , <nl> + std : : shared_ptr < Cache > table_cache , <nl> std : : function < uint64_t ( ) > yield_callback , <nl> - EventLogger * event_logger ) ; <nl> + EventLogger * event_logger , bool paranoid_file_checks ) ; <nl> <nl> ~ CompactionJob ( ) ; <nl> <nl> class CompactionJob { <nl> Status Run ( ) ; <nl> / / REQUIRED : mutex held <nl> / / status is the return of Run ( ) <nl> - void Install ( Status * status , InstrumentedMutex * db_mutex ) ; <nl> + void Install ( Status * status , const MutableCFOptions & mutable_cf_options , <nl> + InstrumentedMutex * db_mutex ) ; <nl> <nl> private : <nl> void AllocateCompactionOutputFileNumbers ( ) ; <nl> class CompactionJob { <nl> void CallCompactionFilterV2 ( CompactionFilterV2 * compaction_filter_v2 , <nl> uint64_t * time ) ; <nl> Status FinishCompactionOutputFile ( Iterator * input ) ; <nl> - Status InstallCompactionResults ( InstrumentedMutex * db_mutex ) ; <nl> + Status InstallCompactionResults ( InstrumentedMutex * db_mutex , <nl> + const MutableCFOptions & mutable_cf_options ) ; <nl> SequenceNumber findEarliestVisibleSnapshot ( <nl> SequenceNumber in , const std : : vector < SequenceNumber > & snapshots , <nl> SequenceNumber * prev_snapshot ) ; <nl> class CompactionJob { <nl> <nl> / / DBImpl state <nl> const DBOptions & db_options_ ; <nl> - const MutableCFOptions & mutable_cf_options_ ; <nl> const EnvOptions & env_options_ ; <nl> Env * env_ ; <nl> VersionSet * versions_ ; <nl> class CompactionJob { <nl> Directory * db_directory_ ; <nl> Directory * output_directory_ ; <nl> Statistics * stats_ ; <nl> - SnapshotList * snapshots_ ; <nl> - bool is_snapshot_supported_ ; <nl> + / / If there were two snapshots with seq numbers s1 and <nl> + / / s2 and s1 < s2 , and if we find two instances of a key k1 then lies <nl> + / / entirely within s1 and s2 , then the earlier version of k1 can be safely <nl> + / / deleted because that version is not visible in any snapshot . <nl> + std : : vector < SequenceNumber > existing_snapshots_ ; <nl> std : : shared_ptr < Cache > table_cache_ ; <nl> <nl> / / yield callback <nl> std : : function < uint64_t ( ) > yield_callback_ ; <nl> <nl> EventLogger * event_logger_ ; <nl> + <nl> + bool paranoid_file_checks_ ; <nl> } ; <nl> <nl> } / / namespace rocksdb <nl> mmm a / db / compaction_job_test . cc <nl> ppp b / db / compaction_job_test . cc <nl> TEST_F ( CompactionJobTest , Simple ) { <nl> { compaction_input_files } , 1 , 1024 * 1024 , 10 , 0 , kNoCompression , { } ) ) ; <nl> compaction - > SetInputVersion ( cfd - > current ( ) ) ; <nl> <nl> - SnapshotList snapshots ; <nl> int yield_callback_called = 0 ; <nl> std : : function < uint64_t ( ) > yield_callback = [ & ] ( ) { <nl> yield_callback_called + + ; <nl> TEST_F ( CompactionJobTest , Simple ) { <nl> LogBuffer log_buffer ( InfoLogLevel : : INFO_LEVEL , db_options_ . info_log . get ( ) ) ; <nl> mutex_ . Lock ( ) ; <nl> EventLogger event_logger ( db_options_ . info_log . get ( ) ) ; <nl> - CompactionJob compaction_job ( <nl> - 0 , compaction . get ( ) , db_options_ , * cfd - > GetLatestMutableCFOptions ( ) , <nl> - env_options_ , versions_ . get ( ) , & shutting_down_ , & log_buffer , nullptr , <nl> - nullptr , nullptr , & snapshots , true , table_cache_ , <nl> - std : : move ( yield_callback ) , & event_logger ) ; <nl> + CompactionJob compaction_job ( 0 , compaction . get ( ) , db_options_ , env_options_ , <nl> + versions_ . get ( ) , & shutting_down_ , & log_buffer , <nl> + nullptr , nullptr , nullptr , { } , table_cache_ , <nl> + std : : move ( yield_callback ) , & event_logger , false ) ; <nl> + <nl> compaction_job . Prepare ( ) ; <nl> mutex_ . Unlock ( ) ; <nl> ASSERT_OK ( compaction_job . Run ( ) ) ; <nl> mutex_ . Lock ( ) ; <nl> Status s ; <nl> - compaction_job . Install ( & s , & mutex_ ) ; <nl> + compaction_job . Install ( & s , * cfd - > GetLatestMutableCFOptions ( ) , & mutex_ ) ; <nl> ASSERT_OK ( s ) ; <nl> mutex_ . Unlock ( ) ; <nl> <nl> mmm a / db / db_impl . cc <nl> ppp b / db / db_impl . cc <nl> Status DBImpl : : CompactFilesImpl ( <nl> c - > column_family_data ( ) , * c - > mutable_cf_options ( ) , <nl> job_context , log_buffer ) ; <nl> } ; <nl> + assert ( is_snapshot_supported_ | | snapshots_ . empty ( ) ) ; <nl> CompactionJob compaction_job ( <nl> - job_context - > job_id , c . get ( ) , db_options_ , * c - > mutable_cf_options ( ) , <nl> - env_options_ , versions_ . get ( ) , & shutting_down_ , log_buffer , <nl> - directories_ . GetDbDir ( ) , directories_ . GetDataDir ( c - > GetOutputPathId ( ) ) , <nl> - stats_ , & snapshots_ , is_snapshot_supported_ , table_cache_ , <nl> - std : : move ( yield_callback ) , & event_logger_ ) ; <nl> + job_context - > job_id , c . get ( ) , db_options_ , env_options_ , versions_ . get ( ) , <nl> + & shutting_down_ , log_buffer , directories_ . GetDbDir ( ) , <nl> + directories_ . GetDataDir ( c - > GetOutputPathId ( ) ) , stats_ , <nl> + snapshots_ . GetAll ( ) , table_cache_ , std : : move ( yield_callback ) , <nl> + & event_logger_ , c - > mutable_cf_options ( ) - > paranoid_file_checks ) ; <nl> compaction_job . Prepare ( ) ; <nl> <nl> mutex_ . Unlock ( ) ; <nl> Status status = compaction_job . Run ( ) ; <nl> mutex_ . Lock ( ) ; <nl> - compaction_job . Install ( & status , & mutex_ ) ; <nl> + compaction_job . Install ( & status , * c - > mutable_cf_options ( ) , & mutex_ ) ; <nl> if ( status . ok ( ) ) { <nl> InstallSuperVersionBackground ( c - > column_family_data ( ) , job_context , <nl> * c - > mutable_cf_options ( ) ) ; <nl> Status DBImpl : : BackgroundCompaction ( bool * madeProgress , JobContext * job_context , <nl> * c - > mutable_cf_options ( ) , job_context , <nl> log_buffer ) ; <nl> } ; <nl> + assert ( is_snapshot_supported_ | | snapshots_ . empty ( ) ) ; <nl> CompactionJob compaction_job ( <nl> - job_context - > job_id , c . get ( ) , db_options_ , * c - > mutable_cf_options ( ) , <nl> - env_options_ , versions_ . get ( ) , & shutting_down_ , log_buffer , <nl> - directories_ . GetDbDir ( ) , directories_ . GetDataDir ( c - > GetOutputPathId ( ) ) , <nl> - stats_ , & snapshots_ , is_snapshot_supported_ , table_cache_ , <nl> - std : : move ( yield_callback ) , & event_logger_ ) ; <nl> + job_context - > job_id , c . get ( ) , db_options_ , env_options_ , <nl> + versions_ . get ( ) , & shutting_down_ , log_buffer , directories_ . GetDbDir ( ) , <nl> + directories_ . GetDataDir ( c - > GetOutputPathId ( ) ) , stats_ , <nl> + snapshots_ . GetAll ( ) , table_cache_ , std : : move ( yield_callback ) , <nl> + & event_logger_ , c - > mutable_cf_options ( ) - > paranoid_file_checks ) ; <nl> compaction_job . Prepare ( ) ; <nl> mutex_ . Unlock ( ) ; <nl> status = compaction_job . Run ( ) ; <nl> mutex_ . Lock ( ) ; <nl> - compaction_job . Install ( & status , & mutex_ ) ; <nl> + compaction_job . Install ( & status , * c - > mutable_cf_options ( ) , & mutex_ ) ; <nl> if ( status . ok ( ) ) { <nl> InstallSuperVersionBackground ( c - > column_family_data ( ) , job_context , <nl> * c - > mutable_cf_options ( ) ) ; <nl> mmm a / db / snapshot . h <nl> ppp b / db / snapshot . h <nl> <nl> / / found in the LICENSE file . See the AUTHORS file for names of contributors . <nl> <nl> # pragma once <nl> + # include < vector > <nl> + <nl> # include " rocksdb / db . h " <nl> <nl> namespace rocksdb { <nl> class SnapshotList { <nl> } <nl> <nl> / / retrieve all snapshot numbers . They are sorted in ascending order . <nl> - void getAll ( std : : vector < SequenceNumber > & ret ) { <nl> - if ( empty ( ) ) return ; <nl> + std : : vector < SequenceNumber > GetAll ( ) { <nl> + std : : vector < SequenceNumber > ret ; <nl> + if ( empty ( ) ) { <nl> + return ret ; <nl> + } <nl> SnapshotImpl * s = & list_ ; <nl> while ( s - > next_ ! = & list_ ) { <nl> ret . push_back ( s - > next_ - > number_ ) ; <nl> - s = s - > next_ ; <nl> + s = s - > next_ ; <nl> } <nl> + return ret ; <nl> } <nl> <nl> / / get the sequence number of the most recent snapshot <nl>
Cleanup CompactionJob
facebook/rocksdb
65fe1cfbb397a580b4ca25999a5b39c66a029a83
2015-05-06T02:01:12Z
mmm a / src / ruby / ext / grpc / rb_call . c <nl> ppp b / src / ruby / ext / grpc / rb_call . c <nl> static VALUE grpc_rb_call_run_batch ( VALUE self , VALUE cqueue , VALUE tag , <nl> rb_raise ( grpc_rb_eCallError , <nl> " grpc_call_start_batch failed with % s ( code = % d ) " , <nl> grpc_call_error_detail_of ( err ) , err ) ; <nl> - return ; <nl> + return Qnil ; <nl> } <nl> ev = grpc_rb_completion_queue_pluck_event ( cqueue , tag , timeout ) ; <nl> if ( ev = = NULL ) { <nl> grpc_run_batch_stack_cleanup ( & st ) ; <nl> rb_raise ( grpc_rb_eOutOfTime , " grpc_call_start_batch timed out " ) ; <nl> - return ; <nl> + return Qnil ; <nl> } <nl> if ( ev - > data . op_complete ! = GRPC_OP_OK ) { <nl> grpc_run_batch_stack_cleanup ( & st ) ; <nl> rb_raise ( grpc_rb_eCallError , " start_batch completion failed , ( code = % d ) " , <nl> ev - > data . op_complete ) ; <nl> - return ; <nl> + return Qnil ; <nl> } <nl> <nl> / * Build and return the BatchResult struct result * / <nl> mmm a / src / ruby / grpc . gemspec <nl> ppp b / src / ruby / grpc . gemspec <nl> Gem : : Specification . new do | s | <nl> <nl> s . add_dependency ' google - protobuf ' , ' ~ > 3 . 0 . 0alpha . 1 . 1 ' <nl> s . add_dependency ' googleauth ' , ' ~ > 0 . 4 ' # reqd for interop tests <nl> - s . add_dependency ' logging ' , ' ~ > 1 . 8 ' <nl> + s . add_dependency ' logging ' , ' ~ > 2 . 0 ' <nl> s . add_dependency ' minitest ' , ' ~ > 5 . 4 ' # reqd for interop tests <nl> <nl> s . add_development_dependency ' simplecov ' , ' ~ > 0 . 9 ' <nl> mmm a / src / ruby / lib / grpc . rb <nl> ppp b / src / ruby / lib / grpc . rb <nl> <nl> require ' grpc / errors ' <nl> require ' grpc / grpc ' <nl> require ' grpc / logconfig ' <nl> + require ' grpc / notifier ' <nl> require ' grpc / version ' <nl> require ' grpc / core / time_consts ' <nl> require ' grpc / generic / active_call ' <nl> mmm a / src / ruby / lib / grpc / generic / active_call . rb <nl> ppp b / src / ruby / lib / grpc / generic / active_call . rb <nl> def finished <nl> # @ param marshalled [ false , true ] indicates if the object is already <nl> # marshalled . <nl> def remote_send ( req , marshalled = false ) <nl> - logger . debug ( " sending # { req . inspect } , marshalled ? # { marshalled } " ) <nl> + logger . debug ( " sending # { req } , marshalled ? # { marshalled } " ) <nl> if marshalled <nl> payload = req <nl> else <nl> mmm a / src / ruby / lib / grpc / generic / bidi_call . rb <nl> ppp b / src / ruby / lib / grpc / generic / bidi_call . rb <nl> def each_queued_msg <nl> break if req . equal ? ( END_OF_READS ) <nl> yield req <nl> end <nl> - @ loop_th . join <nl> - @ enq_th . join <nl> + @ enq_th . join if @ enq_th . alive ? <nl> end <nl> <nl> # during bidi - streaming , read the requests to send from a separate thread <nl> mmm a / src / ruby / lib / grpc / generic / rpc_server . rb <nl> ppp b / src / ruby / lib / grpc / generic / rpc_server . rb <nl> def handle_signals <nl> end <nl> module_function : handle_signals <nl> <nl> + # Sets up a signal handler that adds signals to the signal handling global . <nl> + # <nl> + # Signal handlers should do as little as humanly possible . <nl> + # Here , they just add themselves to $ grpc_signals <nl> + # <nl> + # RpcServer ( and later other parts of gRPC ) monitors the signals <nl> + # $ grpc_signals in its own non - signal context . <nl> + def trap_signals <nl> + % w ( INT TERM ) . each { | sig | trap ( sig ) { $ grpc_signals < < sig } } <nl> + end <nl> + module_function : trap_signals <nl> + <nl> # Pool is a simple thread pool . <nl> class Pool <nl> # Default keep alive period is 1s <nl> class RpcServer <nl> # Signal check period is 0 . 25s <nl> SIGNAL_CHECK_PERIOD = 0 . 25 <nl> <nl> - # Sets up a signal handler that adds signals to the signal handling global . <nl> - # <nl> - # Signal handlers should do as little as humanly possible . <nl> - # Here , they just add themselves to $ grpc_signals <nl> - # <nl> - # RpcServer ( and later other parts of gRPC ) monitors the signals <nl> - # $ grpc_signals in its own non - signal context . <nl> - def self . trap_signals <nl> - % w ( INT TERM ) . each { | sig | trap ( sig ) { $ grpc_signals < < sig } } <nl> - end <nl> - <nl> # setup_cq is used by # initialize to constuct a Core : : CompletionQueue from <nl> # its arguments . <nl> def self . setup_cq ( alt_cq ) <nl> def wait_till_running ( timeout = 0 . 1 ) <nl> # Runs the server in its own thread , then waits for signal INT or TERM on <nl> # the current thread to terminate it . <nl> def run_till_terminated <nl> - self . class . trap_signals <nl> + GRPC . trap_signals <nl> t = Thread . new { run } <nl> wait_till_running <nl> loop do <nl> sleep SIGNAL_CHECK_PERIOD <nl> - break unless handle_signals <nl> + break unless GRPC . handle_signals <nl> end <nl> stop <nl> t . join <nl> new file mode 100644 <nl> index 00000000000 . . caa18bbed6d <nl> mmm / dev / null <nl> ppp b / src / ruby / lib / grpc / notifier . rb <nl> <nl> + # Copyright 2015 , Google Inc . <nl> + # All rights reserved . <nl> + # <nl> + # Redistribution and use in source and binary forms , with or without <nl> + # modification , are permitted provided that the following conditions are <nl> + # met : <nl> + # <nl> + # * Redistributions of source code must retain the above copyright <nl> + # notice , this list of conditions and the following disclaimer . <nl> + # * Redistributions in binary form must reproduce the above <nl> + # copyright notice , this list of conditions and the following disclaimer <nl> + # in the documentation and / or other materials provided with the <nl> + # distribution . <nl> + # * Neither the name of Google Inc . nor the names of its <nl> + # contributors may be used to endorse or promote products derived from <nl> + # this software without specific prior written permission . <nl> + # <nl> + # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS <nl> + # " AS IS " AND ANY EXPRESS OR IMPLIED WARRANTIES , INCLUDING , BUT NOT <nl> + # LIMITED TO , THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR <nl> + # A PARTICULAR PURPOSE ARE DISCLAIMED . IN NO EVENT SHALL THE COPYRIGHT <nl> + # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT , INDIRECT , INCIDENTAL , <nl> + # SPECIAL , EXEMPLARY , OR CONSEQUENTIAL DAMAGES ( INCLUDING , BUT NOT <nl> + # LIMITED TO , PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES ; LOSS OF USE , <nl> + # DATA , OR PROFITS ; OR BUSINESS INTERRUPTION ) HOWEVER CAUSED AND ON ANY <nl> + # THEORY OF LIABILITY , WHETHER IN CONTRACT , STRICT LIABILITY , OR TORT <nl> + # ( INCLUDING NEGLIGENCE OR OTHERWISE ) ARISING IN ANY WAY OUT OF THE USE <nl> + # OF THIS SOFTWARE , EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE . <nl> + <nl> + # GRPC contains the General RPC module . <nl> + module GRPC <nl> + # Notifier is useful high - level synchronization primitive . <nl> + class Notifier <nl> + attr_reader : payload , : notified <nl> + alias_method : notified ? , : notified <nl> + <nl> + def initialize <nl> + @ mutex = Mutex . new <nl> + @ cvar = ConditionVariable . new <nl> + @ notified = false <nl> + @ payload = nil <nl> + end <nl> + <nl> + def wait <nl> + @ mutex . synchronize do <nl> + @ cvar . wait ( @ mutex ) until notified ? <nl> + end <nl> + end <nl> + <nl> + def notify ( payload ) <nl> + @ mutex . synchronize do <nl> + return Error . new ( ' already notified ' ) if notified ? <nl> + @ payload = payload <nl> + @ notified = true <nl> + @ cvar . signal <nl> + return nil <nl> + end <nl> + end <nl> + end <nl> + end <nl> mmm a / src / ruby / spec / generic / client_stub_spec . rb <nl> ppp b / src / ruby / spec / generic / client_stub_spec . rb <nl> <nl> <nl> require ' grpc ' <nl> <nl> - # Notifier is useful high - level synchronization primitive . <nl> - class Notifier <nl> - attr_reader : payload , : notified <nl> - alias_method : notified ? , : notified <nl> - <nl> - def initialize <nl> - @ mutex = Mutex . new <nl> - @ cvar = ConditionVariable . new <nl> - @ notified = false <nl> - @ payload = nil <nl> - end <nl> - <nl> - def wait <nl> - @ mutex . synchronize do <nl> - @ cvar . wait ( @ mutex ) until notified ? <nl> - end <nl> - end <nl> - <nl> - def notify ( payload ) <nl> - @ mutex . synchronize do <nl> - return Error . new ( ' already notified ' ) if notified ? <nl> - @ payload = payload <nl> - @ notified = true <nl> - @ cvar . signal <nl> - return nil <nl> - end <nl> - end <nl> - end <nl> - <nl> def wakey_thread ( & blk ) <nl> - n = Notifier . new <nl> + n = GRPC : : Notifier . new <nl> t = Thread . new do <nl> blk . call ( n ) <nl> end <nl>
Merge github . com : grpc / grpc into one - pass
grpc/grpc
71cb81c7378d281e7e3811b852906d9191569b8d
2015-04-24T20:24:40Z
mmm a / include / swift / AST / Decl . h <nl> ppp b / include / swift / AST / Decl . h <nl> class ExtensionDecl : public Decl , public DeclContext { <nl> <nl> / / / \ brief The set of protocols to which this extension conforms . <nl> ArrayRef < ProtocolDecl * > Protocols ; <nl> + <nl> + / / / \ brief The set of protocol conformance mappings . The element order <nl> + / / / corresponds to the order of Protocols . <nl> + ArrayRef < ProtocolConformance * > Conformances ; <nl> <nl> / / / \ brief The next extension in the linked list of extensions . <nl> ExtensionDecl * NextExtension = nullptr ; <nl> class ExtensionDecl : public Decl , public DeclContext { <nl> <nl> / / / \ brief Retrieve the set of protocols to which this extension conforms . <nl> ArrayRef < ProtocolDecl * > getProtocols ( ) ; <nl> + <nl> + / / / \ brief Retrieve the set of protocol conformance mappings for this type . <nl> + / / / <nl> + / / / Calculated during type - checking . <nl> + ArrayRef < ProtocolConformance * > getConformances ( ) const { <nl> + return Conformances ; <nl> + } <nl> + <nl> + void setConformances ( ArrayRef < ProtocolConformance * > c ) { <nl> + Conformances = c ; <nl> + } <nl> <nl> ArrayRef < Decl * > getMembers ( ) const { return Members ; } <nl> void setMembers ( ArrayRef < Decl * > M , SourceRange B ) { <nl> class TypeDecl : public ValueDecl { <nl> <nl> / / / \ brief The set of protocols to which this type conforms . <nl> ArrayRef < ProtocolDecl * > Protocols ; <nl> + <nl> + / / / \ brief The set of protocol conformance mappings . The element order <nl> + / / / corresponds to the order of Protocols . <nl> + ArrayRef < ProtocolConformance * > Conformances ; <nl> <nl> public : <nl> TypeDecl ( DeclKind K , DeclContext * DC , Identifier name , <nl> class TypeDecl : public ValueDecl { <nl> / / / FIXME : Include protocol conformance from extensions ? This will require <nl> / / / semantic analysis to compute . <nl> ArrayRef < ProtocolDecl * > getProtocols ( ) ; <nl> + <nl> + / / / \ brief Retrieve the set of protocol conformance mappings for this type . <nl> + / / / <nl> + / / / Calculated during type - checking . <nl> + ArrayRef < ProtocolConformance * > getConformances ( ) const { <nl> + return Conformances ; <nl> + } <nl> + <nl> + void setConformances ( ArrayRef < ProtocolConformance * > c ) { <nl> + Conformances = c ; <nl> + } <nl> <nl> void setInherited ( MutableArrayRef < TypeLoc > i ) { Inherited = i ; } <nl> <nl> mmm a / lib / Sema / TypeCheckDecl . cpp <nl> ppp b / lib / Sema / TypeCheckDecl . cpp <nl> class DeclChecker : public DeclVisitor < DeclChecker > { <nl> } <nl> } <nl> <nl> - void checkExplicitConformance ( Decl * D , Type T , <nl> - MutableArrayRef < TypeLoc > Inherited ) { <nl> - for ( auto InheritedTy : Inherited ) { <nl> - / / FIXME : Poor location info . <nl> - SmallVector < ProtocolDecl * , 4 > InheritedProtos ; <nl> - if ( InheritedTy . getType ( ) - > isExistentialType ( InheritedProtos ) ) <nl> - for ( auto Proto : InheritedProtos ) <nl> - TC . conformsToProtocol ( T , Proto , nullptr , D - > getStartLoc ( ) ) ; <nl> + void gatherExplicitConformances ( Decl * D , Type T , <nl> + ArrayRef < ProtocolDecl * > Protocols , <nl> + SmallVectorImpl < ProtocolConformance * > & Conformances ) { <nl> + <nl> + for ( auto Proto : Protocols ) { <nl> + ProtocolConformance * Conformance = nullptr ; <nl> + TC . conformsToProtocol ( T , Proto , & Conformance , D - > getStartLoc ( ) ) ; <nl> + Conformances . push_back ( Conformance ) ; <nl> } <nl> } <nl> + <nl> + void checkExplicitConformance ( TypeDecl * D , Type T ) { <nl> + SmallVector < ProtocolConformance * , 2 > Conformances ; <nl> + gatherExplicitConformances ( D , T , D - > getProtocols ( ) , <nl> + Conformances ) ; <nl> + D - > setConformances ( D - > getASTContext ( ) . AllocateCopy ( Conformances ) ) ; <nl> + } <nl> + <nl> + void checkExplicitConformance ( ExtensionDecl * D , Type T ) { <nl> + SmallVector < ProtocolConformance * , 2 > Conformances ; <nl> + gatherExplicitConformances ( D , T , D - > getProtocols ( ) , <nl> + Conformances ) ; <nl> + D - > setConformances ( D - > getASTContext ( ) . AllocateCopy ( Conformances ) ) ; <nl> + } <nl> <nl> void checkGenericParams ( GenericParamList * GenericParams ) { <nl> assert ( GenericParams & & " Missing generic parameters " ) ; <nl> class DeclChecker : public DeclVisitor < DeclChecker > { <nl> } <nl> <nl> if ( ! IsFirstPass ) <nl> - checkExplicitConformance ( TAD , TAD - > getDeclaredType ( ) , <nl> - TAD - > getInherited ( ) ) ; <nl> + checkExplicitConformance ( TAD , TAD - > getDeclaredType ( ) ) ; <nl> } <nl> <nl> void visitOneOfDecl ( OneOfDecl * OOD ) { <nl> class DeclChecker : public DeclVisitor < DeclChecker > { <nl> visit ( member ) ; <nl> <nl> if ( ! IsFirstPass ) <nl> - checkExplicitConformance ( OOD , OOD - > getDeclaredTypeInContext ( ) , <nl> - OOD - > getInherited ( ) ) ; <nl> + checkExplicitConformance ( OOD , OOD - > getDeclaredTypeInContext ( ) ) ; <nl> } <nl> <nl> void visitStructDecl ( StructDecl * SD ) { <nl> class DeclChecker : public DeclVisitor < DeclChecker > { <nl> } <nl> <nl> if ( ! IsFirstPass ) <nl> - checkExplicitConformance ( SD , SD - > getDeclaredTypeInContext ( ) , <nl> - SD - > getInherited ( ) ) ; <nl> + checkExplicitConformance ( SD , SD - > getDeclaredTypeInContext ( ) ) ; <nl> } <nl> <nl> void visitClassDecl ( ClassDecl * CD ) { <nl> class DeclChecker : public DeclVisitor < DeclChecker > { <nl> visit ( Member ) ; <nl> <nl> if ( ! IsFirstPass ) <nl> - checkExplicitConformance ( CD , CD - > getDeclaredTypeInContext ( ) , <nl> - CD - > getInherited ( ) ) ; <nl> + checkExplicitConformance ( CD , CD - > getDeclaredTypeInContext ( ) ) ; <nl> } <nl> <nl> void visitProtocolDecl ( ProtocolDecl * PD ) { <nl> class DeclChecker : public DeclVisitor < DeclChecker > { <nl> visit ( Member ) ; <nl> <nl> if ( ! IsFirstPass ) <nl> - checkExplicitConformance ( ED , ED - > getExtendedType ( ) , <nl> - ED - > getInherited ( ) ) ; <nl> + checkExplicitConformance ( ED , ED - > getExtendedType ( ) ) ; <nl> } <nl> <nl> void visitTopLevelCodeDecl ( TopLevelCodeDecl * TLCD ) { <nl>
AST : Save ProtocolConformances in TypeDecls and ExtensionDecls .
apple/swift
dd2dfebd6ce1c300eb3957a65223d82175d593dc
2013-06-17T23:06:02Z
mmm a / src / Core / Defines . h <nl> ppp b / src / Core / Defines . h <nl> <nl> / / / Minimum revision with exactly the same set of aggregation methods and rules to select them . <nl> / / / Two - level ( bucketed ) aggregation is incompatible if servers are inconsistent in these rules <nl> / / / ( keys will be placed in different buckets and result will not be fully aggregated ) . <nl> - # define DBMS_MIN_REVISION_WITH_CURRENT_AGGREGATION_VARIANT_SELECTION_METHOD 54408 <nl> + # define DBMS_MIN_REVISION_WITH_CURRENT_AGGREGATION_VARIANT_SELECTION_METHOD 54431 <nl> # define DBMS_MIN_REVISION_WITH_COLUMN_DEFAULTS_METADATA 54410 <nl> <nl> # define DBMS_MIN_REVISION_WITH_LOW_CARDINALITY_TYPE 54405 <nl> new file mode 100644 <nl> index 00000000000 . . 1c264d1e636 <nl> mmm / dev / null <nl> ppp b / tests / integration / test_backward_compatability / test_short_strings_aggregation . py <nl> <nl> + import pytest <nl> + <nl> + import helpers . client as client <nl> + from helpers . cluster import ClickHouseCluster <nl> + <nl> + cluster = ClickHouseCluster ( __file__ ) <nl> + node1 = cluster . add_instance ( ' node1 ' , with_zookeeper = False , image = ' yandex / clickhouse - server : 19 . 16 . 9 . 37 ' , stay_alive = True , with_installed_binary = True ) <nl> + node2 = cluster . add_instance ( ' node2 ' , with_zookeeper = False , image = ' yandex / clickhouse - server : 19 . 16 . 9 . 37 ' , stay_alive = True , with_installed_binary = True ) <nl> + node3 = cluster . add_instance ( ' node3 ' , with_zookeeper = False ) <nl> + <nl> + @ pytest . fixture ( scope = " module " ) <nl> + def start_cluster ( ) : <nl> + try : <nl> + cluster . start ( ) <nl> + yield cluster <nl> + <nl> + finally : <nl> + cluster . shutdown ( ) <nl> + <nl> + <nl> + def test_backward_compatability ( start_cluster ) : <nl> + node1 . query ( " create table tab ( s String ) engine = MergeTree order by s " ) <nl> + node2 . query ( " create table tab ( s String ) engine = MergeTree order by s " ) <nl> + node1 . query ( " insert into tab select number from numbers ( 50 ) " ) <nl> + node2 . query ( " insert into tab select number from numbers ( 1000000 ) " ) <nl> + res = node3 . query ( " select s , count ( ) from remote ( ' node { 1 , 2 } ' , default , tab ) group by s order by toUInt64 ( s ) limit 50 " ) <nl> + print ( res ) <nl> + assert res = = ' ' . join ( ' { } \ t2 \ n ' . format ( i ) for i in range ( 50 ) ) <nl>
Merge pull request from ClickHouse / fix - distributed - queries - incompatibility - 19 . 16 - 20 . 1
ClickHouse/ClickHouse
c957154fef835de1d01e4c7ce7377a7e500b51df
2020-05-16T07:17:15Z
mmm a / include / mlir / IR / StandardOps . h <nl> ppp b / include / mlir / IR / StandardOps . h <nl> class AffineApplyOp : public OpBase < AffineApplyOp , OpTrait : : VariadicOperands , <nl> static bool parse ( OpAsmParser * parser , OperationState * result ) ; <nl> void print ( OpAsmPrinter * p ) const ; <nl> bool verify ( ) const ; <nl> + bool constantFold ( ArrayRef < Attribute * > operands , <nl> + SmallVectorImpl < Attribute * > & results , <nl> + MLIRContext * context ) const ; <nl> <nl> private : <nl> friend class Operation ; <nl> mmm a / lib / IR / StandardOps . cpp <nl> ppp b / lib / IR / StandardOps . cpp <nl> <nl> / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = <nl> <nl> # include " mlir / IR / StandardOps . h " <nl> + # include " mlir / IR / AffineExpr . h " <nl> # include " mlir / IR / AffineMap . h " <nl> # include " mlir / IR / Builders . h " <nl> # include " mlir / IR / OpImplementation . h " <nl> bool AffineApplyOp : : isValidSymbol ( ) const { <nl> return true ; <nl> } <nl> <nl> + namespace { <nl> + <nl> + / / AffineExprConstantFolder evaluates an affine expression using constant <nl> + / / operands passed in ' operandConsts ' . Returns a pointer to an IntegerAttr <nl> + / / attribute representing the constant value of the affine expression <nl> + / / evaluated on constant ' operandConsts ' . <nl> + class AffineExprConstantFolder { <nl> + public : <nl> + AffineExprConstantFolder ( unsigned numDims , <nl> + ArrayRef < Attribute * > operandConsts , <nl> + MLIRContext * context ) <nl> + : numDims ( numDims ) , operandConsts ( operandConsts ) , context ( context ) { } <nl> + <nl> + IntegerAttr * constantFold ( AffineExpr * expr ) { <nl> + switch ( expr - > getKind ( ) ) { <nl> + case AffineExpr : : Kind : : Add : <nl> + return constantFoldBinExpr ( <nl> + expr , [ ] ( int64_t lhs , int64_t rhs ) { return lhs + rhs ; } ) ; <nl> + case AffineExpr : : Kind : : Mul : <nl> + return constantFoldBinExpr ( <nl> + expr , [ ] ( int64_t lhs , int64_t rhs ) { return lhs * rhs ; } ) ; <nl> + case AffineExpr : : Kind : : Mod : <nl> + return constantFoldBinExpr ( expr , [ ] ( int64_t lhs , uint64_t rhs ) { <nl> + return lhs % rhs < 0 ? lhs % rhs + rhs : lhs % rhs ; <nl> + } ) ; <nl> + case AffineExpr : : Kind : : FloorDiv : <nl> + return constantFoldBinExpr ( expr , [ ] ( int64_t lhs , uint64_t rhs ) { <nl> + return lhs % rhs < 0 ? lhs / rhs - 1 : lhs / rhs ; <nl> + } ) ; <nl> + case AffineExpr : : Kind : : CeilDiv : <nl> + return constantFoldBinExpr ( expr , [ ] ( int64_t lhs , uint64_t rhs ) { <nl> + return lhs % rhs = = 0 ? lhs / rhs : lhs / rhs + 1 ; <nl> + } ) ; <nl> + case AffineExpr : : Kind : : Constant : <nl> + return IntegerAttr : : get ( cast < AffineConstantExpr > ( expr ) - > getValue ( ) , <nl> + context ) ; <nl> + case AffineExpr : : Kind : : DimId : <nl> + return cast < IntegerAttr > ( <nl> + operandConsts [ cast < AffineDimExpr > ( expr ) - > getPosition ( ) ] ) ; <nl> + case AffineExpr : : Kind : : SymbolId : <nl> + return cast < IntegerAttr > ( <nl> + operandConsts [ numDims + cast < AffineSymbolExpr > ( expr ) - > getPosition ( ) ] ) ; <nl> + } <nl> + } <nl> + <nl> + private : <nl> + IntegerAttr * <nl> + constantFoldBinExpr ( AffineExpr * expr , <nl> + std : : function < uint64_t ( int64_t , uint64_t ) > op ) { <nl> + auto * binOpExpr = cast < AffineBinaryOpExpr > ( expr ) ; <nl> + auto * lhs = constantFold ( binOpExpr - > getLHS ( ) ) ; <nl> + auto * rhs = constantFold ( binOpExpr - > getRHS ( ) ) ; <nl> + return IntegerAttr : : get ( op ( lhs - > getValue ( ) , rhs - > getValue ( ) ) , context ) ; <nl> + } <nl> + <nl> + / / The number of dimension operands in AffineMap containing this expression . <nl> + unsigned numDims ; <nl> + / / The constant valued operands used to evaluate this AffineExpr . <nl> + ArrayRef < Attribute * > operandConsts ; <nl> + MLIRContext * context ; <nl> + } ; <nl> + <nl> + } / / end anonymous namespace <nl> + <nl> + bool AffineApplyOp : : constantFold ( ArrayRef < Attribute * > operands , <nl> + SmallVectorImpl < Attribute * > & results , <nl> + MLIRContext * context ) const { <nl> + / / Check that all attributes in ' operands ' are IntegerAttr . <nl> + for ( auto * attr : operands ) { <nl> + if ( ! isa < IntegerAttr > ( attr ) ) <nl> + return true ; <nl> + } <nl> + <nl> + AffineMap * map = getAffineMap ( ) ; <nl> + AffineExprConstantFolder exprFolder ( map - > getNumDims ( ) , operands , context ) ; <nl> + <nl> + / / Constant fold each AffineExpr in AffineMap and add to ' results ' . <nl> + for ( auto * expr : map - > getResults ( ) ) { <nl> + results . push_back ( exprFolder . constantFold ( expr ) ) ; <nl> + } <nl> + / / Return false on success . <nl> + return false ; <nl> + } <nl> + <nl> / / = = = mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - = = = / / <nl> / / AllocOp <nl> / / = = = mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm - = = = / / <nl> mmm a / test / Transforms / constant - fold . mlir <nl> ppp b / test / Transforms / constant - fold . mlir <nl> bb0 : / / CHECK : bb0 : <nl> <nl> / / CHECK - NEXT : return % cst <nl> return % 2 : f32 <nl> - } <nl> \ No newline at end of file <nl> + } <nl> + <nl> + mlfunc @ constant_fold_affine_apply ( ) { <nl> + % 0 = alloc ( ) : memref < 8x8xf32 > <nl> + <nl> + % c177 = constant 177 : affineint <nl> + % c211 = constant 211 : affineint <nl> + % N = constant 1075 : affineint <nl> + <nl> + / / CHECK : % c1159 = constant 1159 : affineint <nl> + / / CHECK : % c1152 = constant 1152 : affineint <nl> + % x = " affine_apply " ( % c177 , % c211 , % N ) { map : ( d0 , d1 ) [ S0 ] - > ( ( d0 + 128 * S0 ) floordiv 128 + d1 mod 128 , 128 * ( S0 ceildiv 128 ) ) } : ( affineint , affineint , affineint ) - > ( affineint , affineint ) <nl> + <nl> + / / CHECK : { { [ 0 - 9 ] + } } = load % 0 [ % c1159 , % c1152 ] : memref < 8x8xf32 > <nl> + % v = load % 0 [ % x # 0 , % x # 1 ] : memref < 8x8xf32 > <nl> + return <nl> + } <nl>
Adds constant folding hook for AffineApplyOp .
tensorflow/tensorflow
9c464e4d255d305b7759bae858800fcddcd4450a
2019-03-29T20:18:19Z
mmm a / samples / gpu / video_writer . cpp <nl> ppp b / samples / gpu / video_writer . cpp <nl> <nl> # include " opencv2 / cudacodec . hpp " <nl> # include " opencv2 / highgui . hpp " <nl> <nl> + using namespace cv ; <nl> int main ( int argc , const char * argv [ ] ) <nl> { <nl> if ( argc ! = 2 ) <nl>
bug fix for
opencv/opencv
dd482c6a2936b57d4b588eb73832b9a7923f9fe7
2016-12-17T13:48:29Z
mmm a / dbms / src / Dictionaries / CacheDictionary . cpp <nl> ppp b / dbms / src / Dictionaries / CacheDictionary . cpp <nl> void CacheDictionary : : update ( const std : : vector < Key > & requested_ids , std : : unorde <nl> <nl> stream - > readPrefix ( ) ; <nl> <nl> - const ProfilingScopedWriteRWLock write_lock { rw_lock , ProfileEvents : : DictCacheLockWriteNs } ; <nl> - <nl> while ( const auto block = stream - > read ( ) ) <nl> { <nl> const auto id_column = typeid_cast < const ColumnUInt64 * > ( block . safeGetByPosition ( 0 ) . column . get ( ) ) ; <nl> void CacheDictionary : : update ( const std : : vector < Key > & requested_ids , std : : unorde <nl> ext : : range ( 0 , attributes . size ( ) ) , <nl> [ & block ] ( size_t i ) { return block . safeGetByPosition ( i + 1 ) . column . get ( ) ; } ) ; <nl> <nl> + const ProfilingScopedWriteRWLock write_lock { rw_lock , ProfileEvents : : DictCacheLockWriteNs } ; <nl> + <nl> for ( const auto i : ext : : range ( 0 , ids . size ( ) ) ) <nl> { <nl> const auto id = ids [ i ] ; <nl> mmm a / dbms / src / Dictionaries / CacheDictionary . h <nl> ppp b / dbms / src / Dictionaries / CacheDictionary . h <nl> class CacheDictionary final : public IDictionary <nl> std : : unique_ptr < ArenaWithFreeLists > string_arena ; <nl> <nl> mutable std : : exception_ptr last_exception ; <nl> - mutable size_t error_count = 0 ; <nl> + mutable std : : atomic < size_t > error_count = 0 ; <nl> mutable std : : chrono : : system_clock : : time_point backoff_end_time ; <nl> <nl> mutable pcg64 rnd_engine ; <nl>
atomic added
ClickHouse/ClickHouse
1f1fabba3b81cf32861d2e61d9ee7cb764a195f3
2020-01-29T10:58:44Z
mmm a / examples / timer_ex . cpp <nl> ppp b / examples / timer_ex . cpp <nl> class timer_example <nl> <nl> private : <nl> <nl> - timer < timer_example > : : kernel_2a t ; <nl> + timer < timer_example > t ; <nl> <nl> void action_function ( ) <nl> { <nl>
Simplified code
davisking/dlib
bfb25b68ec92bfe775097791b5286f469b6d32f7
2012-11-18T18:01:08Z
mmm a / Marlin / src / pins / pins_RADDS . h <nl> ppp b / Marlin / src / pins / pins_RADDS . h <nl> <nl> <nl> # elif ENABLED ( REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER ) <nl> <nl> + / / The REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER requires <nl> + / / an adapter such as https : / / www . thingiverse . com / thing : 1740725 <nl> + <nl> # define LCD_PINS_RS 42 <nl> # define LCD_PINS_ENABLE 43 <nl> # define LCD_PINS_D4 44 <nl>
Comment for RADDS + RRDFGSC
MarlinFirmware/Marlin
86ee74731ebde33a61753819c67f4c7af096ab09
2018-09-05T10:45:17Z
mmm a / dbms / include / DB / AggregateFunctions / ReservoirSamplerDeterministic . h <nl> ppp b / dbms / include / DB / AggregateFunctions / ReservoirSamplerDeterministic . h <nl> <nl> # include < climits > <nl> # include < sstream > <nl> # include < stats / ReservoirSampler . h > <nl> - # include < Yandex / Common . h > <nl> + # include < common / Common . h > <nl> # include < DB / Common / HashTable / Hash . h > <nl> # include < DB / IO / ReadBuffer . h > <nl> # include < DB / IO / ReadHelpers . h > <nl> mmm a / dbms / include / DB / Client / Connection . h <nl> ppp b / dbms / include / DB / Client / Connection . h <nl> <nl> # pragma once <nl> <nl> - # include < Yandex / logger_useful . h > <nl> + # include < common / logger_useful . h > <nl> <nl> # include < Poco / Net / StreamSocket . h > <nl> <nl> mmm a / dbms / include / DB / Common / Arena . h <nl> ppp b / dbms / include / DB / Common / Arena . h <nl> <nl> # include < memory > <nl> # include < vector > <nl> # include < Poco / SharedPtr . h > <nl> - # include < Yandex / likely . h > <nl> + # include < common / likely . h > <nl> # include < DB / Common / ProfileEvents . h > <nl> # include < DB / Common / Allocator . h > <nl> <nl> mmm a / dbms / include / DB / Common / AutoArray . h <nl> ppp b / dbms / include / DB / Common / AutoArray . h <nl> <nl> <nl> # include < cstddef > <nl> <nl> - # include < Yandex / likely . h > <nl> + # include < common / likely . h > <nl> <nl> <nl> namespace DB <nl> mmm a / dbms / include / DB / Common / Collator . h <nl> ppp b / dbms / include / DB / Common / Collator . h <nl> <nl> # include < DB / Core / Exception . h > <nl> # include < DB / IO / WriteHelpers . h > <nl> <nl> - # include < Yandex / Common . h > <nl> + # include < common / Common . h > <nl> <nl> # include < Poco / String . h > <nl> <nl> mmm a / dbms / include / DB / Common / FileChecker . h <nl> ppp b / dbms / include / DB / Common / FileChecker . h <nl> <nl> # pragma once <nl> <nl> # include < string > <nl> - # include < Yandex / logger_useful . h > <nl> - # include < statdaemons / JSON . h > <nl> - # include < Poco / Path . h > <nl> + # include < common / logger_useful . h > <nl> # include < Poco / File . h > <nl> - # include < DB / IO / WriteBufferFromFile . h > <nl> - # include < DB / IO / WriteBufferFromString . h > <nl> - # include < DB / IO / ReadBufferFromFile . h > <nl> - # include < DB / IO / copyData . h > <nl> - # include < DB / Common / escapeForFileName . h > <nl> <nl> <nl> namespace DB <nl> class FileChecker <nl> using Map = std : : map < std : : string , size_t > ; <nl> <nl> public : <nl> - FileChecker ( const std : : string & file_info_path_ ) : <nl> - files_info_path ( file_info_path_ ) <nl> - { <nl> - Poco : : Path path ( files_info_path ) ; <nl> - tmp_files_info_path = path . parent ( ) . toString ( ) + " tmp_ " + path . getFileName ( ) ; <nl> - } <nl> - <nl> - void setPath ( const std : : string & file_info_path_ ) <nl> - { <nl> - files_info_path = file_info_path_ ; <nl> - } <nl> - <nl> using Files = std : : vector < Poco : : File > ; <nl> <nl> - void update ( const Poco : : File & file ) <nl> - { <nl> - initialize ( ) ; <nl> - updateImpl ( file ) ; <nl> - save ( ) ; <nl> - } <nl> - <nl> - void update ( const Files : : iterator & begin , const Files : : iterator & end ) <nl> - { <nl> - initialize ( ) ; <nl> - for ( auto it = begin ; it ! = end ; + + it ) <nl> - updateImpl ( * it ) ; <nl> - save ( ) ; <nl> - } <nl> + FileChecker ( const std : : string & file_info_path_ ) ; <nl> + void setPath ( const std : : string & file_info_path_ ) ; <nl> + void update ( const Poco : : File & file ) ; <nl> + void update ( const Files : : const_iterator & begin , const Files : : const_iterator & end ) ; <nl> <nl> / / / Проверяем файлы , параметры которых указаны в sizes . json <nl> - bool check ( ) const <nl> - { <nl> - / * * Читаем файлы заново при каждом вызове check - чтобы не нарушать константность . <nl> - * Метод check вызывается редко . <nl> - * / <nl> - Map local_map ; <nl> - load ( local_map ) ; <nl> - <nl> - if ( local_map . empty ( ) ) <nl> - return true ; <nl> - <nl> - for ( const auto & name_size : local_map ) <nl> - { <nl> - Poco : : File file ( Poco : : Path ( files_info_path ) . parent ( ) . toString ( ) + " / " + name_size . first ) ; <nl> - if ( ! file . exists ( ) ) <nl> - { <nl> - LOG_ERROR ( log , " File " < < file . path ( ) < < " doesn ' t exist " ) ; <nl> - return false ; <nl> - } <nl> - <nl> - size_t real_size = file . getSize ( ) ; <nl> - if ( real_size ! = name_size . second ) <nl> - { <nl> - LOG_ERROR ( log , " Size of " < < file . path ( ) < < " is wrong . Size is " < < real_size < < " but should be " < < name_size . second ) ; <nl> - return false ; <nl> - } <nl> - } <nl> - <nl> - return true ; <nl> - } <nl> + bool check ( ) const ; <nl> <nl> private : <nl> - void initialize ( ) <nl> - { <nl> - if ( initialized ) <nl> - return ; <nl> - <nl> - load ( map ) ; <nl> - initialized = true ; <nl> - } <nl> - <nl> - void updateImpl ( const Poco : : File & file ) <nl> - { <nl> - map [ Poco : : Path ( file . path ( ) ) . getFileName ( ) ] = file . getSize ( ) ; <nl> - } <nl> - <nl> - void save ( ) const <nl> - { <nl> - { <nl> - WriteBufferFromFile out ( tmp_files_info_path ) ; <nl> - <nl> - / / / Столь сложная структура JSON - а - для совместимости со старым форматом . <nl> - writeCString ( " { \ " yandex \ " : { " , out ) ; <nl> - <nl> - for ( auto it = map . begin ( ) ; it ! = map . end ( ) ; + + it ) <nl> - { <nl> - if ( it ! = map . begin ( ) ) <nl> - writeString ( " , " , out ) ; <nl> - <nl> - / / / escapeForFileName на самом деле не нужен . Но он оставлен для совместимости со старым кодом . <nl> - writeJSONString ( escapeForFileName ( it - > first ) , out ) ; <nl> - writeString ( " : { \ " size \ " : \ " " , out ) ; <nl> - writeIntText ( it - > second , out ) ; <nl> - writeString ( " \ " } " , out ) ; <nl> - } <nl> - <nl> - writeCString ( " } } " , out ) ; <nl> - out . next ( ) ; <nl> - } <nl> - <nl> - Poco : : File current_file ( files_info_path ) ; <nl> - <nl> - if ( current_file . exists ( ) ) <nl> - { <nl> - std : : string old_file_name = files_info_path + " . old " ; <nl> - current_file . renameTo ( old_file_name ) ; <nl> - Poco : : File ( tmp_files_info_path ) . renameTo ( files_info_path ) ; <nl> - Poco : : File ( old_file_name ) . remove ( ) ; <nl> - } <nl> - else <nl> - Poco : : File ( tmp_files_info_path ) . renameTo ( files_info_path ) ; <nl> - } <nl> - <nl> - void load ( Map & map ) const <nl> - { <nl> - map . clear ( ) ; <nl> - <nl> - if ( ! Poco : : File ( files_info_path ) . exists ( ) ) <nl> - return ; <nl> - <nl> - std : : string content ; <nl> - { <nl> - ReadBufferFromFile in ( files_info_path ) ; <nl> - WriteBufferFromString out ( content ) ; <nl> - <nl> - / / / Библиотека JSON не поддерживает пробельные символы . Удаляем их . Неэффективно . <nl> - while ( ! in . eof ( ) ) <nl> - { <nl> - char c ; <nl> - readChar ( c , in ) ; <nl> - if ( ! isspace ( c ) ) <nl> - writeChar ( c , out ) ; <nl> - } <nl> - } <nl> - JSON json ( content ) ; <nl> - <nl> - JSON files = json [ " yandex " ] ; <nl> - for ( const auto & name_value : files ) <nl> - map [ unescapeForFileName ( name_value . getName ( ) ) ] = name_value . getValue ( ) [ " size " ] . toUInt ( ) ; <nl> - } <nl> + void initialize ( ) ; <nl> + void updateImpl ( const Poco : : File & file ) ; <nl> + void save ( ) const ; <nl> + void load ( Map & map ) const ; <nl> <nl> std : : string files_info_path ; <nl> std : : string tmp_files_info_path ; <nl> class FileChecker <nl> <nl> Logger * log = & Logger : : get ( " FileChecker " ) ; <nl> } ; <nl> + <nl> } <nl> mmm a / dbms / include / DB / Common / HashTable / HashTable . h <nl> ppp b / dbms / include / DB / Common / HashTable / HashTable . h <nl> <nl> <nl> # include < boost / noncopyable . hpp > <nl> <nl> - # include < Yandex / likely . h > <nl> + # include < common / likely . h > <nl> <nl> # include < stats / IntHash . h > <nl> <nl> mmm a / dbms / include / DB / Common / MemoryTracker . h <nl> ppp b / dbms / include / DB / Common / MemoryTracker . h <nl> <nl> # pragma once <nl> <nl> - # include < Yandex / Common . h > <nl> + # include < common / Common . h > <nl> <nl> <nl> / * * Отслеживает потребление памяти . <nl> mmm a / dbms / include / DB / Common / PODArray . h <nl> ppp b / dbms / include / DB / Common / PODArray . h <nl> <nl> # include < boost / noncopyable . hpp > <nl> # include < boost / iterator_adaptors . hpp > <nl> <nl> - # include < Yandex / likely . h > <nl> - # include < Yandex / strong_typedef . h > <nl> + # include < common / likely . h > <nl> + # include < common / strong_typedef . h > <nl> <nl> # include < DB / Common / Allocator . h > <nl> # include < DB / Core / Exception . h > <nl> mmm a / dbms / include / DB / Common / SimpleCache . h <nl> ppp b / dbms / include / DB / Common / SimpleCache . h <nl> template < typename F , F * f > <nl> class SimpleCache <nl> { <nl> private : <nl> - using Key = typename function_traits < F > : : arguments_remove_reference ; <nl> + using Key = typename function_traits < F > : : arguments_decay ; <nl> using Result = typename function_traits < F > : : result ; <nl> <nl> std : : map < Key , Result > cache ; <nl> mmm a / dbms / include / DB / Core / Types . h <nl> ppp b / dbms / include / DB / Core / Types . h <nl> <nl> # include < string > <nl> # include < vector > <nl> # include < Poco / Types . h > <nl> - # include < Yandex / strong_typedef . h > <nl> + # include < common / strong_typedef . h > <nl> <nl> <nl> namespace DB <nl> mmm a / dbms / include / DB / Core / toField . h <nl> ppp b / dbms / include / DB / Core / toField . h <nl> <nl> # pragma once <nl> <nl> - # include < Yandex / Common . h > / / / VisitID_t <nl> + # include < common / Common . h > / / / VisitID_t <nl> <nl> # include < DB / Core / Field . h > <nl> <nl> mmm a / dbms / include / DB / DataStreams / AggregatingSortedBlockInputStream . h <nl> ppp b / dbms / include / DB / DataStreams / AggregatingSortedBlockInputStream . h <nl> <nl> # pragma once <nl> <nl> - # include < Yandex / logger_useful . h > <nl> + # include < common / logger_useful . h > <nl> <nl> # include < DB / Core / Row . h > <nl> # include < DB / Core / ColumnNumbers . h > <nl> mmm a / dbms / include / DB / DataStreams / CollapsingFinalBlockInputStream . h <nl> ppp b / dbms / include / DB / DataStreams / CollapsingFinalBlockInputStream . h <nl> <nl> # pragma once <nl> - # include < Yandex / logger_useful . h > <nl> + # include < common / logger_useful . h > <nl> # include < DB / DataStreams / IProfilingBlockInputStream . h > <nl> # include < DB / Core / SortDescription . h > <nl> # include < DB / Columns / ColumnsNumber . h > <nl> mmm a / dbms / include / DB / DataStreams / CollapsingSortedBlockInputStream . h <nl> ppp b / dbms / include / DB / DataStreams / CollapsingSortedBlockInputStream . h <nl> <nl> # pragma once <nl> <nl> - # include < Yandex / logger_useful . h > <nl> + # include < common / logger_useful . h > <nl> <nl> # include < DB / DataStreams / MergingSortedBlockInputStream . h > <nl> <nl> mmm a / dbms / include / DB / DataStreams / MergeSortingBlockInputStream . h <nl> ppp b / dbms / include / DB / DataStreams / MergeSortingBlockInputStream . h <nl> <nl> # include < queue > <nl> # include < Poco / TemporaryFile . h > <nl> <nl> - # include < Yandex / logger_useful . h > <nl> + # include < common / logger_useful . h > <nl> <nl> # include < DB / Core / SortDescription . h > <nl> <nl> mmm a / dbms / include / DB / DataStreams / MergingSortedBlockInputStream . h <nl> ppp b / dbms / include / DB / DataStreams / MergingSortedBlockInputStream . h <nl> <nl> <nl> # include < queue > <nl> <nl> - # include < Yandex / logger_useful . h > <nl> + # include < common / logger_useful . h > <nl> <nl> # include < DB / Core / Row . h > <nl> # include < DB / Core / SortDescription . h > <nl> mmm a / dbms / include / DB / DataStreams / ParallelInputsProcessor . h <nl> ppp b / dbms / include / DB / DataStreams / ParallelInputsProcessor . h <nl> <nl> # include < thread > <nl> # include < mutex > <nl> <nl> - # include < Yandex / logger_useful . h > <nl> + # include < common / logger_useful . h > <nl> <nl> # include < DB / DataStreams / IProfilingBlockInputStream . h > <nl> # include < DB / Common / setThreadName . h > <nl> mmm a / dbms / include / DB / DataStreams / RemoteBlockInputStream . h <nl> ppp b / dbms / include / DB / DataStreams / RemoteBlockInputStream . h <nl> <nl> # pragma once <nl> <nl> - # include < Yandex / logger_useful . h > <nl> + # include < common / logger_useful . h > <nl> <nl> # include < DB / DataStreams / IProfilingBlockInputStream . h > <nl> # include < DB / DataStreams / OneBlockInputStream . h > <nl> mmm a / dbms / include / DB / DataStreams / RemoteBlockOutputStream . h <nl> ppp b / dbms / include / DB / DataStreams / RemoteBlockOutputStream . h <nl> <nl> # include < DB / DataStreams / IBlockOutputStream . h > <nl> <nl> # include < DB / Client / Connection . h > <nl> - # include < Yandex / logger_useful . h > <nl> + # include < common / logger_useful . h > <nl> <nl> # include < statdaemons / NetException . h > <nl> <nl> mmm a / dbms / include / DB / DataStreams / SummingSortedBlockInputStream . h <nl> ppp b / dbms / include / DB / DataStreams / SummingSortedBlockInputStream . h <nl> <nl> # pragma once <nl> <nl> - # include < Yandex / logger_useful . h > <nl> + # include < common / logger_useful . h > <nl> <nl> # include < DB / Core / Row . h > <nl> # include < DB / Core / ColumnNumbers . h > <nl> mmm a / dbms / include / DB / DataStreams / UnionBlockInputStream . h <nl> ppp b / dbms / include / DB / DataStreams / UnionBlockInputStream . h <nl> <nl> # pragma once <nl> <nl> - # include < Yandex / logger_useful . h > <nl> + # include < common / logger_useful . h > <nl> <nl> # include < DB / Common / ConcurrentBoundedQueue . h > <nl> # include < DB / DataStreams / IProfilingBlockInputStream . h > <nl> mmm a / dbms / include / DB / DataTypes / DataTypeFactory . h <nl> ppp b / dbms / include / DB / DataTypes / DataTypeFactory . h <nl> <nl> <nl> # include < map > <nl> <nl> - # include < Yandex / singleton . h > <nl> + # include < common / singleton . h > <nl> <nl> # include < Poco / RegularExpression . h > <nl> <nl> mmm a / dbms / include / DB / Dictionaries / DictionarySourceFactory . h <nl> ppp b / dbms / include / DB / Dictionaries / DictionarySourceFactory . h <nl> <nl> # include < DB / Dictionaries / MySQLDictionarySource . h > <nl> # include < DB / Dictionaries / ClickHouseDictionarySource . h > <nl> # include < DB / DataTypes / DataTypesNumberFixed . h > <nl> - # include < Yandex / singleton . h > <nl> + # include < common / singleton . h > <nl> # include < memory > <nl> <nl> namespace DB <nl> mmm a / dbms / include / DB / Functions / FunctionFactory . h <nl> ppp b / dbms / include / DB / Functions / FunctionFactory . h <nl> <nl> # pragma once <nl> <nl> # include < DB / Functions / IFunction . h > <nl> - # include < Yandex / singleton . h > <nl> + # include < common / singleton . h > <nl> <nl> <nl> namespace DB <nl> mmm a / dbms / include / DB / Functions / FunctionsMiscellaneous . h <nl> ppp b / dbms / include / DB / Functions / FunctionsMiscellaneous . h <nl> <nl> # pragma once <nl> <nl> # include < Poco / Net / DNS . h > <nl> - # include < Yandex / Revision . h > <nl> + # include < common / Revision . h > <nl> <nl> # include < DB / Core / Defines . h > <nl> # include < DB / IO / WriteBufferFromString . h > <nl> mmm a / dbms / include / DB / IO / ReadBufferFromHTTP . h <nl> ppp b / dbms / include / DB / IO / ReadBufferFromHTTP . h <nl> <nl> # include < DB / IO / ReadBuffer . h > <nl> # include < DB / IO / ReadBufferFromIStream . h > <nl> <nl> - # include < Yandex / logger_useful . h > <nl> + # include < common / logger_useful . h > <nl> <nl> # define DEFAULT_HTTP_READ_BUFFER_TIMEOUT 1800 <nl> # define DEFAULT_HTTP_READ_BUFFER_CONNECTION_TIMEOUT 1 <nl> mmm a / dbms / include / DB / IO / ReadHelpers . h <nl> ppp b / dbms / include / DB / IO / ReadHelpers . h <nl> <nl> <nl> # include < type_traits > <nl> <nl> - # include < Yandex / Common . h > <nl> - # include < Yandex / DateLUT . h > <nl> + # include < common / Common . h > <nl> + # include < common / DateLUT . h > <nl> <nl> # include < mysqlxx / Date . h > <nl> # include < mysqlxx / DateTime . h > <nl> mmm a / dbms / include / DB / IO / RemoteWriteBuffer . h <nl> ppp b / dbms / include / DB / IO / RemoteWriteBuffer . h <nl> <nl> # include < DB / IO / WriteBufferFromOStream . h > <nl> # include < DB / IO / HashingWriteBuffer . h > <nl> <nl> - # include < Yandex / logger_useful . h > <nl> + # include < common / logger_useful . h > <nl> <nl> # define DEFAULT_REMOTE_WRITE_BUFFER_CONNECTION_TIMEOUT 1 <nl> # define DEFAULT_REMOTE_WRITE_BUFFER_RECEIVE_TIMEOUT 1800 <nl> mmm a / dbms / include / DB / IO / WriteHelpers . h <nl> ppp b / dbms / include / DB / IO / WriteHelpers . h <nl> <nl> # include < limits > <nl> # include < algorithm > <nl> <nl> - # include < Yandex / Common . h > <nl> - # include < Yandex / DateLUT . h > <nl> + # include < common / Common . h > <nl> + # include < common / DateLUT . h > <nl> <nl> # include < mysqlxx / Row . h > <nl> # include < mysqlxx / Null . h > <nl> mmm a / dbms / include / DB / IO / WriteIntText . h <nl> ppp b / dbms / include / DB / IO / WriteIntText . h <nl> <nl> # include < boost / type_traits . hpp > <nl> # include < boost / utility / enable_if . hpp > <nl> <nl> - # include < Yandex / likely . h > <nl> + # include < common / likely . h > <nl> <nl> # include < DB / Core / Types . h > <nl> # include < DB / IO / WriteBuffer . h > <nl> mmm a / dbms / include / DB / Interpreters / Aggregator . h <nl> ppp b / dbms / include / DB / Interpreters / Aggregator . h <nl> <nl> # include < memory > <nl> # include < functional > <nl> <nl> - # include < Yandex / logger_useful . h > <nl> + # include < common / logger_useful . h > <nl> # include < statdaemons / threadpool . hpp > <nl> <nl> # include < DB / Core / StringRef . h > <nl> mmm a / dbms / include / DB / Interpreters / Compiler . h <nl> ppp b / dbms / include / DB / Interpreters / Compiler . h <nl> <nl> # include < unordered_set > <nl> # include < unordered_map > <nl> <nl> - # include < Yandex / logger_useful . h > <nl> + # include < common / logger_useful . h > <nl> # include < statdaemons / threadpool . hpp > <nl> <nl> # include < DB / Core / Types . h > <nl> mmm a / dbms / include / DB / Interpreters / Dictionaries . h <nl> ppp b / dbms / include / DB / Interpreters / Dictionaries . h <nl> <nl> # pragma once <nl> <nl> # include < thread > <nl> - # include < Yandex / MultiVersion . h > <nl> - # include < Yandex / logger_useful . h > <nl> + # include < common / MultiVersion . h > <nl> + # include < common / logger_useful . h > <nl> # include < statdaemons / RegionsHierarchies . h > <nl> # include < statdaemons / TechDataHierarchy . h > <nl> # include < statdaemons / RegionsNames . h > <nl> mmm a / dbms / include / DB / Interpreters / ExternalDictionaries . h <nl> ppp b / dbms / include / DB / Interpreters / ExternalDictionaries . h <nl> <nl> # include < DB / Core / Exception . h > <nl> # include < DB / Core / ErrorCodes . h > <nl> # include < DB / Common / setThreadName . h > <nl> - # include < Yandex / MultiVersion . h > <nl> - # include < Yandex / logger_useful . h > <nl> + # include < common / MultiVersion . h > <nl> + # include < common / logger_useful . h > <nl> # include < Poco / Event . h > <nl> # include < unistd . h > <nl> # include < time . h > <nl> mmm a / dbms / include / DB / Interpreters / Join . h <nl> ppp b / dbms / include / DB / Interpreters / Join . h <nl> <nl> # pragma once <nl> <nl> - # include < Yandex / logger_useful . h > <nl> + # include < common / logger_useful . h > <nl> <nl> # include < DB / Parsers / ASTJoin . h > <nl> <nl> mmm a / dbms / include / DB / Interpreters / LogicalExpressionsOptimizer . h <nl> ppp b / dbms / include / DB / Interpreters / LogicalExpressionsOptimizer . h <nl> class LogicalExpressionsOptimizer final <nl> / * * Заменить все довольно длинные однородные OR - цепочки expr = x1 OR . . . OR expr = xN <nl> * на выражения expr IN ( x1 , . . . , xN ) . <nl> * / <nl> - void optimizeDisjunctiveEqualityChains ( ) ; <nl> + void perform ( ) ; <nl> <nl> LogicalExpressionsOptimizer ( const LogicalExpressionsOptimizer & ) = delete ; <nl> LogicalExpressionsOptimizer & operator = ( const LogicalExpressionsOptimizer & ) = delete ; <nl> class LogicalExpressionsOptimizer final <nl> private : <nl> ASTSelectQuery * select_query ; <nl> const Settings & settings ; <nl> - bool hasOptimizedDisjunctiveEqualityChains = false ; <nl> / / / Информация про OR - цепочки внутри запроса . <nl> DisjunctiveEqualityChainsMap disjunctive_equality_chains_map ; <nl> / / / Количество обработанных OR - цепочек . <nl> mmm a / dbms / include / DB / Interpreters / Quota . h <nl> ppp b / dbms / include / DB / Interpreters / Quota . h <nl> <nl> <nl> # include < Poco / Net / IPAddress . h > <nl> <nl> - # include < Yandex / Common . h > <nl> + # include < common / Common . h > <nl> <nl> # include < DB / Core / Types . h > <nl> # include < DB / Core / Exception . h > <nl> mmm a / dbms / include / DB / Interpreters / Set . h <nl> ppp b / dbms / include / DB / Interpreters / Set . h <nl> <nl> <nl> # include < set > <nl> <nl> - # include < Yandex / logger_useful . h > <nl> + # include < common / logger_useful . h > <nl> <nl> # include < DB / Core / ColumnNumbers . h > <nl> # include < DB / Common / Arena . h > <nl> mmm a / dbms / include / DB / Interpreters / Users . h <nl> ppp b / dbms / include / DB / Interpreters / Users . h <nl> <nl> <nl> # include < openssl / sha . h > <nl> <nl> - # include < Yandex / logger_useful . h > <nl> + # include < common / logger_useful . h > <nl> <nl> <nl> namespace DB <nl> mmm a / dbms / include / DB / Parsers / IAST . h <nl> ppp b / dbms / include / DB / Parsers / IAST . h <nl> <nl> <nl> # include < Poco / SharedPtr . h > <nl> <nl> - # include < Yandex / Common . h > <nl> + # include < common / Common . h > <nl> <nl> # include < DB / Core / Types . h > <nl> # include < DB / Core / Exception . h > <nl> mmm a / dbms / include / DB / Storages / Distributed / DistributedBlockOutputStream . h <nl> ppp b / dbms / include / DB / Storages / Distributed / DistributedBlockOutputStream . h <nl> <nl> <nl> # include < statdaemons / Increment . h > <nl> # include < memory > <nl> - # include < Yandex / Revision . h > <nl> + # include < common / Revision . h > <nl> <nl> # include < iostream > <nl> # include < type_traits > <nl> mmm a / dbms / include / DB / Storages / IStorage . h <nl> ppp b / dbms / include / DB / Storages / IStorage . h <nl> <nl> # pragma once <nl> <nl> - # include < Yandex / logger_useful . h > <nl> + # include < common / logger_useful . h > <nl> <nl> # include < DB / Core / Defines . h > <nl> # include < DB / Core / Names . h > <nl> mmm a / dbms / include / DB / Storages / MergeTree / ActiveDataPartSet . h <nl> ppp b / dbms / include / DB / Storages / MergeTree / ActiveDataPartSet . h <nl> <nl> # pragma once <nl> # include < Poco / Mutex . h > <nl> # include < Poco / RegularExpression . h > <nl> - # include < Yandex / DateLUT . h > <nl> + # include < common / DateLUT . h > <nl> # include < DB / Core / Types . h > <nl> # include < set > <nl> <nl> mmm a / dbms / include / DB / Storages / MergeTree / DiskSpaceMonitor . h <nl> ppp b / dbms / include / DB / Storages / MergeTree / DiskSpaceMonitor . h <nl> <nl> # include < Poco / Mutex . h > <nl> # include < sys / statvfs . h > <nl> # include < boost / noncopyable . hpp > <nl> - # include < Yandex / logger_useful . h > <nl> + # include < common / logger_useful . h > <nl> # include < DB / Core / Exception . h > <nl> # include < DB / Core / ErrorCodes . h > <nl> # include < DB / IO / WriteHelpers . h > <nl> mmm a / dbms / include / DB / Storages / MergeTree / ReplicatedMergeTreeCleanupThread . h <nl> ppp b / dbms / include / DB / Storages / MergeTree / ReplicatedMergeTreeCleanupThread . h <nl> <nl> # pragma once <nl> <nl> - # include < Yandex / logger_useful . h > <nl> + # include < common / logger_useful . h > <nl> # include < thread > <nl> <nl> <nl> mmm a / dbms / include / DB / Storages / MergeTree / ReplicatedMergeTreeRestartingThread . h <nl> ppp b / dbms / include / DB / Storages / MergeTree / ReplicatedMergeTreeRestartingThread . h <nl> <nl> # pragma once <nl> <nl> # include < Poco / Event . h > <nl> - # include < Yandex / logger_useful . h > <nl> + # include < common / logger_useful . h > <nl> # include < DB / Core / Types . h > <nl> # include < thread > <nl> <nl> mmm a / dbms / include / DB / Storages / StorageFactory . h <nl> ppp b / dbms / include / DB / Storages / StorageFactory . h <nl> <nl> # pragma once <nl> <nl> # include < DB / Storages / IStorage . h > <nl> - # include < Yandex / singleton . h > <nl> + # include < common / singleton . h > <nl> <nl> <nl> namespace DB <nl> mmm a / dbms / src / Client / Client . cpp <nl> ppp b / dbms / src / Client / Client . cpp <nl> <nl> # include < Poco / SharedPtr . h > <nl> # include < Poco / Util / Application . h > <nl> <nl> - # include < Yandex / Revision . h > <nl> + # include < common / Revision . h > <nl> <nl> # include < statdaemons / Stopwatch . h > <nl> <nl> mmm a / dbms / src / Client / Connection . cpp <nl> ppp b / dbms / src / Client / Connection . cpp <nl> <nl> <nl> # include < Poco / Net / NetException . h > <nl> <nl> - # include < Yandex / Revision . h > <nl> + # include < common / Revision . h > <nl> <nl> # include < DB / Core / Defines . h > <nl> # include < DB / Core / Exception . h > <nl> mmm a / dbms / src / Client / ParallelReplicas . cpp <nl> ppp b / dbms / src / Client / ParallelReplicas . cpp <nl> void ParallelReplicas : : registerReplica ( Connection * connection ) <nl> if ( ! res . second ) <nl> throw Exception ( " Invalid set of connections . " , ErrorCodes : : LOGICAL_ERROR ) ; <nl> <nl> - if ( throttler ) <nl> - connection - > setThrottler ( throttler ) ; <nl> + connection - > setThrottler ( throttler ) ; <nl> } <nl> <nl> Connection : : Packet ParallelReplicas : : receivePacketUnlocked ( ) <nl> new file mode 100644 <nl> index 00000000000 . . 48ef272f460 <nl> mmm / dev / null <nl> ppp b / dbms / src / Common / FileChecker . cpp <nl> <nl> + # include < common / JSON . h > <nl> + # include < Poco / Path . h > <nl> + # include < DB / IO / WriteBufferFromFile . h > <nl> + # include < DB / IO / WriteBufferFromString . h > <nl> + # include < DB / IO / ReadBufferFromFile . h > <nl> + # include < DB / IO / copyData . h > <nl> + # include < DB / Common / escapeForFileName . h > <nl> + <nl> + # include < DB / Common / FileChecker . h > <nl> + <nl> + <nl> + namespace DB <nl> + { <nl> + <nl> + <nl> + FileChecker : : FileChecker ( const std : : string & file_info_path_ ) : <nl> + files_info_path ( file_info_path_ ) <nl> + { <nl> + Poco : : Path path ( files_info_path ) ; <nl> + tmp_files_info_path = path . parent ( ) . toString ( ) + " tmp_ " + path . getFileName ( ) ; <nl> + } <nl> + <nl> + void FileChecker : : setPath ( const std : : string & file_info_path_ ) <nl> + { <nl> + files_info_path = file_info_path_ ; <nl> + } <nl> + <nl> + void FileChecker : : update ( const Poco : : File & file ) <nl> + { <nl> + initialize ( ) ; <nl> + updateImpl ( file ) ; <nl> + save ( ) ; <nl> + } <nl> + <nl> + void FileChecker : : update ( const Files : : const_iterator & begin , const Files : : const_iterator & end ) <nl> + { <nl> + initialize ( ) ; <nl> + for ( auto it = begin ; it ! = end ; + + it ) <nl> + updateImpl ( * it ) ; <nl> + save ( ) ; <nl> + } <nl> + <nl> + bool FileChecker : : check ( ) const <nl> + { <nl> + / * * Читаем файлы заново при каждом вызове check - чтобы не нарушать константность . <nl> + * Метод check вызывается редко . <nl> + * / <nl> + Map local_map ; <nl> + load ( local_map ) ; <nl> + <nl> + if ( local_map . empty ( ) ) <nl> + return true ; <nl> + <nl> + for ( const auto & name_size : local_map ) <nl> + { <nl> + Poco : : File file ( Poco : : Path ( files_info_path ) . parent ( ) . toString ( ) + " / " + name_size . first ) ; <nl> + if ( ! file . exists ( ) ) <nl> + { <nl> + LOG_ERROR ( log , " File " < < file . path ( ) < < " doesn ' t exist " ) ; <nl> + return false ; <nl> + } <nl> + <nl> + size_t real_size = file . getSize ( ) ; <nl> + if ( real_size ! = name_size . second ) <nl> + { <nl> + LOG_ERROR ( log , " Size of " < < file . path ( ) < < " is wrong . Size is " < < real_size < < " but should be " < < name_size . second ) ; <nl> + return false ; <nl> + } <nl> + } <nl> + <nl> + return true ; <nl> + } <nl> + <nl> + void FileChecker : : initialize ( ) <nl> + { <nl> + if ( initialized ) <nl> + return ; <nl> + <nl> + load ( map ) ; <nl> + initialized = true ; <nl> + } <nl> + <nl> + void FileChecker : : updateImpl ( const Poco : : File & file ) <nl> + { <nl> + map [ Poco : : Path ( file . path ( ) ) . getFileName ( ) ] = file . getSize ( ) ; <nl> + } <nl> + <nl> + void FileChecker : : save ( ) const <nl> + { <nl> + { <nl> + WriteBufferFromFile out ( tmp_files_info_path ) ; <nl> + <nl> + / / / Столь сложная структура JSON - а - для совместимости со старым форматом . <nl> + writeCString ( " { \ " yandex \ " : { " , out ) ; <nl> + <nl> + for ( auto it = map . begin ( ) ; it ! = map . end ( ) ; + + it ) <nl> + { <nl> + if ( it ! = map . begin ( ) ) <nl> + writeString ( " , " , out ) ; <nl> + <nl> + / / / escapeForFileName на самом деле не нужен . Но он оставлен для совместимости со старым кодом . <nl> + writeJSONString ( escapeForFileName ( it - > first ) , out ) ; <nl> + writeString ( " : { \ " size \ " : \ " " , out ) ; <nl> + writeIntText ( it - > second , out ) ; <nl> + writeString ( " \ " } " , out ) ; <nl> + } <nl> + <nl> + writeCString ( " } } " , out ) ; <nl> + out . next ( ) ; <nl> + } <nl> + <nl> + Poco : : File current_file ( files_info_path ) ; <nl> + <nl> + if ( current_file . exists ( ) ) <nl> + { <nl> + std : : string old_file_name = files_info_path + " . old " ; <nl> + current_file . renameTo ( old_file_name ) ; <nl> + Poco : : File ( tmp_files_info_path ) . renameTo ( files_info_path ) ; <nl> + Poco : : File ( old_file_name ) . remove ( ) ; <nl> + } <nl> + else <nl> + Poco : : File ( tmp_files_info_path ) . renameTo ( files_info_path ) ; <nl> + } <nl> + <nl> + void FileChecker : : load ( Map & map ) const <nl> + { <nl> + map . clear ( ) ; <nl> + <nl> + if ( ! Poco : : File ( files_info_path ) . exists ( ) ) <nl> + return ; <nl> + <nl> + std : : string content ; <nl> + { <nl> + ReadBufferFromFile in ( files_info_path ) ; <nl> + WriteBufferFromString out ( content ) ; <nl> + <nl> + / / / Библиотека JSON не поддерживает пробельные символы . Удаляем их . Неэффективно . <nl> + while ( ! in . eof ( ) ) <nl> + { <nl> + char c ; <nl> + readChar ( c , in ) ; <nl> + if ( ! isspace ( c ) ) <nl> + writeChar ( c , out ) ; <nl> + } <nl> + } <nl> + JSON json ( content ) ; <nl> + <nl> + JSON files = json [ " yandex " ] ; <nl> + for ( const auto & name_value : files ) <nl> + map [ unescapeForFileName ( name_value . getName ( ) ) ] = name_value . getValue ( ) [ " size " ] . toUInt ( ) ; <nl> + } <nl> + <nl> + } <nl> mmm a / dbms / src / Common / MemoryTracker . cpp <nl> ppp b / dbms / src / Common / MemoryTracker . cpp <nl> <nl> - # include < Yandex / likely . h > <nl> - # include < Yandex / logger_useful . h > <nl> + # include < common / likely . h > <nl> + # include < common / logger_useful . h > <nl> # include < DB / Core / Exception . h > <nl> # include < DB / Common / formatReadable . h > <nl> # include < DB / IO / WriteHelpers . h > <nl> mmm a / dbms / src / Core / Exception . cpp <nl> ppp b / dbms / src / Core / Exception . cpp <nl> <nl> # include < string . h > <nl> # include < cxxabi . h > <nl> <nl> - # include < Yandex / logger_useful . h > <nl> + # include < common / logger_useful . h > <nl> <nl> # include < DB / IO / WriteHelpers . h > <nl> <nl> mmm a / dbms / src / DataStreams / tests / native_streams . cpp <nl> ppp b / dbms / src / DataStreams / tests / native_streams . cpp <nl> <nl> # include < DB / Storages / StorageLog . h > <nl> <nl> # include < DB / Interpreters / Context . h > <nl> - # include < Yandex / Revision . h > <nl> + # include < common / Revision . h > <nl> <nl> <nl> int main ( int argc , char * * argv ) <nl> mmm a / dbms / src / IO / tests / parse_int_perf . cpp <nl> ppp b / dbms / src / IO / tests / parse_int_perf . cpp <nl> <nl> <nl> # include < boost / type_traits . hpp > <nl> <nl> - # include < Yandex / Common . h > <nl> + # include < common / Common . h > <nl> <nl> # include < DB / IO / ReadHelpers . h > <nl> # include < DB / IO / WriteHelpers . h > <nl> mmm a / dbms / src / Interpreters / Compiler . cpp <nl> ppp b / dbms / src / Interpreters / Compiler . cpp <nl> <nl> # include < stdio . h > <nl> <nl> # include < Poco / DirectoryIterator . h > <nl> - # include < Yandex / Revision . h > <nl> + # include < common / Revision . h > <nl> # include < statdaemons / ext / unlock_guard . hpp > <nl> <nl> # include < DB / Common / SipHash . h > <nl> mmm a / dbms / src / Interpreters / Context . cpp <nl> ppp b / dbms / src / Interpreters / Context . cpp <nl> <nl> # include < Poco / File . h > <nl> # include < Poco / UUIDGenerator . h > <nl> <nl> - # include < Yandex / logger_useful . h > <nl> + # include < common / logger_useful . h > <nl> <nl> # include < DB / Common / Macros . h > <nl> # include < DB / Common / escapeForFileName . h > <nl> mmm a / dbms / src / Interpreters / ExpressionAnalyzer . cpp <nl> ppp b / dbms / src / Interpreters / ExpressionAnalyzer . cpp <nl> void ExpressionAnalyzer : : init ( ) <nl> InJoinSubqueriesPreprocessor < > ( select_query , context , storage ) . perform ( ) ; <nl> <nl> / / / Оптимизирует логические выражения . <nl> - LogicalExpressionsOptimizer ( select_query , settings ) . optimizeDisjunctiveEqualityChains ( ) ; <nl> + LogicalExpressionsOptimizer ( select_query , settings ) . perform ( ) ; <nl> <nl> / / / Добавляет в множество известных алиасов те , которые объявлены в структуре таблицы ( ALIAS - столбцы ) . <nl> addStorageAliases ( ) ; <nl> mmm a / dbms / src / Interpreters / LogicalExpressionsOptimizer . cpp <nl> ppp b / dbms / src / Interpreters / LogicalExpressionsOptimizer . cpp <nl> LogicalExpressionsOptimizer : : LogicalExpressionsOptimizer ( ASTSelectQuery * select <nl> { <nl> } <nl> <nl> - void LogicalExpressionsOptimizer : : optimizeDisjunctiveEqualityChains ( ) <nl> + void LogicalExpressionsOptimizer : : perform ( ) <nl> { <nl> - if ( ( select_query = = nullptr ) | | hasOptimizedDisjunctiveEqualityChains ) <nl> + if ( select_query = = nullptr ) <nl> + return ; <nl> + if ( select_query - > attributes & IAST : : IsVisited ) <nl> return ; <nl> <nl> collectDisjunctiveEqualityChains ( ) ; <nl> void LogicalExpressionsOptimizer : : optimizeDisjunctiveEqualityChains ( ) <nl> cleanupOrExpressions ( ) ; <nl> fixBrokenOrExpressions ( ) ; <nl> } <nl> - <nl> - hasOptimizedDisjunctiveEqualityChains = true ; <nl> } <nl> <nl> void LogicalExpressionsOptimizer : : collectDisjunctiveEqualityChains ( ) <nl> void LogicalExpressionsOptimizer : : collectDisjunctiveEqualityChains ( ) <nl> using Edge = std : : pair < IAST * , IAST * > ; <nl> std : : deque < Edge > to_visit ; <nl> <nl> - to_visit . push_back ( Edge ( nullptr , select_query ) ) ; <nl> + to_visit . emplace_back ( nullptr , select_query ) ; <nl> while ( ! to_visit . empty ( ) ) <nl> { <nl> auto edge = to_visit . back ( ) ; <nl> void LogicalExpressionsOptimizer : : collectDisjunctiveEqualityChains ( ) <nl> auto to_node = edge . second ; <nl> <nl> to_visit . pop_back ( ) ; <nl> - to_node - > attributes | = IAST : : IsVisited ; <nl> <nl> bool found_chain = false ; <nl> <nl> void LogicalExpressionsOptimizer : : collectDisjunctiveEqualityChains ( ) <nl> } <nl> } <nl> <nl> + to_node - > attributes | = IAST : : IsVisited ; <nl> + <nl> if ( found_chain ) <nl> { <nl> if ( from_node ! = nullptr ) <nl> void LogicalExpressionsOptimizer : : addInExpression ( const DisjunctiveEqualityChain <nl> value_list - > children . push_back ( operands [ 1 ] ) ; <nl> } <nl> <nl> + / / / Отсортировать литералы . <nl> + std : : sort ( value_list - > children . begin ( ) , value_list - > children . end ( ) , [ ] ( const DB : : ASTPtr & lhs , const DB : : ASTPtr & rhs ) <nl> + { <nl> + const auto val_lhs = static_cast < const ASTLiteral * > ( & * lhs ) ; <nl> + const auto val_rhs = static_cast < const ASTLiteral * > ( & * rhs ) ; <nl> + return val_lhs - > value < val_rhs - > value ; <nl> + } ) ; <nl> + <nl> / / / Получить выражение expr из цепочки expr = x1 OR . . . OR expr = xN <nl> ASTPtr equals_expr_lhs ; <nl> { <nl> void LogicalExpressionsOptimizer : : cleanupOrExpressions ( ) <nl> <nl> const auto & or_with_expression = chain . first ; <nl> auto & operands = getFunctionOperands ( or_with_expression . or_function ) ; <nl> - garbage_map . insert ( std : : make_pair ( or_with_expression . or_function , operands . end ( ) ) ) ; <nl> + garbage_map . emplace ( or_with_expression . or_function , operands . end ( ) ) ; <nl> } <nl> <nl> / / / Собрать мусор . <nl> mmm a / dbms / src / Interpreters / Quota . cpp <nl> ppp b / dbms / src / Interpreters / Quota . cpp <nl> <nl> # include < iomanip > <nl> <nl> - # include < Yandex / logger_useful . h > <nl> + # include < common / logger_useful . h > <nl> <nl> # include < DB / Common / SipHash . h > <nl> # include < DB / IO / ReadHelpers . h > <nl> mmm a / dbms / src / Interpreters / loadMetadata . cpp <nl> ppp b / dbms / src / Interpreters / loadMetadata . cpp <nl> static void executeCreateQuery ( const String & query , Context & context , const St <nl> } <nl> <nl> <nl> + struct Table <nl> + { <nl> + String database_name ; <nl> + String dir_name ; <nl> + String file_name ; <nl> + } ; <nl> + <nl> + <nl> + static constexpr size_t MIN_TABLES_TO_PARALLEL_LOAD = 1 ; <nl> + static constexpr size_t PRINT_MESSAGE_EACH_N_TABLES = 256 ; <nl> + static constexpr size_t PRINT_MESSAGE_EACH_N_SECONDS = 5 ; <nl> + static constexpr size_t METADATA_FILE_BUFFER_SIZE = 32768 ; <nl> + static constexpr size_t TABLES_PARALLEL_LOAD_BUNCH_SIZE = 100 ; <nl> + <nl> + <nl> + static void loadTable ( Context & context , const String & path , const Table & table ) <nl> + { <nl> + Logger * log = & Logger : : get ( " loadTable " ) ; <nl> + <nl> + const String path_to_metadata = path + " / " + table . dir_name + " / " + table . file_name ; <nl> + <nl> + String s ; <nl> + { <nl> + char in_buf [ METADATA_FILE_BUFFER_SIZE ] ; <nl> + ReadBufferFromFile in ( path_to_metadata , METADATA_FILE_BUFFER_SIZE , - 1 , in_buf ) ; <nl> + WriteBufferFromString out ( s ) ; <nl> + copyData ( in , out ) ; <nl> + } <nl> + <nl> + / * * Пустые файлы с метаданными образуются после грубого перезапуска сервера . <nl> + * Удаляем эти файлы , чтобы чуть - чуть уменьшить работу админов по запуску . <nl> + * / <nl> + if ( s . empty ( ) ) <nl> + { <nl> + LOG_ERROR ( log , " File " < < path_to_metadata < < " is empty . Removing . " ) ; <nl> + Poco : : File ( path_to_metadata ) . remove ( ) ; <nl> + return ; <nl> + } <nl> + <nl> + try <nl> + { <nl> + executeCreateQuery ( s , context , table . database_name , path_to_metadata ) ; <nl> + } <nl> + catch ( const Exception & e ) <nl> + { <nl> + throw Exception ( " Cannot create table from metadata file " + path_to_metadata + " , error : " + e . displayText ( ) + <nl> + " , stack trace : \ n " + e . getStackTrace ( ) . toString ( ) , <nl> + ErrorCodes : : CANNOT_CREATE_TABLE_FROM_METADATA ) ; <nl> + } <nl> + } <nl> + <nl> + <nl> void loadMetadata ( Context & context ) <nl> { <nl> Logger * log = & Logger : : get ( " loadMetadata " ) ; <nl> void loadMetadata ( Context & context ) <nl> / / / Здесь хранятся определения таблиц <nl> String path = context . getPath ( ) + " metadata " ; <nl> <nl> - struct Table <nl> - { <nl> - String database_name ; <nl> - String dir_name ; <nl> - String file_name ; <nl> - } ; <nl> - <nl> using Tables = std : : vector < Table > ; <nl> Tables tables ; <nl> <nl> + / * * Часть таблиц должны быть загружены раньше других , так как используются в конструкторе этих других . <nl> + * Это таблицы , имя которых начинается на . inner . <nl> + * NOTE Это довольно криво . Можно сделать лучше . <nl> + * / <nl> + Tables tables_to_load_first ; <nl> + <nl> / / / Цикл по базам данных <nl> Poco : : DirectoryIterator dir_end ; <nl> for ( Poco : : DirectoryIterator it ( path ) ; it ! = dir_end ; + + it ) <nl> void loadMetadata ( Context & context ) <nl> std : : sort ( file_names . begin ( ) , file_names . end ( ) ) ; <nl> <nl> for ( const auto & name : file_names ) <nl> - tables . emplace_back ( Table { <nl> - . database_name = database , <nl> - . dir_name = it . name ( ) , <nl> - . file_name = name } ) ; <nl> + { <nl> + ( 0 = = name . compare ( 0 , strlen ( " % 2Einner % 2E " ) , " % 2Einner % 2E " ) <nl> + ? tables_to_load_first <nl> + : tables ) . emplace_back ( <nl> + Table { <nl> + . database_name = database , <nl> + . dir_name = it . name ( ) , <nl> + . file_name = name } ) ; <nl> + } <nl> <nl> LOG_INFO ( log , " Found " < < file_names . size ( ) < < " tables . " ) ; <nl> } <nl> <nl> + if ( ! tables_to_load_first . empty ( ) ) <nl> + { <nl> + LOG_INFO ( log , " Loading inner tables for materialized views ( total " < < tables_to_load_first . size ( ) < < " tables ) . " ) ; <nl> + <nl> + for ( const auto & table : tables_to_load_first ) <nl> + loadTable ( context , path , table ) ; <nl> + } <nl> + <nl> size_t total_tables = tables . size ( ) ; <nl> LOG_INFO ( log , " Total " < < total_tables < < " tables . " ) ; <nl> <nl> StopwatchWithLock watch ; <nl> size_t tables_processed = 0 ; <nl> <nl> - static constexpr size_t MIN_TABLES_TO_PARALLEL_LOAD = 1 ; <nl> - static constexpr size_t PRINT_MESSAGE_EACH_N_TABLES = 256 ; <nl> - static constexpr size_t PRINT_MESSAGE_EACH_N_SECONDS = 5 ; <nl> - static constexpr size_t METADATA_FILE_BUFFER_SIZE = 32768 ; <nl> - static constexpr size_t TABLES_PARALLEL_LOAD_BUNCH_SIZE = 100 ; <nl> - <nl> size_t num_threads = std : : min ( total_tables , SettingMaxThreads ( ) . getAutoValue ( ) ) ; <nl> <nl> std : : unique_ptr < boost : : threadpool : : pool > thread_pool ; <nl> void loadMetadata ( Context & context ) <nl> for ( Tables : : const_iterator it = begin ; it ! = end ; + + it ) <nl> { <nl> const Table & table = * it ; <nl> - const String path_to_metadata = path + " / " + table . dir_name + " / " + table . file_name ; <nl> <nl> / / / Сообщения , чтобы было не скучно ждать , когда сервер долго загружается . <nl> if ( __sync_add_and_fetch ( & tables_processed , 1 ) % PRINT_MESSAGE_EACH_N_TABLES = = 0 <nl> void loadMetadata ( Context & context ) <nl> watch . restart ( ) ; <nl> } <nl> <nl> - String s ; <nl> - { <nl> - char in_buf [ METADATA_FILE_BUFFER_SIZE ] ; <nl> - ReadBufferFromFile in ( path_to_metadata , METADATA_FILE_BUFFER_SIZE , - 1 , in_buf ) ; <nl> - WriteBufferFromString out ( s ) ; <nl> - copyData ( in , out ) ; <nl> - } <nl> - <nl> - / * * Пустые файлы с метаданными образуются после грубого перезапуска сервера . <nl> - * Удаляем эти файлы , чтобы чуть - чуть уменьшить работу админов по запуску . <nl> - * / <nl> - if ( s . empty ( ) ) <nl> - { <nl> - LOG_ERROR ( log , " File " < < path_to_metadata < < " is empty . Removing . " ) ; <nl> - Poco : : File ( path_to_metadata ) . remove ( ) ; <nl> - continue ; <nl> - } <nl> - <nl> - try <nl> - { <nl> - executeCreateQuery ( s , context , table . database_name , path_to_metadata ) ; <nl> - } <nl> - catch ( const Exception & e ) <nl> - { <nl> - throw Exception ( " Cannot create table from metadata file " + path_to_metadata + " , error : " + e . displayText ( ) + <nl> - " , stack trace : \ n " + e . getStackTrace ( ) . toString ( ) , <nl> - ErrorCodes : : CANNOT_CREATE_TABLE_FROM_METADATA ) ; <nl> - } <nl> + loadTable ( context , path , table ) ; <nl> } <nl> } ; <nl> <nl> mmm a / dbms / src / Interpreters / tests / logical_expressions_optimizer . cpp <nl> ppp b / dbms / src / Interpreters / tests / logical_expressions_optimizer . cpp <nl> TestResult check ( const TestEntry & entry ) <nl> settings . optimize_min_equality_disjunction_chain_length = entry . limit ; <nl> <nl> DB : : LogicalExpressionsOptimizer optimizer ( select_query , settings ) ; <nl> - optimizer . optimizeDisjunctiveEqualityChains ( ) ; <nl> + optimizer . perform ( ) ; <nl> <nl> / / / Парсить ожидаемый результат . <nl> DB : : ASTPtr ast_expected ; <nl> mmm a / dbms / src / Server / OLAPAttributesMetadata . h <nl> ppp b / dbms / src / Server / OLAPAttributesMetadata . h <nl> <nl> <nl> # include < DB / IO / WriteHelpers . h > <nl> <nl> - # include < Yandex / DateLUT . h > <nl> + # include < common / DateLUT . h > <nl> # include < strconvert / hash64 . h > <nl> # include < statdaemons / RegionsHierarchy . h > <nl> # include < statdaemons / TechDataHierarchy . h > <nl> mmm a / dbms / src / Server / OLAPQueryParser . cpp <nl> ppp b / dbms / src / Server / OLAPQueryParser . cpp <nl> <nl> - # include < Yandex / DateLUT . h > <nl> + # include < common / DateLUT . h > <nl> # include < Poco / DateTimeParser . h > <nl> # include < Poco / AutoPtr . h > <nl> <nl> mmm a / dbms / src / Server / OLAPQueryParser . h <nl> ppp b / dbms / src / Server / OLAPQueryParser . h <nl> <nl> # include < Poco / RegularExpression . h > <nl> # include < Poco / AutoPtr . h > <nl> <nl> - # include < Yandex / logger_useful . h > <nl> - # include < Yandex / Common . h > <nl> + # include < common / logger_useful . h > <nl> + # include < common / Common . h > <nl> <nl> namespace DB <nl> { <nl> mmm a / dbms / src / Server / Server . cpp <nl> ppp b / dbms / src / Server / Server . cpp <nl> <nl> # include < Poco / Net / DNS . h > <nl> # include < Poco / Util / XMLConfiguration . h > <nl> <nl> - # include < Yandex / ApplicationServerExt . h > <nl> - # include < Yandex / ErrorHandlers . h > <nl> - # include < Yandex / Revision . h > <nl> + # include < common / ApplicationServerExt . h > <nl> + # include < common / ErrorHandlers . h > <nl> + # include < common / Revision . h > <nl> <nl> # include < statdaemons / ConfigProcessor . h > <nl> # include < statdaemons / ext / scope_guard . hpp > <nl> mmm a / dbms / src / Server / Server . h <nl> ppp b / dbms / src / Server / Server . h <nl> <nl> # include < Poco / Net / TCPServerConnectionFactory . h > <nl> # include < Poco / Net / TCPServerConnection . h > <nl> <nl> - # include < Yandex / logger_useful . h > <nl> + # include < common / logger_useful . h > <nl> # include < statdaemons / daemon . h > <nl> # include < statdaemons / HTMLForm . h > <nl> <nl> mmm a / dbms / src / Server / TCPHandler . cpp <nl> ppp b / dbms / src / Server / TCPHandler . cpp <nl> <nl> <nl> # include < Poco / Net / NetException . h > <nl> <nl> - # include < Yandex / Revision . h > <nl> + # include < common / Revision . h > <nl> <nl> # include < statdaemons / Stopwatch . h > <nl> <nl> mmm a / dbms / src / Storages / MergeTree / BackgroundProcessingPool . cpp <nl> ppp b / dbms / src / Storages / MergeTree / BackgroundProcessingPool . cpp <nl> <nl> # include < DB / Core / ErrorCodes . h > <nl> # include < DB / Common / setThreadName . h > <nl> # include < DB / IO / WriteHelpers . h > <nl> - # include < Yandex / logger_useful . h > <nl> + # include < common / logger_useful . h > <nl> # include < DB / Storages / MergeTree / BackgroundProcessingPool . h > <nl> <nl> <nl> new file mode 100644 <nl> index 00000000000 . . 5cd87b7390f <nl> mmm / dev / null <nl> ppp b / libs / libcommon / include / common / ApplicationExt . h <nl> <nl> + / * * <nl> + * @ file <nl> + * @ author Sergey N . Yatskevich <nl> + * @ brief YANDEX_APP_MAIN macros <nl> + * / <nl> + / * <nl> + * $ Id $ <nl> + * / <nl> + # ifndef __APPLICATION_EXT_H <nl> + # define __APPLICATION_EXT_H <nl> + <nl> + # include < Poco / TextEncoding . h > <nl> + # include < Poco / Util / Application . h > <nl> + <nl> + # define YANDEX_APP_MAIN ( AppClassName ) \ <nl> + int \ <nl> + main ( int _argc , char * _argv [ ] ) \ <nl> + { \ <nl> + AppClassName app ; \ <nl> + try \ <nl> + { \ <nl> + app . init ( _argc , _argv ) ; \ <nl> + return app . run ( ) ; \ <nl> + } \ <nl> + catch ( const Poco : : Exception & _ex ) \ <nl> + { \ <nl> + app . logger ( ) . log ( _ex ) ; \ <nl> + } \ <nl> + catch ( const std : : exception & _ex ) \ <nl> + { \ <nl> + app . logger ( ) . error ( Poco : : Logger : : format ( " Got exception : $ 0 " , _ex . what ( ) ) ) ; \ <nl> + } \ <nl> + catch ( . . . ) \ <nl> + { \ <nl> + app . logger ( ) . error ( " Unknown exception " ) ; \ <nl> + } \ <nl> + return Poco : : Util : : Application : : EXIT_CONFIG ; \ <nl> + } <nl> + <nl> + # endif <nl> new file mode 100644 <nl> index 00000000000 . . 50a19a48f76 <nl> mmm / dev / null <nl> ppp b / libs / libcommon / include / common / ApplicationServerExt . h <nl> <nl> + # pragma once <nl> + <nl> + # include < iostream > <nl> + # include < Poco / TextEncoding . h > <nl> + # include < Poco / Util / ServerApplication . h > <nl> + <nl> + # define YANDEX_APP_SERVER_MAIN ( AppServerClassName ) \ <nl> + int \ <nl> + main ( int _argc , char * _argv [ ] ) \ <nl> + { \ <nl> + AppServerClassName app ; \ <nl> + try \ <nl> + { \ <nl> + return app . run ( _argc , _argv ) ; \ <nl> + } \ <nl> + catch ( const Poco : : Exception & _ex ) \ <nl> + { \ <nl> + std : : cerr < < " POCO ERROR : " < < _ex . displayText ( ) < < std : : endl ; \ <nl> + app . logger ( ) . log ( _ex ) ; \ <nl> + } \ <nl> + catch ( const std : : exception & _ex ) \ <nl> + { \ <nl> + std : : cerr < < " STD ERROR : " < < _ex . what ( ) < < std : : endl ; \ <nl> + app . logger ( ) . error ( Poco : : Logger : : format ( " Got exception : $ 0 " , _ex . what ( ) ) ) ; \ <nl> + } \ <nl> + catch ( . . . ) \ <nl> + { \ <nl> + std : : cerr < < " UNKNOWN ERROR " < < std : : endl ; \ <nl> + app . logger ( ) . error ( " Unknown exception " ) ; \ <nl> + } \ <nl> + return Poco : : Util : : Application : : EXIT_CONFIG ; \ <nl> + } <nl> new file mode 100644 <nl> index 00000000000 . . 7fc037ea653 <nl> mmm / dev / null <nl> ppp b / libs / libcommon / include / common / Common . h <nl> <nl> + # pragma once <nl> + <nl> + # include < string > <nl> + # include < functional > <nl> + <nl> + # include < Poco / Types . h > <nl> + <nl> + # include < common / strong_typedef . h > <nl> + <nl> + <nl> + typedef Poco : : Int8 Int8 ; <nl> + typedef Poco : : Int16 Int16 ; <nl> + typedef Poco : : Int32 Int32 ; <nl> + typedef Poco : : Int64 Int64 ; <nl> + <nl> + typedef Poco : : UInt8 UInt8 ; <nl> + typedef Poco : : UInt16 UInt16 ; <nl> + typedef Poco : : UInt32 UInt32 ; <nl> + typedef Poco : : UInt64 UInt64 ; <nl> + <nl> + <nl> + / / / Обход проблемы с тем , что KDevelop не видит time_t и size_t ( для подсветки синтаксиса ) . <nl> + # ifdef IN_KDEVELOP_PARSER <nl> + typedef Int64 time_t ; <nl> + typedef UInt64 size_t ; <nl> + # endif <nl> + <nl> + <nl> + / * * Тип данных для хранения идентификатора пользователя . * / <nl> + typedef UInt64 UserID_t ; <nl> + <nl> + / * * Тип данных для хранения идентификатора счетчика . * / <nl> + typedef UInt32 CounterID_t ; <nl> + <nl> + / * * Идентификатор хита * / <nl> + typedef UInt64 WatchID_t ; <nl> + <nl> + / * * Идентификатор визита * / <nl> + STRONG_TYPEDEF ( UInt64 , VisitID_t ) ; <nl> + <nl> + / * * Идентификатор клика * / <nl> + typedef UInt64 ClickID_t ; <nl> + <nl> + / * * Идентификатор цели * / <nl> + typedef UInt32 GoalID_t ; <nl> + <nl> + <nl> + namespace std <nl> + { <nl> + template < > <nl> + struct hash < VisitID_t > : public unary_function < VisitID_t , size_t > <nl> + { <nl> + size_t operator ( ) ( VisitID_t x ) const { return x ; } <nl> + } ; <nl> + } <nl> new file mode 100644 <nl> index 00000000000 . . 24aa467706e <nl> mmm / dev / null <nl> ppp b / libs / libcommon / include / common / DateLUT . h <nl> <nl> + # pragma once <nl> + <nl> + # include < common / DateLUTImpl . h > <nl> + # include < common / singleton . h > <nl> + # include < Poco / Exception . h > <nl> + <nl> + # include < unordered_map > <nl> + # include < vector > <nl> + # include < atomic > <nl> + # include < mutex > <nl> + # include < memory > <nl> + <nl> + / * * Этот класс предоставляет метод для того , чтобы создать объект DateLUTImpl <nl> + * для заданного часового пояса , если он не существует . <nl> + * / <nl> + class DateLUT : public Singleton < DateLUT > <nl> + { <nl> + friend class Singleton < DateLUT > ; <nl> + <nl> + public : <nl> + DateLUT ( const DateLUT & ) = delete ; <nl> + DateLUT & operator = ( const DateLUT & ) = delete ; <nl> + <nl> + / / / Вернуть единственный экземпляр объекта DateLUTImpl для часового пояса по - умолчанию . <nl> + static __attribute__ ( ( __always_inline__ ) ) const DateLUTImpl & instance ( ) <nl> + { <nl> + const auto & date_lut = Singleton < DateLUT > : : instance ( ) ; <nl> + return * date_lut . default_date_lut_impl ; <nl> + } <nl> + <nl> + / / / Вернуть единственный экземпляр объекта DateLUTImpl для заданного часового пояса . <nl> + static __attribute__ ( ( __always_inline__ ) ) const DateLUTImpl & instance ( const std : : string & time_zone ) <nl> + { <nl> + const auto & date_lut = Singleton < DateLUT > : : instance ( ) ; <nl> + return date_lut . get ( time_zone ) ; <nl> + } <nl> + <nl> + public : <nl> + / / / Отображение часового пояса в группу эквивалентных часовый поясов . <nl> + / / / Два часовых пояса эквивалентные , если они обладают одними и теми же свойствами . <nl> + using TimeZoneToGroup = std : : unordered_map < std : : string , size_t > ; <nl> + / / / Хранилище для lookup таблиц DateLUTImpl . <nl> + using DateLUTImplList = std : : vector < std : : atomic < DateLUTImpl * > > ; <nl> + <nl> + protected : <nl> + DateLUT ( ) ; <nl> + <nl> + private : <nl> + __attribute__ ( ( __always_inline__ ) ) const DateLUTImpl & get ( const std : : string & time_zone ) const <nl> + { <nl> + if ( time_zone . empty ( ) ) <nl> + return * default_date_lut_impl ; <nl> + <nl> + auto it = time_zone_to_group . find ( time_zone ) ; <nl> + if ( it = = time_zone_to_group . end ( ) ) <nl> + throw Poco : : Exception ( " Invalid time zone " + time_zone ) ; <nl> + <nl> + const auto & group_id = it - > second ; <nl> + if ( group_id = = default_group_id ) <nl> + return * default_date_lut_impl ; <nl> + <nl> + return getImplementation ( time_zone , group_id ) ; <nl> + } <nl> + <nl> + const DateLUTImpl & getImplementation ( const std : : string & time_zone , size_t group_id ) const ; <nl> + <nl> + private : <nl> + / / / Указатель на реализацию для часового пояса по - умолчанию . <nl> + DateLUTImpl * default_date_lut_impl ; <nl> + / / / Соответствующиая группа часовых поясов по - умолчанию . <nl> + size_t default_group_id ; <nl> + / / / <nl> + TimeZoneToGroup time_zone_to_group ; <nl> + / / / Lookup таблица для каждой группы часовых поясов . <nl> + mutable std : : unique_ptr < DateLUTImplList > date_lut_impl_list ; <nl> + mutable std : : mutex mutex ; <nl> + } ; <nl> new file mode 100644 <nl> index 00000000000 . . d4802203194 <nl> mmm / dev / null <nl> ppp b / libs / libcommon / include / common / DateLUTImpl . h <nl> <nl> + # pragma once <nl> + <nl> + # include < common / Common . h > <nl> + # include < common / singleton . h > <nl> + # include < common / likely . h > <nl> + # include < common / strong_typedef . h > <nl> + <nl> + # include < iostream > <nl> + # include < vector > <nl> + # include < unordered_map > <nl> + # include < ctime > <nl> + <nl> + # define DATE_LUT_MIN 0 <nl> + # define DATE_LUT_MAX ( 0x7FFFFFFF - 86400 ) <nl> + # define DATE_LUT_MAX_DAY_NUM ( 0x7FFFFFFF / 86400 ) <nl> + # define DATE_LUT_MIN_YEAR 1970 <nl> + # define DATE_LUT_MAX_YEAR 2037 / / / Последний полный год <nl> + # define DATE_LUT_YEARS 68 / / / Количество лет в lookup таблице <nl> + <nl> + <nl> + STRONG_TYPEDEF ( UInt16 , DayNum_t ) ; <nl> + <nl> + <nl> + / * * Lookup таблица для преобразования времени в дату , а также в месяц или в год или в день недели или в день месяца . <nl> + * Сейчас она используется для ускорения OLAPServer - а , который делает такие преобразования миллиардами . <nl> + * / <nl> + class DateLUTImpl <nl> + { <nl> + public : <nl> + DateLUTImpl ( const std : : string & time_zone ) ; <nl> + <nl> + public : <nl> + struct Values <nl> + { <nl> + / / / 32 бита из time_t начала дня . <nl> + / / / Знаковость важна , чтобы поддержать начало 1970 - 01 - 01 MSK , которое имело time_t = = - 10800 . <nl> + / / / Измените на time_t , если надо поддержать времена после 2038 года . <nl> + Int32 date ; <nl> + <nl> + UInt16 year ; <nl> + UInt8 month ; <nl> + UInt8 day_of_month ; <nl> + UInt8 day_of_week ; <nl> + } ; <nl> + <nl> + private : <nl> + / / / Сравнительно много данных . То есть , лучше не класть объект на стек . <nl> + / / / По сравнению с std : : vector , на один indirection меньше . <nl> + Values lut [ DATE_LUT_MAX_DAY_NUM + 1 ] ; <nl> + <nl> + / / / lookup таблица начал годов <nl> + DayNum_t years_lut [ DATE_LUT_YEARS ] ; <nl> + <nl> + / / / Смещение от UTC в начале Unix эпохи . <nl> + time_t offset_at_start_of_epoch ; <nl> + <nl> + <nl> + inline size_t findIndex ( time_t t ) const <nl> + { <nl> + / / / первое приближение <nl> + size_t precision = t / 86400 ; <nl> + if ( precision > = DATE_LUT_MAX_DAY_NUM ) <nl> + return 0 ; <nl> + if ( t > = lut [ precision ] . date & & t < lut [ precision + 1 ] . date ) <nl> + return precision ; <nl> + <nl> + for ( size_t i = 1 ; ; + + i ) <nl> + { <nl> + if ( precision + i > = DATE_LUT_MAX_DAY_NUM ) <nl> + return 0 ; <nl> + if ( t > = lut [ precision + i ] . date & & t < lut [ precision + i + 1 ] . date ) <nl> + return precision + i ; <nl> + if ( precision < i ) <nl> + return 0 ; <nl> + if ( t > = lut [ precision - i ] . date & & t < lut [ precision - i + 1 ] . date ) <nl> + return precision - i ; <nl> + } <nl> + } <nl> + <nl> + inline const Values & find ( time_t t ) const <nl> + { <nl> + return lut [ findIndex ( t ) ] ; <nl> + } <nl> + <nl> + static inline DayNum_t fixDay ( DayNum_t day ) <nl> + { <nl> + return day > DATE_LUT_MAX_DAY_NUM ? static_cast < DayNum_t > ( 0 ) : day ; <nl> + } <nl> + <nl> + public : <nl> + / / / всё ниже thread - safe ; корректность входных данных не проверяется <nl> + <nl> + inline time_t toDate ( time_t t ) const { return find ( t ) . date ; } <nl> + inline unsigned toMonth ( time_t t ) const { return find ( t ) . month ; } <nl> + inline unsigned toYear ( time_t t ) const { return find ( t ) . year ; } <nl> + inline unsigned toDayOfWeek ( time_t t ) const { return find ( t ) . day_of_week ; } <nl> + inline unsigned toDayOfMonth ( time_t t ) const { return find ( t ) . day_of_month ; } <nl> + <nl> + / / / номер недели , начиная с какой - то недели в прошлом ; неделя начинается с понедельника <nl> + / / / ( переводим к понедельнику и делим DayNum на 7 ; будем исходить из допущения , <nl> + / / / что в области применения этой функции не было и не будет недель , состоящих не из семи дней ) <nl> + inline unsigned toRelativeWeekNum ( DayNum_t d ) const <nl> + { <nl> + return ( d - ( lut [ d ] . day_of_week - 1 ) ) / 7 ; <nl> + } <nl> + <nl> + inline unsigned toRelativeWeekNum ( time_t t ) const <nl> + { <nl> + size_t index = findIndex ( t ) ; <nl> + return ( index - ( lut [ index ] . day_of_week - 1 ) ) / 7 ; <nl> + } <nl> + <nl> + / / / номер месяца , начиная с какого - то месяца в прошлом ( год * 12 + номер месяца в году ) <nl> + inline unsigned toRelativeMonthNum ( DayNum_t d ) const <nl> + { <nl> + return lut [ d ] . year * 12 + lut [ d ] . month ; <nl> + } <nl> + <nl> + inline unsigned toRelativeMonthNum ( time_t t ) const <nl> + { <nl> + size_t index = findIndex ( t ) ; <nl> + return lut [ index ] . year * 12 + lut [ index ] . month ; <nl> + } <nl> + <nl> + / / / делим unix timestamp на 3600 ; <nl> + / / / ( таким образом , учитываются прошедшие интервалы времени длительностью в час , не зависимо от перевода стрелок ; <nl> + / / / поддерживаются только часовые пояса , в которых перевод стрелок осуществлялся только на целое число часов ) <nl> + inline time_t toRelativeHourNum ( time_t t ) const <nl> + { <nl> + return t / 3600 ; <nl> + } <nl> + <nl> + / / / делим unix timestamp на 60 <nl> + inline time_t toRelativeMinuteNum ( time_t t ) const <nl> + { <nl> + return t / 60 ; <nl> + } <nl> + <nl> + / / / округление вниз до понедельника <nl> + inline time_t toFirstDayOfWeek ( time_t t ) const <nl> + { <nl> + size_t index = findIndex ( t ) ; <nl> + return lut [ index - ( lut [ index ] . day_of_week - 1 ) ] . date ; <nl> + } <nl> + <nl> + inline DayNum_t toFirstDayNumOfWeek ( DayNum_t d ) const <nl> + { <nl> + return DayNum_t ( d - ( lut [ d ] . day_of_week - 1 ) ) ; <nl> + } <nl> + <nl> + inline DayNum_t toFirstDayNumOfWeek ( time_t t ) const <nl> + { <nl> + size_t index = findIndex ( t ) ; <nl> + return DayNum_t ( index - ( lut [ index ] . day_of_week - 1 ) ) ; <nl> + } <nl> + <nl> + / / / округление вниз до первого числа месяца <nl> + inline time_t toFirstDayOfMonth ( time_t t ) const <nl> + { <nl> + size_t index = findIndex ( t ) ; <nl> + return lut [ index - ( lut [ index ] . day_of_month - 1 ) ] . date ; <nl> + } <nl> + <nl> + inline DayNum_t toFirstDayNumOfMonth ( DayNum_t d ) const <nl> + { <nl> + return DayNum_t ( d - ( lut [ fixDay ( d ) ] . day_of_month - 1 ) ) ; <nl> + } <nl> + <nl> + inline DayNum_t toFirstDayNumOfMonth ( time_t t ) const <nl> + { <nl> + size_t index = findIndex ( t ) ; <nl> + return DayNum_t ( index - ( lut [ index ] . day_of_month - 1 ) ) ; <nl> + } <nl> + <nl> + / / / округление до первого числа квартала <nl> + inline time_t toFirstDayOfQuarter ( time_t t ) const <nl> + { <nl> + size_t index = findIndex ( t ) ; <nl> + switch ( lut [ index ] . month % 3 ) <nl> + { <nl> + case 0 : <nl> + index = index - lut [ index ] . day_of_month ; <nl> + case 2 : <nl> + index = index - lut [ index ] . day_of_month ; <nl> + case 1 : <nl> + index = index - lut [ index ] . day_of_month + 1 ; <nl> + } <nl> + return DayNum_t ( index ) ; <nl> + } <nl> + <nl> + inline DayNum_t toFirstDayNumOfQuarter ( DayNum_t d ) const <nl> + { <nl> + size_t index = fixDay ( d ) ; <nl> + switch ( lut [ index ] . month % 3 ) <nl> + { <nl> + case 0 : <nl> + index = index - lut [ index ] . day_of_month ; <nl> + case 2 : <nl> + index = index - lut [ index ] . day_of_month ; <nl> + case 1 : <nl> + index = index - lut [ index ] . day_of_month + 1 ; <nl> + } <nl> + return DayNum_t ( index ) ; <nl> + } <nl> + <nl> + inline DayNum_t toFirstDayNumOfQuarter ( time_t t ) const <nl> + { <nl> + size_t index = findIndex ( t ) ; <nl> + switch ( lut [ index ] . month % 3 ) <nl> + { <nl> + case 0 : <nl> + index = index - lut [ index ] . day_of_month ; <nl> + case 2 : <nl> + index = index - lut [ index ] . day_of_month ; <nl> + case 1 : <nl> + index = index - lut [ index ] . day_of_month + 1 ; <nl> + } <nl> + return DayNum_t ( index ) ; <nl> + } <nl> + <nl> + / / / округление вниз до первого числа года <nl> + inline time_t toFirstDayOfYear ( time_t t ) const <nl> + { <nl> + return lut [ years_lut [ lut [ findIndex ( t ) ] . year - DATE_LUT_MIN_YEAR ] ] . date ; <nl> + } <nl> + <nl> + inline DayNum_t toFirstDayNumOfYear ( DayNum_t d ) const <nl> + { <nl> + return years_lut [ lut [ fixDay ( d ) ] . year - DATE_LUT_MIN_YEAR ] ; <nl> + } <nl> + <nl> + inline time_t toFirstDayNumOfYear ( time_t t ) const <nl> + { <nl> + return lut [ years_lut [ lut [ findIndex ( t ) ] . year - DATE_LUT_MIN_YEAR ] ] . date ; <nl> + } <nl> + <nl> + / / / первое число следующего месяца <nl> + inline time_t toFirstDayOfNextMonth ( time_t t ) const <nl> + { <nl> + size_t index = findIndex ( t ) ; <nl> + index + = 32 - lut [ index ] . day_of_month ; <nl> + return lut [ index - ( lut [ index ] . day_of_month - 1 ) ] . date ; <nl> + } <nl> + <nl> + / / / первое число предыдущего месяца <nl> + inline time_t toFirstDayOfPrevMonth ( time_t t ) const <nl> + { <nl> + size_t index = findIndex ( t ) ; <nl> + index - = lut [ index ] . day_of_month ; <nl> + return lut [ index - ( lut [ index ] . day_of_month - 1 ) ] . date ; <nl> + } <nl> + <nl> + / / / количество дней в месяце <nl> + inline size_t daysInMonth ( time_t t ) const <nl> + { <nl> + size_t today = findIndex ( t ) ; <nl> + size_t start_of_month = today - ( lut [ today ] . day_of_month - 1 ) ; <nl> + size_t next_month = start_of_month + 31 ; <nl> + size_t start_of_next_month = next_month - ( lut [ next_month ] . day_of_month - 1 ) ; <nl> + return start_of_next_month - start_of_month ; <nl> + } <nl> + <nl> + / * * Округление до даты ; затем сдвиг на указанное количество дней . <nl> + * Замечание : результат сдвига должен находиться в пределах LUT . <nl> + * / <nl> + inline time_t toDateAndShift ( time_t t , int days = 1 ) const <nl> + { <nl> + return lut [ findIndex ( t ) + days ] . date ; <nl> + } <nl> + <nl> + / * * функции ниже исходят из допущения , что перевод стрелок вперёд , если осуществляется , то на час , в два часа ночи , <nl> + * а перевод стрелок назад , если осуществляется , то на час , в три часа ночи . <nl> + * ( что , в общем , не верно , так как в Москве один раз перевод стрелок был осуществлён в другое время ) <nl> + * / <nl> + <nl> + inline time_t toTimeInaccurate ( time_t t ) const <nl> + { <nl> + size_t index = findIndex ( t ) ; <nl> + time_t day_length = lut [ index + 1 ] . date - lut [ index ] . date ; <nl> + <nl> + time_t res = t - lut [ index ] . date ; <nl> + <nl> + if ( unlikely ( day_length = = 90000 & & res > = 10800 ) ) / / / был произведён перевод стрелок назад <nl> + res - = 3600 ; <nl> + else if ( unlikely ( day_length = = 82800 & & res > = 7200 ) ) / / / был произведён перевод стрелок вперёд <nl> + res + = 3600 ; <nl> + <nl> + return res - offset_at_start_of_epoch ; / / / Отсчёт от 1970 - 01 - 01 00 : 00 : 00 по локальному времени <nl> + } <nl> + <nl> + inline unsigned toHourInaccurate ( time_t t ) const <nl> + { <nl> + size_t index = findIndex ( t ) ; <nl> + time_t day_length = lut [ index + 1 ] . date - lut [ index ] . date ; <nl> + unsigned res = ( t - lut [ index ] . date ) / 3600 ; <nl> + <nl> + if ( unlikely ( day_length = = 90000 & & res > = 3 ) ) / / / был произведён перевод стрелок назад <nl> + - - res ; <nl> + else if ( unlikely ( day_length = = 82800 & & res > = 2 ) ) / / / был произведён перевод стрелок вперёд <nl> + + + res ; <nl> + <nl> + return res ; <nl> + } <nl> + <nl> + inline unsigned toMinute ( time_t t ) const { return ( ( t - find ( t ) . date ) % 3600 ) / 60 ; } <nl> + inline unsigned toSecond ( time_t t ) const { return ( t - find ( t ) . date ) % 60 ; } <nl> + <nl> + inline unsigned toStartOfMinute ( time_t t ) const <nl> + { <nl> + time_t date = find ( t ) . date ; <nl> + return date + ( t - date ) / 60 * 60 ; <nl> + } <nl> + <nl> + inline unsigned toStartOfHour ( time_t t ) const <nl> + { <nl> + time_t date = find ( t ) . date ; <nl> + return date + ( t - date ) / 3600 * 3600 ; <nl> + } <nl> + <nl> + / * * Только для часовых поясов , отличающихся от UTC на значение , кратное часу и без перевода стрелок не значение не кратное часу * / <nl> + <nl> + inline unsigned toMinuteInaccurate ( time_t t ) const { return ( t / 60 ) % 60 ; } <nl> + inline unsigned toSecondInaccurate ( time_t t ) const { return t % 60 ; } <nl> + <nl> + inline unsigned toStartOfMinuteInaccurate ( time_t t ) const { return t / 60 * 60 ; } <nl> + inline unsigned toStartOfFiveMinuteInaccurate ( time_t t ) const { return t / 300 * 300 ; } <nl> + inline unsigned toStartOfHourInaccurate ( time_t t ) const { return t / 3600 * 3600 ; } <nl> + <nl> + / / / Номер дня в пределах UNIX эпохи ( и немного больше ) - позволяет хранить дату в двух байтах <nl> + <nl> + inline DayNum_t toDayNum ( time_t t ) const { return static_cast < DayNum_t > ( findIndex ( t ) ) ; } <nl> + inline time_t fromDayNum ( DayNum_t d ) const { return lut [ fixDay ( d ) ] . date ; } <nl> + <nl> + inline time_t toDate ( DayNum_t d ) const { return lut [ fixDay ( d ) ] . date ; } <nl> + inline unsigned toMonth ( DayNum_t d ) const { return lut [ fixDay ( d ) ] . month ; } <nl> + inline unsigned toYear ( DayNum_t d ) const { return lut [ fixDay ( d ) ] . year ; } <nl> + inline unsigned toDayOfWeek ( DayNum_t d ) const { return lut [ fixDay ( d ) ] . day_of_week ; } <nl> + inline unsigned toDayOfMonth ( DayNum_t d ) const { return lut [ fixDay ( d ) ] . day_of_month ; } <nl> + <nl> + inline const Values & getValues ( DayNum_t d ) const { return lut [ fixDay ( d ) ] ; } <nl> + inline const Values & getValues ( time_t t ) const { return lut [ findIndex ( t ) ] ; } <nl> + <nl> + / / / получает DayNum_t из года , месяца , дня <nl> + inline DayNum_t makeDayNum ( short year , char month , char day_of_month ) const <nl> + { <nl> + if ( unlikely ( year < DATE_LUT_MIN_YEAR | | year > DATE_LUT_MAX_YEAR | | month < 1 | | month > 12 | | day_of_month < 1 | | day_of_month > 31 ) ) <nl> + return DayNum_t ( 0 ) ; <nl> + DayNum_t any_day_of_month ( years_lut [ year - DATE_LUT_MIN_YEAR ] + 31 * ( month - 1 ) ) ; <nl> + return DayNum_t ( any_day_of_month - toDayOfMonth ( any_day_of_month ) + day_of_month ) ; <nl> + } <nl> + <nl> + inline time_t makeDate ( short year , char month , char day_of_month ) const <nl> + { <nl> + return lut [ makeDayNum ( year , month , day_of_month ) ] . date ; <nl> + } <nl> + <nl> + / * * Функция ниже исходит из допущения , что перевод стрелок вперёд , если осуществляется , то на час , в два часа ночи , <nl> + * а перевод стрелок назад , если осуществляется , то на час , в три часа ночи . <nl> + * ( что , в общем , не верно , так как в Москве один раз перевод стрелок был осуществлён в другое время ) . <nl> + * Также , выдаётся лишь один из двух возможных вариантов при переводе стрелок назад . <nl> + * / <nl> + inline time_t makeDateTime ( short year , char month , char day_of_month , char hour , char minute , char second ) const <nl> + { <nl> + size_t index = makeDayNum ( year , month , day_of_month ) ; <nl> + time_t res = lut [ index ] . date + hour * 3600 + minute * 60 + second ; <nl> + time_t day_length = lut [ index + 1 ] . date - lut [ index ] . date ; <nl> + <nl> + if ( unlikely ( day_length = = 90000 & & hour > = 3 ) ) / / / был произведён перевод стрелок назад <nl> + res + = 3600 ; <nl> + else if ( unlikely ( day_length = = 82800 & & hour > = 2 ) ) / / / был произведён перевод стрелок вперёд <nl> + res - = 3600 ; <nl> + <nl> + return res ; <nl> + } <nl> + <nl> + <nl> + inline UInt32 toNumYYYYMMDD ( time_t t ) const <nl> + { <nl> + const Values & values = find ( t ) ; <nl> + return values . year * 10000 + values . month * 100 + values . day_of_month ; <nl> + } <nl> + <nl> + inline UInt32 toNumYYYYMMDD ( DayNum_t d ) const <nl> + { <nl> + const Values & values = lut [ fixDay ( d ) ] ; <nl> + return values . year * 10000 + values . month * 100 + values . day_of_month ; <nl> + } <nl> + <nl> + inline time_t YYYYMMDDToDate ( UInt32 num ) const <nl> + { <nl> + return makeDate ( num / 10000 , num / 100 % 100 , num % 100 ) ; <nl> + } <nl> + <nl> + inline DayNum_t YYYYMMDDToDayNum ( UInt32 num ) const <nl> + { <nl> + return makeDayNum ( num / 10000 , num / 100 % 100 , num % 100 ) ; <nl> + } <nl> + <nl> + <nl> + inline UInt64 toNumYYYYMMDDhhmmss ( time_t t ) const <nl> + { <nl> + const Values & values = find ( t ) ; <nl> + return <nl> + toSecondInaccurate ( t ) <nl> + + toMinuteInaccurate ( t ) * 100 <nl> + + toHourInaccurate ( t ) * 10000 <nl> + + UInt64 ( values . day_of_month ) * 1000000 <nl> + + UInt64 ( values . month ) * 100000000 <nl> + + UInt64 ( values . year ) * 10000000000 ; <nl> + } <nl> + <nl> + inline time_t YYYYMMDDhhmmssToTime ( UInt64 num ) const <nl> + { <nl> + return makeDateTime ( <nl> + num / 10000000000 , <nl> + num / 100000000 % 100 , <nl> + num / 1000000 % 100 , <nl> + num / 10000 % 100 , <nl> + num / 100 % 100 , <nl> + num % 100 ) ; <nl> + } <nl> + <nl> + <nl> + inline std : : string timeToString ( time_t t ) const <nl> + { <nl> + const Values & values = find ( t ) ; <nl> + <nl> + std : : string s { " 0000 - 00 - 00 00 : 00 : 00 " } ; <nl> + <nl> + s [ 0 ] + = values . year / 1000 ; <nl> + s [ 1 ] + = ( values . year / 100 ) % 10 ; <nl> + s [ 2 ] + = ( values . year / 10 ) % 10 ; <nl> + s [ 3 ] + = values . year % 10 ; <nl> + s [ 5 ] + = values . month / 10 ; <nl> + s [ 6 ] + = values . month % 10 ; <nl> + s [ 8 ] + = values . day_of_month / 10 ; <nl> + s [ 9 ] + = values . day_of_month % 10 ; <nl> + <nl> + auto hour = toHourInaccurate ( t ) ; <nl> + auto minute = toMinuteInaccurate ( t ) ; <nl> + auto second = toSecondInaccurate ( t ) ; <nl> + <nl> + s [ 11 ] + = hour / 10 ; <nl> + s [ 12 ] + = hour % 10 ; <nl> + s [ 14 ] + = minute / 10 ; <nl> + s [ 15 ] + = minute % 10 ; <nl> + s [ 17 ] + = second / 10 ; <nl> + s [ 18 ] + = second % 10 ; <nl> + <nl> + return s ; <nl> + } <nl> + <nl> + inline std : : string dateToString ( time_t t ) const <nl> + { <nl> + const Values & values = find ( t ) ; <nl> + <nl> + std : : string s { " 0000 - 00 - 00 " } ; <nl> + <nl> + s [ 0 ] + = values . year / 1000 ; <nl> + s [ 1 ] + = ( values . year / 100 ) % 10 ; <nl> + s [ 2 ] + = ( values . year / 10 ) % 10 ; <nl> + s [ 3 ] + = values . year % 10 ; <nl> + s [ 5 ] + = values . month / 10 ; <nl> + s [ 6 ] + = values . month % 10 ; <nl> + s [ 8 ] + = values . day_of_month / 10 ; <nl> + s [ 9 ] + = values . day_of_month % 10 ; <nl> + <nl> + return s ; <nl> + } <nl> + <nl> + inline std : : string dateToString ( DayNum_t d ) const <nl> + { <nl> + const Values & values = lut [ fixDay ( d ) ] ; <nl> + <nl> + std : : string s { " 0000 - 00 - 00 " } ; <nl> + <nl> + s [ 0 ] + = values . year / 1000 ; <nl> + s [ 1 ] + = ( values . year / 100 ) % 10 ; <nl> + s [ 2 ] + = ( values . year / 10 ) % 10 ; <nl> + s [ 3 ] + = values . year % 10 ; <nl> + s [ 5 ] + = values . month / 10 ; <nl> + s [ 6 ] + = values . month % 10 ; <nl> + s [ 8 ] + = values . day_of_month / 10 ; <nl> + s [ 9 ] + = values . day_of_month % 10 ; <nl> + <nl> + return s ; <nl> + } <nl> + } ; <nl> + <nl> + <nl> + namespace std <nl> + { <nl> + template < > <nl> + struct hash < DayNum_t > <nl> + { <nl> + size_t operator ( ) ( DayNum_t x ) const <nl> + { <nl> + return x ; <nl> + } <nl> + } ; <nl> + } <nl> new file mode 100644 <nl> index 00000000000 . . 31271e75804 <nl> mmm / dev / null <nl> ppp b / libs / libcommon / include / common / ErrorHandlers . h <nl> <nl> + # pragma once <nl> + <nl> + # include < Poco / ErrorHandler . h > <nl> + # include < Poco / Net / SocketDefs . h > <nl> + # include < common / logger_useful . h > <nl> + <nl> + <nl> + / * * ErrorHandler для потоков , который в случае неперехваченного исключения , <nl> + * выводит ошибку в лог и завершает демон . <nl> + * / <nl> + class KillingErrorHandler : public Poco : : ErrorHandler <nl> + { <nl> + public : <nl> + void exception ( const Poco : : Exception & e ) { std : : terminate ( ) ; } <nl> + void exception ( const std : : exception & e ) { std : : terminate ( ) ; } <nl> + void exception ( ) { std : : terminate ( ) ; } <nl> + } ; <nl> + <nl> + <nl> + / * * То же самое , но не завершает работу в случае эксепшена типа Socket is not connected . <nl> + * Этот эксепшен возникает внутри реализаций Poco : : Net : : HTTPServer , Poco : : Net : : TCPServer , <nl> + * и иначе его не удаётся перехватить , и сервер завершает работу . <nl> + * / <nl> + class ServerErrorHandler : public KillingErrorHandler <nl> + { <nl> + public : <nl> + void exception ( const Poco : : Exception & e ) <nl> + { <nl> + if ( e . code ( ) = = POCO_ENOTCONN ) <nl> + LOG_WARNING ( log , " Client has gone away . " ) ; <nl> + else <nl> + std : : terminate ( ) ; <nl> + } <nl> + <nl> + private : <nl> + Logger * log = & Logger : : get ( " ServerErrorHandler " ) ; <nl> + } ; <nl> new file mode 100644 <nl> index 00000000000 . . c282e4e264b <nl> mmm / dev / null <nl> ppp b / libs / libcommon / include / common / JSON . h <nl> <nl> + # pragma once <nl> + <nl> + # include < typeinfo > <nl> + # include < Poco / Exception . h > <nl> + # include < DB / Core / StringRef . h > <nl> + # include < common / Common . h > <nl> + <nl> + # define PURE __attribute__ ( ( pure ) ) <nl> + <nl> + <nl> + / * * Очень простой класс для чтения JSON ( или его кусочков ) . <nl> + * Представляет собой ссылку на кусок памяти , в котором содержится JSON ( или его кусочек ) . <nl> + * Не создаёт никаких структур данных в оперативке . Не выделяет память ( кроме std : : string ) . <nl> + * Не парсит JSON до конца ( парсит только часть , необходимую для выполнения вызванного метода ) . <nl> + * Парсинг необходимой части запускается каждый раз при вызове методов . <nl> + * Может работать с обрезанным JSON - ом . <nl> + * При этом , ( в отличие от SAX - подобных парсеров ) , предоставляет удобные методы для работы . <nl> + * <nl> + * Эта структура данных более оптимальна , если нужно доставать несколько элементов из большого количества маленьких JSON - ов . <nl> + * То есть , подходит для обработки " параметров визитов " и " параметров интернет магазинов " в Яндекс . Метрике . <nl> + * Если нужно много работать с одним большим JSON - ом , то этот класс может быть менее оптимальным . <nl> + * <nl> + * Имеются следующие соглашения : <nl> + * 1 . Предполагается , что в JSON - е нет пробельных символов . <nl> + * 2 . Предполагается , что строки в JSON в кодировке UTF - 8 ; также могут использоваться \ u - последовательности . <nl> + * Строки возвращаются в кодировке UTF - 8 , \ u - последовательности переводятся в UTF - 8 . <nl> + * 3 . Но суррогатная пара из двух \ uXXXX \ uYYYY переводится не в UTF - 8 , а в CESU - 8 . <nl> + * 4 . Корректный JSON парсится корректно . <nl> + * При работе с некорректным JSON - ом , кидается исключение или возвращаются неверные результаты . <nl> + * ( пример : считается , что если встретился символ ' n ' , то после него идёт ' ull ' ( null ) ; <nl> + * если после него идёт ' , 1 , ' , то исключение не кидается , и , таким образом , возвращается неверный результат ) <nl> + * 5 . Глубина вложенности JSON ограничена ( см . MAX_JSON_DEPTH в cpp файле ) . <nl> + * При необходимости спуститься на большую глубину , кидается исключение . <nl> + * 6 . В отличие от JSON , пользоволяет парсить значения вида 64 - битное число , со знаком , или без . <nl> + * При этом , если число дробное - то дробная часть тихо отбрасывается . <nl> + * 7 . Числа с плавающей запятой парсятся не с максимальной точностью . <nl> + * <nl> + * Подходит только для чтения JSON , модификация не предусмотрена . <nl> + * Все методы immutable , кроме operator + + . <nl> + * / <nl> + <nl> + <nl> + POCO_DECLARE_EXCEPTION ( Foundation_API , JSONException , Poco : : Exception ) ; <nl> + <nl> + <nl> + class JSON <nl> + { <nl> + private : <nl> + typedef const char * Pos ; <nl> + Pos ptr_begin ; <nl> + Pos ptr_end ; <nl> + unsigned level ; <nl> + <nl> + public : <nl> + JSON ( Pos ptr_begin_ , Pos ptr_end_ , unsigned level_ = 0 ) : ptr_begin ( ptr_begin_ ) , ptr_end ( ptr_end_ ) , level ( level_ ) <nl> + { <nl> + checkInit ( ) ; <nl> + } <nl> + <nl> + JSON ( const std : : string & s ) : ptr_begin ( s . data ( ) ) , ptr_end ( s . data ( ) + s . size ( ) ) , level ( 0 ) <nl> + { <nl> + checkInit ( ) ; <nl> + } <nl> + <nl> + JSON ( const JSON & rhs ) : ptr_begin ( rhs . ptr_begin ) , ptr_end ( rhs . ptr_end ) , level ( rhs . level ) { } <nl> + <nl> + / / / Для вставки в контейнеры ( создаёт некорректный объект ) <nl> + JSON ( ) : ptr_begin ( nullptr ) , ptr_end ( ptr_begin + 1 ) { } <nl> + <nl> + const char * data ( ) const PURE { return ptr_begin ; } <nl> + const char * dataEnd ( ) const PURE { return ptr_end ; } <nl> + <nl> + enum ElementType <nl> + { <nl> + TYPE_OBJECT , <nl> + TYPE_ARRAY , <nl> + TYPE_NUMBER , <nl> + TYPE_STRING , <nl> + TYPE_BOOL , <nl> + TYPE_NULL , <nl> + TYPE_NAME_VALUE_PAIR , <nl> + TYPE_NOTYPE , <nl> + } ; <nl> + <nl> + ElementType getType ( ) const PURE ; <nl> + <nl> + bool isObject ( ) const PURE { return getType ( ) = = TYPE_OBJECT ; } ; <nl> + bool isArray ( ) const PURE { return getType ( ) = = TYPE_ARRAY ; } ; <nl> + bool isNumber ( ) const PURE { return getType ( ) = = TYPE_NUMBER ; } ; <nl> + bool isString ( ) const PURE { return getType ( ) = = TYPE_STRING ; } ; <nl> + bool isBool ( ) const PURE { return getType ( ) = = TYPE_BOOL ; } ; <nl> + bool isNull ( ) const PURE { return getType ( ) = = TYPE_NULL ; } ; <nl> + bool isNameValuePair ( ) const PURE { return getType ( ) = = TYPE_NAME_VALUE_PAIR ; } ; <nl> + <nl> + / / / Количество элементов в массиве или объекте ; если элемент - не массив или объект , то исключение . <nl> + size_t size ( ) const PURE ; <nl> + <nl> + / / / Является ли массив или объект пустыми ; если элемент - не массив или объект , то исключение . <nl> + bool empty ( ) const PURE ; <nl> + <nl> + / / / Получить элемент массива по индексу ; если элемент - не массив , то исключение . <nl> + JSON operator [ ] ( size_t n ) const PURE ; <nl> + <nl> + / / / Получить элемент объекта по имени ; если элемент - не объект , то исключение . <nl> + JSON operator [ ] ( const std : : string & name ) const PURE ; <nl> + <nl> + / / / Есть ли в объекте элемент с заданным именем ; если элемент - не объект , то исключение . <nl> + bool has ( const std : : string & name ) const PURE { return has ( name . data ( ) , name . size ( ) ) ; } <nl> + bool has ( const char * data , size_t size ) const PURE ; <nl> + <nl> + / / / Получить значение элемента ; исключение , если элемент имеет неправильный тип . <nl> + template < class T > <nl> + T get ( ) const PURE ; <nl> + <nl> + template < class T > <nl> + T getWithDefault ( const std : : string & key , const T & default_ = T ( ) ) const PURE ; <nl> + <nl> + double getDouble ( ) const PURE ; <nl> + Int64 getInt ( ) const PURE ; / / / Отбросить дробную часть . <nl> + UInt64 getUInt ( ) const PURE ; / / / Отбросить дробную часть . Если число отрицательное - исключение . <nl> + std : : string getString ( ) const PURE ; <nl> + bool getBool ( ) const PURE ; <nl> + std : : string getName ( ) const PURE ; / / / Получить имя name - value пары . <nl> + JSON getValue ( ) const PURE ; / / / Получить значение name - value пары . <nl> + <nl> + StringRef getRawString ( ) const PURE ; <nl> + StringRef getRawName ( ) const PURE ; <nl> + <nl> + / / / Получить значение элемента ; если элемент - строка , то распарсить значение из строки ; если не строка или число - то исключение . <nl> + double toDouble ( ) const PURE ; <nl> + Int64 toInt ( ) const PURE ; <nl> + UInt64 toUInt ( ) const PURE ; <nl> + <nl> + / * * Преобразовать любой элемент в строку . <nl> + * Для строки возвращается её значение , для всех остальных элементов - сериализованное представление . <nl> + * / <nl> + std : : string toString ( ) const PURE ; <nl> + <nl> + / / / Класс JSON одновременно является итератором по самому себе . <nl> + typedef JSON iterator ; <nl> + typedef JSON const_iterator ; <nl> + <nl> + iterator operator * ( ) const PURE { return * this ; } <nl> + const JSON * operator - > ( ) const PURE { return this ; } <nl> + bool operator = = ( const JSON & rhs ) const PURE { return ptr_begin = = rhs . ptr_begin ; } <nl> + bool operator ! = ( const JSON & rhs ) const PURE { return ptr_begin ! = rhs . ptr_begin ; } <nl> + <nl> + / * * Если элемент - массив или объект , то begin ( ) возвращает iterator , <nl> + * который указывает на первый элемент массива или первую name - value пару объекта . <nl> + * / <nl> + iterator begin ( ) const PURE ; <nl> + <nl> + / * * end ( ) - значение , которое нельзя использовать ; сигнализирует о том , что элементы закончились . <nl> + * / <nl> + iterator end ( ) const PURE ; <nl> + <nl> + / / / Перейти к следующему элементу массива или следующей name - value паре объекта . <nl> + iterator & operator + + ( ) ; <nl> + iterator operator + + ( int ) ; <nl> + <nl> + / / / Есть ли в строке escape - последовательности <nl> + bool hasEscapes ( ) const PURE ; <nl> + <nl> + / / / Есть ли в строке спец - символы из набора \ , ' , \ 0 , \ b , \ f , \ r , \ n , \ t , возможно , заэскейпленные . <nl> + bool hasSpecialChars ( ) const PURE ; <nl> + <nl> + private : <nl> + / / / Проверить глубину рекурсии , а также корректность диапазона памяти . <nl> + void checkInit ( ) const PURE ; <nl> + / / / Проверить , что pos лежит внутри диапазона памяти . <nl> + void checkPos ( Pos pos ) const PURE ; <nl> + <nl> + / / / Вернуть позицию после заданного элемента . <nl> + Pos skipString ( ) const PURE ; <nl> + Pos skipNumber ( ) const PURE ; <nl> + Pos skipBool ( ) const PURE ; <nl> + Pos skipNull ( ) const PURE ; <nl> + Pos skipNameValuePair ( ) const PURE ; <nl> + Pos skipObject ( ) const PURE ; <nl> + Pos skipArray ( ) const PURE ; <nl> + <nl> + Pos skipElement ( ) const PURE ; <nl> + <nl> + / / / Найти name - value пару с заданным именем в объекте . <nl> + Pos searchField ( const std : : string & name ) const PURE { return searchField ( name . data ( ) , name . size ( ) ) ; } <nl> + Pos searchField ( const char * data , size_t size ) const PURE ; <nl> + } ; <nl> + <nl> + template < class T > <nl> + T JSON : : getWithDefault ( const std : : string & key , const T & default_ ) const <nl> + { <nl> + if ( has ( key ) ) <nl> + return ( * this ) [ key ] . get < T > ( ) ; <nl> + else <nl> + return default_ ; <nl> + } <nl> + # undef PURE <nl> new file mode 100644 <nl> index 00000000000 . . 095eb1c18b5 <nl> mmm / dev / null <nl> ppp b / libs / libcommon / include / common / MultiVersion . h <nl> <nl> + # pragma once <nl> + <nl> + # include < Poco / Mutex . h > <nl> + # include < Poco / SharedPtr . h > <nl> + <nl> + <nl> + / * * Позволяет хранить некоторый объект , использовать его read - only в разных потоках , <nl> + * и заменять его на другой в других потоках . <nl> + * Замена производится атомарно , при этом , читающие потоки могут работать с разными версиями объекта . <nl> + * <nl> + * Использование : <nl> + * MultiVersion < T > x ; <nl> + * - при обновлении данных : <nl> + * x . set ( new value ) ; <nl> + * - при использовании данных для чтения в разных потоках : <nl> + * { <nl> + * MultiVersion < T > : : Version current_version = x . get ( ) ; <nl> + * / / используем для чего - нибудь * current_version <nl> + * } / / здесь перестаём владеть версией ; если версия устарела , и её никто больше не использует - она будет уничтожена <nl> + * <nl> + * Все методы thread - safe . <nl> + * / <nl> + template < typename T , typename Ptr = Poco : : SharedPtr < T > > <nl> + class MultiVersion <nl> + { <nl> + public : <nl> + / / / Конкретная версия объекта для использования . SharedPtr определяет время жизни версии . <nl> + typedef Ptr Version ; <nl> + <nl> + / / / Инициализация по - умолчанию ( NULL - ом ) . <nl> + MultiVersion ( ) = default ; <nl> + <nl> + / / / Инициализация первой версией . <nl> + MultiVersion ( const Version & value ) <nl> + { <nl> + set ( value ) ; <nl> + } <nl> + <nl> + MultiVersion ( Version & & value ) <nl> + { <nl> + set ( std : : move ( value ) ) ; <nl> + } <nl> + <nl> + / / / Получить текущую версию для использования . Возвращает SharedPtr , который определяет время жизни версии . <nl> + const Version get ( ) const <nl> + { <nl> + / / / TODO : можно ли заменять SharedPtr lock - free ? ( Можно , если сделать свою реализацию с использованием cmpxchg16b . ) <nl> + Poco : : ScopedLock < Poco : : FastMutex > lock ( mutex ) ; <nl> + return current_version ; <nl> + } <nl> + <nl> + / / / Обновить объект новой версией . <nl> + void set ( Version value ) <nl> + { <nl> + Poco : : ScopedLock < Poco : : FastMutex > lock ( mutex ) ; <nl> + current_version = value ; <nl> + } <nl> + <nl> + private : <nl> + Version current_version ; <nl> + mutable Poco : : FastMutex mutex ; <nl> + } ; <nl> new file mode 100644 <nl> index 00000000000 . . d20013912fb <nl> mmm / dev / null <nl> ppp b / libs / libcommon / include / common / Revision . h <nl> <nl> + # pragma once <nl> + <nl> + namespace Revision <nl> + { <nl> + unsigned get ( ) ; <nl> + } <nl> new file mode 100644 <nl> index 00000000000 . . 7c3fa066fee <nl> mmm / dev / null <nl> ppp b / libs / libcommon / include / common / likely . h <nl> <nl> + # pragma once <nl> + <nl> + # define likely ( x ) ( __builtin_expect ( ! ! ( x ) , 1 ) ) <nl> + # define unlikely ( x ) ( __builtin_expect ( ! ! ( x ) , 0 ) ) <nl> new file mode 100644 <nl> index 00000000000 . . 79c0b8ac818 <nl> mmm / dev / null <nl> ppp b / libs / libcommon / include / common / logger_useful . h <nl> <nl> + # pragma once <nl> + / / / Вспомогательные определения облегчающие работу с PoCo logging . <nl> + <nl> + # include < sstream > <nl> + # include < Poco / Logger . h > <nl> + <nl> + # ifndef QUERY_PREVIEW_LENGTH <nl> + # define QUERY_PREVIEW_LENGTH 160 <nl> + # endif <nl> + <nl> + using Poco : : Logger ; <nl> + <nl> + / / / Logs a message to a specified logger with that level . <nl> + <nl> + # define LOG_TRACE ( logger , message ) do { \ <nl> + if ( ( logger ) - > trace ( ) ) { \ <nl> + std : : stringstream oss ; \ <nl> + oss < < message ; \ <nl> + ( logger ) - > trace ( oss . str ( ) ) ; } } while ( 0 ) <nl> + <nl> + # define LOG_DEBUG ( logger , message ) do { \ <nl> + if ( ( logger ) - > debug ( ) ) { \ <nl> + std : : stringstream oss ; \ <nl> + oss < < message ; \ <nl> + ( logger ) - > debug ( oss . str ( ) ) ; } } while ( 0 ) <nl> + <nl> + # define LOG_INFO ( logger , message ) do { \ <nl> + if ( ( logger ) - > information ( ) ) { \ <nl> + std : : stringstream oss ; \ <nl> + oss < < message ; \ <nl> + ( logger ) - > information ( oss . str ( ) ) ; } } while ( 0 ) <nl> + <nl> + # define LOG_NOTICE ( logger , message ) do { \ <nl> + if ( ( logger ) - > notice ( ) ) { \ <nl> + std : : stringstream oss ; \ <nl> + oss < < message ; \ <nl> + ( logger ) - > notice ( oss . str ( ) ) ; } } while ( 0 ) <nl> + <nl> + # define LOG_WARNING ( logger , message ) do { \ <nl> + if ( ( logger ) - > warning ( ) ) { \ <nl> + std : : stringstream oss ; \ <nl> + oss < < message ; \ <nl> + ( logger ) - > warning ( oss . str ( ) ) ; } } while ( 0 ) <nl> + <nl> + # define LOG_ERROR ( logger , message ) do { \ <nl> + if ( ( logger ) - > error ( ) ) { \ <nl> + std : : stringstream oss ; \ <nl> + oss < < message ; \ <nl> + ( logger ) - > error ( oss . str ( ) ) ; } } while ( 0 ) <nl> + <nl> + # define LOG_CRITICAL ( logger , message ) do { \ <nl> + if ( ( logger ) - > critical ( ) ) { \ <nl> + std : : stringstream oss ; \ <nl> + oss < < message ; \ <nl> + ( logger ) - > critical ( oss . str ( ) ) ; } } while ( 0 ) <nl> + <nl> + # define LOG_FATAL ( logger , message ) do { \ <nl> + if ( ( logger ) - > fatal ( ) ) { \ <nl> + std : : stringstream oss ; \ <nl> + oss < < message ; \ <nl> + ( logger ) - > fatal ( oss . str ( ) ) ; } } while ( 0 ) <nl> new file mode 100644 <nl> index 00000000000 . . 71e37aab692 <nl> mmm / dev / null <nl> ppp b / libs / libcommon / include / common / singleton . h <nl> <nl> + # pragma once <nl> + <nl> + / * * Пример : <nl> + * <nl> + * class Derived : public Singleton < Derived > <nl> + * { <nl> + * friend class Singleton < Derived > ; <nl> + * . . . <nl> + * protected : <nl> + * Derived ( ) { } ; <nl> + * } ; <nl> + * <nl> + * Или так : <nl> + * <nl> + * class Some <nl> + * { <nl> + * . . . <nl> + * } ; <nl> + * <nl> + * class SomeSingleton : public Some , public Singleton < SomeSingleton > { } <nl> + * / <nl> + template < class Subject > class Singleton <nl> + { <nl> + public : <nl> + static Subject & instance ( ) <nl> + { <nl> + / / / Нормально при включенных thread safe statics в gcc ( по - умолчанию ) . <nl> + static Subject instance ; <nl> + return instance ; <nl> + } <nl> + <nl> + protected : <nl> + Singleton ( ) { } ; <nl> + <nl> + private : <nl> + Singleton ( const Singleton & ) ; <nl> + Singleton & operator = ( const Singleton & ) ; <nl> + } ; <nl> new file mode 100644 <nl> index 00000000000 . . e483bff6951 <nl> mmm / dev / null <nl> ppp b / libs / libcommon / include / common / strong_typedef . h <nl> <nl> + # pragma once <nl> + <nl> + # include < boost / operators . hpp > <nl> + <nl> + / * * https : / / svn . boost . org / trac / boost / ticket / 5182 <nl> + * / <nl> + # define STRONG_TYPEDEF ( T , D ) \ <nl> + struct D \ <nl> + : boost : : totally_ordered1 < D \ <nl> + , boost : : totally_ordered2 < D , T \ <nl> + > > \ <nl> + { \ <nl> + T t ; \ <nl> + explicit D ( const T t_ ) : t ( t_ ) { } ; \ <nl> + D ( ) : t ( ) { } ; \ <nl> + D ( const D & t_ ) : t ( t_ . t ) { } \ <nl> + D & operator = ( const D & rhs ) { t = rhs . t ; return * this ; } \ <nl> + D & operator = ( const T & rhs ) { t = rhs ; return * this ; } \ <nl> + operator const T & ( ) const { return t ; } \ <nl> + operator T & ( ) { return t ; } \ <nl> + bool operator = = ( const D & rhs ) const { return t = = rhs . t ; } \ <nl> + bool operator < ( const D & rhs ) const { return t < rhs . t ; } \ <nl> + } ; <nl> mmm a / libs / libcommon / src / DateLUT . cpp <nl> ppp b / libs / libcommon / src / DateLUT . cpp <nl> <nl> - # include < Yandex / DateLUT . h > <nl> + # include < common / DateLUT . h > <nl> <nl> # include < unicode / timezone . h > <nl> # include < unicode / unistr . h > <nl> mmm a / libs / libcommon / src / DateLUTImpl . cpp <nl> ppp b / libs / libcommon / src / DateLUTImpl . cpp <nl> <nl> - # include < Yandex / DateLUTImpl . h > <nl> + # include < common / DateLUTImpl . h > <nl> # include < Poco / Exception . h > <nl> <nl> # include < memory > <nl> new file mode 100644 <nl> index 00000000000 . . 4652bf3b414 <nl> mmm / dev / null <nl> ppp b / libs / libcommon / src / JSON . cpp <nl> <nl> + # include < string . h > <nl> + <nl> + # include < Poco / UTF8Encoding . h > <nl> + # include < Poco / NumberFormatter . h > <nl> + # include < Poco / NumberParser . h > <nl> + # include < common / JSON . h > <nl> + <nl> + # include < iostream > <nl> + <nl> + # define JSON_MAX_DEPTH 100 <nl> + <nl> + <nl> + POCO_IMPLEMENT_EXCEPTION ( JSONException , Poco : : Exception , " JSONException " ) <nl> + <nl> + <nl> + / / / Прочитать беззнаковое целое в простом формате из не - 0 - terminated строки . <nl> + static UInt64 readUIntText ( const char * buf , const char * end ) <nl> + { <nl> + UInt64 x = 0 ; <nl> + <nl> + if ( buf = = end ) <nl> + throw JSONException ( " JSON : cannot parse unsigned integer : unexpected end of data . " ) ; <nl> + <nl> + while ( buf ! = end ) <nl> + { <nl> + switch ( * buf ) <nl> + { <nl> + case ' + ' : <nl> + break ; <nl> + case ' 0 ' : <nl> + case ' 1 ' : <nl> + case ' 2 ' : <nl> + case ' 3 ' : <nl> + case ' 4 ' : <nl> + case ' 5 ' : <nl> + case ' 6 ' : <nl> + case ' 7 ' : <nl> + case ' 8 ' : <nl> + case ' 9 ' : <nl> + x * = 10 ; <nl> + x + = * buf - ' 0 ' ; <nl> + break ; <nl> + default : <nl> + return x ; <nl> + } <nl> + + + buf ; <nl> + } <nl> + <nl> + return x ; <nl> + } <nl> + <nl> + <nl> + / / / Прочитать знаковое целое в простом формате из не - 0 - terminated строки . <nl> + static Int64 readIntText ( const char * buf , const char * end ) <nl> + { <nl> + bool negative = false ; <nl> + Int64 x = 0 ; <nl> + <nl> + if ( buf = = end ) <nl> + throw JSONException ( " JSON : cannot parse signed integer : unexpected end of data . " ) ; <nl> + <nl> + bool run = true ; <nl> + while ( buf ! = end & & run ) <nl> + { <nl> + switch ( * buf ) <nl> + { <nl> + case ' + ' : <nl> + break ; <nl> + case ' - ' : <nl> + negative = true ; <nl> + break ; <nl> + case ' 0 ' : <nl> + case ' 1 ' : <nl> + case ' 2 ' : <nl> + case ' 3 ' : <nl> + case ' 4 ' : <nl> + case ' 5 ' : <nl> + case ' 6 ' : <nl> + case ' 7 ' : <nl> + case ' 8 ' : <nl> + case ' 9 ' : <nl> + x * = 10 ; <nl> + x + = * buf - ' 0 ' ; <nl> + break ; <nl> + default : <nl> + run = false ; <nl> + break ; <nl> + } <nl> + + + buf ; <nl> + } <nl> + if ( negative ) <nl> + x = - x ; <nl> + <nl> + return x ; <nl> + } <nl> + <nl> + <nl> + / / / Прочитать число с плавающей запятой в простом формате , с грубым округлением , из не - 0 - terminated строки . <nl> + static double readFloatText ( const char * buf , const char * end ) <nl> + { <nl> + bool negative = false ; <nl> + double x = 0 ; <nl> + bool after_point = false ; <nl> + double power_of_ten = 1 ; <nl> + <nl> + if ( buf = = end ) <nl> + throw JSONException ( " JSON : cannot parse floating point number : unexpected end of data . " ) ; <nl> + <nl> + bool run = true ; <nl> + while ( buf ! = end & & run ) <nl> + { <nl> + switch ( * buf ) <nl> + { <nl> + case ' + ' : <nl> + break ; <nl> + case ' - ' : <nl> + negative = true ; <nl> + break ; <nl> + case ' . ' : <nl> + after_point = true ; <nl> + break ; <nl> + case ' 0 ' : <nl> + case ' 1 ' : <nl> + case ' 2 ' : <nl> + case ' 3 ' : <nl> + case ' 4 ' : <nl> + case ' 5 ' : <nl> + case ' 6 ' : <nl> + case ' 7 ' : <nl> + case ' 8 ' : <nl> + case ' 9 ' : <nl> + if ( after_point ) <nl> + { <nl> + power_of_ten / = 10 ; <nl> + x + = ( * buf - ' 0 ' ) * power_of_ten ; <nl> + } <nl> + else <nl> + { <nl> + x * = 10 ; <nl> + x + = * buf - ' 0 ' ; <nl> + } <nl> + break ; <nl> + case ' e ' : <nl> + case ' E ' : <nl> + { <nl> + + + buf ; <nl> + Int32 exponent = readIntText ( buf , end ) ; <nl> + x * = exp10 ( exponent ) ; <nl> + <nl> + run = false ; <nl> + break ; <nl> + } <nl> + default : <nl> + run = false ; <nl> + break ; <nl> + } <nl> + + + buf ; <nl> + } <nl> + if ( negative ) <nl> + x = - x ; <nl> + <nl> + return x ; <nl> + } <nl> + <nl> + <nl> + void JSON : : checkInit ( ) const <nl> + { <nl> + if ( ! ( ptr_begin < ptr_end ) ) <nl> + throw JSONException ( " JSON : begin > = end . " ) ; <nl> + <nl> + if ( level > JSON_MAX_DEPTH ) <nl> + throw JSONException ( " JSON : too deep . " ) ; <nl> + } <nl> + <nl> + <nl> + JSON : : ElementType JSON : : getType ( ) const <nl> + { <nl> + switch ( * ptr_begin ) <nl> + { <nl> + case ' { ' : <nl> + return TYPE_OBJECT ; <nl> + case ' [ ' : <nl> + return TYPE_ARRAY ; <nl> + case ' t ' : <nl> + case ' f ' : <nl> + return TYPE_BOOL ; <nl> + case ' n ' : <nl> + return TYPE_NULL ; <nl> + case ' - ' : <nl> + case ' 0 ' : <nl> + case ' 1 ' : <nl> + case ' 2 ' : <nl> + case ' 3 ' : <nl> + case ' 4 ' : <nl> + case ' 5 ' : <nl> + case ' 6 ' : <nl> + case ' 7 ' : <nl> + case ' 8 ' : <nl> + case ' 9 ' : <nl> + return TYPE_NUMBER ; <nl> + case ' " ' : <nl> + { <nl> + / / / Проверим - это просто строка или name - value pair <nl> + Pos after_string = skipString ( ) ; <nl> + if ( after_string < ptr_end & & * after_string = = ' : ' ) <nl> + return TYPE_NAME_VALUE_PAIR ; <nl> + else <nl> + return TYPE_STRING ; <nl> + } <nl> + default : <nl> + throw JSONException ( std : : string ( " JSON : unexpected char " ) + * ptr_begin + " , expected one of ' { [ tfn - 0123456789 \ " ' " ) ; <nl> + } <nl> + } <nl> + <nl> + <nl> + void JSON : : checkPos ( Pos pos ) const <nl> + { <nl> + if ( pos > = ptr_end ) <nl> + throw JSONException ( " JSON : unexpected end of data . " ) ; <nl> + } <nl> + <nl> + <nl> + JSON : : Pos JSON : : skipString ( ) const <nl> + { <nl> + / / std : : cerr < < " skipString ( ) \ t " < < data ( ) < < std : : endl ; <nl> + <nl> + Pos pos = ptr_begin ; <nl> + if ( * pos ! = ' " ' ) <nl> + throw JSONException ( std : : string ( " JSON : expected \ " , got " ) + * pos ) ; <nl> + + + pos ; <nl> + <nl> + / / / fast path : находим следующую двойную кавычку . Если перед ней нет бэкслеша - значит это конец строки ( при допущении корректности JSON ) . <nl> + Pos closing_quote = reinterpret_cast < const char * > ( memchr ( reinterpret_cast < const void * > ( pos ) , ' \ " ' , ptr_end - pos ) ) ; <nl> + if ( nullptr ! = closing_quote & & closing_quote [ - 1 ] ! = ' \ \ ' ) <nl> + return closing_quote + 1 ; <nl> + <nl> + / / / slow path <nl> + while ( pos < ptr_end & & * pos ! = ' " ' ) <nl> + { <nl> + if ( * pos = = ' \ \ ' ) <nl> + { <nl> + + + pos ; <nl> + checkPos ( pos ) ; <nl> + if ( * pos = = ' u ' ) <nl> + { <nl> + pos + = 4 ; <nl> + checkPos ( pos ) ; <nl> + } <nl> + } <nl> + + + pos ; <nl> + } <nl> + <nl> + if ( * pos ! = ' " ' ) <nl> + throw JSONException ( std : : string ( " JSON : expected \ " , got " ) + * pos ) ; <nl> + + + pos ; <nl> + <nl> + return pos ; <nl> + } <nl> + <nl> + <nl> + JSON : : Pos JSON : : skipNumber ( ) const <nl> + { <nl> + / / std : : cerr < < " skipNumber ( ) \ t " < < data ( ) < < std : : endl ; <nl> + <nl> + Pos pos = ptr_begin ; <nl> + <nl> + if ( * pos = = ' - ' ) <nl> + + + pos ; <nl> + checkPos ( pos ) ; <nl> + <nl> + while ( pos < ptr_end & & * pos > = ' 0 ' & & * pos < = ' 9 ' ) <nl> + + + pos ; <nl> + if ( pos < ptr_end & & * pos = = ' . ' ) <nl> + + + pos ; <nl> + while ( pos < ptr_end & & * pos > = ' 0 ' & & * pos < = ' 9 ' ) <nl> + + + pos ; <nl> + if ( pos < ptr_end & & ( * pos = = ' e ' | | * pos = = ' E ' ) ) <nl> + + + pos ; <nl> + if ( pos < ptr_end & & * pos = = ' - ' ) <nl> + + + pos ; <nl> + while ( pos < ptr_end & & * pos > = ' 0 ' & & * pos < = ' 9 ' ) <nl> + + + pos ; <nl> + <nl> + return pos ; <nl> + } <nl> + <nl> + <nl> + JSON : : Pos JSON : : skipBool ( ) const <nl> + { <nl> + / / std : : cerr < < " skipBool ( ) \ t " < < data ( ) < < std : : endl ; <nl> + <nl> + Pos pos = ptr_begin ; <nl> + <nl> + if ( * ptr_begin = = ' t ' ) <nl> + pos + = 4 ; <nl> + else if ( * ptr_begin = = ' f ' ) <nl> + pos + = 5 ; <nl> + else <nl> + throw JSONException ( " JSON : expected true or false . " ) ; <nl> + <nl> + return pos ; <nl> + } <nl> + <nl> + <nl> + JSON : : Pos JSON : : skipNull ( ) const <nl> + { <nl> + / / std : : cerr < < " skipNull ( ) \ t " < < data ( ) < < std : : endl ; <nl> + <nl> + return ptr_begin + 4 ; <nl> + } <nl> + <nl> + <nl> + JSON : : Pos JSON : : skipNameValuePair ( ) const <nl> + { <nl> + / / std : : cerr < < " skipNameValuePair ( ) \ t " < < data ( ) < < std : : endl ; <nl> + <nl> + Pos pos = skipString ( ) ; <nl> + checkPos ( pos ) ; <nl> + <nl> + if ( * pos ! = ' : ' ) <nl> + throw JSONException ( " JSON : expected : . " ) ; <nl> + + + pos ; <nl> + <nl> + return JSON ( pos , ptr_end , level + 1 ) . skipElement ( ) ; <nl> + <nl> + } <nl> + <nl> + <nl> + JSON : : Pos JSON : : skipArray ( ) const <nl> + { <nl> + / / std : : cerr < < " skipArray ( ) \ t " < < data ( ) < < std : : endl ; <nl> + <nl> + if ( ! isArray ( ) ) <nl> + throw JSONException ( " JSON : expected [ " ) ; <nl> + Pos pos = ptr_begin ; <nl> + + + pos ; <nl> + checkPos ( pos ) ; <nl> + if ( * pos = = ' ] ' ) <nl> + return + + pos ; <nl> + <nl> + while ( 1 ) <nl> + { <nl> + pos = JSON ( pos , ptr_end , level + 1 ) . skipElement ( ) ; <nl> + if ( * pos ! = ' , ' ) <nl> + break ; <nl> + + + pos ; <nl> + } <nl> + return + + pos ; <nl> + } <nl> + <nl> + <nl> + JSON : : Pos JSON : : skipObject ( ) const <nl> + { <nl> + / / std : : cerr < < " skipObject ( ) \ t " < < data ( ) < < std : : endl ; <nl> + <nl> + if ( ! isObject ( ) ) <nl> + throw JSONException ( " JSON : expected { " ) ; <nl> + Pos pos = ptr_begin ; <nl> + + + pos ; <nl> + checkPos ( pos ) ; <nl> + if ( * pos = = ' } ' ) <nl> + return + + pos ; <nl> + <nl> + while ( 1 ) <nl> + { <nl> + pos = JSON ( pos , ptr_end , level + 1 ) . skipNameValuePair ( ) ; <nl> + if ( * pos ! = ' , ' ) <nl> + break ; <nl> + + + pos ; <nl> + } <nl> + return + + pos ; <nl> + } <nl> + <nl> + <nl> + JSON : : Pos JSON : : skipElement ( ) const <nl> + { <nl> + / / std : : cerr < < " skipElement ( ) \ t " < < data ( ) < < std : : endl ; <nl> + <nl> + ElementType type = getType ( ) ; <nl> + <nl> + switch ( type ) <nl> + { <nl> + case TYPE_NULL : <nl> + return skipNull ( ) ; <nl> + case TYPE_BOOL : <nl> + return skipBool ( ) ; <nl> + case TYPE_NUMBER : <nl> + return skipNumber ( ) ; <nl> + case TYPE_STRING : <nl> + return skipString ( ) ; <nl> + case TYPE_NAME_VALUE_PAIR : <nl> + return skipNameValuePair ( ) ; <nl> + case TYPE_ARRAY : <nl> + return skipArray ( ) ; <nl> + case TYPE_OBJECT : <nl> + return skipObject ( ) ; <nl> + default : <nl> + throw JSONException ( " Logical error in JSON : unknown element type : " + Poco : : NumberFormatter : : format ( type ) ) ; <nl> + } <nl> + } <nl> + <nl> + size_t JSON : : size ( ) const <nl> + { <nl> + size_t i = 0 ; <nl> + <nl> + for ( const_iterator it = begin ( ) ; it ! = end ( ) ; + + it ) <nl> + + + i ; <nl> + <nl> + return i ; <nl> + } <nl> + <nl> + <nl> + bool JSON : : empty ( ) const <nl> + { <nl> + return size ( ) = = 0 ; <nl> + } <nl> + <nl> + <nl> + JSON JSON : : operator [ ] ( size_t n ) const <nl> + { <nl> + ElementType type = getType ( ) ; <nl> + <nl> + if ( type ! = TYPE_ARRAY ) <nl> + throw JSONException ( " JSON : not array when calling operator [ ] ( size_t ) method . " ) ; <nl> + <nl> + Pos pos = ptr_begin ; <nl> + + + pos ; <nl> + checkPos ( pos ) ; <nl> + <nl> + size_t i = 0 ; <nl> + const_iterator it = begin ( ) ; <nl> + while ( i < n & & it ! = end ( ) ) <nl> + + + it , + + i ; <nl> + <nl> + if ( i ! = n ) <nl> + throw JSONException ( " JSON : array index " + Poco : : NumberFormatter : : format ( n ) + " out of bounds . " ) ; <nl> + <nl> + return * it ; <nl> + } <nl> + <nl> + <nl> + JSON : : Pos JSON : : searchField ( const char * data , size_t size ) const <nl> + { <nl> + ElementType type = getType ( ) ; <nl> + <nl> + if ( type ! = TYPE_OBJECT ) <nl> + throw JSONException ( " JSON : not object when calling operator [ ] ( const char * ) or has ( const char * ) method . " ) ; <nl> + <nl> + const_iterator it = begin ( ) ; <nl> + for ( ; it ! = end ( ) ; + + it ) <nl> + { <nl> + if ( ! it - > hasEscapes ( ) ) <nl> + { <nl> + if ( static_cast < int > ( size ) + 2 > it - > dataEnd ( ) - it - > data ( ) ) <nl> + continue ; <nl> + if ( ! strncmp ( data , it - > data ( ) + 1 , size ) ) <nl> + break ; <nl> + } <nl> + else <nl> + { <nl> + std : : string current_name = it - > getName ( ) ; <nl> + if ( current_name . size ( ) = = size & & 0 = = memcmp ( current_name . data ( ) , data , size ) ) <nl> + break ; <nl> + } <nl> + } <nl> + <nl> + if ( it = = end ( ) ) <nl> + return nullptr ; <nl> + else <nl> + return it - > data ( ) ; <nl> + } <nl> + <nl> + <nl> + bool JSON : : hasEscapes ( ) const <nl> + { <nl> + Pos pos = ptr_begin + 1 ; <nl> + while ( pos < ptr_end & & * pos ! = ' " ' & & * pos ! = ' \ \ ' ) <nl> + + + pos ; <nl> + <nl> + if ( * pos = = ' " ' ) <nl> + return false ; <nl> + else if ( * pos = = ' \ \ ' ) <nl> + return true ; <nl> + throw JSONException ( " JSON : unexpected end of data . " ) ; <nl> + } <nl> + <nl> + <nl> + bool JSON : : hasSpecialChars ( ) const <nl> + { <nl> + Pos pos = ptr_begin + 1 ; <nl> + while ( pos < ptr_end & & * pos ! = ' " ' <nl> + & & * pos ! = ' \ \ ' & & * pos ! = ' \ r ' & & * pos ! = ' \ n ' & & * pos ! = ' \ t ' <nl> + & & * pos ! = ' \ f ' & & * pos ! = ' \ b ' & & * pos ! = ' \ 0 ' & & * pos ! = ' \ ' ' ) <nl> + + + pos ; <nl> + <nl> + if ( * pos = = ' " ' ) <nl> + return false ; <nl> + else if ( pos < ptr_end ) <nl> + return true ; <nl> + throw JSONException ( " JSON : unexpected end of data . " ) ; <nl> + } <nl> + <nl> + <nl> + JSON JSON : : operator [ ] ( const std : : string & name ) const <nl> + { <nl> + Pos pos = searchField ( name ) ; <nl> + if ( ! pos ) <nl> + throw JSONException ( " JSON : there is no element ' " + std : : string ( name ) + " ' in object . " ) ; <nl> + <nl> + return JSON ( pos , ptr_end , level + 1 ) . getValue ( ) ; <nl> + } <nl> + <nl> + <nl> + bool JSON : : has ( const char * data , size_t size ) const <nl> + { <nl> + return nullptr ! = searchField ( data , size ) ; <nl> + } <nl> + <nl> + <nl> + double JSON : : getDouble ( ) const <nl> + { <nl> + return readFloatText ( ptr_begin , ptr_end ) ; <nl> + } <nl> + <nl> + Int64 JSON : : getInt ( ) const <nl> + { <nl> + return readIntText ( ptr_begin , ptr_end ) ; <nl> + } <nl> + <nl> + UInt64 JSON : : getUInt ( ) const <nl> + { <nl> + return readUIntText ( ptr_begin , ptr_end ) ; <nl> + } <nl> + <nl> + bool JSON : : getBool ( ) const <nl> + { <nl> + if ( * ptr_begin = = ' t ' ) <nl> + return true ; <nl> + if ( * ptr_begin = = ' f ' ) <nl> + return false ; <nl> + throw JSONException ( " JSON : cannot parse boolean . " ) ; <nl> + } <nl> + <nl> + std : : string JSON : : getString ( ) const <nl> + { <nl> + Pos s = ptr_begin ; <nl> + if ( * s ! = ' " ' ) <nl> + throw JSONException ( std : : string ( " JSON : expected \ " , got " ) + * s ) ; <nl> + + + s ; <nl> + checkPos ( s ) ; <nl> + <nl> + std : : string buf ; <nl> + while ( s < ptr_end ) <nl> + { <nl> + switch ( * s ) <nl> + { <nl> + case ' \ \ ' : <nl> + + + s ; <nl> + checkPos ( s ) ; <nl> + <nl> + switch ( * s ) <nl> + { <nl> + case ' " ' : <nl> + buf + = ' " ' ; <nl> + break ; <nl> + case ' \ \ ' : <nl> + buf + = ' \ \ ' ; <nl> + break ; <nl> + case ' / ' : <nl> + buf + = ' / ' ; <nl> + break ; <nl> + case ' b ' : <nl> + buf + = ' \ b ' ; <nl> + break ; <nl> + case ' f ' : <nl> + buf + = ' \ f ' ; <nl> + break ; <nl> + case ' n ' : <nl> + buf + = ' \ n ' ; <nl> + break ; <nl> + case ' r ' : <nl> + buf + = ' \ r ' ; <nl> + break ; <nl> + case ' t ' : <nl> + buf + = ' \ t ' ; <nl> + break ; <nl> + case ' u ' : <nl> + { <nl> + Poco : : UTF8Encoding utf8 ; <nl> + <nl> + + + s ; <nl> + checkPos ( s + 4 ) ; <nl> + std : : string hex ( s , 4 ) ; <nl> + s + = 3 ; <nl> + int unicode ; <nl> + try <nl> + { <nl> + unicode = Poco : : NumberParser : : parseHex ( hex ) ; <nl> + } <nl> + catch ( const Poco : : SyntaxException & e ) <nl> + { <nl> + throw JSONException ( " JSON : incorrect syntax : incorrect HEX code . " ) ; <nl> + } <nl> + buf . resize ( buf . size ( ) + 6 ) ; / / / максимальный размер UTF8 многобайтовой последовательности <nl> + int res = utf8 . convert ( unicode , <nl> + reinterpret_cast < unsigned char * > ( const_cast < char * > ( buf . data ( ) ) ) + buf . size ( ) - 6 , 6 ) ; <nl> + if ( ! res ) <nl> + throw JSONException ( " JSON : cannot convert unicode " + Poco : : NumberFormatter : : format ( unicode ) <nl> + + " to UTF8 . " ) ; <nl> + buf . resize ( buf . size ( ) - 6 + res ) ; <nl> + break ; <nl> + } <nl> + default : <nl> + buf + = * s ; <nl> + break ; <nl> + } <nl> + + + s ; <nl> + break ; <nl> + case ' " ' : <nl> + return buf ; <nl> + default : <nl> + buf + = * s ; <nl> + + + s ; <nl> + break ; <nl> + } <nl> + } <nl> + throw JSONException ( " JSON : incorrect syntax ( expected end of string , found end of JSON ) . " ) ; <nl> + } <nl> + <nl> + std : : string JSON : : getName ( ) const <nl> + { <nl> + return getString ( ) ; <nl> + } <nl> + <nl> + StringRef JSON : : getRawString ( ) const <nl> + { <nl> + Pos s = ptr_begin ; <nl> + if ( * s ! = ' " ' ) <nl> + throw JSONException ( std : : string ( " JSON : expected \ " , got " ) + * s ) ; <nl> + while ( + + s ! = ptr_end & & * s ! = ' " ' ) ; <nl> + if ( s ! = ptr_end ) <nl> + return StringRef ( ptr_begin + 1 , s - ptr_begin - 1 ) ; <nl> + throw JSONException ( " JSON : incorrect syntax ( expected end of string , found end of JSON ) . " ) ; <nl> + } <nl> + <nl> + StringRef JSON : : getRawName ( ) const <nl> + { <nl> + return getRawString ( ) ; <nl> + } <nl> + <nl> + JSON JSON : : getValue ( ) const <nl> + { <nl> + Pos pos = skipString ( ) ; <nl> + checkPos ( pos ) ; <nl> + if ( * pos ! = ' : ' ) <nl> + throw JSONException ( " JSON : expected : . " ) ; <nl> + + + pos ; <nl> + checkPos ( pos ) ; <nl> + return JSON ( pos , ptr_end , level + 1 ) ; <nl> + } <nl> + <nl> + <nl> + double JSON : : toDouble ( ) const <nl> + { <nl> + ElementType type = getType ( ) ; <nl> + <nl> + if ( type = = TYPE_NUMBER ) <nl> + return getDouble ( ) ; <nl> + else if ( type = = TYPE_STRING ) <nl> + return JSON ( ptr_begin + 1 , ptr_end , level + 1 ) . getDouble ( ) ; <nl> + else <nl> + throw JSONException ( " JSON : cannot convert value to double . " ) ; <nl> + } <nl> + <nl> + Int64 JSON : : toInt ( ) const <nl> + { <nl> + ElementType type = getType ( ) ; <nl> + <nl> + if ( type = = TYPE_NUMBER ) <nl> + return getInt ( ) ; <nl> + else if ( type = = TYPE_STRING ) <nl> + return JSON ( ptr_begin + 1 , ptr_end , level + 1 ) . getInt ( ) ; <nl> + else <nl> + throw JSONException ( " JSON : cannot convert value to signed integer . " ) ; <nl> + } <nl> + <nl> + UInt64 JSON : : toUInt ( ) const <nl> + { <nl> + ElementType type = getType ( ) ; <nl> + <nl> + if ( type = = TYPE_NUMBER ) <nl> + return getUInt ( ) ; <nl> + else if ( type = = TYPE_STRING ) <nl> + return JSON ( ptr_begin + 1 , ptr_end , level + 1 ) . getUInt ( ) ; <nl> + else <nl> + throw JSONException ( " JSON : cannot convert value to unsigned integer . " ) ; <nl> + } <nl> + <nl> + std : : string JSON : : toString ( ) const <nl> + { <nl> + ElementType type = getType ( ) ; <nl> + <nl> + if ( type = = TYPE_STRING ) <nl> + return getString ( ) ; <nl> + else <nl> + { <nl> + Pos pos = skipElement ( ) ; <nl> + return std : : string ( ptr_begin , pos - ptr_begin ) ; <nl> + } <nl> + } <nl> + <nl> + <nl> + JSON : : iterator JSON : : iterator : : begin ( ) const <nl> + { <nl> + ElementType type = getType ( ) ; <nl> + <nl> + if ( type ! = TYPE_ARRAY & & type ! = TYPE_OBJECT ) <nl> + throw JSONException ( " JSON : not array or object when calling begin ( ) method . " ) ; <nl> + <nl> + / / std : : cerr < < " begin ( ) \ t " < < data ( ) < < std : : endl ; <nl> + <nl> + Pos pos = ptr_begin + 1 ; <nl> + checkPos ( pos ) ; <nl> + if ( * pos = = ' } ' | | * pos = = ' ] ' ) <nl> + return end ( ) ; <nl> + <nl> + return JSON ( pos , ptr_end , level + 1 ) ; <nl> + } <nl> + <nl> + JSON : : iterator JSON : : iterator : : end ( ) const <nl> + { <nl> + return JSON ( nullptr , ptr_end , level + 1 ) ; <nl> + } <nl> + <nl> + JSON : : iterator & JSON : : iterator : : operator + + ( ) <nl> + { <nl> + Pos pos = skipElement ( ) ; <nl> + checkPos ( pos ) ; <nl> + <nl> + if ( * pos ! = ' , ' ) <nl> + ptr_begin = nullptr ; <nl> + else <nl> + { <nl> + + + pos ; <nl> + checkPos ( pos ) ; <nl> + ptr_begin = pos ; <nl> + } <nl> + <nl> + return * this ; <nl> + } <nl> + <nl> + JSON : : iterator JSON : : iterator : : operator + + ( int ) <nl> + { <nl> + iterator copy ( * this ) ; <nl> + + + * this ; <nl> + return copy ; <nl> + } <nl> + <nl> + template < > <nl> + double JSON : : get < double > ( ) const <nl> + { <nl> + return getDouble ( ) ; <nl> + } <nl> + <nl> + template < > <nl> + std : : string JSON : : get < std : : string > ( ) const <nl> + { <nl> + return getString ( ) ; <nl> + } <nl> + <nl> + template < > <nl> + Int64 JSON : : get < Int64 > ( ) const <nl> + { <nl> + return getInt ( ) ; <nl> + } <nl> + <nl> + template < > <nl> + UInt64 JSON : : get < UInt64 > ( ) const <nl> + { <nl> + return getUInt ( ) ; <nl> + } <nl> + <nl> + template < > <nl> + bool JSON : : get < bool > ( ) const <nl> + { <nl> + return getBool ( ) ; <nl> + } <nl> + <nl> mmm a / libs / libcommon / src / Revision . cpp <nl> ppp b / libs / libcommon / src / Revision . cpp <nl> <nl> - # include < Yandex / Revision . h > <nl> + # include < common / Revision . h > <nl> # include " revision . h " <nl> <nl> namespace Revision <nl> mmm a / libs / libcommon / src / tests / date_lut2 . cpp <nl> ppp b / libs / libcommon / src / tests / date_lut2 . cpp <nl> <nl> # include < iostream > <nl> # include < cstring > <nl> <nl> - # include < Yandex / DateLUT . h > <nl> + # include < common / DateLUT . h > <nl> <nl> <nl> static std : : string toString ( time_t Value ) <nl> mmm a / libs / libcommon / src / tests / date_lut3 . cpp <nl> ppp b / libs / libcommon / src / tests / date_lut3 . cpp <nl> <nl> <nl> # include < Poco / Exception . h > <nl> <nl> - # include < Yandex / DateLUT . h > <nl> + # include < common / DateLUT . h > <nl> <nl> <nl> static std : : string toString ( time_t Value ) <nl> mmm a / libs / libcommon / src / tests / date_lut4 . cpp <nl> ppp b / libs / libcommon / src / tests / date_lut4 . cpp <nl> <nl> # include < iostream > <nl> - # include < Yandex / DateLUT . h > <nl> + # include < common / DateLUT . h > <nl> <nl> <nl> int main ( int argc , char * * argv ) <nl> mmm a / libs / libcommon / src / tests / date_lut_init . cpp <nl> ppp b / libs / libcommon / src / tests / date_lut_init . cpp <nl> <nl> - # include < Yandex / DateLUT . h > <nl> + # include < common / DateLUT . h > <nl> <nl> / / / Позволяет проверить время инициализации DateLUT . <nl> int main ( int argc , char * * argv ) <nl> mmm a / libs / libcommon / src / tests / multi_version . cpp <nl> ppp b / libs / libcommon / src / tests / multi_version . cpp <nl> <nl> # include < iostream > <nl> # include < statdaemons / threadpool . hpp > <nl> # include < functional > <nl> - # include < Yandex / MultiVersion . h > <nl> + # include < common / MultiVersion . h > <nl> <nl> <nl> typedef std : : string T ; <nl> mmm a / libs / libmysqlxx / include / mysqlxx / Connection . h <nl> ppp b / libs / libmysqlxx / include / mysqlxx / Connection . h <nl> <nl> <nl> # include < Poco / Util / Application . h > <nl> <nl> - # include < Yandex / singleton . h > <nl> + # include < common / singleton . h > <nl> <nl> # include < mysqlxx / Query . h > <nl> <nl> mmm a / libs / libmysqlxx / include / mysqlxx / Date . h <nl> ppp b / libs / libmysqlxx / include / mysqlxx / Date . h <nl> <nl> <nl> # include < string . h > <nl> # include < string > <nl> - # include < Yandex / DateLUT . h > <nl> + # include < common / DateLUT . h > <nl> <nl> # include < mysqlxx / Exception . h > <nl> <nl> mmm a / libs / libmysqlxx / include / mysqlxx / DateTime . h <nl> ppp b / libs / libmysqlxx / include / mysqlxx / DateTime . h <nl> <nl> # pragma once <nl> <nl> # include < string > <nl> - # include < Yandex / DateLUT . h > <nl> + # include < common / DateLUT . h > <nl> <nl> # include < mysqlxx / Date . h > <nl> # include < iomanip > <nl> mmm a / libs / libmysqlxx / include / mysqlxx / Pool . h <nl> ppp b / libs / libmysqlxx / include / mysqlxx / Pool . h <nl> <nl> # include < Poco / Exception . h > <nl> # include < Poco / SharedPtr . h > <nl> <nl> - # include < Yandex / logger_useful . h > <nl> + # include < common / logger_useful . h > <nl> # include < statdaemons / daemon . h > <nl> <nl> # include < mysqlxx / Connection . h > <nl> mmm a / libs / libmysqlxx / include / mysqlxx / Value . h <nl> ppp b / libs / libmysqlxx / include / mysqlxx / Value . h <nl> <nl> # include < string > <nl> # include < limits > <nl> <nl> - # include < Yandex / Common . h > <nl> - # include < Yandex / DateLUT . h > <nl> + # include < common / Common . h > <nl> + # include < common / DateLUT . h > <nl> <nl> # include < mysqlxx / Types . h > <nl> <nl> mmm a / libs / libpocoext / src / ThreadNumber . cpp <nl> ppp b / libs / libpocoext / src / ThreadNumber . cpp <nl> <nl> # include < pthread . h > <nl> - # include < Yandex / likely . h > <nl> + # include < common / likely . h > <nl> <nl> # include < Poco / Ext / ThreadNumber . h > <nl> <nl> mmm a / libs / libzkutil / include / zkutil / LeaderElection . h <nl> ppp b / libs / libzkutil / include / zkutil / LeaderElection . h <nl> <nl> <nl> # include < zkutil / ZooKeeper . h > <nl> # include < functional > <nl> - # include < Yandex / logger_useful . h > <nl> + # include < common / logger_useful . h > <nl> <nl> <nl> namespace zkutil <nl> mmm a / libs / libzkutil / include / zkutil / Lock . h <nl> ppp b / libs / libzkutil / include / zkutil / Lock . h <nl> <nl> # pragma once <nl> <nl> # include < zkutil / ZooKeeper . h > <nl> - # include < Yandex / logger_useful . h > <nl> + # include < common / logger_useful . h > <nl> # include < DB / Core / Exception . h > <nl> <nl> namespace zkutil <nl> mmm a / libs / libzkutil / include / zkutil / Types . h <nl> ppp b / libs / libzkutil / include / zkutil / Types . h <nl> <nl> # pragma once <nl> - # include < Yandex / Common . h > <nl> + # include < common / Common . h > <nl> # include < boost / function . hpp > <nl> # include < future > <nl> # include < boost / noncopyable . hpp > <nl> mmm a / libs / libzkutil / include / zkutil / ZooKeeper . h <nl> ppp b / libs / libzkutil / include / zkutil / ZooKeeper . h <nl> <nl> # include < unordered_set > <nl> # include < future > <nl> # include < memory > <nl> - # include < Yandex / logger_useful . h > <nl> + # include < common / logger_useful . h > <nl> <nl> <nl> namespace zkutil <nl> mmm a / libs / libzkutil / src / ZooKeeper . cpp <nl> ppp b / libs / libzkutil / src / ZooKeeper . cpp <nl> <nl> # include < functional > <nl> # include < zkutil / ZooKeeper . h > <nl> # include < boost / make_shared . hpp > <nl> - # include < Yandex / logger_useful . h > <nl> + # include < common / logger_useful . h > <nl> # include < DB / Common / ProfileEvents . h > <nl> <nl> <nl> mmm a / libs / libzkutil / src / tests / zkutil_test . cpp <nl> ppp b / libs / libzkutil / src / tests / zkutil_test . cpp <nl> <nl> # include < readline / history . h > <nl> # include < sstream > <nl> # include < Poco / ConsoleChannel . h > <nl> - # include < Yandex / logger_useful . h > <nl> + # include < common / logger_useful . h > <nl> # include < DB / IO / ReadHelpers . h > <nl> # include < DB / IO / ReadBufferFromString . h > <nl> <nl>
Merge
ClickHouse/ClickHouse
28f67084a4bb0a6c95d4f3396103bc1caf9b0327
2015-09-29T22:31:22Z
mmm a / include / v8 - debug . h <nl> ppp b / include / v8 - debug . h <nl> class V8_EXPORT Debug { <nl> / / stops . <nl> static void DebugBreakForCommand ( Isolate * isolate , ClientData * data ) ; <nl> <nl> - / / TODO ( svenpanne ) Remove this when Chrome is updated . <nl> - static void DebugBreakForCommand ( ClientData * data , Isolate * isolate ) { <nl> - DebugBreakForCommand ( isolate , data ) ; <nl> - } <nl> - <nl> / / Message based interface . The message protocol is JSON . <nl> static void SetMessageHandler ( MessageHandler handler ) ; <nl> <nl> class V8_EXPORT Debug { <nl> * unexpectedly used . LiveEdit is enabled by default . <nl> * / <nl> static void SetLiveEditEnabled ( Isolate * isolate , bool enable ) ; <nl> - <nl> - / / TODO ( svenpanne ) Remove this when Chrome is updated . <nl> - static void SetLiveEditEnabled ( bool enable , Isolate * isolate ) { <nl> - SetLiveEditEnabled ( isolate , enable ) ; <nl> - } <nl> } ; <nl> <nl> <nl>
Removed dead API entries .
v8/v8
f67f8fc4c5dd5247fd89af34eed11ed8c249ce25
2014-06-11T09:12:35Z
mmm a / setup . py <nl> ppp b / setup . py <nl> def check_file ( f ) : <nl> " torch / csrc / autograd / generated / python_nn_functions . cpp " , <nl> " torch / csrc / autograd / functions / batch_normalization . cpp " , <nl> " torch / csrc / autograd / functions / convolution . cpp " , <nl> - " torch / csrc / autograd / functions / softmax . cpp " , <nl> " torch / csrc / autograd / functions / basic_ops . cpp " , <nl> " torch / csrc / autograd / functions / tensor . cpp " , <nl> " torch / csrc / autograd / functions / accumulate_grad . cpp " , <nl> mmm a / torch / csrc / autograd / functions / init . cpp <nl> ppp b / torch / csrc / autograd / functions / init . cpp <nl> <nl> # include " batch_normalization . h " <nl> # include " convolution . h " <nl> - # include " softmax . h " <nl> # include " accumulate_grad . h " <nl> # include " basic_ops . h " <nl> # include " tensor . h " <nl> struct ConvCtor { <nl> } <nl> } ; <nl> <nl> - template < bool is_log > <nl> - struct SoftmaxCtor { <nl> - using fn_type = typename std : : conditional < is_log , LogSoftmax , Softmax > : : type ; <nl> - fn_type * operator ( ) ( PyObject * args ) { <nl> - int dim ; <nl> - <nl> - TupleParser parser ( args , 1 ) ; <nl> - parser . parse ( dim , " dim " ) ; <nl> - <nl> - return new fn_type ( dim ) ; <nl> - } <nl> - } ; <nl> - <nl> struct DelayedErrorCtor { <nl> DelayedError * operator ( ) ( PyObject * args ) { <nl> std : : string msg ; <nl> bool THPAutograd_initFunctions ( PyObject * _unused ) <nl> addClass < ConvBackward , NoCtor > ( module , ConvBackwardClass , " ConvNdBackward " , conv_backward_properties ) ; <nl> addClass < ConvBackwardBackward , NoCtor > ( module , ConvBackwardBackwardClass , " ConvNdBackwardBackward " , conv_backward_backward_properties ) ; <nl> <nl> - static PyTypeObject SoftmaxClass , SoftmaxBackwardClass , SoftmaxBackwardBackwardClass ; <nl> - addClass < Softmax , SoftmaxCtor < false > > ( module , SoftmaxClass , " Softmax " ) ; <nl> - addClass < SoftmaxBackward , NoCtor > ( module , SoftmaxBackwardClass , " SoftmaxBackward " ) ; <nl> - addClass < SoftmaxBackwardBackward , NoCtor > ( module , SoftmaxBackwardBackwardClass , " SoftmaxBackwardBackward " ) ; <nl> - <nl> - static PyTypeObject LogSoftmaxClass , LogSoftmaxBackwardClass , LogSoftmaxBackwardBackwardClass ; <nl> - addClass < LogSoftmax , SoftmaxCtor < true > > ( module , LogSoftmaxClass , " LogSoftmax " ) ; <nl> - addClass < LogSoftmaxBackward , NoCtor > ( module , LogSoftmaxBackwardClass , " LogSoftmaxBackward " ) ; <nl> - addClass < LogSoftmaxBackwardBackward , NoCtor > ( module , LogSoftmaxBackwardBackwardClass , " LogSoftmaxBackwardBackward " ) ; <nl> - <nl> static PyTypeObject AccumulateGradClass ; <nl> addClass < AccumulateGrad , NoCtor > ( module , AccumulateGradClass , " AccumulateGrad " , accumulate_grad_properties ) ; <nl> <nl> deleted file mode 100644 <nl> index 50a5b45e2b13 . . 000000000000 <nl> mmm a / torch / csrc / autograd / functions / softmax . cpp <nl> ppp / dev / null <nl> <nl> - <nl> - # include " softmax . h " <nl> - <nl> - # include " torch / csrc / autograd / variable . h " <nl> - # include " torch / csrc / autograd / functions / utils . h " <nl> - # include " torch / csrc / utils / auto_gpu . h " <nl> - # include " torch / csrc / DynamicTypes . h " <nl> - # include " torch / csrc / Exceptions . h " <nl> - <nl> - namespace torch { namespace autograd { <nl> - <nl> - template < bool is_log > <nl> - variable_list SoftmaxBase < is_log > : : apply ( const variable_list & inputs ) { <nl> - using BackwardBase = SoftmaxBackwardBase < is_log > ; <nl> - check_input_variables ( " SoftmaxBase " , inputs , 1 ) ; <nl> - AutoGPU gpu_guard ( inputs [ 0 ] . data ( ) ) ; <nl> - <nl> - auto input = inputs [ 0 ] . data ( ) . contiguous ( ) ; <nl> - auto output = input . type ( ) . tensor ( input . sizes ( ) ) ; <nl> - <nl> - if ( is_log ) { <nl> - at : : log_softmax_out ( output , input , dim ) ; <nl> - } else { <nl> - at : : softmax_out ( output , input , dim ) ; <nl> - } <nl> - <nl> - / / This gets a bit weird because we need to save the output . . . <nl> - std : : shared_ptr < BackwardBase > backward ; <nl> - auto outputs = wrap_outputs ( inputs , as_tensor_list ( output ) , [ this , & backward ] ( FunctionFlags f ) { <nl> - backward = std : : make_shared < BackwardBase > ( std : : move ( f ) , this - > dim ) ; <nl> - return backward ; <nl> - } ) ; <nl> - if ( backward & & backward - > is_executable ) { <nl> - backward - > saved_output = SavedVariable ( outputs [ 0 ] , backward . get ( ) ) ; <nl> - } <nl> - return outputs ; <nl> - } ; <nl> - <nl> - template < bool is_log > <nl> - variable_list SoftmaxBackwardBase < is_log > : : apply ( const variable_list & grad_outputs ) { <nl> - using BackwardBase = typename std : : conditional < is_log , LogSoftmaxBackwardBackward , SoftmaxBackwardBackward > : : type ; <nl> - check_input_variables ( " SoftmaxBackwardBase " , grad_outputs , 1 ) ; <nl> - AutoGPU gpu_guard ( grad_outputs [ 0 ] ) ; <nl> - <nl> - auto output_var = saved_output . unpack ( shared_from_this ( ) ) ; <nl> - auto & grad_output_var = grad_outputs [ 0 ] ; <nl> - auto & output = output_var . data ( ) ; <nl> - auto & grad_output = grad_output_var . data ( ) ; <nl> - auto grad_input = output . type ( ) . tensor ( output . sizes ( ) ) ; <nl> - <nl> - auto input = output . type ( ) . tensor ( ) ; / / We don ' t save the input , because THNN doesn ' t use it anyway . . . <nl> - if ( is_log ) { <nl> - at : : log_softmax_backward_out ( grad_input , grad_output , input , dim , output ) ; <nl> - } else { <nl> - at : : softmax_backward_out ( grad_input , grad_output , input , dim , output ) ; <nl> - } <nl> - <nl> - variable_list all_inputs { output_var , grad_output_var } ; <nl> - return wrap_outputs ( all_inputs , as_tensor_list ( grad_input ) , [ this , & output_var , & grad_output_var ] ( FunctionFlags f ) { <nl> - auto fn = std : : make_shared < BackwardBase > ( std : : move ( f ) ) ; <nl> - if ( fn - > is_executable ) { <nl> - fn - > saved_output = SavedVariable ( output_var , fn . get ( ) ) ; <nl> - fn - > saved_grad_output = SavedVariable ( grad_output_var , fn . get ( ) ) ; <nl> - fn - > dim = this - > dim ; <nl> - } <nl> - return fn ; <nl> - } ) ; <nl> - } <nl> - <nl> - / / These need to be explicitly instantiated , because they ' re not in the header . <nl> - template struct SoftmaxBase < true > ; <nl> - template struct SoftmaxBase < false > ; <nl> - template struct SoftmaxBackwardBase < true > ; <nl> - template struct SoftmaxBackwardBase < false > ; <nl> - <nl> - variable_list SoftmaxBackwardBackward : : apply ( const variable_list & grad_grad_inputs ) { <nl> - check_input_variables ( " SoftmaxBackwardBackward " , grad_grad_inputs , 1 ) ; <nl> - auto output = saved_output . unpack ( shared_from_this ( ) ) ; <nl> - auto gO = saved_grad_output . unpack ( ) ; <nl> - auto & ggI = grad_grad_inputs [ 0 ] ; <nl> - <nl> - / / Terms for reuse <nl> - auto ggI_out_sum = ( ggI * output ) . sum ( dim , true ) ; <nl> - auto gO_out_sum = ( gO * output ) . sum ( dim , true ) ; <nl> - <nl> - / / NOTE : this is 2nd order grad output <nl> - auto gO2 = ( gO - gO_out_sum ) * ggI - gO * ggI_out_sum ; <nl> - auto ggO = output * ( ggI - ggI_out_sum ) ; <nl> - <nl> - return { Variable ( std : : move ( gO2 ) ) , Variable ( std : : move ( ggO ) ) } ; <nl> - } <nl> - <nl> - variable_list LogSoftmaxBackwardBackward : : apply ( const variable_list & grad_grad_inputs ) { <nl> - check_input_variables ( " LogSoftmaxBackwardBackward " , grad_grad_inputs , 1 ) ; <nl> - auto output = saved_output . unpack ( shared_from_this ( ) ) ; <nl> - auto gO = saved_grad_output . unpack ( ) ; <nl> - auto & ggI = grad_grad_inputs [ 0 ] ; <nl> - <nl> - auto output_exp = output . exp ( ) ; <nl> - / / NOTE : this is 2nd order grad output <nl> - auto gO2 = ( - output_exp ) * ggI * gO . sum ( dim , true ) ; <nl> - auto ggO = ggI - ( ggI * output_exp ) . sum ( dim , true ) ; <nl> - <nl> - return { Variable ( std : : move ( gO2 ) ) , Variable ( std : : move ( ggO ) ) } ; <nl> - } <nl> - <nl> - } } <nl> deleted file mode 100644 <nl> index e42f4aeba700 . . 000000000000 <nl> mmm a / torch / csrc / autograd / functions / softmax . h <nl> ppp / dev / null <nl> <nl> - # pragma once <nl> - <nl> - # include < Python . h > <nl> - # include < memory > <nl> - # include < ATen / ATen . h > <nl> - <nl> - # include " torch / csrc / autograd / function . h " <nl> - # include " torch / csrc / autograd / variable . h " <nl> - # include " torch / csrc / autograd / saved_variable . h " <nl> - <nl> - namespace torch { namespace autograd { <nl> - <nl> - / / Softmax and LogSoftmax are implemented nearly identically until second <nl> - / / derivative , so the implementation is contained in a common base class . <nl> - template < bool is_log > <nl> - struct SoftmaxBase : public ForwardFunction < > { <nl> - SoftmaxBase ( int dim ) <nl> - : dim ( dim ) { } <nl> - <nl> - virtual variable_list apply ( const variable_list & inputs ) override ; <nl> - <nl> - int dim ; <nl> - } ; <nl> - <nl> - template < bool is_log > <nl> - struct SoftmaxBackwardBase : public Function { <nl> - SoftmaxBackwardBase ( FunctionFlags f , int dim ) <nl> - : Function ( std : : move ( f ) ) <nl> - , dim ( dim ) { } <nl> - <nl> - virtual variable_list apply ( const variable_list & inputs ) override ; <nl> - <nl> - SavedVariable saved_output ; <nl> - int dim ; <nl> - } ; <nl> - <nl> - <nl> - struct Softmax : public SoftmaxBase < false > { <nl> - using SoftmaxBase : : SoftmaxBase ; <nl> - } ; <nl> - struct SoftmaxBackward : public SoftmaxBackwardBase < false > { <nl> - using SoftmaxBackwardBase : : SoftmaxBackwardBase ; <nl> - } ; <nl> - struct SoftmaxBackwardBackward : public Function { <nl> - using Function : : Function ; <nl> - virtual variable_list apply ( const variable_list & inputs ) override ; <nl> - SavedVariable saved_output ; <nl> - SavedVariable saved_grad_output ; <nl> - int dim ; <nl> - } ; <nl> - <nl> - <nl> - struct LogSoftmax : public SoftmaxBase < true > { <nl> - using SoftmaxBase : : SoftmaxBase ; <nl> - } ; <nl> - struct LogSoftmaxBackward : public SoftmaxBackwardBase < true > { <nl> - using SoftmaxBackwardBase : : SoftmaxBackwardBase ; <nl> - } ; <nl> - struct LogSoftmaxBackwardBackward : public Function { <nl> - using Function : : Function ; <nl> - virtual variable_list apply ( const variable_list & inputs ) override ; <nl> - SavedVariable saved_output ; <nl> - SavedVariable saved_grad_output ; <nl> - int dim ; <nl> - } ; <nl> - <nl> - } } <nl> mmm a / torch / nn / functional . py <nl> ppp b / torch / nn / functional . py <nl> <nl> <nl> # Convolutions <nl> _ConvNd = torch . _C . _functions . ConvNd <nl> - _Softmax = torch . _C . _functions . Softmax <nl> - _LogSoftmax = torch . _C . _functions . LogSoftmax <nl> <nl> <nl> def conv1d ( input , weight , bias = None , stride = 1 , padding = 0 , dilation = 1 , <nl>
Delete unused Softmax code ( )
pytorch/pytorch
67839ce7bce410aed0cad714692091e22ba20782
2017-10-21T18:51:27Z
mmm a / src / http / routing_app . cc <nl> ppp b / src / http / routing_app . cc <nl> routing_http_app_t : : routing_http_app_t ( http_app_t * _defaultroute , std : : map < std : : <nl> <nl> / * Routes should not have any slashes in them * / <nl> void sanitize_routes ( DEBUG_ONLY_VAR const std : : map < std : : string , http_app_t * > routes ) { <nl> + / / TODO : Why is this only debug - only ? <nl> # ifndef NDEBUG <nl> for ( std : : map < std : : string , http_app_t * > : : const_iterator it = routes . begin ( ) ; <nl> it ! = routes . end ( ) ; <nl>
A comment added about sanitize_routes .
rethinkdb/rethinkdb
ab9abe2262a9dfc70729f0018a22578bc583d3c7
2012-05-29T22:15:06Z
mmm a / tensorflow / python / kernel_tests / manip_ops_test . py <nl> ppp b / tensorflow / python / kernel_tests / manip_ops_test . py <nl> def testNegativeAxis ( self ) : <nl> <nl> def testInvalidInputShape ( self ) : <nl> # The input should be 1 - D or higher , checked in shape function . <nl> - with self . assertRaisesRegexp ( ValueError , " Shape must be at least rank 1 but is rank 0 " ) : <nl> - roll = manip_ops . roll ( 7 , 1 , 0 ) <nl> + with self . assertRaisesRegexp ( <nl> + ValueError , " Shape must be at least rank 1 but is rank 0 " ) : <nl> + manip_ops . roll ( 7 , 1 , 0 ) <nl> <nl> def testRollInputMustVectorHigherRaises ( self ) : <nl> # The input should be 1 - D or higher , checked is done in kernel . <nl> def testRollInputMustVectorHigherRaises ( self ) : <nl> <nl> def testInvalidAxisShape ( self ) : <nl> # The axis should be a scalar or 1 - D , checked in shape function . <nl> - with self . assertRaisesRegexp ( ValueError , " Shape must be at most rank 1 but is rank 2 " ) : <nl> - roll = manip_ops . roll ( [ [ 1 , 2 ] , [ 3 , 4 ] ] , 1 , [ [ 0 , 1 ] ] ) <nl> + with self . assertRaisesRegexp ( <nl> + ValueError , " Shape must be at most rank 1 but is rank 2 " ) : <nl> + manip_ops . roll ( [ [ 1 , 2 ] , [ 3 , 4 ] ] , 1 , [ [ 0 , 1 ] ] ) <nl> <nl> def testRollAxisMustBeScalarOrVectorRaises ( self ) : <nl> # The axis should be a scalar or 1 - D , checked in kernel . <nl> def testRollAxisMustBeScalarOrVectorRaises ( self ) : <nl> <nl> def testInvalidShiftShape ( self ) : <nl> # The shift should be a scalar or 1 - D , checked in shape function . <nl> - with self . assertRaisesRegexp ( ValueError , " Shape must be at most rank 1 but is rank 2 " ) : <nl> - roll = manip_ops . roll ( [ [ 1 , 2 ] , [ 3 , 4 ] ] , [ [ 0 , 1 ] ] , 1 ) <nl> + with self . assertRaisesRegexp ( <nl> + ValueError , " Shape must be at most rank 1 but is rank 2 " ) : <nl> + manip_ops . roll ( [ [ 1 , 2 ] , [ 3 , 4 ] ] , [ [ 0 , 1 ] ] , 1 ) <nl> <nl> def testRollShiftMustBeScalarOrVectorRaises ( self ) : <nl> # The shift should be a scalar or 1 - D , checked in kernel . <nl> def testRollShiftMustBeScalarOrVectorRaises ( self ) : <nl> def testInvalidShiftAndAxisNotEqualShape ( self ) : <nl> # The shift and axis must be same size , checked in shape function . <nl> with self . assertRaisesRegexp ( ValueError , " both shapes must be equal " ) : <nl> - roll = manip_ops . roll ( [ [ 1 , 2 ] , [ 3 , 4 ] ] , [ 1 ] , [ 0 , 1 ] ) <nl> + manip_ops . roll ( [ [ 1 , 2 ] , [ 3 , 4 ] ] , [ 1 ] , [ 0 , 1 ] ) <nl> <nl> def testRollShiftAndAxisMustBeSameSizeRaises ( self ) : <nl> # The shift and axis must be same size , checked in kernel . <nl>
Pylint issue fix
tensorflow/tensorflow
4e6c516e8895204526446d8c3cf939a159362d59
2018-04-17T19:42:53Z
mmm a / src / gui / Src / Bridge / Bridge . cpp <nl> ppp b / src / gui / Src / Bridge / Bridge . cpp <nl> void * Bridge : : processMessage ( GUIMSG type , void * param1 , void * param2 ) <nl> } <nl> } <nl> break ; <nl> + <nl> + case GUI_UPDATE_WATCH_VIEW : <nl> + emit updateWatch ( ) ; <nl> + break ; <nl> } <nl> return nullptr ; <nl> } <nl>
watch view
x64dbg/x64dbg
bd77b92bdaba16369afa38a1936ef9b334f3d6f0
2016-07-07T03:22:53Z
mmm a / hphp / hhbbc / stats . cpp <nl> ppp b / hphp / hhbbc / stats . cpp <nl> struct Stats { <nl> std : : atomic < uint64_t > uniqueFunctions ; <nl> std : : atomic < uint64_t > totalClasses ; <nl> std : : atomic < uint64_t > totalFunctions ; <nl> + std : : atomic < uint64_t > persistentSPropsPub ; <nl> + std : : atomic < uint64_t > persistentSPropsProt ; <nl> + std : : atomic < uint64_t > persistentSPropsPriv ; <nl> + std : : atomic < uint64_t > totalSProps ; <nl> TypeStat returns ; <nl> TypeStat privateProps ; <nl> TypeStat privateStatics ; <nl> std : : string show ( const Stats & stats ) { <nl> " persistent_funcs : { : > 8 } \ n " <nl> " total_classes : { : > 8 } \ n " <nl> " unique_classes : { : > 8 } \ n " <nl> - " persistent_classes : { : > 8 } \ n " , <nl> + " persistent_classes : { : > 8 } \ n " <nl> + " \ n " <nl> + " total_sprops : { : > 8 } \ n " <nl> + " persistent_sprops_pub : { : > 8 } \ n " <nl> + " persistent_sprops_prot : { : > 8 } \ n " <nl> + " persistent_sprops_priv : { : > 8 } \ n " , <nl> stats . totalFunctions . load ( ) , <nl> stats . uniqueFunctions . load ( ) , <nl> stats . persistentFunctions . load ( ) , <nl> stats . totalClasses . load ( ) , <nl> stats . uniqueClasses . load ( ) , <nl> - stats . persistentClasses . load ( ) <nl> + stats . persistentClasses . load ( ) , <nl> + stats . totalSProps . load ( ) , <nl> + stats . persistentSPropsPub . load ( ) , <nl> + stats . persistentSPropsProt . load ( ) , <nl> + stats . persistentSPropsPriv . load ( ) <nl> ) ; <nl> <nl> ret + = " \ n " ; <nl> void collect_class ( Stats & stats , const Index & index , const php : : Class & cls ) { <nl> for ( auto & kv : index . lookup_private_statics ( & cls ) ) { <nl> add_type ( stats . privateStatics , kv . second ) ; <nl> } <nl> + for ( auto & prop : cls . properties ) { <nl> + if ( prop . attrs & AttrStatic ) { <nl> + + + stats . totalSProps ; <nl> + if ( prop . attrs & AttrPersistent ) { <nl> + if ( prop . attrs & AttrPublic ) + + stats . persistentSPropsPub ; <nl> + if ( prop . attrs & AttrProtected ) + + stats . persistentSPropsProt ; <nl> + if ( prop . attrs & AttrPrivate ) + + stats . persistentSPropsPriv ; <nl> + } <nl> + } <nl> + } <nl> } <nl> <nl> void collect_stats ( Stats & stats , <nl>
Add stats in hhbbc about persistent static properties
facebook/hhvm
560dfb69635c8a6a76d63335d00f232008e17c6e
2014-07-22T19:00:24Z
mmm a / tensorflow / g3doc / api_docs / python / contrib . distributions . md <nl> ppp b / tensorflow / g3doc / api_docs / python / contrib . distributions . md <nl> Additional documentation from ` TransformedDistribution ` : <nl> <nl> # # # # # < b > ` condition_kwargs ` < / b > : <nl> <nl> - * < b > ` bijector_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the bijector . <nl> * < b > ` distribution_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the distribution . <nl> + * < b > ` bijector_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the bijector . <nl> <nl> # # # # # Args : <nl> <nl> Additional documentation from ` TransformedDistribution ` : <nl> <nl> # # # # # < b > ` condition_kwargs ` < / b > : <nl> <nl> - * < b > ` bijector_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the bijector . <nl> * < b > ` distribution_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the distribution . <nl> + * < b > ` bijector_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the bijector . <nl> <nl> # # # # # Args : <nl> <nl> Implements ` ( log o p o g ^ { - 1 } ) ( y ) + ( log o det o J o g ^ { - 1 } ) ( y ) ` , <nl> <nl> # # # # # < b > ` condition_kwargs ` < / b > : <nl> <nl> - * < b > ` bijector_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the bijector . <nl> * < b > ` distribution_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the distribution . <nl> + * < b > ` bijector_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the bijector . <nl> <nl> # # # # # Args : <nl> <nl> Additional documentation from ` TransformedDistribution ` : <nl> <nl> # # # # # < b > ` condition_kwargs ` < / b > : <nl> <nl> - * < b > ` bijector_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the bijector . <nl> * < b > ` distribution_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the distribution . <nl> + * < b > ` bijector_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the bijector . <nl> <nl> # # # # # Args : <nl> <nl> Implements ` p ( g ^ { - 1 } ( y ) ) det | J ( g ^ { - 1 } ( y ) ) | ` , where ` g ^ { - 1 } ` is the <nl> <nl> # # # # # < b > ` condition_kwargs ` < / b > : <nl> <nl> - * < b > ` bijector_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the bijector . <nl> * < b > ` distribution_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the distribution . <nl> + * < b > ` bijector_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the bijector . <nl> <nl> # # # # # Args : <nl> <nl> Samples from the base distribution and then passes through <nl> <nl> # # # # # < b > ` condition_kwargs ` < / b > : <nl> <nl> - * < b > ` bijector_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the bijector . <nl> * < b > ` distribution_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the distribution . <nl> + * < b > ` bijector_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the bijector . <nl> <nl> # # # # # Args : <nl> <nl> Additional documentation from ` TransformedDistribution ` : <nl> <nl> # # # # # < b > ` condition_kwargs ` < / b > : <nl> <nl> - * < b > ` bijector_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the bijector . <nl> * < b > ` distribution_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the distribution . <nl> + * < b > ` bijector_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the bijector . <nl> <nl> # # # # # Args : <nl> <nl> mmm a / tensorflow / g3doc / api_docs / python / functions_and_classes / shard1 / tf . contrib . distributions . TransformedDistribution . md <nl> ppp b / tensorflow / g3doc / api_docs / python / functions_and_classes / shard1 / tf . contrib . distributions . TransformedDistribution . md <nl> Additional documentation from ` TransformedDistribution ` : <nl> <nl> # # # # # < b > ` condition_kwargs ` < / b > : <nl> <nl> - * < b > ` bijector_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the bijector . <nl> * < b > ` distribution_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the distribution . <nl> + * < b > ` bijector_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the bijector . <nl> <nl> # # # # # Args : <nl> <nl> Additional documentation from ` TransformedDistribution ` : <nl> <nl> # # # # # < b > ` condition_kwargs ` < / b > : <nl> <nl> - * < b > ` bijector_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the bijector . <nl> * < b > ` distribution_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the distribution . <nl> + * < b > ` bijector_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the bijector . <nl> <nl> # # # # # Args : <nl> <nl> Implements ` ( log o p o g ^ { - 1 } ) ( y ) + ( log o det o J o g ^ { - 1 } ) ( y ) ` , <nl> <nl> # # # # # < b > ` condition_kwargs ` < / b > : <nl> <nl> - * < b > ` bijector_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the bijector . <nl> * < b > ` distribution_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the distribution . <nl> + * < b > ` bijector_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the bijector . <nl> <nl> # # # # # Args : <nl> <nl> Additional documentation from ` TransformedDistribution ` : <nl> <nl> # # # # # < b > ` condition_kwargs ` < / b > : <nl> <nl> - * < b > ` bijector_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the bijector . <nl> * < b > ` distribution_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the distribution . <nl> + * < b > ` bijector_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the bijector . <nl> <nl> # # # # # Args : <nl> <nl> Implements ` p ( g ^ { - 1 } ( y ) ) det | J ( g ^ { - 1 } ( y ) ) | ` , where ` g ^ { - 1 } ` is the <nl> <nl> # # # # # < b > ` condition_kwargs ` < / b > : <nl> <nl> - * < b > ` bijector_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the bijector . <nl> * < b > ` distribution_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the distribution . <nl> + * < b > ` bijector_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the bijector . <nl> <nl> # # # # # Args : <nl> <nl> Samples from the base distribution and then passes through <nl> <nl> # # # # # < b > ` condition_kwargs ` < / b > : <nl> <nl> - * < b > ` bijector_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the bijector . <nl> * < b > ` distribution_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the distribution . <nl> + * < b > ` bijector_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the bijector . <nl> <nl> # # # # # Args : <nl> <nl> Additional documentation from ` TransformedDistribution ` : <nl> <nl> # # # # # < b > ` condition_kwargs ` < / b > : <nl> <nl> - * < b > ` bijector_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the bijector . <nl> * < b > ` distribution_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the distribution . <nl> + * < b > ` bijector_kwargs ` < / b > : Python dictionary of arg names / values forwarded to the bijector . <nl> <nl> # # # # # Args : <nl> <nl>
Update generated Python Op docs .
tensorflow/tensorflow
cb6370978681918a0d583636765153f476477fcb
2016-10-26T13:35:05Z
mmm a / src / btree / btree_store . hpp <nl> ppp b / src / btree / btree_store . hpp <nl> <nl> # ifndef BTREE_BTREE_STORE_HPP_ <nl> # define BTREE_BTREE_STORE_HPP_ <nl> <nl> + # include < string > <nl> + <nl> # include " protocol_api . hpp " <nl> # include " btree / slice . hpp " <nl> # include " btree / operations . hpp " <nl> mmm a / src / clustering / administration / namespace_metadata . hpp <nl> ppp b / src / clustering / administration / namespace_metadata . hpp <nl> <nl> # include < map > <nl> # include < set > <nl> # include < string > <nl> + # include < utility > <nl> <nl> # include " utils . hpp " <nl> # include < boost / bind . hpp > <nl> mmm a / src / clustering / generic / multi_throttling_client . hpp <nl> ppp b / src / clustering / generic / multi_throttling_client . hpp <nl> <nl> # ifndef CLUSTERING_GENERIC_MULTI_THROTTLING_CLIENT_HPP_ <nl> # define CLUSTERING_GENERIC_MULTI_THROTTLING_CLIENT_HPP_ <nl> <nl> + # include < algorithm > <nl> + <nl> # include " clustering / generic / multi_throttling_metadata . hpp " <nl> # include " clustering / generic / registrant . hpp " <nl> # include " concurrency / promise . hpp " <nl> class multi_throttling_client_t { <nl> public : <nl> class ticket_acq_t : public signal_t , public intrusive_list_node_t < ticket_acq_t > { <nl> public : <nl> - ticket_acq_t ( multi_throttling_client_t * p ) : parent ( p ) { <nl> + explicit ticket_acq_t ( multi_throttling_client_t * p ) : parent ( p ) { <nl> if ( parent - > free_tickets > 0 ) { <nl> state = state_acquired_ticket ; <nl> parent - > free_tickets - - ; <nl> class multi_throttling_client_t { <nl> > > registrant ; <nl> } ; <nl> <nl> - # endif / * CLUSTERING_GENERIC_MULTI_THROTTLING_CLIENT_HPP_ * / <nl> + # endif / * CLUSTERING_GENERIC_MULTI_THROTTLING_CLIENT_HPP_ * / <nl> mmm a / src / clustering / generic / multi_throttling_metadata . hpp <nl> ppp b / src / clustering / generic / multi_throttling_metadata . hpp <nl> class multi_throttling_business_card_t { <nl> RDB_MAKE_ME_SERIALIZABLE_1 ( registrar ) ; <nl> } ; <nl> <nl> - # endif / * CLUSTERING_GENERIC_MULTI_THROTTLING_METADATA_HPP_ * / <nl> + # endif / * CLUSTERING_GENERIC_MULTI_THROTTLING_METADATA_HPP_ * / <nl> mmm a / src / clustering / generic / multi_throttling_server . hpp <nl> ppp b / src / clustering / generic / multi_throttling_server . hpp <nl> <nl> # ifndef CLUSTERING_GENERIC_MULTI_THROTTLING_SERVER_HPP_ <nl> # define CLUSTERING_GENERIC_MULTI_THROTTLING_SERVER_HPP_ <nl> <nl> + # include < algorithm > <nl> + <nl> # include " arch / timing . hpp " <nl> # include " clustering / generic / multi_throttling_metadata . hpp " <nl> # include " clustering / generic / registrar . hpp " <nl> mmm a / src / clustering / immediate_consistency / query / direct_reader_metadata . hpp <nl> ppp b / src / clustering / immediate_consistency / query / direct_reader_metadata . hpp <nl> class direct_reader_business_card_t { <nl> RDB_MAKE_ME_SERIALIZABLE_1 ( read_mailbox ) ; <nl> } ; <nl> <nl> - # endif / * CLUSTERING_IMMEDIATE_CONSISTENCY_QUERY_DIRECT_READER_METADATA_HPP_ * / <nl> + # endif / * CLUSTERING_IMMEDIATE_CONSISTENCY_QUERY_DIRECT_READER_METADATA_HPP_ * / <nl> mmm a / src / rdb_protocol / btree . hpp <nl> ppp b / src / rdb_protocol / btree . hpp <nl> <nl> # ifndef RDB_PROTOCOL_BTREE_HPP_ <nl> # define RDB_PROTOCOL_BTREE_HPP_ <nl> <nl> + # include < string > <nl> + # include < utility > <nl> + # include < vector > <nl> + <nl> # include " errors . hpp " <nl> <nl> # include " btree / backfill . hpp " <nl> mmm a / src / rdb_protocol / environment . hpp <nl> ppp b / src / rdb_protocol / environment . hpp <nl> class runtime_environment_t { <nl> <nl> } / / namespace query_language <nl> <nl> - # endif <nl> + # endif / / RDB_PROTOCOL_ENVIRONMENT_HPP_ <nl> mmm a / src / rdb_protocol / exceptions . hpp <nl> ppp b / src / rdb_protocol / exceptions . hpp <nl> namespace query_language { <nl> unknown token ) . * / <nl> class broken_client_exc_t : public std : : exception { <nl> public : <nl> - broken_client_exc_t ( const std : : string & _what ) : message ( _what ) { } <nl> + explicit broken_client_exc_t ( const std : : string & _what ) : message ( _what ) { } <nl> ~ broken_client_exc_t ( ) throw ( ) { } <nl> <nl> const char * what ( ) const throw ( ) { <nl> mmm a / src / rdb_protocol / pb_server . cc <nl> ppp b / src / rdb_protocol / pb_server . cc <nl> Response query_server_t : : handle ( Query * q , stream_cache_t * stream_cache ) { <nl> <nl> try { <nl> query_language : : check_query_type ( * q , & type_environment , & is_deterministic , root_backtrace ) ; <nl> - } catch ( query_language : : broken_client_exc_t & e ) { <nl> + } catch ( const query_language : : broken_client_exc_t & e ) { <nl> res . set_status_code ( Response : : BROKEN_CLIENT ) ; <nl> res . set_error_message ( e . message ) ; <nl> return res ; <nl> - } catch ( query_language : : bad_query_exc_t & e ) { <nl> + } catch ( const query_language : : bad_query_exc_t & e ) { <nl> res . set_status_code ( Response : : BAD_QUERY ) ; <nl> res . set_error_message ( e . message ) ; <nl> put_backtrace ( e . backtrace , & res ) ; <nl> Response query_server_t : : handle ( Query * q , stream_cache_t * stream_cache ) { <nl> try { <nl> / / [ execute ] will set the status code unless it throws <nl> execute ( q , & runtime_environment , & res , root_backtrace , stream_cache ) ; <nl> - } catch ( query_language : : runtime_exc_t & e ) { <nl> + } catch ( const query_language : : runtime_exc_t & e ) { <nl> res . set_status_code ( Response : : RUNTIME_ERROR ) ; <nl> res . set_error_message ( e . message ) ; <nl> put_backtrace ( e . backtrace , & res ) ; <nl> mmm a / src / rdb_protocol / protocol . hpp <nl> ppp b / src / rdb_protocol / protocol . hpp <nl> <nl> # include < vector > <nl> <nl> # include " utils . hpp " <nl> + # include < boost / function . hpp > <nl> # include < boost / shared_ptr . hpp > <nl> # include < boost / variant . hpp > <nl> <nl> mmm a / src / rdb_protocol / query_language . cc <nl> ppp b / src / rdb_protocol / query_language . cc <nl> <nl> # include " rdb_protocol / query_language . hpp " <nl> <nl> + # include < math . h > <nl> + <nl> # include " errors . hpp " <nl> # include < boost / make_shared . hpp > <nl> - # include < math . h > <nl> <nl> # include " http / json . hpp " <nl> # include " rdb_protocol / internal_extensions . pb . h " <nl> mmm a / src / rdb_protocol / scope . hpp <nl> ppp b / src / rdb_protocol / scope . hpp <nl> <nl> # ifndef RDB_PROTOCOL_SCOPE_HPP_ <nl> # define RDB_PROTOCOL_SCOPE_HPP_ <nl> <nl> + # include < deque > <nl> + # include < map > <nl> + # include < set > <nl> + # include < string > <nl> + # include < vector > <nl> + <nl> template < class T > <nl> class variable_scope_t { <nl> public : <nl> class implicit_value_t { <nl> scopes_t scopes ; <nl> } ; <nl> <nl> - # endif <nl> + # endif / / RDB_PROTOCOL_SCOPE_HPP_ <nl> mmm a / src / rdb_protocol / stream . hpp <nl> ppp b / src / rdb_protocol / stream . hpp <nl> <nl> # ifndef RDB_PROTOCOL_STREAM_HPP_ <nl> # define RDB_PROTOCOL_STREAM_HPP_ <nl> <nl> + # include < list > <nl> + # include < string > <nl> + # include < vector > <nl> + <nl> + # include " errors . hpp " <nl> + # include < boost / function . hpp > <nl> + # include < boost / shared_ptr . hpp > <nl> + # include < boost / variant / get . hpp > <nl> + <nl> # include " rdb_protocol / protocol . hpp " <nl> # include " stream_cache . hpp " <nl> <nl> class range_stream_t : public json_stream_t { <nl> <nl> } / / namespace query_language <nl> <nl> - # endif <nl> + # endif / / RDB_PROTOCOL_STREAM_HPP_ <nl> mmm a / src / rdb_protocol / stream_cache . cc <nl> ppp b / src / rdb_protocol / stream_cache . cc <nl> bool stream_cache_t : : serve ( int64_t key , Response * res ) { <nl> return true ; <nl> } <nl> } <nl> - } catch ( query_language : : runtime_exc_t & e ) { <nl> + } catch ( query_language : : runtime_exc_t ) { <nl> erase ( key ) ; <nl> - throw e ; <nl> + throw ; <nl> } <nl> erase ( key ) ; <nl> res - > set_status_code ( Response : : SUCCESS_STREAM ) ; <nl> mmm a / src / rdb_protocol / stream_cache . hpp <nl> ppp b / src / rdb_protocol / stream_cache . hpp <nl> <nl> - # ifndef RDB_PROTOCOL_STREAM_CACHE_HPP <nl> - # define RDB_PROTOCOL_STREAM_CACHE_HPP <nl> + # ifndef RDB_PROTOCOL_STREAM_CACHE_HPP_ <nl> + # define RDB_PROTOCOL_STREAM_CACHE_HPP_ <nl> + <nl> + # include < time . h > <nl> + <nl> + # include < map > <nl> <nl> # include " utils . hpp " <nl> # include < boost / shared_ptr . hpp > <nl> - # include < map > <nl> - # include < time . h > <nl> <nl> # include " rdb_protocol / json . hpp " <nl> # include " rdb_protocol / query_language . pb . h " <nl> class stream_cache_t { <nl> std : : map < int64_t , entry_t > streams ; <nl> } ; <nl> <nl> - # endif <nl> + # endif / / RDB_PROTOCOL_STREAM_CACHE_HPP_ <nl>
make style cleanup
rethinkdb/rethinkdb
17cec47487f668836a5320d0171784d5fab423c3
2012-08-01T23:53:25Z
mmm a / src / common / globals . h <nl> ppp b / src / common / globals . h <nl> constexpr int kMaxRegularHeapObjectSize = ( 1 < < ( kPageSizeBits - 1 ) ) ; <nl> constexpr int kBitsPerByte = 8 ; <nl> constexpr int kBitsPerByteLog2 = 3 ; <nl> constexpr int kBitsPerSystemPointer = kSystemPointerSize * kBitsPerByte ; <nl> + constexpr int kBitsPerSystemPointerLog2 = <nl> + kSystemPointerSizeLog2 + kBitsPerByteLog2 ; <nl> constexpr int kBitsPerInt = kIntSize * kBitsPerByte ; <nl> <nl> / / IEEE 754 single precision floating point number bit layout . <nl> mmm a / src / utils / bit - vector . cc <nl> ppp b / src / utils / bit - vector . cc <nl> void BitVector : : Iterator : : Advance ( ) { <nl> } <nl> <nl> int BitVector : : Count ( ) const { <nl> - if ( data_length_ = = 0 ) { <nl> - return base : : bits : : CountPopulation ( data_ . inline_ ) ; <nl> - } else { <nl> - int count = 0 ; <nl> - for ( int i = 0 ; i < data_length_ ; i + + ) { <nl> - count + = base : : bits : : CountPopulation ( data_ . ptr_ [ i ] ) ; <nl> - } <nl> - return count ; <nl> + if ( is_inline ( ) ) return base : : bits : : CountPopulation ( data_ . inline_ ) ; <nl> + <nl> + int count = 0 ; <nl> + for ( int i = 0 ; i < data_length_ ; i + + ) { <nl> + count + = base : : bits : : CountPopulation ( data_ . ptr_ [ i ] ) ; <nl> } <nl> + return count ; <nl> } <nl> <nl> } / / namespace internal <nl> mmm a / src / utils / bit - vector . h <nl> ppp b / src / utils / bit - vector . h <nl> class V8_EXPORT_PRIVATE BitVector : public ZoneObject { <nl> } ; <nl> <nl> static const int kDataLengthForInline = 1 ; <nl> - static const int kDataBits = kSystemPointerSize * 8 ; <nl> - static const int kDataBitShift = kSystemPointerSize = = 8 ? 6 : 5 ; <nl> + static const int kDataBits = kBitsPerSystemPointer ; <nl> + static const int kDataBitShift = kBitsPerSystemPointerLog2 ; <nl> static const uintptr_t kOne = 1 ; / / This saves some static_casts . <nl> <nl> BitVector ( ) : length_ ( 0 ) , data_length_ ( kDataLengthForInline ) , data_ ( 0 ) { } <nl>
[ utils ] Fix BitVector : : Count with an inline backing store
v8/v8
d4b39accbabd700d4244383b75ccd06aa948c014
2019-10-31T08:51:18Z
mmm a / xbmc / addons / interfaces / GUI / AddonCallbacksGUI . cpp <nl> ppp b / xbmc / addons / interfaces / GUI / AddonCallbacksGUI . cpp <nl> int CAddonCallbacksGUI : : Window_GetFocusId ( void * addonData , GUIHANDLE handle ) <nl> <nl> bool CAddonCallbacksGUI : : Window_SetCoordinateResolution ( void * addonData , GUIHANDLE handle , int res ) <nl> { <nl> - CAddonInterfaces * helper = ( CAddonInterfaces * ) addonData ; <nl> - if ( ! helper ) <nl> - return false ; <nl> - <nl> - CAddonCallbacksGUI * guiHelper = static_cast < CAddonCallbacksGUI * > ( helper - > GUILib_GetHelper ( ) ) ; <nl> - <nl> - if ( ! handle ) <nl> - { <nl> - CLog : : Log ( LOGERROR , " SetCoordinateResolution : % s / % s - No Window " , CAddonInfo : : TranslateType ( guiHelper - > m_addon - > Type ( ) ) . c_str ( ) , guiHelper - > m_addon - > Name ( ) . c_str ( ) ) ; <nl> - return false ; <nl> - } <nl> - <nl> - if ( res < RES_HDTV_1080i | | res > RES_AUTORES ) <nl> - { <nl> - CLog : : Log ( LOGERROR , " SetCoordinateResolution : % s / % s - Invalid resolution " , CAddonInfo : : TranslateType ( guiHelper - > m_addon - > Type ( ) ) . c_str ( ) , guiHelper - > m_addon - > Name ( ) . c_str ( ) ) ; <nl> - return false ; <nl> - } <nl> - <nl> - CGUIAddonWindow * pAddonWindow = static_cast < CGUIAddonWindow * > ( handle ) ; <nl> - CGUIWindow * pWindow = CServiceBroker : : GetGUI ( ) - > GetWindowManager ( ) . GetWindow ( pAddonWindow - > m_iWindowId ) ; <nl> - if ( ! pWindow ) <nl> - return false ; <nl> - <nl> - pWindow - > SetCoordsRes ( ( RESOLUTION ) res ) ; <nl> - <nl> - return true ; <nl> + CLog : : Log ( LOGERROR , " SetCoordinateResolution : not implemented " ) ; <nl> + return false ; <nl> } <nl> <nl> void CAddonCallbacksGUI : : Window_SetProperty ( void * addonData , GUIHANDLE handle , const char * key , const char * value ) <nl> mmm a / xbmc / cores / VideoPlayer / VideoRenderers / BaseRenderer . cpp <nl> ppp b / xbmc / cores / VideoPlayer / VideoRenderers / BaseRenderer . cpp <nl> void CBaseRenderer : : SetViewMode ( int viewMode ) <nl> m_videoSettings . m_ViewMode = viewMode ; <nl> <nl> / / get our calibrated full screen resolution <nl> - RESOLUTION res = CServiceBroker : : GetWinSystem ( ) - > GetGfxContext ( ) . GetVideoResolution ( ) ; <nl> RESOLUTION_INFO info = CServiceBroker : : GetWinSystem ( ) - > GetGfxContext ( ) . GetResInfo ( ) ; <nl> float screenWidth = ( float ) ( info . Overscan . right - info . Overscan . left ) ; <nl> float screenHeight = ( float ) ( info . Overscan . bottom - info . Overscan . top ) ; <nl> void CBaseRenderer : : SetViewMode ( int viewMode ) <nl> else if ( m_videoSettings . m_ViewMode = = ViewModeStretch4x3 ) <nl> { / / stretch image to 4 : 3 ratio <nl> CDisplaySettings : : GetInstance ( ) . SetZoomAmount ( 1 . 0 ) ; <nl> - if ( res = = RES_PAL_4x3 | | res = = RES_PAL60_4x3 | | res = = RES_NTSC_4x3 | | res = = RES_HDTV_480p_4x3 ) <nl> - { / / stretch to the limits of the 4 : 3 screen . <nl> - / / incorrect behaviour , but it ' s what the users want , so . . . <nl> - CDisplaySettings : : GetInstance ( ) . SetPixelRatio ( ( screenWidth / screenHeight ) * info . fPixelRatio / sourceFrameRatio ) ; <nl> - } <nl> - else <nl> - { <nl> - / / now we need to set CDisplaySettings : : GetInstance ( ) . GetPixelRatio ( ) so that <nl> - / / fOutputFrameRatio = 4 : 3 . <nl> - CDisplaySettings : : GetInstance ( ) . SetPixelRatio ( ( 4 . 0f / 3 . 0f ) / sourceFrameRatio ) ; <nl> - } <nl> + / / now we need to set CDisplaySettings : : GetInstance ( ) . GetPixelRatio ( ) so that <nl> + / / fOutputFrameRatio = 4 : 3 . <nl> + CDisplaySettings : : GetInstance ( ) . SetPixelRatio ( ( 4 . 0f / 3 . 0f ) / sourceFrameRatio ) ; <nl> } <nl> else if ( m_videoSettings . m_ViewMode = = ViewModeWideZoom | | <nl> ( is43 & & CServiceBroker : : GetSettings ( ) . GetInt ( CSettings : : SETTING_VIDEOPLAYER_STRETCH43 ) = = ViewModeWideZoom ) ) <nl> void CBaseRenderer : : SetViewMode ( int viewMode ) <nl> CServiceBroker : : GetSettings ( ) . GetInt ( CSettings : : SETTING_VIDEOPLAYER_STRETCH43 ) = = ViewModeStretch16x9Nonlin ) ) ) <nl> { / / stretch image to 16 : 9 ratio <nl> CDisplaySettings : : GetInstance ( ) . SetZoomAmount ( 1 . 0 ) ; <nl> - if ( res = = RES_PAL_4x3 | | res = = RES_PAL60_4x3 | | res = = RES_NTSC_4x3 | | res = = RES_HDTV_480p_4x3 ) <nl> - { / / now we need to set CDisplaySettings : : GetInstance ( ) . GetPixelRatio ( ) so that <nl> - / / outputFrameRatio = 16 : 9 . <nl> - CDisplaySettings : : GetInstance ( ) . SetPixelRatio ( ( 16 . 0f / 9 . 0f ) / sourceFrameRatio ) ; <nl> - } <nl> - else <nl> - { / / stretch to the limits of the 16 : 9 screen . <nl> - / / incorrect behaviour , but it ' s what the users want , so . . . <nl> - CDisplaySettings : : GetInstance ( ) . SetPixelRatio ( ( screenWidth / screenHeight ) * info . fPixelRatio / sourceFrameRatio ) ; <nl> - } <nl> + / / stretch to the limits of the 16 : 9 screen . <nl> + / / incorrect behaviour , but it ' s what the users want , so . . . <nl> + CDisplaySettings : : GetInstance ( ) . SetPixelRatio ( ( screenWidth / screenHeight ) * info . fPixelRatio / sourceFrameRatio ) ; <nl> bool nonlin = ( is43 & & CServiceBroker : : GetSettings ( ) . GetInt ( CSettings : : SETTING_VIDEOPLAYER_STRETCH43 ) = = ViewModeStretch16x9Nonlin ) | | <nl> m_videoSettings . m_ViewMode = = ViewModeStretch16x9Nonlin ; <nl> CDisplaySettings : : GetInstance ( ) . SetNonLinearStretched ( nonlin ) ; <nl> mmm a / xbmc / interfaces / builtins / GUIBuiltins . cpp <nl> ppp b / xbmc / interfaces / builtins / GUIBuiltins . cpp <nl> static int SetLanguage ( const std : : vector < std : : string > & params ) <nl> return 0 ; <nl> } <nl> <nl> - / * ! \ brief Set GUI resolution . <nl> - * \ param params The parameters . <nl> - * \ details params [ 0 ] = A resolution identifier . <nl> - * / <nl> - static int SetResolution ( const std : : vector < std : : string > & params ) <nl> - { <nl> - RESOLUTION res = RES_PAL_4x3 ; <nl> - std : : string paramlow ( params [ 0 ] ) ; <nl> - StringUtils : : ToLower ( paramlow ) ; <nl> - if ( paramlow = = " pal " ) res = RES_PAL_4x3 ; <nl> - else if ( paramlow = = " pal16x9 " ) res = RES_PAL_16x9 ; <nl> - else if ( paramlow = = " ntsc " ) res = RES_NTSC_4x3 ; <nl> - else if ( paramlow = = " ntsc16x9 " ) res = RES_NTSC_16x9 ; <nl> - else if ( paramlow = = " 720p " ) res = RES_HDTV_720p ; <nl> - else if ( paramlow = = " 720psbs " ) res = RES_HDTV_720pSBS ; <nl> - else if ( paramlow = = " 720ptb " ) res = RES_HDTV_720pTB ; <nl> - else if ( paramlow = = " 1080psbs " ) res = RES_HDTV_1080pSBS ; <nl> - else if ( paramlow = = " 1080ptb " ) res = RES_HDTV_1080pTB ; <nl> - else if ( paramlow = = " 1080i " ) res = RES_HDTV_1080i ; <nl> - if ( CServiceBroker : : GetWinSystem ( ) - > GetGfxContext ( ) . IsValidResolution ( res ) ) <nl> - { <nl> - CDisplaySettings : : GetInstance ( ) . SetCurrentResolution ( res , true ) ; <nl> - g_application . ReloadSkin ( ) ; <nl> - } <nl> - <nl> - return 0 ; <nl> - } <nl> - <nl> / * ! \ brief Set a property in a window . <nl> * \ param params The parameters . <nl> * \ details params [ 0 ] = The property to set . <nl> CBuiltins : : CommandMap CGUIBuiltins : : GetOperations ( ) const <nl> { " refreshrss " , { " Reload RSS feeds from RSSFeeds . xml " , 0 , RefreshRSS } } , <nl> { " replacewindow " , { " Replaces the current window with the new one " , 1 , ActivateWindow < true > } } , <nl> { " replacewindowandfocus " , { " Replaces the current window with the new one and sets focus to the specified id " , 1 , ActivateAndFocus < true > } } , <nl> - { " resolution " , { " Change Kodi ' s Resolution " , 1 , SetResolution } } , <nl> { " setguilanguage " , { " Set GUI Language " , 1 , SetLanguage } } , <nl> { " setproperty " , { " Sets a window property for the current focused window / dialog ( key , value ) " , 2 , SetProperty } } , <nl> { " setstereomode " , { " Changes the stereo mode of the GUI . Params can be : toggle , next , previous , select , tomono or any of the supported stereomodes ( off , split_vertical , split_horizontal , row_interleaved , hardware_based , anaglyph_cyan_red , anaglyph_green_magenta , anaglyph_yellow_blue , monoscopic ) " , 1 , SetStereoMode } } , <nl> mmm a / xbmc / interfaces / legacy / Window . cpp <nl> ppp b / xbmc / interfaces / legacy / Window . cpp <nl> namespace XBMCAddon <nl> void Window : : setCoordinateResolution ( long res ) <nl> { <nl> XBMC_TRACE ; <nl> - if ( res < RES_HDTV_1080i | | res > RES_AUTORES ) <nl> - throw WindowException ( " Invalid resolution . " ) ; <nl> - <nl> - SingleLockWithDelayGuard gslock ( CServiceBroker : : GetWinSystem ( ) - > GetGfxContext ( ) , languageHook ) ; <nl> - ref ( window ) - > SetCoordsRes ( CServiceBroker : : GetWinSystem ( ) - > GetGfxContext ( ) . GetResInfo ( ( RESOLUTION ) res ) ) ; <nl> + throw WindowException ( " not implemented . " ) ; <nl> } <nl> <nl> void Window : : setProperty ( const char * key , const String & value ) <nl> mmm a / xbmc / windowing / GraphicContext . cpp <nl> ppp b / xbmc / windowing / GraphicContext . cpp <nl> void CGraphicContext : : SetVideoResolutionInternal ( RESOLUTION res , bool forceUpdat <nl> RESOLUTION lastRes = m_Resolution ; <nl> <nl> / / If the user asked us to guess , go with desktop <nl> - if ( res = = RES_AUTORES | | ! IsValidResolution ( res ) ) <nl> + if ( ! IsValidResolution ( res ) ) <nl> { <nl> res = RES_DESKTOP ; <nl> } <nl> void CGraphicContext : : ResetOverscan ( RESOLUTION res , OVERSCAN & overscan ) <nl> { <nl> overscan . left = 0 ; <nl> overscan . top = 0 ; <nl> - switch ( res ) <nl> - { <nl> - case RES_HDTV_1080i : <nl> - overscan . right = 1920 ; <nl> - overscan . bottom = 1080 ; <nl> - break ; <nl> - case RES_HDTV_720pSBS : <nl> - overscan . right = 640 ; <nl> - overscan . bottom = 720 ; <nl> - break ; <nl> - case RES_HDTV_720pTB : <nl> - overscan . right = 1280 ; <nl> - overscan . bottom = 360 ; <nl> - break ; <nl> - case RES_HDTV_1080pSBS : <nl> - overscan . right = 960 ; <nl> - overscan . bottom = 1080 ; <nl> - break ; <nl> - case RES_HDTV_1080pTB : <nl> - overscan . right = 1920 ; <nl> - overscan . bottom = 540 ; <nl> - break ; <nl> - case RES_HDTV_720p : <nl> - overscan . right = 1280 ; <nl> - overscan . bottom = 720 ; <nl> - break ; <nl> - case RES_HDTV_480p_16x9 : <nl> - case RES_HDTV_480p_4x3 : <nl> - case RES_NTSC_16x9 : <nl> - case RES_NTSC_4x3 : <nl> - case RES_PAL60_16x9 : <nl> - case RES_PAL60_4x3 : <nl> - overscan . right = 720 ; <nl> - overscan . bottom = 480 ; <nl> - break ; <nl> - case RES_PAL_16x9 : <nl> - case RES_PAL_4x3 : <nl> - overscan . right = 720 ; <nl> - overscan . bottom = 576 ; <nl> - break ; <nl> - default : <nl> - RESOLUTION_INFO info = GetResInfo ( res ) ; <nl> - overscan . right = info . iWidth ; <nl> - overscan . bottom = info . iHeight ; <nl> - break ; <nl> - } <nl> + <nl> + RESOLUTION_INFO info = GetResInfo ( res ) ; <nl> + overscan . right = info . iWidth ; <nl> + overscan . bottom = info . iHeight ; <nl> } <nl> <nl> void CGraphicContext : : ResetScreenParameters ( RESOLUTION res ) <nl> { <nl> - / / For now these are all on the first screen . <nl> RESOLUTION_INFO & info = CDisplaySettings : : GetInstance ( ) . GetResolutionInfo ( res ) ; <nl> <nl> - / / 1080i <nl> switch ( res ) <nl> { <nl> - case RES_HDTV_1080i : <nl> - info . iSubtitles = ( int ) ( 0 . 965 * 1080 ) ; <nl> - info . iWidth = 1920 ; <nl> - info . iHeight = 1080 ; <nl> - info . dwFlags = D3DPRESENTFLAG_INTERLACED | D3DPRESENTFLAG_WIDESCREEN ; <nl> - info . fPixelRatio = 1 . 0f ; <nl> - info . strMode = " 1080i 16 : 9 " ; <nl> - break ; <nl> - case RES_HDTV_720pSBS : <nl> - info . iSubtitles = ( int ) ( 0 . 965 * 720 ) ; <nl> - info . iWidth = 640 ; <nl> - info . iHeight = 720 ; <nl> - info . dwFlags = D3DPRESENTFLAG_PROGRESSIVE | D3DPRESENTFLAG_WIDESCREEN | D3DPRESENTFLAG_MODE3DSBS ; <nl> - info . fPixelRatio = 2 . 0f ; <nl> - info . strMode = " 720pSBS 16 : 9 " ; <nl> - break ; <nl> - case RES_HDTV_720pTB : <nl> - info . iSubtitles = ( int ) ( 0 . 965 * 720 ) ; <nl> - info . iWidth = 1280 ; <nl> - info . iHeight = 720 ; <nl> - info . dwFlags = D3DPRESENTFLAG_PROGRESSIVE | D3DPRESENTFLAG_WIDESCREEN | D3DPRESENTFLAG_MODE3DTB ; <nl> - info . fPixelRatio = 0 . 5f ; <nl> - info . strMode = " 720pTB 16 : 9 " ; <nl> - break ; <nl> - case RES_HDTV_1080pSBS : <nl> - info . iSubtitles = ( int ) ( 0 . 965 * 1080 ) ; <nl> - info . iWidth = 1920 ; <nl> - info . iHeight = 1080 ; <nl> - info . dwFlags = D3DPRESENTFLAG_PROGRESSIVE | D3DPRESENTFLAG_WIDESCREEN | D3DPRESENTFLAG_MODE3DSBS ; <nl> - info . fPixelRatio = 2 . 0f ; <nl> - info . strMode = " 1080pSBS 16 : 9 " ; <nl> - break ; <nl> - case RES_HDTV_1080pTB : <nl> - info . iSubtitles = ( int ) ( 0 . 965 * 1080 ) ; <nl> - info . iWidth = 1920 ; <nl> - info . iHeight = 1080 ; <nl> - info . dwFlags = D3DPRESENTFLAG_PROGRESSIVE | D3DPRESENTFLAG_WIDESCREEN | D3DPRESENTFLAG_MODE3DTB ; <nl> - info . fPixelRatio = 0 . 5f ; <nl> - info . strMode = " 1080pTB 16 : 9 " ; <nl> - break ; <nl> - case RES_HDTV_720p : <nl> - info . iSubtitles = ( int ) ( 0 . 965 * 720 ) ; <nl> - info . iWidth = 1280 ; <nl> - info . iHeight = 720 ; <nl> - info . dwFlags = D3DPRESENTFLAG_PROGRESSIVE | D3DPRESENTFLAG_WIDESCREEN ; <nl> - info . fPixelRatio = 1 . 0f ; <nl> - info . strMode = " 720p 16 : 9 " ; <nl> - break ; <nl> - case RES_HDTV_480p_4x3 : <nl> - info . iSubtitles = ( int ) ( 0 . 9 * 480 ) ; <nl> - info . iWidth = 720 ; <nl> - info . iHeight = 480 ; <nl> - info . dwFlags = D3DPRESENTFLAG_PROGRESSIVE ; <nl> - info . fPixelRatio = 4320 . 0f / 4739 . 0f ; <nl> - info . strMode = " 480p 4 : 3 " ; <nl> - break ; <nl> - case RES_HDTV_480p_16x9 : <nl> - info . iSubtitles = ( int ) ( 0 . 965 * 480 ) ; <nl> - info . iWidth = 720 ; <nl> - info . iHeight = 480 ; <nl> - info . dwFlags = D3DPRESENTFLAG_PROGRESSIVE | D3DPRESENTFLAG_WIDESCREEN ; <nl> - info . fPixelRatio = 4320 . 0f / 4739 . 0f * 4 . 0f / 3 . 0f ; <nl> - info . strMode = " 480p 16 : 9 " ; <nl> - break ; <nl> - case RES_NTSC_4x3 : <nl> - info . iSubtitles = ( int ) ( 0 . 9 * 480 ) ; <nl> - info . iWidth = 720 ; <nl> - info . iHeight = 480 ; <nl> - info . dwFlags = D3DPRESENTFLAG_INTERLACED ; <nl> - info . fPixelRatio = 4320 . 0f / 4739 . 0f ; <nl> - info . strMode = " NTSC 4 : 3 " ; <nl> - break ; <nl> - case RES_NTSC_16x9 : <nl> - info . iSubtitles = ( int ) ( 0 . 965 * 480 ) ; <nl> - info . iWidth = 720 ; <nl> - info . iHeight = 480 ; <nl> - info . dwFlags = D3DPRESENTFLAG_INTERLACED | D3DPRESENTFLAG_WIDESCREEN ; <nl> - info . fPixelRatio = 4320 . 0f / 4739 . 0f * 4 . 0f / 3 . 0f ; <nl> - info . strMode = " NTSC 16 : 9 " ; <nl> - break ; <nl> - case RES_PAL_4x3 : <nl> - info . iSubtitles = ( int ) ( 0 . 9 * 576 ) ; <nl> - info . iWidth = 720 ; <nl> - info . iHeight = 576 ; <nl> - info . dwFlags = D3DPRESENTFLAG_INTERLACED ; <nl> - info . fPixelRatio = 128 . 0f / 117 . 0f ; <nl> - info . strMode = " PAL 4 : 3 " ; <nl> - break ; <nl> - case RES_PAL_16x9 : <nl> - info . iSubtitles = ( int ) ( 0 . 965 * 576 ) ; <nl> - info . iWidth = 720 ; <nl> - info . iHeight = 576 ; <nl> - info . dwFlags = D3DPRESENTFLAG_INTERLACED | D3DPRESENTFLAG_WIDESCREEN ; <nl> - info . fPixelRatio = 128 . 0f / 117 . 0f * 4 . 0f / 3 . 0f ; <nl> - info . strMode = " PAL 16 : 9 " ; <nl> - break ; <nl> - case RES_PAL60_4x3 : <nl> - info . iSubtitles = ( int ) ( 0 . 9 * 480 ) ; <nl> - info . iWidth = 720 ; <nl> - info . iHeight = 480 ; <nl> - info . dwFlags = D3DPRESENTFLAG_INTERLACED ; <nl> - info . fPixelRatio = 4320 . 0f / 4739 . 0f ; <nl> - info . strMode = " PAL60 4 : 3 " ; <nl> - break ; <nl> - case RES_PAL60_16x9 : <nl> - info . iSubtitles = ( int ) ( 0 . 965 * 480 ) ; <nl> - info . iWidth = 720 ; <nl> - info . iHeight = 480 ; <nl> - info . dwFlags = D3DPRESENTFLAG_INTERLACED | D3DPRESENTFLAG_WIDESCREEN ; <nl> - info . fPixelRatio = 4320 . 0f / 4739 . 0f * 4 . 0f / 3 . 0f ; <nl> - info . strMode = " PAL60 16 : 9 " ; <nl> - break ; <nl> case RES_WINDOW : <nl> info . iSubtitles = ( int ) ( 0 . 965 * info . iHeight ) ; <nl> info . fPixelRatio = 1 . 0 ; <nl> void CGraphicContext : : ResetScreenParameters ( RESOLUTION res ) <nl> default : <nl> break ; <nl> } <nl> + <nl> info . iScreenWidth = info . iWidth ; <nl> info . iScreenHeight = info . iHeight ; <nl> ResetOverscan ( res , info . Overscan ) ; <nl> float CGraphicContext : : GetFPS ( ) const <nl> RESOLUTION_INFO info = GetResInfo ( ) ; <nl> if ( info . fRefreshRate > 0 ) <nl> return info . fRefreshRate ; <nl> - if ( m_Resolution = = RES_PAL_4x3 | | m_Resolution = = RES_PAL_16x9 ) <nl> - return 50 . 0f ; <nl> - if ( m_Resolution = = RES_HDTV_1080i ) <nl> - return 30 . 0f ; <nl> } <nl> return 60 . 0f ; <nl> } <nl> mmm a / xbmc / windowing / Resolution . h <nl> ppp b / xbmc / windowing / Resolution . h <nl> typedef int DisplayMode ; <nl> # define DM_WINDOWED - 1 <nl> # define DM_FULLSCREEN 0 <nl> <nl> - enum RESOLUTION { <nl> + enum RESOLUTION <nl> + { <nl> RES_INVALID = - 1 , <nl> - RES_HDTV_1080i = 0 , <nl> - RES_HDTV_720pSBS = 1 , <nl> - RES_HDTV_720pTB = 2 , <nl> - RES_HDTV_1080pSBS = 3 , <nl> - RES_HDTV_1080pTB = 4 , <nl> - RES_HDTV_720p = 5 , <nl> - RES_HDTV_480p_4x3 = 6 , <nl> - RES_HDTV_480p_16x9 = 7 , <nl> - RES_NTSC_4x3 = 8 , <nl> - RES_NTSC_16x9 = 9 , <nl> - RES_PAL_4x3 = 10 , <nl> - RES_PAL_16x9 = 11 , <nl> - RES_PAL60_4x3 = 12 , <nl> - RES_PAL60_16x9 = 13 , <nl> - RES_AUTORES = 14 , <nl> RES_WINDOW = 15 , <nl> - RES_DESKTOP = 16 , / / Desktop resolution for primary screen <nl> - RES_CUSTOM = 16 + 1 , / / Desktop resolution for screen # 2 <nl> - / / . . . <nl> - / / 12 + N - 1 / / Desktop resolution for screen N <nl> - / / 12 + N / / First additional resolution , in a N screen configuration . <nl> - / / 12 + N + . . . / / Other resolutions , in any order <nl> + RES_DESKTOP = 16 , / / Desktop resolution <nl> + RES_CUSTOM = 16 + 1 , / / First additional resolution <nl> } ; <nl> <nl> struct OVERSCAN <nl> mmm a / xbmc / windowing / WinSystem . cpp <nl> ppp b / xbmc / windowing / WinSystem . cpp <nl> <nl> CWinSystemBase : : CWinSystemBase ( ) <nl> { <nl> m_gfxContext . reset ( new CGraphicContext ( ) ) ; <nl> - for ( int i = RES_HDTV_1080i ; i < = RES_PAL60_16x9 ; i + + ) <nl> - { <nl> - m_gfxContext - > ResetScreenParameters ( ( RESOLUTION ) i ) ; <nl> - m_gfxContext - > ResetOverscan ( ( RESOLUTION ) i , CDisplaySettings : : GetInstance ( ) . GetResolutionInfo ( i ) . Overscan ) ; <nl> - } <nl> } <nl> <nl> CWinSystemBase : : ~ CWinSystemBase ( ) = default ; <nl>
Merge pull request from FernetMenta / reso
xbmc/xbmc
00fb04e3f9dfd0645e76fcfaf50f48a46e4f2e3c
2018-08-08T05:30:38Z
mmm a / tensorflow / python / framework / python_op_gen . cc <nl> ppp b / tensorflow / python / framework / python_op_gen . cc <nl> bool IsOpWithUnderscorePrefix ( const string & s ) { <nl> " fused_batch_norm " , " histogram_fixed_width " , " stack " , <nl> " batch_norm_with_global_normalization " , <nl> / / TODO ( annarev ) : replace these ops in the next change . <nl> - " broadcast_gradient_args " , " ref_identity " } ) ; <nl> + " broadcast_gradient_args " } ) ; <nl> return kUnderscoreOps - > count ( s ) > 0 ; <nl> } <nl> <nl> mmm a / tensorflow / python / grappler / item_test . py <nl> ppp b / tensorflow / python / grappler / item_test . py <nl> def testColocationContraints ( self ) : <nl> with ops . Graph ( ) . as_default ( ) as g : <nl> c = constant_op . constant ( [ 10 ] ) <nl> v = variables . Variable ( [ 3 ] , dtype = dtypes . int32 ) <nl> - i = gen_array_ops . _ref_identity ( v ) <nl> + i = gen_array_ops . ref_identity ( v ) <nl> a = state_ops . assign ( i , c ) <nl> train_op = ops . get_collection_ref ( ops . GraphKeys . TRAIN_OP ) <nl> train_op . append ( a ) <nl> mmm a / tensorflow / python / kernel_tests / control_flow_ops_py_test . py <nl> ppp b / tensorflow / python / kernel_tests / control_flow_ops_py_test . py <nl> def testUninitializedRefIdentity ( self ) : <nl> # Both v_f and v_t are uninitialized references . However , an actual use <nl> # of the reference in the ' true ' branch in the ' tf . identity ' op will <nl> # not ' fire ' when v is uninitialized , so this is a valid construction . <nl> - # This test tests that _ref_identity allows uninitialized ref as input <nl> + # This test tests that ref_identity allows uninitialized ref as input <nl> # so that this construction is allowed . <nl> - v_f_op = gen_array_ops . _ref_identity ( v_f ) <nl> - v_t_op = gen_array_ops . _ref_identity ( v_t ) <nl> + v_f_op = gen_array_ops . ref_identity ( v_f ) <nl> + v_t_op = gen_array_ops . ref_identity ( v_t ) <nl> with ops . control_dependencies ( [ v_f_op ] ) : <nl> assign_v = state_ops . assign ( v , [ 1 . 0 ] ) <nl> with ops . control_dependencies ( [ v_t_op ] ) : <nl> def testWhileWithRefs_1 ( self ) : <nl> <nl> def b ( i , x ) : <nl> self . assertEqual ( x . dtype , dtypes . int32_ref ) <nl> - return ( i + 1 , gen_array_ops . _ref_identity ( x ) ) <nl> + return ( i + 1 , gen_array_ops . ref_identity ( x ) ) <nl> <nl> r = control_flow_ops . while_loop ( c , b , [ i , x ] , parallel_iterations = 5 ) <nl> <nl> def testWhileWithRefsWithGradients_1 ( self ) : <nl> <nl> self . assertEqual ( x . dtype , dtypes . int32_ref ) <nl> <nl> - # pylint : disable = protected - access <nl> def body ( i , x ) : <nl> self . assertEqual ( x . dtype , dtypes . int32_ref ) <nl> - return [ i + 1 , gen_array_ops . _ref_identity ( x ) ] <nl> - <nl> - # pylint : enable = protected - access <nl> + return [ i + 1 , gen_array_ops . ref_identity ( x ) ] <nl> <nl> r = control_flow_ops . while_loop ( c , body , [ i , x ] , parallel_iterations = 5 ) <nl> <nl> mmm a / tensorflow / python / kernel_tests / identity_op_py_test . py <nl> ppp b / tensorflow / python / kernel_tests / identity_op_py_test . py <nl> def testRefIdentityShape ( self ) : <nl> constant_op . constant ( <nl> [ [ 1 , 2 , 3 ] , [ 6 , 5 , 4 ] ] , dtype = dtypes . int32 ) ) <nl> self . assertEquals ( shape , tensor . get_shape ( ) ) <nl> - self . assertEquals ( shape , gen_array_ops . _ref_identity ( tensor ) . get_shape ( ) ) <nl> + self . assertEquals ( shape , gen_array_ops . ref_identity ( tensor ) . get_shape ( ) ) <nl> <nl> <nl> if __name__ = = " __main__ " : <nl> mmm a / tensorflow / python / ops / control_flow_ops . py <nl> ppp b / tensorflow / python / ops / control_flow_ops . py <nl> def _Identity ( data , name = None ) : <nl> data = ops . internal_convert_to_tensor_or_indexed_slices ( data , as_ref = True ) <nl> if isinstance ( data , ops . Tensor ) : <nl> if data . dtype . _is_ref_dtype : # pylint : disable = protected - access <nl> - return gen_array_ops . _ref_identity ( data , name = name ) <nl> + return gen_array_ops . ref_identity ( data , name = name ) <nl> else : <nl> return array_ops . identity ( data , name = name ) <nl> else : <nl>
Remove underscore prefix from ref_identity op .
tensorflow/tensorflow
c6dbbdc339ab351700793885417d12fd7172d14c
2018-03-14T22:30:13Z
mmm a / tensorflow / core / graph / mkl_layout_pass . cc <nl> ppp b / tensorflow / core / graph / mkl_layout_pass . cc <nl> class MklLayoutRewritePass : public GraphOptimizationPass { <nl> rinfo_ . push_back ( { csinfo_ . addn , mkl_op_registry : : GetMklOpName ( csinfo_ . addn ) , <nl> CopyAttrsAll , AlwaysRewrite , <nl> kRewriteForLayoutPropagation } ) ; <nl> - # ifndef ENABLE_MKLDNN_V1 <nl> rinfo_ . push_back ( { csinfo_ . add , mkl_op_registry : : GetMklOpName ( csinfo_ . add ) , <nl> CopyAttrsAll , RewriteIfAtleastOneMklInput , <nl> kRewriteForLayoutPropagation } ) ; <nl> class MklLayoutRewritePass : public GraphOptimizationPass { <nl> { csinfo_ . conjugate_transpose , <nl> mkl_op_registry : : GetMklOpName ( csinfo_ . conjugate_transpose ) , <nl> CopyAttrsAll , AlwaysRewrite , kRewriteForOpNameChange } ) ; <nl> - # endif / / ! ENABLE_MKLDNN_V1 <nl> rinfo_ . push_back ( { csinfo_ . conv2d , <nl> mkl_op_registry : : GetMklOpName ( csinfo_ . conv2d ) , <nl> CopyAttrsConvCheckConstFilter , AlwaysRewrite , <nl> kRewriteForLayoutPropagation } ) ; <nl> - # ifndef ENABLE_MKLDNN_V1 <nl> rinfo_ . push_back ( { csinfo_ . conv2d_with_bias , csinfo_ . mkl_conv2d_with_bias , <nl> CopyAttrsConvCheckConstFilter , AlwaysRewrite , <nl> kRewriteForLayoutPropagation } ) ; <nl> class MklLayoutRewritePass : public GraphOptimizationPass { <nl> { csinfo_ . fused_batch_norm_grad_v3 , <nl> mkl_op_registry : : GetMklOpName ( csinfo_ . fused_batch_norm_grad_v3 ) , <nl> CopyAttrsAll , AlwaysRewrite , kRewriteForLayoutPropagation } ) ; <nl> - # endif / / ! ENABLE_MKLDNN_V1 <nl> - <nl> rinfo_ . push_back ( { csinfo_ . fused_conv2d , csinfo_ . mkl_fused_conv2d , <nl> CopyAttrsFusedConv2D , FusedConv2DRewrite , <nl> kRewriteForLayoutPropagation } ) ; <nl> rinfo_ . push_back ( { csinfo_ . fused_matmul , csinfo_ . mkl_fused_matmul , <nl> CopyAttrsAllCheckConstFilter , FusedMatMulRewrite } ) ; <nl> <nl> - # ifndef ENABLE_MKLDNN_V1 <nl> rinfo_ . push_back ( { csinfo_ . identity , <nl> mkl_op_registry : : GetMklOpName ( csinfo_ . identity ) , <nl> CopyAttrsAll , RewriteIfAtleastOneMklInput , <nl> kRewriteForLayoutPropagation } ) ; <nl> - <nl> rinfo_ . push_back ( { csinfo_ . lrn , mkl_op_registry : : GetMklOpName ( csinfo_ . lrn ) , <nl> CopyAttrsAll , LrnRewrite , kRewriteForLayoutPropagation } ) ; <nl> rinfo_ . push_back ( <nl> class MklLayoutRewritePass : public GraphOptimizationPass { <nl> mkl_op_registry : : GetMklOpName ( csinfo_ . quantize_v2 ) , <nl> CopyAttrsAll , QuantizeOpRewrite , <nl> kRewriteForLayoutPropagation } ) ; <nl> - # endif / / ! ENABLE_MKLDNN_V1 <nl> rinfo_ . push_back ( { csinfo_ . relu , mkl_op_registry : : GetMklOpName ( csinfo_ . relu ) , <nl> CopyAttrsAll , AlwaysRewrite , <nl> kRewriteForLayoutPropagation } ) ; <nl> class MklLayoutRewritePass : public GraphOptimizationPass { <nl> rinfo_ . push_back ( <nl> { csinfo_ . relu6_grad , mkl_op_registry : : GetMklOpName ( csinfo_ . relu6_grad ) , <nl> CopyAttrsAll , AlwaysRewrite , kRewriteForLayoutPropagation } ) ; <nl> - # ifndef ENABLE_MKLDNN_V1 <nl> rinfo_ . push_back ( <nl> { csinfo_ . requantize , mkl_op_registry : : GetMklOpName ( csinfo_ . requantize ) , <nl> CopyAttrsAll , AlwaysRewrite , kRewriteForLayoutPropagation } ) ; <nl> - # endif / / ! ENABLE_MKLDNN_V1 <nl> / / Disable these two MKL operators for now due to some test failures caused <nl> / / by these two ops <nl> / * <nl> class MklLayoutRewritePass : public GraphOptimizationPass { <nl> mkl_op_registry : : GetMklOpName ( csinfo_ . slice ) , <nl> CopyAttrsAll , RewriteIfAtleastOneMklInput , <nl> kRewriteForLayoutPropagation } ) ; <nl> - # ifndef ENABLE_MKLDNN_V1 <nl> rinfo_ . push_back ( <nl> { csinfo_ . softmax , mkl_op_registry : : GetMklOpName ( csinfo_ . softmax ) , <nl> CopyAttrsAll , AlwaysRewrite , kRewriteForLayoutPropagation } ) ; <nl> class MklLayoutRewritePass : public GraphOptimizationPass { <nl> / / CheckForMklOp <nl> FuseMaxPool3D , <nl> CopyAttrsPooling } ) ; <nl> - # endif / / ! ENABLE_MKLDNN_V1 <nl> } <nl> <nl> / / Standard interface to run pass <nl> mmm a / tensorflow / core / kernels / mkl_avgpooling_op . cc <nl> ppp b / tensorflow / core / kernels / mkl_avgpooling_op . cc <nl> using mkldnn : : algorithm ; <nl> using mkldnn : : engine ; <nl> using mkldnn : : error ; <nl> using mkldnn : : memory ; <nl> + # ifndef ENABLE_MKLDNN_V1 <nl> using mkldnn : : padding_kind ; <nl> + # endif <nl> using mkldnn : : pooling_backward ; <nl> using mkldnn : : pooling_forward ; <nl> using mkldnn : : prop_kind ; <nl> class MklAvgPoolingOp : public MklPoolingForwardOpBase < T > { <nl> pooling_prop_kind = prop_kind : : forward_inference ; <nl> else <nl> pooling_prop_kind = prop_kind : : forward_training ; <nl> + # ifdef ENABLE_MKLDNN_V1 <nl> MklPoolingParams fwdParams ( <nl> src_dims , output_dims_mkl_order , filter_dims , strides , padding_left , <nl> padding_right , ALGORITHM : : pooling_avg_exclude_padding , <nl> - pooling_prop_kind , static_cast < memory : : format > ( input_md . data . format ) ) ; <nl> - <nl> + pooling_prop_kind , <nl> + static_cast < MEMORY_FORMAT > ( this - > data_format_mkldnn_ ) ) ; <nl> + # else <nl> + MklPoolingParams fwdParams ( <nl> + src_dims , output_dims_mkl_order , filter_dims , strides , padding_left , <nl> + padding_right , ALGORITHM : : pooling_avg_exclude_padding , <nl> + pooling_prop_kind , static_cast < MEMORY_FORMAT > ( input_md . data . format ) ) ; <nl> + # endif <nl> pooling_fwd = MklPoolingFwdPrimitiveFactory < T > : : Get ( fwdParams ) ; <nl> <nl> / / Allocate output tensor . <nl> class MklAvgPoolingGradOp : public MklPoolingBackwardOpBase < T > { <nl> <nl> / / Pass prop_kind : : forward_training to create a forward primitive <nl> / / that is used in the backward pass . <nl> + # ifdef ENABLE_MKLDNN_V1 <nl> + MklPoolingParams bwdParams ( <nl> + orig_input_dims_mkl_order , output_dims_mkl_order , filter_dims , <nl> + strides , padding_left , padding_right , <nl> + ALGORITHM : : pooling_avg_exclude_padding , prop_kind : : forward_training , <nl> + static_cast < MEMORY_FORMAT > ( this - > data_format_mkldnn_ ) ) ; <nl> + # else <nl> MklPoolingParams bwdParams ( <nl> orig_input_dims_mkl_order , output_dims_mkl_order , filter_dims , <nl> strides , padding_left , padding_right , <nl> ALGORITHM : : pooling_avg_exclude_padding , prop_kind : : forward_training , <nl> - static_cast < memory : : format > ( src_md . data . format ) ) ; <nl> + static_cast < MEMORY_FORMAT > ( src_md . data . format ) ) ; <nl> + # endif <nl> MklPoolingBwdPrimitive < T > * pooling_bwd = <nl> MklPoolingBwdPrimitiveFactory < T > : : Get ( bwdParams ) ; <nl> <nl> mmm a / tensorflow / core / kernels / mkl_concat_op . cc <nl> ppp b / tensorflow / core / kernels / mkl_concat_op . cc <nl> limitations under the License . <nl> # include < vector > <nl> <nl> # include " mkldnn . hpp " <nl> - # include " third_party / eigen3 / unsupported / Eigen / CXX11 / Tensor " <nl> # include " tensorflow / core / framework / bounds_check . h " <nl> # include " tensorflow / core / framework / op_kernel . h " <nl> # include " tensorflow / core / framework / register_types . h " <nl> limitations under the License . <nl> # include " tensorflow / core / platform / types . h " <nl> # include " tensorflow / core / util / mkl_types . h " <nl> # include " tensorflow / core / util / mkl_util . h " <nl> + # include " third_party / eigen3 / unsupported / Eigen / CXX11 / Tensor " <nl> <nl> using mkldnn : : concat ; <nl> using mkldnn : : stream ; <nl> class MklConcatFwdPrimitive : public MklPrimitive { <nl> explicit MklConcatFwdPrimitive ( const MklConcatFwdParams & concat_fwd_dims , <nl> const std : : vector < memory : : desc > & srcs_md ) <nl> : cpu_engine_ ( ENGINE_CPU , 0 ) { <nl> - context_ . fwd_stream . reset ( new CPU_STREAM ( stream : : kind : : eager ) ) ; <nl> + context_ . fwd_stream . reset ( new CPU_STREAM ( cpu_engine_ ) ) ; <nl> / / Create concat primitive <nl> Setup ( concat_fwd_dims , srcs_md ) ; <nl> } <nl> class MklConcatFwdPrimitive : public MklPrimitive { <nl> } <nl> <nl> # ifdef ENABLE_MKLDNN_V1 <nl> - execute_primitives ( context_ . fwd_primitives , * context_ . fwd_stream , <nl> - context_ . fwd_primitives_args . at ( i ) ) ; <nl> + execute_primitives ( context_ . fwd_primitives , context_ . fwd_stream , <nl> + context_ . fwd_primitives_args ) ; <nl> # else <nl> context_ . fwd_stream - > submit ( context_ . fwd_primitives ) ; <nl> # endif / / ENABLE_MKLDNN_V1 <nl> class MklConcatFwdPrimitive : public MklPrimitive { <nl> std : : shared_ptr < mkldnn : : memory > dst_mem ; <nl> <nl> / / Memory descriptor <nl> - std : : vector < std : : shared_ptr < mkldnn : : memory : : desc > > src_md ; <nl> + std : : vector < mkldnn : : memory : : desc > src_md ; <nl> std : : shared_ptr < mkldnn : : memory : : desc > dst_md ; <nl> <nl> / / Concat primitive descriptor <nl> class MklConcatFwdPrimitive : public MklPrimitive { <nl> std : : vector < mkldnn : : primitive > fwd_primitives ; <nl> <nl> # ifdef ENABLE_MKLDNN_V1 <nl> - std : : vector < std : : unordered_map < int , memory > > fwd_primitive_args ; <nl> + std : : vector < std : : unordered_map < int , memory > > fwd_primitives_args ; <nl> # endif / / ENABLE_MKLDNN_V1 <nl> <nl> ConcatFwdContext ( ) <nl> class MklConcatFwdPrimitive : public MklPrimitive { <nl> const std : : vector < memory : : desc > & srcs_md ) { <nl> / / Create memory descriptors for concat with specified srcs format <nl> for ( size_t i = 0 ; i < concat_fwd_dims . num_inputs ; i + + ) { <nl> - std : : shared_ptr < mkldnn : : memory : : desc > source_md ( <nl> - new memory : : desc ( srcs_md [ i ] . data ) ) ; <nl> + mkldnn : : memory : : desc source_md ( memory : : desc ( srcs_md [ i ] . data ) ) ; <nl> context_ . src_md . push_back ( source_md ) ; <nl> # ifdef ENABLE_MKLDNN_V1 <nl> std : : shared_ptr < mkldnn : : memory > src_mem ( <nl> - new mkldnn : : memory ( * source_md , cpu_engine_ , DummyData ) ) ; <nl> + new mkldnn : : memory ( source_md , cpu_engine_ , DummyData ) ) ; <nl> # else <nl> std : : shared_ptr < mkldnn : : memory : : primitive_desc > src_mpd ( <nl> - new memory : : primitive_desc ( * source_md , cpu_engine_ ) ) ; <nl> + new memory : : primitive_desc ( source_md , cpu_engine_ ) ) ; <nl> context_ . src_pd_shdptr . push_back ( src_mpd ) ; <nl> <nl> std : : shared_ptr < mkldnn : : memory > src_mem ( <nl> class MklConcatOp : public OpKernel { <nl> if ( input_tensors [ k ] . NumElements ( ) = = 0 ) continue ; <nl> auto src_md = mkl_input_shapes [ k ] . GetMklLayout ( ) ; <nl> srcs [ k ] . SetUsrMem ( src_md , & input_tensors [ k ] ) ; <nl> - <nl> - if ( src_md . data . format ! = mkl_common_format ) { <nl> + auto src_tf_fmt = MklTensorFormatToMklDnnDataFormat ( <nl> + mkl_input_shapes [ k ] . GetTfDataFormat ( ) ) ; <nl> + if ( src_tf_fmt ! = mkl_common_format ) { <nl> memory : : dims src_dims ( src_md . data . dims , <nl> & src_md . data . dims [ src_md . data . ndims ] ) ; <nl> src_md = <nl> class MklConcatOp : public OpKernel { <nl> for ( int k = 0 ; k < input_shapes . size ( ) ; k + + ) { <nl> auto src_dims = TFShapeToMklDnnDims ( input_shapes [ k ] . GetTfShape ( ) ) ; <nl> * concat_dim_size + = src_dims [ concat_dim ] ; <nl> - int fmt = static_cast < int > ( input_shapes [ k ] . GetMklLayout ( ) . data . format ) ; <nl> + int fmt = static_cast < int > ( <nl> + MklTensorFormatToMklDnnDataFormat ( input_shapes [ k ] . GetTfDataFormat ( ) ) ) ; <nl> occurrence_map [ fmt ] + = 1 ; <nl> } <nl> <nl> class MklConcatOp : public OpKernel { <nl> / / this means that all inputs have a same format <nl> / / return it with is_reorder_needed set false . <nl> return static_cast < MEMORY_FORMAT > ( <nl> - input_shapes [ 0 ] . GetMklLayout ( ) . data . format ) ; <nl> + MklTensorFormatToMklDnnDataFormat ( input_shapes [ 0 ] . GetTfDataFormat ( ) ) ) ; <nl> } <nl> <nl> / / Input tensors have different formats . Thus , reorder is needed . <nl> class MklConcatOp : public OpKernel { <nl> . TypeConstraint < type > ( " T " ) \ <nl> . HostMemory ( " concat_dim " ) \ <nl> . Label ( mkl_op_registry : : kMklLayoutDependentOpLabel ) , \ <nl> - MklConcatOp < CPUDevice , type , NAME_IS_CONCAT_DIM > ) \ <nl> + MklConcatOp < CPUDevice , type , NAME_IS_CONCAT_DIM > ) ; \ <nl> REGISTER_KERNEL_BUILDER ( \ <nl> Name ( " _MklConcatV2 " ) \ <nl> . Device ( DEVICE_CPU ) \ <nl> class MklConcatOp : public OpKernel { <nl> . TypeConstraint < int32 > ( " Tidx " ) \ <nl> . HostMemory ( " axis " ) \ <nl> . Label ( mkl_op_registry : : kMklLayoutDependentOpLabel ) , \ <nl> - MklConcatOp < CPUDevice , type , NAME_IS_AXIS > ) <nl> + MklConcatOp < CPUDevice , type , NAME_IS_AXIS > ) ; <nl> <nl> TF_CALL_float ( REGISTER_MKL_CPU ) ; <nl> TF_CALL_bfloat16 ( REGISTER_MKL_CPU ) ; <nl> REGISTER_KERNEL_BUILDER ( Name ( " _MklQuantizedConcatV2 " ) <nl> . TypeConstraint < quint8 > ( " T " ) <nl> . HostMemory ( " axis " ) <nl> . Label ( mkl_op_registry : : kMklQuantizedOpLabel ) , <nl> - MklConcatOp < CPUDevice , quint8 , NAME_IS_AXIS > ) <nl> + MklConcatOp < CPUDevice , quint8 , NAME_IS_AXIS > ) ; <nl> <nl> REGISTER_KERNEL_BUILDER ( Name ( " _MklQuantizedConcatV2 " ) <nl> . Device ( DEVICE_CPU ) <nl> . TypeConstraint < qint8 > ( " T " ) <nl> . HostMemory ( " axis " ) <nl> . Label ( mkl_op_registry : : kMklQuantizedOpLabel ) , <nl> - MklConcatOp < CPUDevice , qint8 , NAME_IS_AXIS > ) <nl> + MklConcatOp < CPUDevice , qint8 , NAME_IS_AXIS > ) ; <nl> <nl> # undef REGISTER_CONCAT_MKL <nl> } / / namespace tensorflow <nl> mmm a / tensorflow / core / kernels / mkl_conv_grad_filter_ops . cc <nl> ppp b / tensorflow / core / kernels / mkl_conv_grad_filter_ops . cc <nl> struct MklConvBwdFilterParams { <nl> memory : : dims dilations ; <nl> memory : : dims padding_left ; <nl> memory : : dims padding_right ; <nl> + # ifndef ENABLE_MKLDNN_V1 <nl> padding_kind padding ; <nl> + # endif / / ! ENABLE_MKLDNN_V1 <nl> <nl> MklConvBwdFilterParams ( memory : : dims src_dims , memory : : dims diff_filter_dims , <nl> memory : : dims diff_bias_dims , <nl> memory : : dims diff_dst_dims , memory : : dims strides , <nl> memory : : dims dilations , memory : : dims padding_left , <nl> + # ifndef ENABLE_MKLDNN_V1 <nl> memory : : dims padding_right , padding_kind padding ) <nl> + # else <nl> + memory : : dims padding_right ) <nl> + # endif / / ! ENABLE_MKLDNN_V1 <nl> : src_dims ( src_dims ) , <nl> diff_filter_dims ( diff_filter_dims ) , <nl> diff_bias_dims ( diff_bias_dims ) , <nl> struct MklConvBwdFilterParams { <nl> strides ( strides ) , <nl> dilations ( dilations ) , <nl> padding_left ( padding_left ) , <nl> + # ifndef ENABLE_MKLDNN_V1 <nl> padding_right ( padding_right ) , <nl> - padding ( padding ) { } <nl> + padding ( padding ) { <nl> + } <nl> + # else <nl> + padding_right ( padding_right ) { <nl> + } <nl> + # endif / / ! ENABLE_MKLDNN_V1 <nl> } ; <nl> <nl> template < typename T > <nl> class MklConvBwdFilterPrimitive : public MklPrimitive { <nl> prop_kind : : forward , ALGORITHM : : convolution_direct , * context_ . src_md , <nl> * context_ . diff_filter_md , * context_ . diff_dst_md , <nl> convBwdFilterDims . strides , convBwdFilterDims . dilations , <nl> + # ifndef ENABLE_MKLDNN_V1 <nl> convBwdFilterDims . padding_left , convBwdFilterDims . padding_right , <nl> convBwdFilterDims . padding ) ) ; <nl> + # else <nl> + convBwdFilterDims . padding_left , convBwdFilterDims . padding_right ) ) ; <nl> + # endif / / ! ENABLE_MKLDNN_V1 <nl> context_ . fwd_pd . reset ( new ConvFwdPd ( * context_ . fwd_desc , cpu_engine_ ) ) ; <nl> <nl> / / Create descriptor and primitive descriptor for convolution bwd filter . <nl> class MklConvBwdFilterPrimitive : public MklPrimitive { <nl> * context_ . diff_filter_md , * context_ . diff_bias_md , <nl> * context_ . diff_dst_md , convBwdFilterDims . strides , <nl> convBwdFilterDims . dilations , convBwdFilterDims . padding_left , <nl> + # ifndef ENABLE_MKLDNN_V1 <nl> convBwdFilterDims . padding_right , convBwdFilterDims . padding ) ) ; <nl> + # else <nl> + convBwdFilterDims . padding_right ) ) ; <nl> + # endif / / ! ENABLE_MKLDNN_V1 <nl> } else { <nl> context_ . bwd_filter_desc . reset ( new ConvBwdFilterDesc ( <nl> ALGORITHM : : convolution_direct , * context_ . src_md , <nl> * context_ . diff_filter_md , * context_ . diff_dst_md , <nl> convBwdFilterDims . strides , convBwdFilterDims . dilations , <nl> + # ifndef ENABLE_MKLDNN_V1 <nl> convBwdFilterDims . padding_left , convBwdFilterDims . padding_right , <nl> convBwdFilterDims . padding ) ) ; <nl> + # else <nl> + convBwdFilterDims . padding_left , convBwdFilterDims . padding_right ) ) ; <nl> + # endif / / ! ENABLE_MKLDNN_V1 <nl> } <nl> context_ . bwd_filter_pd . reset ( new ConvBwdFilterPd ( <nl> * context_ . bwd_filter_desc , cpu_engine_ , * context_ . fwd_pd ) ) ; <nl> class MklConvCustomBackpropFilterOp <nl> / / The default dilation factor for each dimension is 1 in TF and <nl> / / 0 in MKL - DNN . <nl> for ( int i = 0 ; i < dilations . size ( ) ; + + i ) - - dilations [ i ] ; <nl> - <nl> MklConvBwdFilterParams convBwdFilterDims ( <nl> fwd_src_dims , fwd_filter_dims , diff_bias_dims , diff_dst_dims , strides , <nl> + # ifndef ENABLE_MKLDNN_V1 <nl> dilations , padding_left , padding_right , <nl> TFPaddingToMklDnnPadding ( this - > padding_ ) ) ; <nl> + # else <nl> + dilations , padding_left , padding_right ) ; <nl> + # endif / / ! ENABLE_MKLDNN_V1 <nl> <nl> / / MKL - DNN allocates large buffers when a conv gradient filter primtive is <nl> / / created . So we don ' t cache conv backward primitives when the env <nl> mmm a / tensorflow / core / kernels / mkl_conv_grad_input_ops . cc <nl> ppp b / tensorflow / core / kernels / mkl_conv_grad_input_ops . cc <nl> struct MklConvBwdInputParams { <nl> memory : : dims dilations ; <nl> memory : : dims padding_left ; <nl> memory : : dims padding_right ; <nl> + # ifndef ENABLE_MKLDNN_V1 <nl> padding_kind padding ; <nl> + # endif / / ! ENABLE_MKLDNN_V1 <nl> <nl> MklConvBwdInputParams ( memory : : dims diff_src_dims , memory : : dims filter_dims , <nl> memory : : dims diff_dst_dims , memory : : dims strides , <nl> memory : : dims dilations , memory : : dims padding_left , <nl> + # ifndef ENABLE_MKLDNN_V1 <nl> memory : : dims padding_right , padding_kind padding ) <nl> + # else <nl> + memory : : dims padding_right ) <nl> + # endif / / ! ENABLE_MKLDNN_V1 <nl> : diff_src_dims ( diff_src_dims ) , <nl> filter_dims ( filter_dims ) , <nl> diff_dst_dims ( diff_dst_dims ) , <nl> strides ( strides ) , <nl> dilations ( dilations ) , <nl> padding_left ( padding_left ) , <nl> + # ifndef ENABLE_MKLDNN_V1 <nl> padding_right ( padding_right ) , <nl> - padding ( padding ) { } <nl> + padding ( padding ) { <nl> + } <nl> + # else <nl> + padding_right ( padding_right ) { <nl> + } <nl> + # endif / / ! ENABLE_MKLDNN_V1 <nl> } ; <nl> <nl> template < typename T > <nl> class MklConvBwdInputPrimitive : public MklPrimitive { <nl> ALGORITHM : : convolution_direct , * context_ . diff_src_md , <nl> * context_ . filter_md , * context_ . diff_dst_md , convBwdInputDims . strides , <nl> convBwdInputDims . dilations , convBwdInputDims . padding_left , <nl> + # ifndef ENABLE_MKLDNN_V1 <nl> convBwdInputDims . padding_right , convBwdInputDims . padding ) ) ; <nl> + # else <nl> + convBwdInputDims . padding_right ) ) ; <nl> + # endif / / ! ENABLE_MKLDNN_V1 <nl> <nl> context_ . fwd_desc . reset ( new ConvFwdDesc ( <nl> prop_kind : : forward , ALGORITHM : : convolution_direct , <nl> * context_ . diff_src_md , * context_ . filter_md , * context_ . diff_dst_md , <nl> convBwdInputDims . strides , convBwdInputDims . dilations , <nl> + # ifndef ENABLE_MKLDNN_V1 <nl> convBwdInputDims . padding_left , convBwdInputDims . padding_right , <nl> convBwdInputDims . padding ) ) ; <nl> + # else <nl> + convBwdInputDims . padding_left , convBwdInputDims . padding_right ) ) ; <nl> + # endif / / ! ENABLE_MKLDNN_V1 <nl> <nl> / / Create primitive descriptors for conv fwd and conv bwd input . <nl> context_ . fwd_pd . reset ( new ConvFwdPd ( * context_ . fwd_desc , cpu_engine_ ) ) ; <nl> class MklConvCustomBackpropInputOp <nl> / / The default dilation factor for each dimension is 1 in TF and <nl> / / 0 in MKL - DNN . <nl> for ( int i = 0 ; i < dilations . size ( ) ; + + i ) - - dilations [ i ] ; <nl> - <nl> MklConvBwdInputParams convBwdInputDims ( <nl> fwd_src_dims , fwd_filter_dims , diff_dst_dims , strides , dilations , <nl> + # ifndef ENABLE_MKLDNN_V1 <nl> padding_left , padding_right , <nl> TFPaddingToMklDnnPadding ( this - > padding_ ) ) ; <nl> + # else <nl> + padding_left , padding_right ) ; <nl> + # endif / / ! ENABLE_MKLDNN_V1 <nl> <nl> / / We don ' t cache those primitives if the environment variable <nl> / / TF_MKL_OPTIMIZE_PRIMITIVE_MEMUSE is true and if primitve descriptor <nl> mmm a / tensorflow / core / kernels / mkl_conv_ops . cc <nl> ppp b / tensorflow / core / kernels / mkl_conv_ops . cc <nl> limitations under the License . <nl> # include < unordered_map > <nl> # include < vector > <nl> <nl> - # include " mkldnn . hpp " <nl> # include " absl / strings / str_join . h " <nl> + # include " mkldnn . hpp " <nl> # include " tensorflow / core / framework / bounds_check . h " <nl> # include " tensorflow / core / framework / numeric_op . h " <nl> # include " tensorflow / core / framework / op_kernel . h " <nl> class MklConvFwdPrimitive : public MklPrimitive { <nl> prop_kind : : forward , ALGORITHM : : convolution_direct , * context_ . src_md , <nl> * context_ . filter_md , * context_ . bias_md , * context_ . dst_md , <nl> convFwdDims . strides , convFwdDims . dilations , convFwdDims . padding_left , <nl> + # ifndef ENABLE_MKLDNN_V1 <nl> convFwdDims . padding_right , padding_kind : : zero ) ) ; <nl> + # else <nl> + convFwdDims . padding_right ) ) ; <nl> + # endif / / ! ENABLE_MKLDNN_V1 <nl> } else { <nl> context_ . fwd_desc . reset ( new convolution_forward : : desc ( <nl> prop_kind : : forward , ALGORITHM : : convolution_direct , * context_ . src_md , <nl> * context_ . filter_md , * context_ . dst_md , convFwdDims . strides , <nl> convFwdDims . dilations , convFwdDims . padding_left , <nl> + # ifndef ENABLE_MKLDNN_V1 <nl> convFwdDims . padding_right , padding_kind : : zero ) ) ; <nl> + # else <nl> + convFwdDims . padding_right ) ) ; <nl> + # endif / / ! ENABLE_MKLDNN_V1 <nl> } <nl> <nl> context_ . fwd_pd . reset ( new ConvFwdPd ( * context_ . fwd_desc , cpu_engine_ ) ) ; <nl> class MklConvFwdPrimitive : public MklPrimitive { <nl> float op_scale = post_op_param . param [ 0 ] ; <nl> float op_alpha = post_op_param . param [ 1 ] ; <nl> float op_beta = post_op_param . param [ 2 ] ; <nl> - # ifdef ENABLE_MKLDNN_V1 <nl> - post_ops . append_eltwise ( op_scale , mkldnn : : algorithm : : eltwise_relu , <nl> - op_alpha , <nl> - # else <nl> post_ops . append_eltwise ( op_scale , post_op_param . alg , op_alpha , <nl> - # endif / / ENABLE_MKLDNN_V1 <nl> op_beta ) ; <nl> } else if ( post_op_param . name = = " sum " ) { <nl> DCHECK_EQ ( post_op_param . param . size ( ) , 1 ) ; <nl> class MklConvOp : public OpKernel { <nl> & cached_filter_data_ptensor_ , filter_tensor ) ) ; <nl> <nl> Tensor * second_tensor = nullptr ; <nl> + # ifndef ENABLE_MKLDNN_V1 <nl> TensorShape filter_mkl_format ; <nl> filter_mkl_format . AddDim ( <nl> sizeof ( GetFilterTfDataFormat ( filter_mkl_shape , conv_prim_desc ) ) / <nl> class MklConvOp : public OpKernel { <nl> & cached_filter_md_ptensor_ , & second_tensor ) ) ; <nl> second_tensor - > scalar < int32 > ( ) ( ) = static_cast < int32 > ( <nl> GetFilterTfDataFormat ( filter_mkl_shape , conv_prim_desc ) ) ; <nl> + # else <nl> + / / There is no tensor format in DNNL 1 . x . So we cache the complete filter <nl> + / / descriptor as flat byte array . <nl> + TensorShape cached_filter_md_shape ; <nl> + memory : : desc weights_desc = conv_prim_desc . weights_desc ( ) ; <nl> + / / We don ' t use . get_size ( ) method of memory : : desc since it returns size <nl> + / / required to store primitive ' s input memory . It is much more than size of <nl> + / / memory : : desc itself . <nl> + cached_filter_md_shape . AddDim ( sizeof ( weights_desc ) / sizeof ( uint8 ) ) ; <nl> + OP_REQUIRES_OK ( context , context - > allocate_persistent ( <nl> + DT_UINT8 , cached_filter_md_shape , <nl> + & cached_filter_md_ptensor_ , & second_tensor ) ) ; <nl> + * reinterpret_cast < memory : : desc * > ( second_tensor - > flat < uint8 > ( ) . data ( ) ) = <nl> + weights_desc ; <nl> + # endif / / ! ENABLE_MKLDNN_V1 <nl> } <nl> <nl> void AllocatePersistentTensor ( OpKernelContext * context , <nl> class MklConvOp : public OpKernel { <nl> const Tensor & cached_filter_md = <nl> * cached_filter_md_ptensor_ . AccessTensor ( context ) ; <nl> <nl> - / / Check if the memory descriptor of the cached weights is same as <nl> - / / filter_md . If so , we can use the cached weights ; otherwise <nl> - / / return nullptr . <nl> + / / Check if the memory descriptor of the cached weights is same as <nl> + / / filter_md . If so , we can use the cached weights ; otherwise <nl> + / / return nullptr . <nl> # ifdef ENABLE_MKLDNN_V1 <nl> - if ( cached_filter_md . scalar < int64 > ( ) . size ( ) & & <nl> - AreMemoryDescriptorsEqual ( filter_md , cached_filter_md ) ) { <nl> + if ( filter_md = = * static_cast < memory : : desc * > ( cached_filter_md . data ( ) ) ) { <nl> # else <nl> if ( cached_filter_md . scalar < int32 > ( ) . size ( ) & & <nl> cached_filter_md . scalar < int32 > ( ) ( ) = = filter_md ) { <nl> class MklQuantizedConv2DOp <nl> <nl> if ( ! scaled_bias_buf_ ) <nl> AllocTmpBuffer < Tbias > ( context , & scaled_bias_tensor_ , <nl> - conv_fwd_pd - > bias_primitive_desc ( ) , <nl> + GET_BIAS_DESC_FROM_OP_PD ( conv_fwd_pd ) , <nl> & scaled_bias_buf_ ) ; <nl> if ( ! scaled_bias_ ) { <nl> scaled_bias_ = new MEMORY_CONSTRUCTOR ( bias_md , this - > cpu_engine_ , <nl> mmm a / tensorflow / core / kernels / mkl_dequantize_op . cc <nl> ppp b / tensorflow / core / kernels / mkl_dequantize_op . cc <nl> class MklDequantizeOp : public OpKernel { <nl> Tensor * output_tensor = nullptr ; <nl> MklDnnShape output_mkl_shape ; <nl> TensorShape output_tf_shape ; <nl> + # ifndef ENABLE_MKLDNN_V1 <nl> memory : : desc dst_md = <nl> src_mkl_shape . IsMklTensor ( ) <nl> ? memory : : desc ( src_dims , MklDnnType < float > ( ) , <nl> - static_cast < memory : : format > ( src_md . data . format ) ) <nl> + static_cast < MEMORY_FORMAT > ( src_md . data . format ) ) <nl> : memory : : desc ( src_dims , MklDnnType < float > ( ) , <nl> MEMORY_FORMAT : : nhwc ) ; <nl> + # else <nl> + memory : : desc dst_md = memory : : desc ( ) ; <nl> + if ( src_mkl_shape . IsMklTensor ( ) ) { <nl> + dst_md = memory : : desc ( src_mkl_shape . GetMklLayout ( ) . data ) ; <nl> + / / There is no API in MKL - DNN v1 . x to construct memory descriptor with <nl> + / / same . data field but different type . <nl> + dst_md . data . data_type = memory : : convert_to_c ( MklDnnType < float > ( ) ) ; <nl> + } else { <nl> + dst_md = <nl> + memory : : desc ( src_dims , MklDnnType < float > ( ) , MEMORY_FORMAT : : nhwc ) ; <nl> + } <nl> + # endif / / ! ENABLE_MKLDNN_V1 <nl> + <nl> / / If input is MKL shape , output is also MKL shape . <nl> / / If input is TF shape , output is also TF shape . <nl> if ( src_mkl_shape . IsMklTensor ( ) ) { <nl> mmm a / tensorflow / core / kernels / mkl_fused_batch_norm_op . cc <nl> ppp b / tensorflow / core / kernels / mkl_fused_batch_norm_op . cc <nl> limitations under the License . <nl> = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = * / <nl> # ifdef INTEL_MKL <nl> # include " mkldnn . hpp " <nl> - # include " third_party / eigen3 / unsupported / Eigen / CXX11 / Tensor " <nl> # include " tensorflow / core / framework / op_kernel . h " <nl> # include " tensorflow / core / framework / register_types . h " <nl> # include " tensorflow / core / framework / tensor . h " <nl> # include " tensorflow / core / framework / tensor_types . h " <nl> + # include " tensorflow / core / util / mkl_types . h " <nl> # include " tensorflow / core / util / mkl_util . h " <nl> # include " tensorflow / core / util / tensor_format . h " <nl> + # include " third_party / eigen3 / unsupported / Eigen / CXX11 / Tensor " <nl> + <nl> + # define GET_FLAG ( bn_flag ) static_cast < int > ( BN_FLAGS : : bn_flag ) <nl> + # define IS_SET ( cflag ) ( context_ . flags & GET_FLAG ( cflag ) ) <nl> <nl> using mkldnn : : batch_normalization_backward ; <nl> using mkldnn : : batch_normalization_forward ; <nl> using mkldnn : : prop_kind ; <nl> using mkldnn : : stream ; <nl> - using mkldnn : : use_global_stats ; <nl> - using mkldnn : : use_scale_shift ; <nl> + <nl> + using BatchNormFwdPd = mkldnn : : batch_normalization_forward : : primitive_desc ; <nl> + using BatchNormBwdPd = mkldnn : : batch_normalization_backward : : primitive_desc ; <nl> <nl> namespace tensorflow { <nl> using CPUDevice = Eigen : : ThreadPoolDevice ; <nl> struct MklBatchNormFwdParams { <nl> int depth ; <nl> float eps ; <nl> bool training ; <nl> - memory : : format src_format ; <nl> + # ifndef ENABLE_MKLDNN_V1 <nl> + MEMORY_FORMAT src_format ; <nl> + # else <nl> + memory : : desc src_md ; <nl> + # endif / / ! ENABLE_MKLDNN_V1 <nl> <nl> MklBatchNormFwdParams ( const memory : : dims & src_dims , int depth , float eps , <nl> - bool training , memory : : format src_format ) <nl> + # ifndef ENABLE_MKLDNN_V1 <nl> + bool training , MEMORY_FORMAT src_format ) <nl> + : src_dims ( src_dims ) , <nl> + depth ( depth ) , <nl> + eps ( eps ) , <nl> + training ( training ) , <nl> + src_format ( src_format ) { <nl> + } <nl> + # else <nl> + bool training , memory : : desc src_md ) <nl> : src_dims ( src_dims ) , <nl> depth ( depth ) , <nl> eps ( eps ) , <nl> training ( training ) , <nl> - src_format ( src_format ) { } <nl> + src_md ( src_md ) { <nl> + } <nl> + # endif / / ! ENABLE_MKLDNN_V1 <nl> } ; <nl> <nl> template < typename T , typename U > <nl> class MklFusedBatchNormFwdPrimitive : public MklPrimitive { <nl> public : <nl> explicit MklFusedBatchNormFwdPrimitive ( const MklBatchNormFwdParams & fwdParams ) <nl> - : cpu_engine_ ( engine : : cpu , 0 ) { <nl> - # ifndef ENABLE_MKLDNN_V1 <nl> + : cpu_engine_ ( ENGINE_CPU , 0 ) { <nl> + # ifdef ENABLE_MKLDNN_V1 <nl> + context_ . fwd_stream . reset ( new CPU_STREAM ( cpu_engine_ ) ) ; <nl> + # else <nl> context_ . fwd_stream . reset ( <nl> new mkldnn : : stream ( mkldnn : : stream : : kind : : eager_nostore ) ) ; <nl> # endif <nl> class MklFusedBatchNormFwdPrimitive : public MklPrimitive { <nl> static_cast < void * > ( const_cast < T * > ( src_data ) ) ) ; <nl> context_ . dst_mem - > set_data_handle ( static_cast < void * > ( dst_data ) ) ; <nl> <nl> - if ( context_ . flags & use_scale_shift ) <nl> + if ( IS_SET ( use_scale_shift ) ) <nl> context_ . weights_mem - > set_data_handle ( <nl> static_cast < void * > ( const_cast < U * > ( weights_data ) ) ) ; <nl> <nl> if ( ( context_ . pkind = = prop_kind : : forward_training ) | | <nl> - ( context_ . flags & use_global_stats ) ) { <nl> + ( IS_SET ( use_global_stats ) ) ) { <nl> context_ . mean_mem - > set_data_handle ( static_cast < void * > ( mean_data ) ) ; <nl> context_ . variance_mem - > set_data_handle ( static_cast < void * > ( variance_data ) ) ; <nl> } <nl> - <nl> - / / execution <nl> + # ifdef ENABLE_MKLDNN_V1 <nl> + / / Execute batch - normalization forward primitives . <nl> + execute_primitives ( context_ . fwd_primitives , context_ . fwd_stream , <nl> + context_ . net_args ) ; <nl> + # else <nl> context_ . fwd_stream - > submit ( context_ . fwd_primitives ) ; <nl> + # endif / / ENABLE_MKLDNN_V1 <nl> <nl> context_ . src_mem - > set_data_handle ( DummyData ) ; <nl> context_ . dst_mem - > set_data_handle ( DummyData ) ; <nl> <nl> - if ( context_ . flags & use_scale_shift ) <nl> + if ( IS_SET ( use_scale_shift ) ) <nl> context_ . weights_mem - > set_data_handle ( DummyData ) ; <nl> <nl> if ( ( context_ . pkind = = prop_kind : : forward_training ) | | <nl> - ( context_ . flags & use_global_stats ) ) { <nl> + ( IS_SET ( use_global_stats ) ) ) { <nl> context_ . mean_mem - > set_data_handle ( DummyData ) ; <nl> context_ . variance_mem - > set_data_handle ( DummyData ) ; <nl> } <nl> } <nl> <nl> - memory : : primitive_desc GetDstPd ( ) const { <nl> - return ( * context_ . dst_mem ) . get_primitive_desc ( ) ; <nl> - } <nl> + MEMORY_PRIMITIVE_DESC GetDstPd ( ) const { return context_ . dst_mem - > GET_DESC ; } <nl> <nl> - mkldnn_memory_format_t GetSrcFmt ( ) const { <nl> - return ( * context_ . src_mem ) . get_primitive_desc ( ) . desc ( ) . data . format ; <nl> + # ifndef ENABLE_MKLDNN_V1 <nl> + / / In MKL - DNN v1 . x , memory format tags only provide a partial description <nl> + / / of the memory layout . Hence , these functions are disabled for v1 . x . <nl> + mkldnn_memory_format_t GetSrcMemoryFormat ( ) const { <nl> + return context_ . src_mem - > get_primitive_desc ( ) . desc ( ) . data . format ; <nl> } <nl> <nl> mkldnn_memory_format_t GetDstFmt ( ) const { <nl> return ( * context_ . dst_mem ) . get_primitive_desc ( ) . desc ( ) . data . format ; <nl> } <nl> + # endif / / ! ENABLE_MKLDNN_V1 <nl> + <nl> + std : : shared_ptr < BatchNormFwdPd > GetBatchNormFwdPd ( ) const { <nl> + return context_ . fwd_pd ; <nl> + } <nl> <nl> private : <nl> - / / Primitive reuse context for BatchNorm fwd op <nl> + / / Primitive reuse context for BatchNorm forward op . <nl> struct BatchNormFwdContext { <nl> - / / flags indict if it is training or inference mode <nl> + / / Flags indicating if it is training or inference mode . <nl> int64 flags ; <nl> <nl> - / / algorithm <nl> + / / Algorithm kind . <nl> mkldnn : : prop_kind pkind ; <nl> <nl> - / / Mkldnn Memory <nl> + / / Inputs / outputs memory . <nl> std : : shared_ptr < mkldnn : : memory > src_mem ; <nl> std : : shared_ptr < mkldnn : : memory > weights_mem ; <nl> std : : shared_ptr < mkldnn : : memory > dst_mem ; <nl> std : : shared_ptr < mkldnn : : memory > mean_mem ; <nl> std : : shared_ptr < mkldnn : : memory > variance_mem ; <nl> <nl> - / / BatchNorm forward primitive <nl> + / / Forward BatchNorm primitive descriptor . <nl> + std : : shared_ptr < BatchNormFwdPd > fwd_pd ; <nl> + <nl> + / / BatchNorm forward primitive . <nl> std : : shared_ptr < mkldnn : : primitive > bn_fwd ; <nl> std : : shared_ptr < mkldnn : : stream > fwd_stream ; <nl> std : : vector < mkldnn : : primitive > fwd_primitives ; <nl> <nl> + # ifdef ENABLE_MKLDNN_V1 <nl> + std : : vector < std : : unordered_map < int , memory > > net_args ; <nl> + # endif / / ENABLE_MKLDNN_V1 <nl> + <nl> BatchNormFwdContext ( ) <nl> : flags ( 0 ) , <nl> - pkind ( mkldnn : : forward_training ) , <nl> + pkind ( prop_kind : : forward_training ) , <nl> src_mem ( nullptr ) , <nl> weights_mem ( nullptr ) , <nl> dst_mem ( nullptr ) , <nl> class MklFusedBatchNormFwdPrimitive : public MklPrimitive { <nl> } ; <nl> <nl> void Setup ( const MklBatchNormFwdParams & fwdParams ) { <nl> - context_ . flags = fwdParams . training ? use_scale_shift <nl> - : ( use_scale_shift | use_global_stats ) ; <nl> + context_ . flags = <nl> + fwdParams . training <nl> + ? GET_FLAG ( use_scale_shift ) <nl> + : ( GET_FLAG ( use_scale_shift ) | GET_FLAG ( use_global_stats ) ) ; <nl> context_ . pkind = fwdParams . training ? prop_kind : : forward_training <nl> : prop_kind : : forward_scoring ; <nl> <nl> - / / memory desc <nl> + # ifdef ENABLE_MKLDNN_V1 <nl> + / / Memory descriptor <nl> + auto src_md = fwdParams . src_md ; <nl> + / / Create forward BatchNorm descriptor and primitive descriptor . <nl> + auto fwd_desc = batch_normalization_forward : : desc ( <nl> + context_ . pkind , src_md , fwdParams . eps , <nl> + static_cast < mkldnn : : normalization_flags > ( context_ . flags ) ) ; <nl> + # else <nl> + / / Memory descriptor <nl> auto src_md = memory : : desc ( { fwdParams . src_dims } , MklDnnType < T > ( ) , <nl> fwdParams . src_format ) ; <nl> - <nl> - / / fwd desc & primitive desc <nl> auto fwd_desc = batch_normalization_forward : : desc ( <nl> context_ . pkind , src_md , fwdParams . eps , context_ . flags ) ; <nl> - auto fwd_pd = <nl> - batch_normalization_forward : : primitive_desc ( fwd_desc , cpu_engine_ ) ; <nl> - <nl> - / / memory primitive <nl> - context_ . src_mem . reset ( new memory ( { src_md , cpu_engine_ } , DummyData ) ) ; <nl> - context_ . dst_mem . reset ( new memory ( fwd_pd . dst_primitive_desc ( ) , DummyData ) ) ; <nl> - <nl> - if ( context_ . flags & use_scale_shift ) { <nl> - auto weights_desc = memory : : desc ( { 2 , fwdParams . depth } , MklDnnType < U > ( ) , <nl> - memory : : format : : nc ) ; <nl> - context_ . weights_mem . reset ( <nl> - new memory ( { weights_desc , cpu_engine_ } , DummyData ) ) ; <nl> + # endif / / ENABLE_MKLDNN_V1 <nl> + <nl> + context_ . fwd_pd . reset ( new BatchNormFwdPd ( fwd_desc , cpu_engine_ ) ) ; <nl> + <nl> + / / Create memory primitive based on dummy data <nl> + context_ . src_mem . reset ( new MEMORY_CONSTRUCTOR ( <nl> + context_ . fwd_pd - > PRIMITIVE_DESC_SRC , cpu_engine_ , DummyData ) ) ; <nl> + context_ . dst_mem . reset ( new MEMORY_CONSTRUCTOR ( <nl> + context_ . fwd_pd - > PRIMITIVE_DESC_DST , cpu_engine_ , DummyData ) ) ; <nl> + <nl> + memory : : dims s_dims = { 2 , fwdParams . depth } ; <nl> + memory : : dims m_dims = { 1 , fwdParams . depth } ; <nl> + if ( IS_SET ( use_scale_shift ) ) { <nl> + context_ . weights_mem . reset ( new MEMORY_CONSTRUCTOR_USING_MEM_PD ( <nl> + s_dims , U , MEMORY_FORMAT : : nc , cpu_engine_ , DummyData ) ) ; <nl> } <nl> <nl> - if ( fwdParams . training | | ( context_ . flags & use_global_stats ) ) { <nl> - auto mean_desc = memory : : desc ( { 1 , fwdParams . depth } , MklDnnType < U > ( ) , <nl> - memory : : format : : nc ) ; <nl> - context_ . mean_mem . reset ( new memory ( { mean_desc , cpu_engine_ } , DummyData ) ) ; <nl> + if ( fwdParams . training | | ( IS_SET ( use_global_stats ) ) ) { <nl> + context_ . mean_mem . reset ( new MEMORY_CONSTRUCTOR_USING_MEM_PD ( <nl> + m_dims , U , MEMORY_FORMAT : : nc , cpu_engine_ , DummyData ) ) ; <nl> <nl> - auto variance_desc = <nl> - memory : : desc ( { 1 , fwdParams . depth } , MklDnnType < U > ( ) , memory : : nc ) ; <nl> - context_ . variance_mem . reset ( <nl> - new memory ( { variance_desc , cpu_engine_ } , DummyData ) ) ; <nl> + context_ . variance_mem . reset ( new MEMORY_CONSTRUCTOR_USING_MEM_PD ( <nl> + m_dims , U , MEMORY_FORMAT : : nc , cpu_engine_ , DummyData ) ) ; <nl> } <nl> <nl> - / / BatchNorm forward primitive <nl> - if ( ! fwdParams . training & & ! ( context_ . flags & use_global_stats ) ) { <nl> - if ( ( context_ . flags & use_scale_shift ) & & mkldnn_use_scaleshift ) { <nl> + / / BatchNorm forward primitive . <nl> + if ( ! fwdParams . training & & ! ( IS_SET ( use_global_stats ) ) ) { <nl> + # ifdef ENABLE_MKLDNN_V1 <nl> + if ( ( IS_SET ( use_scale_shift ) ) & & mkldnn_use_scaleshift ) { <nl> + context_ . net_args . push_back ( <nl> + { { MKLDNN_ARG_SRC , * context_ . src_mem } , <nl> + { MKLDNN_ARG_WEIGHTS , * context_ . weights_mem } , <nl> + { MKLDNN_ARG_DST , <nl> + * context_ . dst_mem } } ) ; <nl> + } else { <nl> + context_ . net_args . push_back ( { { MKLDNN_ARG_SRC , * context_ . src_mem } , <nl> + { MKLDNN_ARG_DST , <nl> + * context_ . dst_mem } } ) ; <nl> + } <nl> + context_ . bn_fwd . reset ( new batch_normalization_forward ( * context_ . fwd_pd ) ) ; <nl> + # else <nl> + if ( ( IS_SET ( use_scale_shift ) ) & & GET_FLAG ( use_scale_shift ) ) { <nl> context_ . bn_fwd . reset ( new batch_normalization_forward ( <nl> - fwd_pd , * context_ . src_mem , * context_ . weights_mem , <nl> + * context_ . fwd_pd , * context_ . src_mem , * context_ . weights_mem , <nl> * context_ . dst_mem ) ) ; <nl> } else { <nl> context_ . bn_fwd . reset ( new batch_normalization_forward ( <nl> - fwd_pd , * context_ . src_mem , * context_ . dst_mem ) ) ; <nl> + * context_ . fwd_pd , * context_ . src_mem , * context_ . dst_mem ) ) ; <nl> } <nl> - } else if ( context_ . flags & use_global_stats ) { <nl> - if ( ( context_ . flags & use_scale_shift ) & & mkldnn_use_scaleshift ) { <nl> + # endif / / ENABLE_MKLDNN_V1 <nl> + } else if ( IS_SET ( use_global_stats ) ) { <nl> + # ifdef ENABLE_MKLDNN_V1 <nl> + if ( ( IS_SET ( use_scale_shift ) ) & & GET_FLAG ( use_scale_shift ) ) { <nl> + context_ . net_args . push_back ( <nl> + { { MKLDNN_ARG_SRC , * context_ . src_mem } , <nl> + { MKLDNN_ARG_MEAN , * context_ . mean_mem } , <nl> + { MKLDNN_ARG_VARIANCE , * context_ . variance_mem } , <nl> + { MKLDNN_ARG_WEIGHTS , * context_ . weights_mem } , <nl> + { MKLDNN_ARG_DST , <nl> + * context_ . dst_mem } } ) ; <nl> + } else { <nl> + context_ . net_args . push_back ( <nl> + { { MKLDNN_ARG_SRC , * context_ . src_mem } , <nl> + { MKLDNN_ARG_MEAN , * context_ . mean_mem } , <nl> + { MKLDNN_ARG_VARIANCE , * context_ . variance_mem } , <nl> + { MKLDNN_ARG_DST , <nl> + * context_ . dst_mem } } ) ; <nl> + } <nl> + context_ . bn_fwd . reset ( new batch_normalization_forward ( * context_ . fwd_pd ) ) ; <nl> + # else <nl> + if ( ( IS_SET ( use_scale_shift ) ) & & GET_FLAG ( use_scale_shift ) ) { <nl> context_ . bn_fwd . reset ( new batch_normalization_forward ( <nl> - fwd_pd , * context_ . src_mem , ( const primitive : : at ) * context_ . mean_mem , <nl> + * context_ . fwd_pd , * context_ . src_mem , <nl> + ( const primitive : : at ) * context_ . mean_mem , <nl> ( const primitive : : at ) * context_ . variance_mem , * context_ . weights_mem , <nl> * context_ . dst_mem ) ) ; <nl> } else { <nl> context_ . bn_fwd . reset ( new batch_normalization_forward ( <nl> - fwd_pd , * context_ . src_mem , ( const primitive : : at ) * context_ . mean_mem , <nl> + * context_ . fwd_pd , * context_ . src_mem , <nl> + ( const primitive : : at ) * context_ . mean_mem , <nl> ( const primitive : : at ) * context_ . variance_mem , * context_ . dst_mem ) ) ; <nl> } <nl> + # endif / / ENABLE_MKLDNN_V1 <nl> } else { <nl> - if ( ( context_ . flags & use_scale_shift ) & & mkldnn_use_scaleshift ) { <nl> + # ifdef ENABLE_MKLDNN_V1 <nl> + if ( ( IS_SET ( use_scale_shift ) ) & & GET_FLAG ( use_scale_shift ) ) { <nl> + context_ . net_args . push_back ( <nl> + { { MKLDNN_ARG_SRC , * context_ . src_mem } , <nl> + { MKLDNN_ARG_WEIGHTS , * context_ . weights_mem } , <nl> + { MKLDNN_ARG_DST , * context_ . dst_mem } , <nl> + { MKLDNN_ARG_MEAN , * context_ . mean_mem } , <nl> + { MKLDNN_ARG_VARIANCE , <nl> + * context_ . variance_mem } } ) ; <nl> + } else { <nl> + context_ . net_args . push_back ( { { MKLDNN_ARG_SRC , * context_ . src_mem } , <nl> + { MKLDNN_ARG_DST , * context_ . dst_mem } , <nl> + { MKLDNN_ARG_MEAN , * context_ . mean_mem } , <nl> + { MKLDNN_ARG_VARIANCE , <nl> + * context_ . variance_mem } } ) ; <nl> + } <nl> + context_ . bn_fwd . reset ( new batch_normalization_forward ( * context_ . fwd_pd ) ) ; <nl> + # else <nl> + if ( ( IS_SET ( use_scale_shift ) ) & & GET_FLAG ( use_scale_shift ) ) { <nl> context_ . bn_fwd . reset ( new batch_normalization_forward ( <nl> - fwd_pd , * context_ . src_mem , * context_ . weights_mem , * context_ . dst_mem , <nl> - * context_ . mean_mem , * context_ . variance_mem ) ) ; <nl> + * context_ . fwd_pd , * context_ . src_mem , * context_ . weights_mem , <nl> + * context_ . dst_mem , * context_ . mean_mem , * context_ . variance_mem ) ) ; <nl> } else { <nl> context_ . bn_fwd . reset ( new batch_normalization_forward ( <nl> - fwd_pd , * context_ . src_mem , * context_ . dst_mem , * context_ . mean_mem , <nl> - * context_ . variance_mem ) ) ; <nl> + * context_ . fwd_pd , * context_ . src_mem , * context_ . dst_mem , <nl> + * context_ . mean_mem , * context_ . variance_mem ) ) ; <nl> } <nl> + # endif / / ENABLE_MKLDNN_V1 <nl> } <nl> <nl> context_ . fwd_primitives . push_back ( * context_ . bn_fwd ) ; <nl> } <nl> <nl> - mkldnn : : memory : : desc get_desc_data ( const mkldnn : : memory & m ) const { <nl> - return m . get_primitive_desc ( ) . desc ( ) . data ; <nl> - } <nl> - <nl> struct BatchNormFwdContext context_ ; <nl> engine cpu_engine_ ; <nl> } ; <nl> struct MklBatchNormBwdParams { <nl> int depth ; <nl> float eps ; <nl> bool training ; <nl> - memory : : format src_format ; <nl> + # ifndef ENABLE_MKLDNN_V1 <nl> + MEMORY_FORMAT src_format ; <nl> + # else <nl> + memory : : desc src_md ; <nl> + memory : : desc diff_dst_md ; <nl> + # endif / / ! ENABLE_MKLDNN_V1 <nl> <nl> MklBatchNormBwdParams ( memory : : dims src_dims , memory : : dims diff_dst_dims , <nl> int depth , float eps , bool training , <nl> - memory : : format src_format ) <nl> + # ifndef ENABLE_MKLDNN_V1 <nl> + MEMORY_FORMAT src_format ) <nl> : src_dims ( src_dims ) , <nl> diff_dst_dims ( diff_dst_dims ) , <nl> depth ( depth ) , <nl> eps ( eps ) , <nl> training ( training ) , <nl> - src_format ( src_format ) { } <nl> + src_format ( src_format ) { <nl> + } <nl> + # else <nl> + memory : : desc src_md , memory : : desc diff_dst_md ) <nl> + : src_dims ( src_dims ) , <nl> + diff_dst_dims ( diff_dst_dims ) , <nl> + depth ( depth ) , <nl> + eps ( eps ) , <nl> + training ( training ) , <nl> + src_md ( src_md ) , <nl> + diff_dst_md ( diff_dst_md ) { <nl> + } <nl> + # endif / / ! ENABLE_MKLDNN_V1 <nl> } ; <nl> <nl> template < typename T , typename U > <nl> class MklFusedBatchNormBwdPrimitive : public MklPrimitive { <nl> public : <nl> explicit MklFusedBatchNormBwdPrimitive ( const MklBatchNormBwdParams & bwdParams ) <nl> - : cpu_engine_ ( engine : : cpu , 0 ) { <nl> - # ifndef ENABLE_MKLDNN_V1 <nl> + : cpu_engine_ ( ENGINE_CPU , 0 ) { <nl> + # ifdef ENABLE_MKLDNN_V1 <nl> + context_ . bwd_stream . reset ( new CPU_STREAM ( cpu_engine_ ) ) ; <nl> + # else <nl> context_ . bwd_stream . reset ( <nl> new mkldnn : : stream ( mkldnn : : stream : : kind : : eager_nostore ) ) ; <nl> # endif <nl> class MklFusedBatchNormBwdPrimitive : public MklPrimitive { <nl> context_ . diff_dst_mem - > set_data_handle ( <nl> static_cast < void * > ( const_cast < T * > ( diff_dst_data ) ) ) ; <nl> <nl> - / / TODO : type for weights ? <nl> - if ( context_ . flags & use_scale_shift ) { <nl> + if ( IS_SET ( use_scale_shift ) ) { <nl> context_ . weights_mem - > set_data_handle ( <nl> static_cast < void * > ( const_cast < U * > ( weights_data ) ) ) ; <nl> context_ . diff_weights_mem - > set_data_handle ( <nl> class MklFusedBatchNormBwdPrimitive : public MklPrimitive { <nl> <nl> context_ . diff_src_mem - > set_data_handle ( static_cast < void * > ( diff_src_data ) ) ; <nl> <nl> - / / execution <nl> + # ifdef ENABLE_MKLDNN_V1 <nl> + / / Execute backward batch - normalization primitives . <nl> + DCHECK_EQ ( context_ . bwd_primitives . size ( ) , context_ . net_args . size ( ) ) ; <nl> + for ( size_t i = 0 ; i < context_ . bwd_primitives . size ( ) ; + + i ) { <nl> + context_ . bwd_primitives . at ( i ) . execute ( * context_ . bwd_stream , <nl> + context_ . net_args . at ( i ) ) ; <nl> + } <nl> + # else <nl> context_ . bwd_stream - > submit ( context_ . bwd_primitives ) ; <nl> + # endif / / ENABLE_MKLDNN_V1 <nl> <nl> + / / After execution , set data handle back to DummyData . <nl> context_ . src_mem - > set_data_handle ( DummyData ) ; <nl> context_ . mean_mem - > set_data_handle ( DummyData ) ; <nl> context_ . variance_mem - > set_data_handle ( DummyData ) ; <nl> context_ . diff_dst_mem - > set_data_handle ( DummyData ) ; <nl> - if ( context_ . flags & use_scale_shift ) { <nl> + if ( IS_SET ( use_scale_shift ) ) { <nl> context_ . weights_mem - > set_data_handle ( DummyData ) ; <nl> context_ . diff_weights_mem - > set_data_handle ( DummyData ) ; <nl> } <nl> context_ . diff_src_mem - > set_data_handle ( DummyData ) ; <nl> } <nl> <nl> - mkldnn_memory_format_t GetSrcFmt ( ) { <nl> - return ( * context_ . src_mem ) . get_primitive_desc ( ) . desc ( ) . data . format ; <nl> + # ifndef ENABLE_MKLDNN_V1 <nl> + mkldnn_memory_format_t GetSrcMemoryFormat ( ) const { <nl> + return context_ . src_mem - > get_primitive_desc ( ) . desc ( ) . data . format ; <nl> } <nl> <nl> - mkldnn_memory_format_t GetDiffDstFmt ( ) { <nl> - return ( * context_ . diff_dst_mem ) . get_primitive_desc ( ) . desc ( ) . data . format ; <nl> + mkldnn_memory_format_t GetDiffDstMemoryFormat ( ) const { <nl> + return context_ . diff_dst_mem - > get_primitive_desc ( ) . desc ( ) . data . format ; <nl> } <nl> + # endif / / ! ENABLE_MKLDNN_V1 <nl> <nl> - memory : : primitive_desc GetDiffSrcPd ( ) { <nl> - return ( * context_ . diff_src_mem ) . get_primitive_desc ( ) ; <nl> + std : : shared_ptr < BatchNormBwdPd > GetBatchNormBwdPd ( ) const { <nl> + return context_ . bwd_pd ; <nl> + } <nl> + <nl> + MEMORY_PRIMITIVE_DESC GetDiffSrcPd ( ) { <nl> + return GET_MEMORY_PRIMITIVE_DESC_FROM_MEM_PTR ( context_ . diff_src_mem ) ; <nl> } <nl> <nl> private : <nl> struct BatchNormBwdContext { <nl> - / / Flags to indicate whether it is training or inference <nl> + / / Flags to indicate whether it is training or inference . <nl> int64 flags ; <nl> <nl> - / / MKLDNN memory <nl> + / / Inputs / output memory . <nl> std : : shared_ptr < mkldnn : : memory > src_mem ; <nl> std : : shared_ptr < mkldnn : : memory > mean_mem ; <nl> std : : shared_ptr < mkldnn : : memory > variance_mem ; <nl> class MklFusedBatchNormBwdPrimitive : public MklPrimitive { <nl> std : : shared_ptr < mkldnn : : memory > diff_weights_mem ; <nl> std : : shared_ptr < mkldnn : : memory > diff_src_mem ; <nl> <nl> - / / Batch Norm primitive <nl> + / / Backward batch - normalization primitive descriptor . <nl> + std : : shared_ptr < BatchNormBwdPd > bwd_pd ; <nl> + <nl> + / / Backward batch - normalization primitive . <nl> std : : shared_ptr < mkldnn : : primitive > bn_bwd ; <nl> std : : vector < mkldnn : : primitive > bwd_primitives ; <nl> std : : shared_ptr < mkldnn : : stream > bwd_stream ; <nl> <nl> + # ifdef ENABLE_MKLDNN_V1 <nl> + std : : vector < std : : unordered_map < int , memory > > net_args ; <nl> + # endif / / ENABLE_MKLDNN_V1 <nl> + <nl> BatchNormBwdContext ( ) <nl> : src_mem ( nullptr ) , <nl> mean_mem ( nullptr ) , <nl> class MklFusedBatchNormBwdPrimitive : public MklPrimitive { <nl> } ; <nl> <nl> void Setup ( const MklBatchNormBwdParams & bwdParams ) { <nl> - context_ . flags = bwdParams . training ? use_scale_shift <nl> - : ( use_scale_shift | use_global_stats ) ; <nl> + context_ . flags = <nl> + bwdParams . training <nl> + ? GET_FLAG ( use_scale_shift ) <nl> + : ( GET_FLAG ( use_scale_shift ) | GET_FLAG ( use_global_stats ) ) ; <nl> <nl> - / / memory desc <nl> + / / Memory descriptors . <nl> + # ifndef ENABLE_MKLDNN_V1 <nl> auto src_md = memory : : desc ( { bwdParams . src_dims } , MklDnnType < T > ( ) , <nl> bwdParams . src_format ) ; <nl> auto diff_dst_md = memory : : desc ( { bwdParams . diff_dst_dims } , MklDnnType < T > ( ) , <nl> bwdParams . src_format ) ; <nl> + # else <nl> + auto src_md = bwdParams . src_md ; <nl> + auto diff_dst_md = bwdParams . diff_dst_md ; <nl> + # endif / / ! ENABLE_MKLDNN_V1 <nl> auto variance_desc = <nl> - memory : : desc ( { 1 , bwdParams . depth } , MklDnnType < U > ( ) , memory : : nc ) ; <nl> + memory : : desc ( { 1 , bwdParams . depth } , MklDnnType < U > ( ) , MEMORY_FORMAT : : nc ) ; <nl> auto mean_desc = <nl> - memory : : desc ( { 1 , bwdParams . depth } , MklDnnType < U > ( ) , memory : : format : : nc ) ; <nl> + memory : : desc ( { 1 , bwdParams . depth } , MklDnnType < U > ( ) , MEMORY_FORMAT : : nc ) ; <nl> auto weights_desc = <nl> - memory : : desc ( { 2 , bwdParams . depth } , MklDnnType < U > ( ) , memory : : format : : nc ) ; <nl> + memory : : desc ( { 2 , bwdParams . depth } , MklDnnType < U > ( ) , MEMORY_FORMAT : : nc ) ; <nl> auto diff_weights_desc = weights_desc ; <nl> <nl> - / / fwd desc & primitive desc <nl> + / / Forward batch - normalization descriptor and primitive descriptor . <nl> + / / Adding this back due to type difference with context . flags <nl> + auto bn_flags = <nl> + bwdParams . training <nl> + ? BN_FLAGS : : use_scale_shift <nl> + : ( BN_FLAGS : : use_scale_shift | BN_FLAGS : : use_global_stats ) ; <nl> auto fwd_desc = batch_normalization_forward : : desc ( <nl> - prop_kind : : forward_training , src_md , bwdParams . eps , <nl> - bwdParams . training ? use_scale_shift <nl> - : ( use_scale_shift | use_global_stats ) ) ; <nl> - auto fwd_pd = <nl> - batch_normalization_forward : : primitive_desc ( fwd_desc , cpu_engine_ ) ; <nl> - <nl> - / / BatchNorm backward primtive <nl> - / / <nl> + prop_kind : : forward_training , src_md , bwdParams . eps , bn_flags ) ; <nl> + auto fwd_pd = BatchNormFwdPd ( fwd_desc , cpu_engine_ ) ; <nl> + <nl> + / / Backward batch - normalization primitive . <nl> / / For inference , specify use_global_stats <nl> / / 1 . on fwd propagation , use mean and variance provided as inputs . <nl> / / 2 . on bwd propagation , mean and variance are considered as constants . <nl> / / Thus , reduce the amount of MKL computation . <nl> auto bwd_desc = batch_normalization_backward : : desc ( <nl> - prop_kind : : backward , diff_dst_md , src_md , bwdParams . eps , <nl> - bwdParams . training ? use_scale_shift <nl> - : ( use_scale_shift | use_global_stats ) ) ; <nl> - auto bn_bwd_pd = batch_normalization_backward : : primitive_desc ( <nl> - bwd_desc , cpu_engine_ , fwd_pd ) ; <nl> - <nl> - / / memory primitive <nl> - context_ . src_mem . reset ( new memory ( { src_md , cpu_engine_ } , DummyData ) ) ; <nl> + prop_kind : : backward , diff_dst_md , src_md , bwdParams . eps , bn_flags ) ; <nl> + context_ . bwd_pd . reset ( new BatchNormBwdPd ( bwd_desc , cpu_engine_ , fwd_pd ) ) ; <nl> + <nl> + / / Create memory primitives . <nl> + context_ . src_mem . reset ( <nl> + new MEMORY_CONSTRUCTOR_USING_MD ( src_md , cpu_engine_ , DummyData ) ) ; <nl> context_ . diff_dst_mem . reset ( <nl> - new memory ( { diff_dst_md , cpu_engine_ } , DummyData ) ) ; <nl> + new MEMORY_CONSTRUCTOR_USING_MD ( diff_dst_md , cpu_engine_ , DummyData ) ) ; <nl> context_ . variance_mem . reset ( <nl> - new memory ( { variance_desc , cpu_engine_ } , DummyData ) ) ; <nl> - context_ . mean_mem . reset ( new memory ( { mean_desc , cpu_engine_ } , DummyData ) ) ; <nl> + new MEMORY_CONSTRUCTOR_USING_MD ( variance_desc , cpu_engine_ , DummyData ) ) ; <nl> + context_ . mean_mem . reset ( <nl> + new MEMORY_CONSTRUCTOR_USING_MD ( mean_desc , cpu_engine_ , DummyData ) ) ; <nl> context_ . weights_mem . reset ( <nl> - new memory ( { weights_desc , cpu_engine_ } , DummyData ) ) ; <nl> - context_ . diff_weights_mem . reset ( <nl> - new memory ( { diff_weights_desc , cpu_engine_ } , DummyData ) ) ; <nl> - context_ . diff_src_mem . reset ( new memory ( { src_md , cpu_engine_ } , DummyData ) ) ; <nl> - <nl> + new MEMORY_CONSTRUCTOR_USING_MD ( weights_desc , cpu_engine_ , DummyData ) ) ; <nl> + context_ . diff_weights_mem . reset ( new MEMORY_CONSTRUCTOR_USING_MD ( <nl> + diff_weights_desc , cpu_engine_ , DummyData ) ) ; <nl> + context_ . diff_src_mem . reset ( <nl> + new MEMORY_CONSTRUCTOR_USING_MD ( src_md , cpu_engine_ , DummyData ) ) ; <nl> + <nl> + # ifdef ENABLE_MKLDNN_V1 <nl> + context_ . bn_bwd . reset ( new batch_normalization_backward ( * context_ . bwd_pd ) ) ; <nl> + context_ . net_args . push_back ( { { MKLDNN_ARG_SRC , * context_ . src_mem } , <nl> + { MKLDNN_ARG_MEAN , * context_ . mean_mem } , <nl> + { MKLDNN_ARG_VARIANCE , * context_ . variance_mem } , <nl> + { MKLDNN_ARG_DIFF_DST , * context_ . diff_dst_mem } , <nl> + { MKLDNN_ARG_WEIGHTS , * context_ . weights_mem } , <nl> + { MKLDNN_ARG_DIFF_SRC , * context_ . diff_src_mem } , <nl> + { MKLDNN_ARG_DIFF_WEIGHTS , <nl> + * context_ . diff_weights_mem } } ) ; <nl> + # else <nl> context_ . bn_bwd . reset ( new batch_normalization_backward ( <nl> - bn_bwd_pd , * context_ . src_mem , * context_ . mean_mem , <nl> + * context_ . bwd_pd , * context_ . src_mem , * context_ . mean_mem , <nl> * context_ . variance_mem , * context_ . diff_dst_mem , * context_ . weights_mem , <nl> * context_ . diff_src_mem , * context_ . diff_weights_mem ) ) ; <nl> + # endif / / ENABLE_MKLDNN_V1 <nl> context_ . bwd_primitives . push_back ( * context_ . bn_bwd ) ; <nl> } <nl> <nl> class MklFusedBatchNormOp : public OpKernel { <nl> est_variance_tensor . shape ( ) . DebugString ( ) ) ) ; <nl> } <nl> <nl> - / / special case : input with 0 element and 0 batch size <nl> + / / Handle the special case : input with 0 element and 0 batch size . <nl> Tensor * dst_tensor = nullptr ; <nl> if ( tf_shape_src . num_elements ( ) = = 0 ) { <nl> HandleEmptyInput ( context , tf_shape_src , scale_tensor . shape ( ) , <nl> class MklFusedBatchNormOp : public OpKernel { <nl> else <nl> ExtractParams ( context ) ; <nl> <nl> - / / Indices of output tensors <nl> + / / Index of output tensor ( diff_src ) . <nl> const size_t kDstIndex = 0 ; <nl> <nl> - / / allocate 4 output TF tensors <nl> + / / Allocate 4 output TF tensors . <nl> Tensor * batch_mean_tensor = nullptr ; <nl> Tensor * batch_variance_tensor = nullptr ; <nl> Tensor * saved_mean_tensor = nullptr ; <nl> class MklFusedBatchNormOp : public OpKernel { <nl> else <nl> SetMeanVariance ( est_mean_tensor , est_variance_tensor ) ; <nl> <nl> - MklDnnData < T > src ( & cpu_engine ) ; <nl> - MklDnnData < U > weights ( & cpu_engine ) ; <nl> + MklDnnData < T > src ( & cpu_engine_ ) ; <nl> + MklDnnData < U > weights ( & cpu_engine_ ) ; <nl> <nl> - memory : : format format_m ; <nl> + MEMORY_FORMAT dnn_fmt ; <nl> + MKL_TENSOR_FORMAT mkl_tensor_fmt ; <nl> if ( dnn_shape_src . IsMklTensor ( ) ) { <nl> if ( dnn_shape_src . IsTensorInNCHWFormat ( ) ) { <nl> - format_m = memory : : format : : nchw ; <nl> + dnn_fmt = MEMORY_FORMAT : : nchw ; <nl> + mkl_tensor_fmt = MKL_TENSOR_FORMAT_NCHW ; <nl> } else { <nl> - format_m = memory : : format : : nhwc ; <nl> + dnn_fmt = MEMORY_FORMAT : : nhwc ; <nl> + mkl_tensor_fmt = MKL_TENSOR_FORMAT_NHWC ; <nl> } <nl> } else { <nl> - format_m = TFDataFormatToMklDnnDataFormat ( tensor_format_ ) ; <nl> + mkl_tensor_fmt = TFDataFormatToMklDnnDataFormat ( tensor_format_ ) ; <nl> + dnn_fmt = MklTensorFormatToMklDnnDataFormat ( mkl_tensor_fmt ) ; <nl> } <nl> <nl> - / / set src primitive <nl> + / / Set src memory descriptor . <nl> memory : : dims src_dims = <nl> dnn_shape_src . IsMklTensor ( ) <nl> ? dnn_shape_src . GetSizesAsMklDnnDims ( ) <nl> class MklFusedBatchNormOp : public OpKernel { <nl> <nl> auto src_md = dnn_shape_src . IsMklTensor ( ) <nl> ? dnn_shape_src . GetMklLayout ( ) <nl> - : memory : : desc ( src_dims , MklDnnType < T > ( ) , format_m ) ; <nl> + : memory : : desc ( src_dims , MklDnnType < T > ( ) , dnn_fmt ) ; <nl> <nl> / / MKL - DNN packs scale & shift as " weights " : <nl> / / < scale > . . . < scale > < shift > . . . < shift > <nl> class MklFusedBatchNormOp : public OpKernel { <nl> reinterpret_cast < char * > ( variance_values_ ) , <nl> depth_ * sizeof ( U ) ) ; <nl> <nl> - / / get batchnorm op from the pool <nl> + # ifdef ENABLE_MKLDNN_V1 <nl> + MklBatchNormFwdParams fwdParams ( src_dims , depth_ , epsilon_ , is_training_ , <nl> + src_md ) ; <nl> + # else <nl> MklBatchNormFwdParams fwdParams ( <nl> src_dims , depth_ , epsilon_ , is_training_ , <nl> - static_cast < memory : : format > ( src_md . data . format ) ) ; <nl> + static_cast < MEMORY_FORMAT > ( src_md . data . format ) ) ; <nl> + # endif / / ENABLE_MKLDNN_V1 <nl> + / / Get forward batch - normalization op from the primitive caching pool . <nl> MklFusedBatchNormFwdPrimitive < T , U > * bn_fwd = <nl> MklFusedBatchNormFwdPrimitiveFactory < T , U > : : Get ( fwdParams ) ; <nl> <nl> const T * src_data = src_tensor . flat < T > ( ) . data ( ) ; <nl> <nl> - / / allocate output ( dst ) tensor ; always set it as MKL - DNN layout <nl> + / / Allocate output ( dst ) tensor ; always set it as MKL - DNN layout <nl> MklDnnShape dnn_shape_dst ; <nl> TensorShape tf_shape_dst ; <nl> dnn_shape_dst . SetMklTensor ( true ) ; <nl> class MklFusedBatchNormOp : public OpKernel { <nl> dnn_shape_dst . SetElemType ( MklDnnType < T > ( ) ) ; <nl> auto ndims = dnn_shape_src . IsMklTensor ( ) ? dnn_shape_src . GetDimension ( ) <nl> : src_tensor . shape ( ) . dims ( ) ; <nl> - dnn_shape_dst . SetTfLayout ( ndims , src_dims , format_m ) ; <nl> + dnn_shape_dst . SetTfLayout ( ndims , src_dims , mkl_tensor_fmt ) ; <nl> tf_shape_dst . AddDim ( dst_pd . get_size ( ) / sizeof ( T ) ) ; <nl> AllocateOutputSetMklShape ( context , kDstIndex , & dst_tensor , tf_shape_dst , <nl> dnn_shape_dst ) ; <nl> class MklFusedBatchNormOp : public OpKernel { <nl> U * variance_op_data = saved_variance_tensor - > flat < U > ( ) . data ( ) ; <nl> T * dst_data = dst_tensor - > flat < T > ( ) . data ( ) ; <nl> <nl> - / / execution <nl> + / / Execute <nl> bn_fwd - > Execute ( src_data , weights_op_data , dst_data , mean_op_data , <nl> variance_op_data ) ; <nl> <nl> - / / copy batch_mean data <nl> + / / Copy batch_mean data <nl> U * batch_mean_data_tf = batch_mean_tensor - > flat < U > ( ) . data ( ) ; <nl> std : : memcpy ( reinterpret_cast < char * > ( batch_mean_data_tf ) , <nl> reinterpret_cast < char * > ( saved_mean_data_tf ) , <nl> depth_ * sizeof ( U ) ) ; <nl> - / / TODO ( yli135 ) : OpMem is same as usr mem since <nl> - / / since its format is hard - coded as nc when primitive is created . <nl> <nl> - / / copy batch_variance data with Bessel ' s correction <nl> + / / Copy batch_variance data with Bessel ' s correction . <nl> float adjust_factor = 1 . 0 ; <nl> if ( is_training_ ) { <nl> size_t orig_size = src_dims [ 0 ] * src_dims [ 2 ] * src_dims [ 3 ] ; <nl> class MklFusedBatchNormOp : public OpKernel { <nl> bool is_training_ ; <nl> U * mean_values_ ; <nl> U * variance_values_ ; <nl> - size_t depth_ ; / / batch normalization is done for per channel . <nl> - engine cpu_engine = engine ( engine : : cpu , 0 ) ; <nl> + size_t depth_ ; / / Batch normalization is performed for per channel . <nl> + engine cpu_engine_ = engine ( ENGINE_CPU , 0 ) ; <nl> <nl> void ExtractParams ( OpKernelContext * context ) { <nl> const Tensor & input = MklGetInput ( context , 0 ) ; <nl> class MklFusedBatchNormOp : public OpKernel { <nl> <nl> void HandleEmptyInput ( OpKernelContext * context , TensorShape tf_shape_src , <nl> TensorShape tf_shape_scale , Tensor * * dst_tensor ) { <nl> - CHECK_NOTNULL ( dst_tensor ) ; <nl> + DCHECK ( dst_tensor ) ; <nl> <nl> const size_t kDstIndex = 0 ; <nl> MklDnnShape dnn_shape_dst ; <nl> dnn_shape_dst . SetMklTensor ( false ) ; <nl> AllocateOutputSetMklShape ( context , kDstIndex , dst_tensor , tf_shape_src , <nl> dnn_shape_dst ) ; <nl> - CHECK_NOTNULL ( * dst_tensor ) ; <nl> + DCHECK ( * dst_tensor ) ; <nl> memset ( const_cast < char * > ( ( * dst_tensor ) - > tensor_data ( ) . data ( ) ) , 0 , <nl> ( * dst_tensor ) - > tensor_data ( ) . size ( ) ) ; <nl> <nl> class MklFusedBatchNormOp : public OpKernel { <nl> Tensor * * saved_mean_tensor , <nl> Tensor * * saved_variance_tensor , <nl> Tensor * * reserved_space_tensor ) { <nl> - CHECK_NOTNULL ( batch_mean_tensor ) ; <nl> - CHECK_NOTNULL ( batch_variance_tensor ) ; <nl> - CHECK_NOTNULL ( saved_mean_tensor ) ; <nl> - CHECK_NOTNULL ( saved_variance_tensor ) ; <nl> + DCHECK ( batch_mean_tensor ) ; <nl> + DCHECK ( batch_variance_tensor ) ; <nl> + DCHECK ( saved_mean_tensor ) ; <nl> + DCHECK ( saved_variance_tensor ) ; <nl> <nl> const size_t kBatchMeanIndex = 1 ; <nl> const size_t kBatchVarianceIndex = 2 ; <nl> class MklFusedBatchNormOp : public OpKernel { <nl> const size_t kSavedVarianceIndex = 4 ; <nl> const size_t kReservedSpaceIndex = 5 ; <nl> <nl> - / / allocate batch mean output tensor <nl> + / / Allocate batch mean output tensor . <nl> MklDnnShape mkl_shape_batch_mean ; <nl> mkl_shape_batch_mean . SetMklTensor ( false ) ; <nl> AllocateOutputSetMklShape ( context , kBatchMeanIndex , batch_mean_tensor , <nl> tf_shape_scale , mkl_shape_batch_mean ) ; <nl> - CHECK_NOTNULL ( * batch_mean_tensor ) ; <nl> - / / set NAN mean value in case of empty input tensor <nl> + DCHECK ( * batch_mean_tensor ) ; <nl> + <nl> + / / Set NAN mean value in case of empty input tensor <nl> int num_elements = tf_shape_scale . num_elements ( ) ; <nl> auto batch_mean_data = ( * batch_mean_tensor ) - > flat < U > ( ) . data ( ) ; <nl> std : : fill_n ( batch_mean_data , num_elements , static_cast < U > ( NAN ) ) ; <nl> <nl> - / / allocate batch variance output tensor <nl> + / / Allocate batch variance output tensor . <nl> MklDnnShape mkl_shape_batch_variance ; <nl> mkl_shape_batch_variance . SetMklTensor ( false ) ; <nl> AllocateOutputSetMklShape ( context , kBatchVarianceIndex , <nl> batch_variance_tensor , tf_shape_scale , <nl> mkl_shape_batch_variance ) ; <nl> - CHECK_NOTNULL ( * batch_variance_tensor ) ; <nl> - / / set NAN variance value in case of empty input tensor <nl> + DCHECK ( * batch_variance_tensor ) ; <nl> + <nl> + / / Set NAN variance value in case of empty input tensor <nl> auto batch_variance_data = ( * batch_variance_tensor ) - > flat < U > ( ) . data ( ) ; <nl> std : : fill_n ( batch_variance_data , num_elements , static_cast < U > ( NAN ) ) ; <nl> - <nl> / / Mean and variance ( without Bessel ' s correction ) saved for backward <nl> / / computation to serve as pre - computed mean and variance . <nl> MklDnnShape mkl_shape_saved_mean ; <nl> mkl_shape_saved_mean . SetMklTensor ( false ) ; <nl> AllocateOutputSetMklShape ( context , kSavedMeanIndex , saved_mean_tensor , <nl> tf_shape_scale , mkl_shape_saved_mean ) ; <nl> - CHECK_NOTNULL ( * saved_mean_tensor ) ; <nl> - / / set 0 mean value in case of empty input tensor <nl> + DCHECK ( * saved_mean_tensor ) ; <nl> + <nl> + / / Set NAN mean value in case of empty input tensor <nl> auto saved_mean_data = ( * saved_mean_tensor ) - > flat < U > ( ) . data ( ) ; <nl> std : : fill_n ( saved_mean_data , num_elements , static_cast < U > ( 0 ) ) ; <nl> <nl> class MklFusedBatchNormOp : public OpKernel { <nl> AllocateOutputSetMklShape ( context , kSavedVarianceIndex , <nl> saved_variance_tensor , tf_shape_scale , <nl> mkl_shape_saved_variance ) ; <nl> - CHECK_NOTNULL ( * saved_variance_tensor ) ; <nl> - / / set 0 variance value in case of empty input tensor <nl> + DCHECK ( * saved_variance_tensor ) ; <nl> + <nl> + / / Set NAN variance value in case of empty input tensor <nl> auto saved_variance_data = ( * saved_variance_tensor ) - > flat < U > ( ) . data ( ) ; <nl> std : : fill_n ( saved_variance_data , num_elements , static_cast < U > ( 0 ) ) ; <nl> <nl> / / Changes to support reserved_space_3 parameter in FusedBatchNormV3 . <nl> / / TODO : This parameter functionality is not implemented on CPU . <nl> / / It is used to hold intermediate results . So the allocated <nl> - / / memory is filled with 0 . <nl> + / / memory is filled with 0s . <nl> if ( reserved_space ) { <nl> DCHECK ( reserved_space_tensor ! = nullptr ) ; <nl> <nl> class MklFusedBatchNormGradOp : public OpKernel { <nl> errors : : InvalidArgument ( " saved variance must be 1 - dimensional " , <nl> saved_variance_tensor . shape ( ) . DebugString ( ) ) ) ; <nl> <nl> + / / Handle the special case : input with 0 element and 0 batch size . <nl> Tensor * diff_src_tensor = nullptr ; <nl> - / / special case : input with 0 element and 0 batch size <nl> if ( tf_shape_src . num_elements ( ) = = 0 | | <nl> tf_shape_diff_dst . num_elements ( ) = = 0 ) { <nl> HandleEmptyInput ( context , tf_shape_src , scale_tensor . shape ( ) , <nl> class MklFusedBatchNormGradOp : public OpKernel { <nl> ExtractParams ( context ) ; <nl> } <nl> <nl> - memory : : format format_m ; <nl> + MEMORY_FORMAT dnn_fmt ; <nl> + MKL_TENSOR_FORMAT mkl_tensor_fmt ; <nl> if ( dnn_shape_src . IsMklTensor ( ) ) { <nl> - if ( dnn_shape_src . IsTensorInNCHWFormat ( ) ) <nl> - format_m = memory : : format : : nchw ; <nl> - else <nl> - format_m = memory : : format : : nhwc ; <nl> + if ( dnn_shape_src . IsTensorInNCHWFormat ( ) ) { <nl> + dnn_fmt = MEMORY_FORMAT : : nchw ; <nl> + mkl_tensor_fmt = MKL_TENSOR_FORMAT_NCHW ; <nl> + } else { <nl> + dnn_fmt = MEMORY_FORMAT : : nhwc ; <nl> + mkl_tensor_fmt = MKL_TENSOR_FORMAT_NHWC ; <nl> + } <nl> } else { <nl> - format_m = TFDataFormatToMklDnnDataFormat ( tensor_format_ ) ; <nl> + mkl_tensor_fmt = TFDataFormatToMklDnnDataFormat ( tensor_format_ ) ; <nl> + dnn_fmt = MklTensorFormatToMklDnnDataFormat ( mkl_tensor_fmt ) ; <nl> } <nl> <nl> - MklDnnData < T > src ( & cpu_engine ) ; <nl> - MklDnnData < T > diff_dst ( & cpu_engine ) ; <nl> - MklDnnData < U > weights ( & cpu_engine ) ; <nl> - MklDnnData < U > diff_weights ( & cpu_engine ) ; <nl> + MklDnnData < T > src ( & cpu_engine_ ) ; <nl> + MklDnnData < T > diff_dst ( & cpu_engine_ ) ; <nl> + MklDnnData < U > weights ( & cpu_engine_ ) ; <nl> + MklDnnData < U > diff_weights ( & cpu_engine_ ) ; <nl> <nl> memory : : dims src_dims = <nl> dnn_shape_src . IsMklTensor ( ) <nl> class MklFusedBatchNormGradOp : public OpKernel { <nl> : TFShapeToMklDnnDimsInNCHW ( diff_dst_tensor . shape ( ) , <nl> tensor_format_ ) ; <nl> <nl> - / / set src and diff_dst primitive descriptors <nl> + / / Set src and diff_dst primitive descriptors . <nl> memory : : desc src_md = <nl> dnn_shape_src . IsMklTensor ( ) <nl> ? dnn_shape_src . GetMklLayout ( ) <nl> - : memory : : desc ( src_dims , MklDnnType < T > ( ) , format_m ) ; <nl> + : memory : : desc ( src_dims , MklDnnType < T > ( ) , dnn_fmt ) ; <nl> memory : : desc diff_dst_md = <nl> dnn_shape_diff_dst . IsMklTensor ( ) <nl> ? dnn_shape_diff_dst . GetMklLayout ( ) <nl> - : memory : : desc ( diff_dst_dims , MklDnnType < T > ( ) , format_m ) ; <nl> + : memory : : desc ( diff_dst_dims , MklDnnType < T > ( ) , dnn_fmt ) ; <nl> <nl> / / weights - - MKL DNN packs scales / shifts as weights in order <nl> / / of scale , . . . , scale , shift , . . . . , shift <nl> class MklFusedBatchNormGradOp : public OpKernel { <nl> <nl> diff_weights . AllocateBuffer ( 2 * depth_ * sizeof ( U ) ) ; <nl> <nl> + # ifdef ENABLE_MKLDNN_V1 <nl> + MklBatchNormBwdParams bwdParams ( src_dims , diff_dst_dims , depth_ , epsilon_ , <nl> + is_training_ , src_md , diff_dst_md ) ; <nl> + # else <nl> MklBatchNormBwdParams bwdParams ( <nl> src_dims , diff_dst_dims , depth_ , epsilon_ , is_training_ , <nl> - static_cast < memory : : format > ( src_md . data . format ) ) ; <nl> + static_cast < MEMORY_FORMAT > ( src_md . data . format ) ) ; <nl> + # endif / / ENABLE_MKLDNN_V1 <nl> MklFusedBatchNormBwdPrimitive < T , U > * bn_bwd = <nl> MklFusedBatchNormBwdPrimitiveFactory < T , U > : : Get ( bwdParams ) ; <nl> <nl> const T * src_data = src_tensor . flat < T > ( ) . data ( ) ; <nl> const T * diff_dst_data = diff_dst_tensor . flat < T > ( ) . data ( ) ; <nl> / / Check if diff_dst input needs to be reordered <nl> - if ( diff_dst_md . data . format ! = bn_bwd - > GetDiffDstFmt ( ) ) { <nl> + std : : shared_ptr < BatchNormBwdPd > bn_bwd_pd = bn_bwd - > GetBatchNormBwdPd ( ) ; <nl> + if ( IS_DIFF_DST_REORDER_NEEDED ( diff_dst_md , bn_bwd_pd , bn_bwd ) ) { <nl> diff_dst . SetUsrMem ( diff_dst_md , & diff_dst_tensor ) ; <nl> - auto diff_dst_target = memory : : primitive_desc ( <nl> - { { diff_dst_dims } , <nl> - MklDnnType < T > ( ) , <nl> - static_cast < memory : : format > ( bn_bwd - > GetDiffDstFmt ( ) ) } , <nl> - cpu_engine ) ; <nl> - diff_dst . CheckReorderToOpMem ( diff_dst_target ) ; <nl> - diff_dst_data = const_cast < T * > ( <nl> - reinterpret_cast < T * > ( diff_dst . GetOpMem ( ) . get_data_handle ( ) ) ) ; <nl> + diff_dst . CheckReorderToOpMem ( MEMORY_PD_WITHOUT_DATA ( <nl> + GET_DIFF_DST_DESC_FROM_OP_PD ( bn_bwd_pd ) , cpu_engine_ ) ) ; <nl> + diff_dst_data = static_cast < T * > ( diff_dst . GetOpMem ( ) . get_data_handle ( ) ) ; <nl> + } else { <nl> + diff_dst_data = <nl> + static_cast < T * > ( const_cast < T * > ( diff_dst_tensor . flat < T > ( ) . data ( ) ) ) ; <nl> } <nl> <nl> / / Indices of output tensors <nl> - const size_t kDiffSrcIndex = 0 ; / / index of diff_src tensor <nl> + const size_t kDiffSrcIndex = 0 ; <nl> <nl> - / / allocate output tensor : diff_src , always set as MKL - DNN layout <nl> + / / Allocate output tensor diff_src , always set as MKL - DNN layout . <nl> MklDnnShape dnn_shape_diff_src ; <nl> TensorShape tf_shape_diff_src ; <nl> dnn_shape_diff_src . SetMklTensor ( true ) ; <nl> auto diff_src_pd = bn_bwd - > GetDiffSrcPd ( ) ; <nl> dnn_shape_diff_src . SetMklLayout ( & diff_src_pd ) ; <nl> dnn_shape_diff_src . SetElemType ( MklDnnType < T > ( ) ) ; <nl> - dnn_shape_diff_src . SetTfLayout ( src_dims . size ( ) , src_dims , format_m ) ; <nl> + dnn_shape_diff_src . SetTfLayout ( src_dims . size ( ) , src_dims , mkl_tensor_fmt ) ; <nl> dnn_shape_diff_src . SetTfDimOrder ( src_dims . size ( ) , tensor_format_ ) ; <nl> tf_shape_diff_src . AddDim ( diff_src_pd . get_size ( ) / sizeof ( T ) ) ; <nl> AllocateOutputSetMklShape ( context , kDiffSrcIndex , & diff_src_tensor , <nl> class MklFusedBatchNormGradOp : public OpKernel { <nl> weights_data , diff_src_data , diff_weights_data , <nl> res_space_data ) ; <nl> <nl> - / / allocate output TF tensors : diff_scale and diff_shift <nl> + / / Allocate output TF tensors diff_scale and diff_shift . <nl> Tensor * diff_scale_tensor = nullptr ; <nl> Tensor * diff_shift_tensor = nullptr ; <nl> AllocateTFOutputs ( context , scale_tensor . shape ( ) , & diff_scale_tensor , <nl> & diff_shift_tensor ) ; <nl> <nl> - / / copy data : diff_scale and diff_shift <nl> + / / Copy data for tensors diff_scale and diff_shift . <nl> auto diff_scale_data = diff_scale_tensor - > flat < U > ( ) . data ( ) ; <nl> auto diff_shift_data = diff_shift_tensor - > flat < U > ( ) . data ( ) ; <nl> std : : memcpy ( reinterpret_cast < char * > ( diff_scale_data ) , <nl> class MklFusedBatchNormGradOp : public OpKernel { <nl> private : <nl> float epsilon_ ; <nl> TensorFormat tensor_format_ ; <nl> - size_t depth_ ; / / batch normalization is done for per channel . <nl> + size_t depth_ ; / / Batch normalization is performed for per channel . <nl> bool is_training_ ; <nl> - engine cpu_engine = engine ( engine : : cpu , 0 ) ; <nl> + engine cpu_engine_ = engine ( ENGINE_CPU , 0 ) ; <nl> <nl> void ExtractParams ( OpKernelContext * context ) { <nl> const Tensor & input = MklGetInput ( context , 0 ) ; <nl> class MklFusedBatchNormGradOp : public OpKernel { <nl> TensorShape tf_shape_scale_shift , <nl> Tensor * * diff_scale_tensor , <nl> Tensor * * diff_shift_tensor ) { <nl> - CHECK_NOTNULL ( diff_scale_tensor ) ; <nl> - CHECK_NOTNULL ( diff_shift_tensor ) ; <nl> + DCHECK ( diff_scale_tensor ) ; <nl> + DCHECK ( diff_shift_tensor ) ; <nl> <nl> const size_t kDiffScaleIndex = 1 ; <nl> const size_t kDiffShiftIndex = 2 ; <nl> const size_t kP1Index = 3 ; <nl> const size_t kP2Index = 4 ; <nl> <nl> - / / separate out scale and shift grad and copy to individual tensors <nl> + / / Separate out scale and shift grad and copy to individual tensors <nl> MklDnnShape mkl_shape_diff_scale ; <nl> mkl_shape_diff_scale . SetMklTensor ( false ) ; <nl> AllocateOutputSetMklShape ( context , kDiffScaleIndex , diff_scale_tensor , <nl> tf_shape_scale_shift , mkl_shape_diff_scale ) ; <nl> - CHECK_NOTNULL ( * diff_scale_tensor ) ; <nl> + DCHECK ( * diff_scale_tensor ) ; <nl> + <nl> auto diff_scale_data = ( * diff_scale_tensor ) - > flat < U > ( ) . data ( ) ; <nl> std : : fill_n ( diff_scale_data , ( * diff_scale_tensor ) - > shape ( ) . num_elements ( ) , <nl> static_cast < U > ( 0 ) ) ; <nl> class MklFusedBatchNormGradOp : public OpKernel { <nl> mkl_shape_diff_shift . SetMklTensor ( false ) ; <nl> AllocateOutputSetMklShape ( context , kDiffShiftIndex , diff_shift_tensor , <nl> tf_shape_scale_shift , mkl_shape_diff_shift ) ; <nl> - CHECK_NOTNULL ( * diff_shift_tensor ) ; <nl> + DCHECK ( * diff_shift_tensor ) ; <nl> + <nl> auto diff_shift_data = ( * diff_shift_tensor ) - > flat < U > ( ) . data ( ) ; <nl> std : : fill_n ( diff_shift_data , ( * diff_shift_tensor ) - > shape ( ) . num_elements ( ) , <nl> static_cast < U > ( 0 ) ) ; <nl> class MklFusedBatchNormGradOp : public OpKernel { <nl> mkl_shape_p . SetMklTensor ( false ) ; <nl> AllocateOutputSetMklShape ( context , kP1Index , & p1_tensor , TensorShape ( { } ) , <nl> mkl_shape_p ) ; <nl> + # ifndef ENABLE_MKLDNN_V1 <nl> std : : fill_n ( p1_tensor - > flat < U > ( ) . data ( ) , p1_tensor - > shape ( ) . num_elements ( ) , <nl> static_cast < U > ( 0 ) ) ; <nl> + # endif / / ! ENABLE_MKLDNN_V1 <nl> AllocateOutputSetMklShape ( context , kP2Index , & p2_tensor , TensorShape ( { } ) , <nl> mkl_shape_p ) ; <nl> + # ifndef ENABLE_MKLDNN_V1 <nl> std : : fill_n ( p2_tensor - > flat < U > ( ) . data ( ) , p2_tensor - > shape ( ) . num_elements ( ) , <nl> static_cast < U > ( 0 ) ) ; <nl> + # endif / / ! ENABLE_MKLDNN_V1 <nl> } <nl> <nl> memory : : dims GetMeanVarianceDims ( ) { return memory : : dims ( { 1 , depth_ } ) ; } <nl> REGISTER_MKL_FUSED_BATCHNORM_GRAD_V3_CPU ( bfloat16 , float ) ; <nl> <nl> } / / namespace tensorflow <nl> <nl> + # undef GET_FLAG <nl> + # undef IS_SET <nl> + <nl> # endif / / INTEL_MKL <nl> mmm a / tensorflow / core / kernels / mkl_matmul_op_fused . cc <nl> ppp b / tensorflow / core / kernels / mkl_matmul_op_fused . cc <nl> class MklFusedMatMulOp : public MklDnnMatMulOpBase < T , T > { <nl> memory : : dims weight_dims = memory : : dims ( { channel , k } ) ; <nl> memory : : dims bias_dims = memory : : dims ( { channel } ) ; <nl> memory : : dims dst_dims = memory : : dims ( { batch , channel } ) ; <nl> + MEMORY_FORMAT src_format = MEMORY_FORMAT : : nc ; <nl> MEMORY_FORMAT weight_format = <nl> transpose_b_ ? MEMORY_FORMAT : : oi : MEMORY_FORMAT : : io ; <nl> <nl> class MklFusedMatMulOp : public MklDnnMatMulOpBase < T , T > { <nl> / / 1 . const , let MKL - DNN determine format because it will be cached ; <nl> / / 2 . var , keep the original format to avoid reordering . <nl> MklDnnMatMulFwdParams matmul_params ( <nl> - src_dims , weight_dims , bias_dims , dst_dims , <nl> + src_dims , weight_dims , bias_dims , dst_dims , src_format , <nl> ( this - > is_weight_const_ ) ? MEMORY_FORMAT : : any : weight_format ) ; <nl> <nl> / / Extend the basic parameters for data types and fusions . <nl> class MklFusedMatMulOp : public MklDnnMatMulOpBase < T , T > { <nl> MklDnnData < T > src_mkl ( & ( this - > cpu_engine_ ) ) ; <nl> MklDnnData < T > weight_mkl ( & ( this - > cpu_engine_ ) ) ; <nl> <nl> - if ( src_mkl_shape . IsMklTensor ( ) ) { <nl> - memory : : desc input_md = src_mkl_shape . GetMklLayout ( ) ; <nl> - # ifdef ENABLE_MKLDNN_V1 <nl> - if ( input_md ! = matmul_pd - > src_desc ( ) ) { <nl> - # else <nl> - if ( input_md . data . format ! = MKL_TENSOR_FORMAT_NC ) { <nl> - # endif / / ENABLE_MKLDNN_V1 <nl> - src_mkl . SetUsrMem ( input_md , src_data ) ; <nl> - src_mkl . CheckReorderToOpMem ( MEMORY_PD_WITHOUT_DATA ( <nl> - matmul_pd . get ( ) - > PRIMITIVE_DESC_SRC , this - > cpu_engine_ ) ) ; <nl> - src_data = reinterpret_cast < T * > ( src_mkl . GetOpMem ( ) . get_data_handle ( ) ) ; <nl> - } <nl> + auto src_md = src_mkl_shape . IsMklTensor ( ) <nl> + ? src_mkl_shape . GetMklLayout ( ) <nl> + : memory : : desc ( src_dims , MklDnnType < T > ( ) , src_format ) ; <nl> + <nl> + if ( IS_SRC_REORDER_NEEDED ( src_md , matmul_pd , matmul_prim ) ) { <nl> + src_mkl . SetUsrMem ( src_md , src_data ) ; <nl> + src_mkl . CheckReorderToOpMem ( MEMORY_PD_WITHOUT_DATA ( <nl> + matmul_pd . get ( ) - > PRIMITIVE_DESC_SRC , this - > cpu_engine_ ) ) ; <nl> + src_data = reinterpret_cast < T * > ( src_mkl . GetOpMem ( ) . get_data_handle ( ) ) ; <nl> } <nl> <nl> / / Get cached data when weight is const . <nl> - memory : : format expected_format = matmul_prim - > GetWeightMemoryFormat ( ) ; <nl> - DCHECK ( expected_format ! = weight_format & & this - > is_weight_const_ ) ; <nl> - if ( this - > is_weight_const_ ) { <nl> + const memory : : desc weight_md = <nl> + memory : : desc ( weight_dims , MklDnnType < T > ( ) , weight_format ) ; <nl> + if ( IS_WEIGHTS_REORDER_NEEDED ( weight_md , matmul_pd , matmul_prim ) ) { <nl> T * cached_weight_data = nullptr ; <nl> - if ( this - > IsWeightCacheEmpty ( ctx ) ) { <nl> - auto weight_md = <nl> - memory : : desc ( weight_dims , MklDnnType < T > ( ) , weight_format ) ; <nl> - this - > CacheWeight ( ctx , matmul_pd , cached_weight_data , weight_tensor , <nl> - weight_mkl , weight_md ) ; <nl> + <nl> + if ( this - > is_weight_const_ ) { <nl> + if ( this - > IsWeightCacheEmpty ( ctx ) ) { <nl> + this - > CacheWeight ( ctx , matmul_pd , cached_weight_data , weight_tensor , <nl> + weight_mkl , weight_md ) ; <nl> + } <nl> + # ifdef ENABLE_MKLDNN_V1 <nl> + cached_weight_data = this - > GetCachedWeight ( <nl> + ctx , GET_WEIGHTS_DESC_FROM_OP_PD ( matmul_pd ) ) ; <nl> + # else <nl> + cached_weight_data = this - > GetCachedWeight ( <nl> + ctx , GET_WEIGHTS_DESC_FROM_OP_PD ( matmul_pd ) . desc ( ) ) ; <nl> + # endif <nl> } <nl> - cached_weight_data = this - > GetCachedWeight ( ctx , expected_format ) ; <nl> <nl> / / Cache weight may fail when it gets different format in different <nl> / / iteration . Fallback to reoder if it happens . <nl> - / / TODO : Fix this slow path . <nl> + / / Also do generel reorder if weight isn ' t const . <nl> if ( cached_weight_data ! = nullptr ) { <nl> weight_data = cached_weight_data ; <nl> } else { <nl> - memory : : desc input_md = <nl> - memory : : desc ( weight_dims , MklDnnType < T > ( ) , weight_format ) ; <nl> - <nl> - / / > > > > > > > master <nl> - weight_mkl . SetUsrMem ( input_md , weight_data ) ; <nl> + weight_mkl . SetUsrMem ( weight_md , weight_data ) ; <nl> weight_mkl . CheckReorderToOpMem ( MEMORY_PD_WITHOUT_DATA ( <nl> matmul_pd . get ( ) - > PRIMITIVE_DESC_WEIGHTS , this - > cpu_engine_ ) ) ; <nl> weight_data = <nl> class MklFusedMatMulOp : public MklDnnMatMulOpBase < T , T > { <nl> <nl> void ExtendMklDnnMatMulFwdParams ( OpKernelContext * ctx , <nl> MklDnnMatMulFwdParams & params ) { <nl> - # ifndef ENABLE_MKLDNN_V1 <nl> if ( fused_ops_ . size ( ) = = 2 ) { <nl> string post_op = fused_ops_ [ 1 ] ; <nl> <nl> if ( post_op = = " Relu " ) { <nl> - params . post_op_params . push_back ( { " relu " , { 1 . 0 , 0 . 0 , 0 . 0 } } ) ; <nl> + params . post_op_params . push_back ( { " relu " , { 1 . 0 , 0 . 0 , 0 . 0 } } ) ; <nl> } else if ( post_op = = " Relu6 " ) { <nl> - params . post_op_params . push_back ( { " relu6 " , { 1 . 0 , 6 . 0 , 0 . 0 } } ) ; <nl> + params . post_op_params . push_back ( { " relu6 " , { 1 . 0 , 6 . 0 , 0 . 0 } } ) ; <nl> } else if ( post_op = = " Elu " ) { <nl> - params . post_op_params . push_back ( { " elu " , { 1 . 0 , 1 . 0 , 0 . 0 } } ) ; <nl> + params . post_op_params . push_back ( { " elu " , { 1 . 0 , 1 . 0 , 0 . 0 } } ) ; <nl> } else { <nl> OP_REQUIRES_OK ( <nl> ctx , errors : : InvalidArgument ( <nl> " Unsupported post - argument in MklFusedMatMul : " , post_op ) ) ; <nl> } <nl> } <nl> - # endif / / ! ENABLE_MKLDNN_V1 <nl> } <nl> <nl> private : <nl> mmm a / tensorflow / core / kernels / mkl_matmul_ops_common . h <nl> ppp b / tensorflow / core / kernels / mkl_matmul_ops_common . h <nl> struct MklDnnMatMulFwdParams { <nl> memory : : dims weight_dims ; <nl> memory : : dims bias_dims ; <nl> memory : : dims dst_dims ; <nl> - MEMORY_FORMAT weight_fmt ; <nl> + MEMORY_FORMAT src_format ; <nl> + MEMORY_FORMAT weight_format ; <nl> string dtypes = string ( " " ) ; <nl> struct PostOpParam { <nl> string name ; <nl> struct MklDnnMatMulFwdParams { <nl> <nl> MklDnnMatMulFwdParams ( memory : : dims src_dims , memory : : dims weight_dims , <nl> memory : : dims bias_dims , memory : : dims dst_dims , <nl> - MEMORY_FORMAT weight_fmt = MEMORY_FORMAT : : any ) <nl> + MEMORY_FORMAT src_format = MEMORY_FORMAT : : any , <nl> + MEMORY_FORMAT weight_format = MEMORY_FORMAT : : any ) <nl> : src_dims ( src_dims ) , <nl> weight_dims ( weight_dims ) , <nl> bias_dims ( bias_dims ) , <nl> dst_dims ( dst_dims ) , <nl> - weight_fmt ( weight_fmt ) { } <nl> + src_format ( src_format ) , <nl> + weight_format ( weight_format ) { } <nl> } ; <nl> <nl> / / With quantization , input , weight , bias , and output can have different types . <nl> class MklDnnMatMulFwdPrimitive : public MklPrimitive { <nl> / / format . <nl> context_ . src_md . reset ( new memory : : desc ( { matmul_fwd_params . src_dims } , <nl> MklDnnType < Tinput > ( ) , <nl> - MEMORY_FORMAT : : any ) ) ; <nl> + matmul_fwd_params . src_format ) ) ; <nl> <nl> context_ . weight_md . reset ( new memory : : desc ( { matmul_fwd_params . weight_dims } , <nl> MklDnnType < Tweight > ( ) , <nl> - # ifdef ENABLE_MKLDNN_V1 <nl> - MEMORY_FORMAT : : any ) ) ; <nl> - # else <nl> - matmul_fwd_params . weight_fmt ) ) ; <nl> - # endif / / ENABLE_MKLDNN_V1 <nl> + matmul_fwd_params . weight_format ) ) ; <nl> <nl> context_ . dst_md . reset ( new memory : : desc ( { matmul_fwd_params . dst_dims } , <nl> MklDnnType < Toutput > ( ) , <nl> class MklDnnMatMulOpBase : public OpKernel { <nl> <nl> / / reorder and cache the weight <nl> weight . SetUsrMem ( weight_md , & weight_tensor ) ; <nl> - weight . CheckReorderToOpMem ( matmul_fwd_pd . get ( ) - > weights_primitive_desc ( ) ) ; <nl> + weight . CheckReorderToOpMem ( MEMORY_PD_WITHOUT_DATA ( <nl> + matmul_fwd_pd . get ( ) - > PRIMITIVE_DESC_WEIGHTS , cpu_engine_ ) ) ; <nl> weight_data = static_cast < Tweight * > ( weight . GetOpMem ( ) . get_data_handle ( ) ) ; <nl> <nl> Tensor * weight_tensor_ptr = nullptr ; <nl> <nl> + size_t size = matmul_fwd_pd . get ( ) - > PRIMITIVE_DESC_WEIGHTS . get_size ( ) ; <nl> TensorShape weight_tf_shape ; <nl> - weight_tf_shape . AddDim ( <nl> - ( matmul_fwd_pd . get ( ) - > weights_primitive_desc ( ) . get_size ( ) / <nl> - sizeof ( Tweight ) ) ) ; <nl> + weight_tf_shape . AddDim ( size / sizeof ( Tweight ) ) ; <nl> <nl> OP_REQUIRES_OK ( context , context - > allocate_persistent ( <nl> DataTypeToEnum < Tweight > : : value , weight_tf_shape , <nl> & weight_oi_ , & weight_tensor_ptr ) ) ; <nl> <nl> void * weight_oi_t_data = weight . GetTensorBuffer ( weight_tensor_ptr ) ; <nl> - size_t weight_size = weight . GetOpMem ( ) . get_primitive_desc ( ) . get_size ( ) ; <nl> - memcpy ( weight_oi_t_data , weight_data , weight_size ) ; <nl> + memcpy ( weight_oi_t_data , weight_data , size ) ; <nl> <nl> - / / cache the memory descriptor <nl> + / / cache the memory descriptor <nl> + # ifdef ENABLE_MKLDNN_V1 <nl> + auto expected_md = GET_WEIGHTS_DESC_FROM_OP_PD ( matmul_fwd_pd ) ; <nl> + # else <nl> + auto expected_md = GET_WEIGHTS_DESC_FROM_OP_PD ( matmul_fwd_pd ) . desc ( ) ; <nl> + # endif <nl> Tensor * weight_md_tensor_ptr = nullptr ; <nl> TensorShape weight_mkl_format ; <nl> - weight_mkl_format . AddDim ( 1 ) ; <nl> - <nl> - OP_REQUIRES_OK ( context , context - > allocate_persistent ( <nl> - DT_INT32 , weight_mkl_format , & weight_oi_md_ , <nl> - & weight_md_tensor_ptr ) ) ; <nl> - weight_md_tensor_ptr - > scalar < int32 > ( ) ( ) = <nl> - matmul_fwd_pd . get ( ) - > weights_primitive_desc ( ) . desc ( ) . data . format ; <nl> + weight_mkl_format . AddDim ( sizeof ( expected_md ) / sizeof ( Tweight ) ) ; <nl> + <nl> + OP_REQUIRES_OK ( <nl> + context , context - > allocate_persistent ( DataTypeToEnum < Tweight > : : value , <nl> + weight_mkl_format , & weight_oi_md_ , <nl> + & weight_md_tensor_ptr ) ) ; <nl> + * reinterpret_cast < memory : : desc * > ( <nl> + weight_md_tensor_ptr - > flat < Tweight > ( ) . data ( ) ) = expected_md ; <nl> } <nl> <nl> Tweight * GetCachedWeight ( OpKernelContext * context , <nl> - const memory : : format & weight_mf ) <nl> + const memory : : desc & expected_md ) <nl> LOCKS_EXCLUDED ( mu_ ) { <nl> tf_shared_lock lock ( mu_ ) ; <nl> const Tensor & weight_t = * weight_oi_ . AccessTensor ( context ) ; <nl> const Tensor & weight_md_t = * weight_oi_md_ . AccessTensor ( context ) ; <nl> <nl> - / / Check if the memory descriptor of the cached weight is same as <nl> - / / weight_mf . if so use the cached memory , else return NULL <nl> - if ( weight_md_t . scalar < int32 > ( ) . size ( ) & & <nl> - weight_md_t . scalar < int32 > ( ) ( ) = = weight_mf ) { <nl> - return static_cast < Tweight * > ( <nl> - const_cast < Tweight * > ( weight_t . flat < Tweight > ( ) . data ( ) ) ) ; <nl> + / / Check if the memory descriptor of the cached weight is same as <nl> + / / expected_md . if so use the cached memory , else return NULL <nl> + if ( weight_md_t . flat < Tweight > ( ) . size ( ) ) { <nl> + const memory : : desc & stored_md = <nl> + * ( static_cast < memory : : desc * > ( weight_md_t . data ( ) ) ) ; <nl> + # ifdef ENABLE_MKLDNN_V1 <nl> + if ( stored_md = = expected_md ) { <nl> + # else <nl> + if ( stored_md . data . format = = expected_md . data . format ) { <nl> + # endif <nl> + return static_cast < Tweight * > ( <nl> + const_cast < Tweight * > ( weight_t . flat < Tweight > ( ) . data ( ) ) ) ; <nl> + } <nl> } <nl> return nullptr ; <nl> } <nl> void dnnl_gemm_exec ( const dnnl : : desc & a_md , const dnnl : : desc & b_md , <nl> dnnl : : stream s ( cpu_engine ) ; <nl> matmul_prim . execute ( s , { { DNNL_ARG_SRC , a_memory } , <nl> { DNNL_ARG_WEIGHTS , b_memory } , <nl> - { DNNL_ARG_DST , c_memory } } ) ; <nl> + { DNNL_ARG_DST , <nl> + c_memory } } ) ; <nl> s . wait ( ) ; <nl> } <nl> <nl> mmm a / tensorflow / core / kernels / mkl_maxpooling_op . cc <nl> ppp b / tensorflow / core / kernels / mkl_maxpooling_op . cc <nl> using mkldnn : : algorithm ; <nl> using mkldnn : : engine ; <nl> using mkldnn : : error ; <nl> using mkldnn : : memory ; <nl> + # ifndef ENABLE_MKLDNN_V1 <nl> using mkldnn : : padding_kind ; <nl> + # endif <nl> using mkldnn : : pooling_backward ; <nl> using mkldnn : : pooling_forward ; <nl> using mkldnn : : prop_kind ; <nl> class MklMaxPoolingOp : public MklPoolingForwardOpBase < T > { <nl> pooling_prop_kind = prop_kind : : forward_inference ; <nl> else <nl> pooling_prop_kind = prop_kind : : forward_training ; <nl> + # ifdef ENABLE_MKLDNN_V1 <nl> + MklPoolingParams fwdParams ( <nl> + src_dims , output_dims_mkl_order , filter_dims , strides , padding_left , <nl> + padding_right , ALGORITHM : : pooling_max , pooling_prop_kind , <nl> + static_cast < MEMORY_FORMAT > ( this - > data_format_mkldnn_ ) ) ; <nl> + # else <nl> MklPoolingParams fwdParams ( <nl> src_dims , output_dims_mkl_order , filter_dims , strides , padding_left , <nl> padding_right , ALGORITHM : : pooling_max , pooling_prop_kind , <nl> - static_cast < memory : : format > ( input_md . data . format ) ) ; <nl> + static_cast < MEMORY_FORMAT > ( input_md . data . format ) ) ; <nl> + # endif <nl> pooling_fwd = MklPoolingFwdPrimitiveFactory < T > : : Get ( fwdParams ) ; <nl> - <nl> / / Allocate output tensor . <nl> this - > AllocateOutputTensor ( context , * ( pooling_fwd - > GetPoolingFwdPd ( ) ) , <nl> output_dims_mkl_order , <nl> this - > tensor_format_mkldnn_ , & output_tensor ) ; <nl> OP_REQUIRES_OK ( context , context - > status ( ) ) ; <nl> + # ifndef ENABLE_MKLDNN_V1 <nl> dnn_data_output . SetUsrMem ( output_dims_mkl_order , <nl> - pooling_fwd - > GetDstMemoryFormat ( ) , <nl> - output_tensor ) ; <nl> - <nl> + this - > data_format_mkldnn_ , output_tensor ) ; <nl> + # else <nl> + dnn_data_output . SetUsrMem ( <nl> + GET_DST_DESC_FROM_OP_PD ( pooling_fwd - > GetPoolingFwdPd ( ) ) , <nl> + output_tensor ) ; <nl> + # endif / / ! ENABLE_MKLDNN_V1 <nl> const T * src_data = input_tensor . flat < T > ( ) . data ( ) ; <nl> <nl> T * dst_data = output_tensor - > flat < T > ( ) . data ( ) ; <nl> class MklMaxPoolingOp : public MklPoolingForwardOpBase < T > { <nl> OP_REQUIRES_OK ( context , context - > status ( ) ) ; <nl> T * ws_data = <nl> static_cast < T * > ( dnn_data_wksp . GetOpMem ( ) . get_data_handle ( ) ) ; <nl> - <nl> / / Execute pooling op . <nl> pooling_fwd - > Execute ( src_data , dst_data , ws_data ) ; <nl> } <nl> class MklMaxPoolingGradOp : public MklPoolingBackwardOpBase < T > { <nl> : memory : : desc ( orig_input_dims_mkl_order , MklDnnType < T > ( ) , <nl> this - > data_format_mkldnn_ ) ; <nl> <nl> + # ifdef ENABLE_MKLDNN_V1 <nl> + MklPoolingParams bwdParams ( <nl> + orig_input_dims_mkl_order , output_dims_mkl_order , filter_dims , <nl> + strides , padding_left , padding_right , ALGORITHM : : pooling_max , <nl> + prop_kind : : forward_training , <nl> + static_cast < MEMORY_FORMAT > ( this - > data_format_mkldnn_ ) ) ; <nl> + # else <nl> MklPoolingParams bwdParams ( <nl> orig_input_dims_mkl_order , output_dims_mkl_order , filter_dims , <nl> strides , padding_left , padding_right , ALGORITHM : : pooling_max , <nl> prop_kind : : forward_training , <nl> - static_cast < memory : : format > ( src_md . data . format ) ) ; <nl> + static_cast < MEMORY_FORMAT > ( src_md . data . format ) ) ; <nl> + # endif <nl> MklPoolingBwdPrimitive < T > * pooling_bwd = <nl> MklPoolingBwdPrimitiveFactory < T > : : Get ( bwdParams ) ; <nl> <nl> mmm a / tensorflow / core / kernels / mkl_pooling_ops_common . cc <nl> ppp b / tensorflow / core / kernels / mkl_pooling_ops_common . cc <nl> void MklPoolingFwdPrimitive < T > : : Setup ( const MklPoolingParams & fwdParams ) { <nl> context_ . dst_md . reset ( new memory : : desc ( { fwdParams . dst_dims } , MklDnnType < T > ( ) , <nl> MEMORY_FORMAT : : any ) ) ; <nl> <nl> + # ifndef ENABLE_MKLDNN_V1 <nl> / / Create a pooling descriptor . <nl> context_ . fwd_desc . reset ( new pooling_forward : : desc ( <nl> fwdParams . prop_kind , fwdParams . alg_kind , * context_ . src_md , <nl> * context_ . dst_md , fwdParams . strides , fwdParams . filter_dims , <nl> fwdParams . padding_left , fwdParams . padding_right , padding_kind : : zero ) ) ; <nl> + # else <nl> + context_ . fwd_desc . reset ( new pooling_forward : : desc ( <nl> + fwdParams . prop_kind , fwdParams . alg_kind , * context_ . src_md , <nl> + * context_ . dst_md , fwdParams . strides , fwdParams . filter_dims , <nl> + fwdParams . padding_left , fwdParams . padding_right ) ) ; <nl> + # endif / / ! ENABLE_MKLDNN_V1 <nl> context_ . fwd_pd . reset ( <nl> new pooling_forward : : primitive_desc ( * context_ . fwd_desc , cpu_engine_ ) ) ; <nl> - <nl> # ifndef ENABLE_MKLDNN_V1 <nl> context_ . dst_fmt = static_cast < MEMORY_FORMAT > ( <nl> context_ . fwd_pd . get ( ) - > PRIMITIVE_DESC_DST . desc ( ) . data . format ) ; <nl> + # else <nl> + context_ . dst_fmt = static_cast < MEMORY_FORMAT > ( MEMORY_FORMAT : : any ) ; <nl> # endif / / ENABLE_MKLDNN_V1 <nl> <nl> / / Create MKL - DNN internal memory object with dummy data . <nl> void MklPoolingFwdPrimitive < T > : : Setup ( const MklPoolingParams & fwdParams ) { <nl> context_ . fwd_pd . get ( ) - > PRIMITIVE_DESC_SRC , cpu_engine_ , DummyData ) ) ; <nl> context_ . dst_mem . reset ( new MEMORY_CONSTRUCTOR ( <nl> context_ . fwd_pd . get ( ) - > PRIMITIVE_DESC_DST , cpu_engine_ , DummyData ) ) ; <nl> - <nl> / / For max pooling , need to return workspace ( ws ) for backward computing . <nl> if ( fwdParams . alg_kind = = ALGORITHM : : pooling_max & & <nl> fwdParams . prop_kind = = prop_kind : : forward_training ) { <nl> void MklPoolingBwdPrimitive < T > : : Setup ( const MklPoolingParams & bwdParams ) { <nl> <nl> / / Create memory descriptor . <nl> context_ . diff_src_md . reset ( new memory : : desc ( <nl> - { bwdParams . src_dims } , MklDnnType < T > ( ) , memory : : format : : any ) ) ; <nl> + { bwdParams . src_dims } , MklDnnType < T > ( ) , MEMORY_FORMAT : : any ) ) ; <nl> context_ . diff_dst_md . reset ( new memory : : desc ( <nl> { bwdParams . dst_dims } , MklDnnType < T > ( ) , bwdParams . src_format ) ) ; <nl> <nl> + # ifndef ENABLE_MKLDNN_V1 <nl> context_ . bwd_desc . reset ( new pooling_backward : : desc ( <nl> bwdParams . alg_kind , * context_ . diff_src_md , * context_ . diff_dst_md , <nl> bwdParams . strides , bwdParams . filter_dims , bwdParams . padding_left , <nl> void MklPoolingBwdPrimitive < T > : : Setup ( const MklPoolingParams & bwdParams ) { <nl> bwdParams . prop_kind , bwdParams . alg_kind , * context_ . diff_src_md , <nl> * context_ . diff_dst_md , bwdParams . strides , bwdParams . filter_dims , <nl> bwdParams . padding_left , bwdParams . padding_right , padding_kind : : zero ) ) ; <nl> + # else <nl> + context_ . bwd_desc . reset ( new pooling_backward : : desc ( <nl> + bwdParams . alg_kind , * context_ . diff_src_md , * context_ . diff_dst_md , <nl> + bwdParams . strides , bwdParams . filter_dims , bwdParams . padding_left , <nl> + bwdParams . padding_right ) ) ; <nl> + / / Create a forward primitive , <nl> + / / which will be used as a hint for creating backward primitive . <nl> + context_ . fwd_desc . reset ( new pooling_forward : : desc ( <nl> + bwdParams . prop_kind , bwdParams . alg_kind , * context_ . diff_src_md , <nl> + * context_ . diff_dst_md , bwdParams . strides , bwdParams . filter_dims , <nl> + bwdParams . padding_left , bwdParams . padding_right ) ) ; <nl> + # endif / / ! ENABLE_MKLDNN_V1 <nl> context_ . fwd_pd . reset ( <nl> new pooling_forward : : primitive_desc ( * context_ . fwd_desc , cpu_engine_ ) ) ; <nl> context_ . bwd_pd . reset ( new pooling_backward : : primitive_desc ( <nl> mmm a / tensorflow / core / kernels / mkl_pooling_ops_common . h <nl> ppp b / tensorflow / core / kernels / mkl_pooling_ops_common . h <nl> struct MklPoolingParams { <nl> memory : : dims padding_right ; <nl> mkldnn : : algorithm alg_kind ; <nl> mkldnn : : prop_kind prop_kind ; <nl> - memory : : format src_format ; <nl> + MEMORY_FORMAT src_format ; <nl> <nl> MklPoolingParams ( memory : : dims src_dims , memory : : dims dst_dims , <nl> memory : : dims filter_dims , memory : : dims strides , <nl> memory : : dims padding_left , memory : : dims padding_right , <nl> mkldnn : : algorithm alg_kind , mkldnn : : prop_kind prop_kind , <nl> - memory : : format src_format ) <nl> + MEMORY_FORMAT src_format ) <nl> : src_dims ( src_dims ) , <nl> dst_dims ( dst_dims ) , <nl> filter_dims ( filter_dims ) , <nl> mmm a / tensorflow / core / kernels / mkl_qmatmul_op . cc <nl> ppp b / tensorflow / core / kernels / mkl_qmatmul_op . cc <nl> class MklDnnQuantizedMatMulOp : public MklDnnMatMulOpBase < Tweight , Toutput > { <nl> } <nl> # ifdef ENABLE_MKLDNN_V1 <nl> weight_data = this - > GetCachedWeight ( <nl> - context , static_cast < int32 > ( weight_mkl_shape . GetTfDataFormat ( ) ) ) ; <nl> + context , GET_WEIGHTS_DESC_FROM_OP_PD ( matmul_fwd_pd ) ) ; <nl> # else <nl> weight_data = this - > GetCachedWeight ( <nl> - context , matmul_fwd - > GetWeightMemoryFormat ( ) ) ; <nl> - # endif / / ENABLE_MKLDNN_V1 <nl> + context , GET_WEIGHTS_DESC_FROM_OP_PD ( matmul_fwd_pd ) . desc ( ) ) ; <nl> + # endif <nl> is_weight_cached = ( weight_data ! = nullptr ) ; <nl> } <nl> <nl> mmm a / tensorflow / core / kernels / mkl_relu_op . cc <nl> ppp b / tensorflow / core / kernels / mkl_relu_op . cc <nl> limitations under the License . <nl> # include < unordered_map > <nl> <nl> # include " mkldnn . hpp " <nl> - # include " third_party / eigen3 / unsupported / Eigen / CXX11 / Tensor " <nl> # include " tensorflow / core / framework / numeric_op . h " <nl> # include " tensorflow / core / framework / op_kernel . h " <nl> # include " tensorflow / core / framework / register_types . h " <nl> limitations under the License . <nl> # include " tensorflow / core / lib / core / errors . h " <nl> # include " tensorflow / core / util / mkl_types . h " <nl> # include " tensorflow / core / util / mkl_util . h " <nl> + # include " third_party / eigen3 / unsupported / Eigen / CXX11 / Tensor " <nl> <nl> using mkldnn : : algorithm ; <nl> using mkldnn : : eltwise_forward ; <nl> class MklEltwiseFwdPrimitive : public MklPrimitive { <nl> context_ . src_md . reset ( new memory : : desc ( fwdParams . src_md . data ) ) ; <nl> <nl> context_ . src_mpd . reset ( <nl> + # ifdef ENABLE_MKLDNN_V1 <nl> + new MEMORY_PRIMITIVE_DESC ( * context_ . src_md ) ) ; <nl> + # else <nl> new MEMORY_PD_CONSTRUCTOR_2_PARAMS ( * context_ . src_md , cpu_engine_ ) ) ; <nl> + # endif <nl> <nl> / / Create an eltwise forward descriptor and primitive descriptor <nl> context_ . fwd_desc . reset ( new eltwise_forward : : desc ( <nl> class MklEltwiseBwdPrimitive : public MklPrimitive { <nl> / / Create memory descriptors for eltwise data w / no specified format <nl> context_ . src_md . reset ( new memory : : desc ( bwdParams . common_md . data ) ) ; <nl> context_ . diff_dst_md . reset ( new memory : : desc ( bwdParams . common_md . data ) ) ; <nl> - <nl> context_ . src_mpd . reset ( <nl> new MEMORY_PD_CONSTRUCTOR_2_PARAMS ( * context_ . src_md , cpu_engine_ ) ) ; <nl> context_ . diff_dst_mpd . reset ( <nl> mmm a / tensorflow / core / kernels / mkl_softmax_op . cc <nl> ppp b / tensorflow / core / kernels / mkl_softmax_op . cc <nl> limitations under the License . <nl> # ifdef INTEL_MKL <nl> <nl> # include " mkldnn . hpp " <nl> - # include " third_party / eigen3 / unsupported / Eigen / CXX11 / Tensor " <nl> # include " tensorflow / core / framework / numeric_op . h " <nl> # include " tensorflow / core / framework / op_kernel . h " <nl> # include " tensorflow / core / framework / register_types . h " <nl> limitations under the License . <nl> # include " tensorflow / core / util / mkl_types . h " <nl> # include " tensorflow / core / util / mkl_util . h " <nl> # include " tensorflow / core / util / tensor_format . h " <nl> + # include " third_party / eigen3 / unsupported / Eigen / CXX11 / Tensor " <nl> <nl> using mkldnn : : prop_kind ; <nl> using mkldnn : : softmax_forward ; <nl> class MklSoftmaxPrimitive : public MklPrimitive { <nl> <nl> # ifdef ENABLE_MKLDNN_V1 <nl> execute_primitives ( context_ . fwd_primitives , context_ . fwd_stream , <nl> - context_ . net_args ) ; <nl> + context_ . fwd_net_args ) ; <nl> # else <nl> context_ . fwd_stream - > submit ( context_ . fwd_primitives ) ; <nl> # endif <nl> mmm a / tensorflow / core / ops / mkl_nn_ops . cc <nl> ppp b / tensorflow / core / ops / mkl_nn_ops . cc <nl> REGISTER_OP ( " _MklFusedBatchNormV3 " ) <nl> . Attr ( " U : { float } " ) <nl> . Attr ( " epsilon : float = 0 . 0001 " ) <nl> . Attr ( GetConvnetDataFormatAttrString ( ) ) <nl> + . Attr ( " exponential_avg_factor : float = 1 . 0 " ) <nl> . Attr ( " is_training : bool = true " ) <nl> . SetShapeFn ( shape_inference : : FusedBatchNormShape ) <nl> . Doc ( <nl> mmm a / tensorflow / core / ops / nn_ops . cc <nl> ppp b / tensorflow / core / ops / nn_ops . cc <nl> REGISTER_OP ( " _MklFusedBatchNorm " ) <nl> . Attr ( " T : numbertype " ) <nl> . Attr ( " epsilon : float = 0 . 0001 " ) <nl> . Attr ( " data_format : string = ' NHWC ' " ) <nl> + . Attr ( " exponential_avg_factor : float = 1 . 0 " ) <nl> . Attr ( " is_training : bool = true " ) <nl> . SetShapeFn ( [ ] ( InferenceContext * c ) { <nl> ShapeHandle x ; <nl> REGISTER_OP ( " _MklFusedBatchNormV2 " ) <nl> . Attr ( " U : { float } " ) <nl> . Attr ( " epsilon : float = 0 . 0001 " ) <nl> . Attr ( GetConvnetDataFormatAttrString ( ) ) <nl> + . Attr ( " exponential_avg_factor : float = 1 . 0 " ) <nl> . Attr ( " is_training : bool = true " ) <nl> . SetShapeFn ( shape_inference : : FusedBatchNormShape ) ; <nl> <nl> mmm a / tensorflow / core / util / mkl_types . h <nl> ppp b / tensorflow / core / util / mkl_types . h <nl> namespace tensorflow { <nl> # define ADD_MD add_md <nl> # define ALGORITHM mkldnn : : algorithm <nl> # define ALGORITHM_UNDEF ALGORITHM : : undef <nl> + # define BN_FLAGS mkldnn : : normalization_flags <nl> # define CPU_STREAM ( engine ) stream ( engine ) <nl> # define DATA_WITH_ENGINE ( data , engine ) data , engine <nl> # define DST_MD dst_md <nl> namespace tensorflow { <nl> GET_MEMORY_DESC_FROM_MEM_PTR ( mem_ptr ) <nl> # define GET_MEMORY_SIZE_FROM_MD ( md , engine ) md . get_size ( ) <nl> # define GET_SRC_DESC_FROM_OP_PD ( op_pd ) op_pd - > src_desc ( ) <nl> + # define GET_DST_DESC_FROM_OP_PD ( op_pd ) op_pd - > dst_desc ( ) <nl> + # define GET_BIAS_DESC_FROM_OP_PD ( op_pd ) op_pd - > bias_desc ( ) <nl> # define GET_DIFF_DST_DESC_FROM_OP_PD ( op_pd ) op_pd - > diff_dst_desc ( ) <nl> # define GET_WORKSPACE_DESC_FROM_OP_PD ( op_pd ) op_pd - > workspace_desc ( ) <nl> # define GET_TENSOR_FORMAT ( fmt ) MklTensorFormatToMklDnnDataFormat ( fmt ) <nl> namespace tensorflow { <nl> # define TENSOR_FORMAT_NHWC MKL_TENSOR_FORMAT_NHWC <nl> # define TENSOR_MAX_DIMS MKLDNN_MAX_NDIMS <nl> # define GET_USR_MEM_PRIM_DESC ( src ) src . GetUsrMemDesc ( ) <nl> + # define BN_FLAGS mkldnn : : normalization_flags <nl> <nl> # else <nl> <nl> namespace tensorflow { <nl> # define GET_MEMORY_SIZE_FROM_MD ( md , engine ) \ <nl> memory : : primitive_desc ( md , engine ) . get_size ( ) <nl> # define GET_SRC_DESC_FROM_OP_PD ( op_pd ) op_pd . get ( ) - > src_primitive_desc ( ) <nl> + # define GET_DST_DESC_FROM_OP_PD ( op_pd ) op_pd . get ( ) - > dst_primitive_desc ( ) <nl> + # define GET_BIAS_DESC_FROM_OP_PD ( op_pd ) op_pd . get ( ) - > bias_primitive_desc ( ) <nl> # define GET_DIFF_DST_DESC_FROM_OP_PD ( op_pd ) \ <nl> op_pd . get ( ) - > diff_dst_primitive_desc ( ) <nl> # define GET_WORKSPACE_DESC_FROM_OP_PD ( op_pd ) \ <nl> namespace tensorflow { <nl> # define TENSOR_FORMAT TensorFormat <nl> # define TENSOR_FORMAT_NHWC FORMAT_NHWC <nl> # define GET_USR_MEM_PRIM_DESC ( src ) src . GetUsrMemPrimDesc ( ) <nl> + # define BN_FLAGS mkldnn <nl> # endif / / ENABLE_MKLDNN_V1 <nl> <nl> } / / namespace tensorflow <nl> mmm a / tensorflow / core / util / mkl_util . h <nl> ppp b / tensorflow / core / util / mkl_util . h <nl> limitations under the License . <nl> <nl> using mkldnn : : engine ; <nl> using mkldnn : : memory ; <nl> + # ifndef ENABLE_MKLDNN_V1 <nl> using mkldnn : : padding_kind ; <nl> + # endif <nl> using mkldnn : : primitive ; <nl> using mkldnn : : reorder ; <nl> using mkldnn : : stream ; <nl> inline memory : : dims CalculateTFStrides ( const memory : : dims & dims_tf_order ) { <nl> return strides ; <nl> } <nl> <nl> + # ifndef ENABLE_MKLDNN_V1 <nl> inline padding_kind TFPaddingToMklDnnPadding ( Padding pad ) { <nl> / / MKL - DNN only supports zero padding . <nl> return padding_kind : : zero ; <nl> } <nl> + # endif <nl> <nl> / / / Helper function to create memory descriptor in Blocked format <nl> / / / <nl> inline bool IsConv1x1StrideNot1 ( memory : : dims filter_dims , <nl> } <nl> <nl> # ifdef ENABLE_MKLDNN_V1 <nl> - void execute_primitives ( <nl> + inline void execute_primitives ( <nl> std : : vector < mkldnn : : primitive > & primitives , std : : shared_ptr < stream > stream , <nl> std : : vector < std : : unordered_map < int , memory > > & net_args ) { <nl> DCHECK_EQ ( primitives . size ( ) , net_args . size ( ) ) ; <nl> mmm a / tensorflow / core / util / mkl_util_test . cc <nl> ppp b / tensorflow / core / util / mkl_util_test . cc <nl> limitations under the License . <nl> # ifdef INTEL_MKL <nl> <nl> # include " tensorflow / core / util / mkl_util . h " <nl> + # include " tensorflow / core / util / mkl_types . h " <nl> <nl> # include " tensorflow / core / platform / test . h " <nl> <nl> namespace tensorflow { <nl> namespace { <nl> <nl> TEST ( MklUtilTest , MklDnnTfShape ) { <nl> - auto cpu_engine = engine ( engine : : cpu , 0 ) ; <nl> + auto cpu_engine = engine ( ENGINE_CPU , 0 ) ; <nl> MklDnnData < float > a ( & cpu_engine ) ; <nl> <nl> const int N = 1 , C = 2 , H = 3 , W = 4 ; <nl> TEST ( MklUtilTest , MklDnnTfShape ) { <nl> MklDnnShape a_mkldnn_shape ; <nl> a_mkldnn_shape . SetMklTensor ( true ) ; <nl> / / Create TF layout in NCHW . <nl> - a_mkldnn_shape . SetTfLayout ( a_dims . size ( ) , a_dims , memory : : format : : nchw ) ; <nl> + a_mkldnn_shape . SetTfLayout ( a_dims . size ( ) , a_dims , MKL_TENSOR_FORMAT_NCHW ) ; <nl> TensorShape a_tf_shape_nchw ( { N , C , H , W } ) ; <nl> TensorShape a_tf_shape_nhwc ( { N , H , W , C } ) ; <nl> TensorShape a_mkldnn_tf_shape = a_mkldnn_shape . GetTfShape ( ) ; <nl> TEST ( MklUtilTest , MklDnnTfShape ) { <nl> MklDnnShape b_mkldnn_shape ; <nl> b_mkldnn_shape . SetMklTensor ( true ) ; <nl> / / Create TF layout in NHWC . <nl> - b_mkldnn_shape . SetTfLayout ( b_dims . size ( ) , b_dims , memory : : format : : nhwc ) ; <nl> + b_mkldnn_shape . SetTfLayout ( b_dims . size ( ) , b_dims , MKL_TENSOR_FORMAT_NHWC ) ; <nl> TensorShape b_tf_shape_nhwc ( { N , H , W , C } ) ; <nl> TensorShape b_tf_shape_nchw ( { N , C , H , W } ) ; <nl> TensorShape b_mkldnn_tf_shape = b_mkldnn_shape . GetTfShape ( ) ; <nl> TEST ( MklUtilTest , MklDnnTfShape ) { <nl> TEST ( MklUtilTest , MklDnnBlockedFormatTest ) { <nl> / / Let ' s create 2D tensor of shape { 3 , 4 } with 3 being innermost dimension <nl> / / first ( case 1 ) and then it being outermost dimension ( case 2 ) . <nl> - auto cpu_engine = engine ( engine : : cpu , 0 ) ; <nl> + auto cpu_engine = engine ( ENGINE_CPU , 0 ) ; <nl> <nl> / / Setting for case 1 <nl> MklDnnData < float > a ( & cpu_engine ) ; <nl> TEST ( MklUtilTest , MklDnnBlockedFormatTest ) { <nl> EXPECT_EQ ( a_md1 . data . ndims , 2 ) ; <nl> EXPECT_EQ ( a_md1 . data . dims [ 0 ] , 3 ) ; <nl> EXPECT_EQ ( a_md1 . data . dims [ 1 ] , 4 ) ; <nl> + # ifndef ENABLE_MKLDNN_V1 <nl> EXPECT_EQ ( a_md1 . data . format , mkldnn_blocked ) ; <nl> + # endif / / ! ENABLE_MKLDNN_V1 <nl> <nl> / / Setting for case 2 <nl> MklDnnData < float > b ( & cpu_engine ) ; <nl> TEST ( MklUtilTest , MklDnnBlockedFormatTest ) { <nl> EXPECT_EQ ( b_md2 . data . ndims , 2 ) ; <nl> EXPECT_EQ ( b_md2 . data . dims [ 0 ] , 3 ) ; <nl> EXPECT_EQ ( b_md2 . data . dims [ 1 ] , 4 ) ; <nl> + # ifndef ENABLE_MKLDNN_V1 <nl> EXPECT_EQ ( b_md2 . data . format , mkldnn_blocked ) ; <nl> + # endif / / ! ENABLE_MKLDNN_V1 <nl> } <nl> <nl> TEST ( MklUtilTest , LRUCacheTest ) { <nl> mmm a / tensorflow / workspace . bzl <nl> ppp b / tensorflow / workspace . bzl <nl> def tf_repositories ( path_prefix = " " , tf_repo_name = " " ) : <nl> <nl> tf_http_archive ( <nl> name = " mkl_dnn_v1 " , <nl> - build_file = clean_dep ( " / / third_party / mkl_dnn : mkldnn . BUILD " ) , <nl> - sha256 = " fcc2d951f7170eade0cfdd0d8d1d58e3e7785bd326bca6555f3722f8cba71811 " , <nl> - strip_prefix = " mkl - dnn - 1 . 0 - pc2 " , <nl> + build_file = clean_dep ( " / / third_party / mkl_dnn : mkldnn_v1 . BUILD " ) , <nl> + sha256 = " 27fd9da9720c452852f1226581e7914efcf74e1ff898468fdcbe1813528831ba " , <nl> + strip_prefix = " mkl - dnn - 1 . 0 " , <nl> urls = [ <nl> - " https : / / storage . googleapis . com / mirror . tensorflow . org / github . com / intel / mkl - dnn / archive / v1 . 0 - pc2 . tar . gz " , <nl> - " https : / / github . com / intel / mkl - dnn / archive / v1 . 0 - pc2 . tar . gz " , <nl> + " https : / / storage . googleapis . com / mirror . tensorflow . org / github . com / intel / mkl - dnn / archive / v1 . 0 . tar . gz " , <nl> + " https : / / github . com / intel / mkl - dnn / archive / v1 . 0 . tar . gz " , <nl> ] , <nl> ) <nl> <nl> new file mode 100644 <nl> index 0000000000000 . . 517abca3ebba0 <nl> mmm / dev / null <nl> ppp b / third_party / mkl_dnn / mkldnn_v1 . BUILD <nl> <nl> + exports_files ( [ " LICENSE " ] ) <nl> + <nl> + load ( <nl> + " @ org_tensorflow / / third_party / mkl_dnn : build_defs . bzl " , <nl> + " if_mkl_open_source_only " , <nl> + " if_mkl_v1_open_source_only " , <nl> + ) <nl> + load ( <nl> + " @ org_tensorflow / / third_party : common . bzl " , <nl> + " template_rule " , <nl> + ) <nl> + <nl> + config_setting ( <nl> + name = " clang_linux_x86_64 " , <nl> + values = { <nl> + " cpu " : " k8 " , <nl> + " define " : " using_clang = true " , <nl> + } , <nl> + ) <nl> + <nl> + template_rule ( <nl> + name = " mkldnn_config_h " , <nl> + src = " include / mkldnn_config . h . in " , <nl> + out = " include / mkldnn_config . h " , <nl> + substitutions = { <nl> + " # cmakedefine MKLDNN_CPU_RUNTIME MKLDNN_RUNTIME_ $ { MKLDNN_CPU_RUNTIME_CURRENT } " : " # define MKLDNN_CPU_RUNTIME MKLDNN_RUNTIME_OMP " , <nl> + " # cmakedefine MKLDNN_GPU_RUNTIME MKLDNN_RUNTIME_ $ { MKLDNN_GPU_RUNTIME } " : " # define MKLDNN_GPU_RUNTIME MKLDNN_RUNTIME_NONE " , <nl> + } , <nl> + ) <nl> + <nl> + # Create the file mkldnn_version . h with MKL - DNN version numbers . <nl> + # Currently , the version numbers are hard coded here . If MKL - DNN is upgraded then <nl> + # the version numbers have to be updated manually . The version numbers can be <nl> + # obtained from the PROJECT_VERSION settings in CMakeLists . txt . The variable is <nl> + # set to " version_major . version_minor . version_patch " . The git hash version can <nl> + # be set to NA . <nl> + # TODO ( agramesh1 ) Automatically get the version numbers from CMakeLists . txt . <nl> + <nl> + template_rule ( <nl> + name = " mkldnn_version_h " , <nl> + src = " include / mkldnn_version . h . in " , <nl> + out = " include / mkldnn_version . h " , <nl> + substitutions = { <nl> + " @ MKLDNN_VERSION_MAJOR @ " : " 1 " , <nl> + " @ MKLDNN_VERSION_MINOR @ " : " 0 " , <nl> + " @ MKLDNN_VERSION_PATCH @ " : " 0 " , <nl> + " @ MKLDNN_VERSION_HASH @ " : " N / A " , <nl> + } , <nl> + ) <nl> + <nl> + cc_library ( <nl> + name = " mkl_dnn " , <nl> + srcs = glob ( [ <nl> + " src / common / * . cpp " , <nl> + " src / common / * . hpp " , <nl> + " src / cpu / * . cpp " , <nl> + " src / cpu / * . hpp " , <nl> + " src / cpu / * * / * . cpp " , <nl> + " src / cpu / * * / * . hpp " , <nl> + " src / cpu / xbyak / * . h " , <nl> + ] ) + if_mkl_v1_open_source_only ( [ <nl> + " : mkldnn_config_h " , <nl> + ] ) + [ " : mkldnn_version_h " ] , <nl> + hdrs = glob ( [ " include / * " ] ) , <nl> + copts = [ <nl> + " - fexceptions " , <nl> + " - DUSE_MKL " , <nl> + " - DUSE_CBLAS " , <nl> + ] + if_mkl_open_source_only ( [ <nl> + " - UUSE_MKL " , <nl> + " - UUSE_CBLAS " , <nl> + ] ) + if_mkl_v1_open_source_only ( [ <nl> + " - UUSE_MKL " , <nl> + " - UUSE_CBLAS " , <nl> + ] ) + select ( { <nl> + " @ org_tensorflow / / tensorflow : linux_x86_64 " : [ <nl> + " - fopenmp " , # only works with gcc <nl> + ] , <nl> + # TODO ( ibiryukov ) : enable openmp with clang by including libomp as a <nl> + # dependency . <nl> + " : clang_linux_x86_64 " : [ ] , <nl> + " / / conditions : default " : [ ] , <nl> + } ) , <nl> + includes = [ <nl> + " include " , <nl> + " src " , <nl> + " src / common " , <nl> + " src / cpu " , <nl> + " src / cpu / gemm " , <nl> + " src / cpu / xbyak " , <nl> + ] , <nl> + visibility = [ " / / visibility : public " ] , <nl> + deps = select ( { <nl> + " @ org_tensorflow / / tensorflow : linux_x86_64 " : [ <nl> + " @ mkl_linux / / : mkl_headers " , <nl> + " @ mkl_linux / / : mkl_libs_linux " , <nl> + ] , <nl> + " @ org_tensorflow / / tensorflow : macos " : [ <nl> + " @ mkl_darwin / / : mkl_headers " , <nl> + " @ mkl_darwin / / : mkl_libs_darwin " , <nl> + ] , <nl> + " @ org_tensorflow / / tensorflow : windows " : [ <nl> + " @ mkl_windows / / : mkl_headers " , <nl> + " @ mkl_windows / / : mkl_libs_windows " , <nl> + ] , <nl> + " / / conditions : default " : [ ] , <nl> + } ) , <nl> + ) <nl> + <nl> + cc_library ( <nl> + name = " mkldnn_single_threaded " , <nl> + srcs = glob ( [ <nl> + " src / common / * . cpp " , <nl> + " src / common / * . hpp " , <nl> + " src / cpu / * . cpp " , <nl> + " src / cpu / * . hpp " , <nl> + " src / cpu / * * / * . cpp " , <nl> + " src / cpu / * * / * . hpp " , <nl> + " src / cpu / xbyak / * . h " , <nl> + ] ) + [ " : mkldnn_config_h " ] , <nl> + hdrs = glob ( [ " include / * " ] ) , <nl> + copts = [ <nl> + " - fexceptions " , <nl> + " - DMKLDNN_THR = MKLDNN_THR_SEQ " , # Disables threading . <nl> + ] , <nl> + includes = [ <nl> + " include " , <nl> + " src " , <nl> + " src / common " , <nl> + " src / cpu " , <nl> + " src / cpu / gemm " , <nl> + " src / cpu / xbyak " , <nl> + ] , <nl> + visibility = [ " / / visibility : public " ] , <nl> + ) <nl>
[ Intel MKL ] Compilation fixes to integrate DNNL 1 . 0
tensorflow/tensorflow
4f61e4cab9de2023c3e78569958e103e5cba9f60
2020-02-26T07:02:33Z
mmm a / src / heap / embedder - tracing . cc <nl> ppp b / src / heap / embedder - tracing . cc <nl> void LocalEmbedderHeapTracer : : TracePrologue ( ) { <nl> <nl> CHECK ( cached_wrappers_to_trace_ . empty ( ) ) ; <nl> num_v8_marking_worklist_was_empty_ = 0 ; <nl> - embedder_worklist_empty_ = false ; <nl> remote_tracer_ - > TracePrologue ( ) ; <nl> } <nl> <nl> mmm a / src / heap / embedder - tracing . h <nl> ppp b / src / heap / embedder - tracing . h <nl> class V8_EXPORT_PRIVATE LocalEmbedderHeapTracer final { <nl> void NotifyV8MarkingWorklistWasEmpty ( ) { <nl> num_v8_marking_worklist_was_empty_ + + ; <nl> } <nl> - <nl> bool ShouldFinalizeIncrementalMarking ( ) { <nl> static const size_t kMaxIncrementalFixpointRounds = 3 ; <nl> return ! FLAG_incremental_marking_wrappers | | ! InUse ( ) | | <nl> - ( IsRemoteTracingDone ( ) & & embedder_worklist_empty_ ) | | <nl> + IsRemoteTracingDone ( ) | | <nl> num_v8_marking_worklist_was_empty_ > kMaxIncrementalFixpointRounds ; <nl> } <nl> <nl> - void SetEmbedderWorklistEmpty ( bool empty ) { <nl> - embedder_worklist_empty_ = empty ; <nl> - } <nl> - <nl> void SetEmbedderStackStateForNextFinalization ( <nl> EmbedderHeapTracer : : EmbedderStackState stack_state ) ; <nl> <nl> class V8_EXPORT_PRIVATE LocalEmbedderHeapTracer final { <nl> EmbedderHeapTracer : : EmbedderStackState embedder_stack_state_ = <nl> EmbedderHeapTracer : : kUnknown ; <nl> <nl> - / / Indicates whether the embedder worklist was observed empty on the main <nl> - / / thread . This is opportunistic as concurrent marking tasks may hold local <nl> - / / segments of potential embedder fields to move to the main thread . <nl> - bool embedder_worklist_empty_ = false ; <nl> - <nl> friend class EmbedderStackStateScope ; <nl> } ; <nl> <nl> mmm a / src / heap / incremental - marking . cc <nl> ppp b / src / heap / incremental - marking . cc <nl> intptr_t IncrementalMarking : : ProcessMarkingWorklist ( <nl> } <nl> <nl> void IncrementalMarking : : EmbedderStep ( double duration_ms ) { <nl> - constexpr size_t kObjectsToProcessBeforeInterrupt = 500 ; <nl> + constexpr int kObjectsToProcessBeforeInterrupt = 100 ; <nl> <nl> TRACE_GC ( heap ( ) - > tracer ( ) , GCTracer : : Scope : : MC_INCREMENTAL_EMBEDDER_TRACING ) ; <nl> - double deadline = heap_ - > MonotonicallyIncreasingTimeInMs ( ) + duration_ms ; <nl> - do { <nl> - HeapObject * object ; <nl> - size_t cnt = 0 ; <nl> - bool embedder_fields_empty = true ; <nl> - while ( marking_worklist ( ) - > embedder ( ) - > Pop ( 0 , & object ) ) { <nl> - heap_ - > TracePossibleWrapper ( JSObject : : cast ( object ) ) ; <nl> - if ( + + cnt = = kObjectsToProcessBeforeInterrupt ) { <nl> - cnt = 0 ; <nl> - embedder_fields_empty = false ; <nl> + <nl> + const double deadline = <nl> + heap_ - > MonotonicallyIncreasingTimeInMs ( ) + duration_ms ; <nl> + <nl> + HeapObject * object ; <nl> + int cnt = 0 ; <nl> + while ( marking_worklist ( ) - > embedder ( ) - > Pop ( 0 , & object ) ) { <nl> + heap_ - > TracePossibleWrapper ( JSObject : : cast ( object ) ) ; <nl> + if ( + + cnt = = kObjectsToProcessBeforeInterrupt ) { <nl> + cnt = 0 ; <nl> + if ( heap_ - > MonotonicallyIncreasingTimeInMs ( ) > deadline ) { <nl> break ; <nl> } <nl> } <nl> - heap_ - > local_embedder_heap_tracer ( ) - > SetEmbedderWorklistEmpty ( <nl> - embedder_fields_empty ) ; <nl> - heap_ - > local_embedder_heap_tracer ( ) - > RegisterWrappersWithRemoteTracer ( ) ; <nl> + } <nl> + <nl> + heap_ - > local_embedder_heap_tracer ( ) - > RegisterWrappersWithRemoteTracer ( ) ; <nl> + if ( ! heap_ - > local_embedder_heap_tracer ( ) <nl> + - > ShouldFinalizeIncrementalMarking ( ) ) { <nl> heap_ - > local_embedder_heap_tracer ( ) - > Trace ( deadline ) ; <nl> - } while ( heap_ - > MonotonicallyIncreasingTimeInMs ( ) < deadline ) ; <nl> + } <nl> } <nl> <nl> void IncrementalMarking : : Hurry ( ) { <nl> void IncrementalMarking : : Epilogue ( ) { <nl> finalize_marking_completed_ = false ; <nl> } <nl> <nl> - bool IncrementalMarking : : ShouldDoEmbedderStep ( ) { <nl> - return state_ = = MARKING & & FLAG_incremental_marking_wrappers & & <nl> - heap_ - > local_embedder_heap_tracer ( ) - > InUse ( ) ; <nl> - } <nl> - <nl> double IncrementalMarking : : AdvanceIncrementalMarking ( <nl> double deadline_in_ms , CompletionAction completion_action , <nl> StepOrigin step_origin ) { <nl> double IncrementalMarking : : AdvanceIncrementalMarking ( <nl> 0 , heap_ - > local_embedder_heap_tracer ( ) - > NumberOfCachedWrappersToTrace ( ) ) ; <nl> <nl> double remaining_time_in_ms = 0 . 0 ; <nl> + intptr_t step_size_in_bytes = GCIdleTimeHandler : : EstimateMarkingStepSize ( <nl> + kStepSizeInMs , <nl> + heap ( ) - > tracer ( ) - > IncrementalMarkingSpeedInBytesPerMillisecond ( ) ) ; <nl> + <nl> + const bool incremental_wrapper_tracing = <nl> + state_ = = MARKING & & FLAG_incremental_marking_wrappers & & <nl> + heap_ - > local_embedder_heap_tracer ( ) - > InUse ( ) ; <nl> do { <nl> - if ( ShouldDoEmbedderStep ( ) & & trace_wrappers_toggle_ ) { <nl> + if ( incremental_wrapper_tracing & & trace_wrappers_toggle_ ) { <nl> EmbedderStep ( kStepSizeInMs ) ; <nl> } else { <nl> - const intptr_t step_size_in_bytes = <nl> - GCIdleTimeHandler : : EstimateMarkingStepSize ( <nl> - kStepSizeInMs , <nl> - heap ( ) - > tracer ( ) - > IncrementalMarkingSpeedInBytesPerMillisecond ( ) ) ; <nl> Step ( step_size_in_bytes , completion_action , step_origin ) ; <nl> } <nl> trace_wrappers_toggle_ = ! trace_wrappers_toggle_ ; <nl> remaining_time_in_ms = <nl> deadline_in_ms - heap ( ) - > MonotonicallyIncreasingTimeInMs ( ) ; <nl> - } while ( remaining_time_in_ms > kStepSizeInMs & & ! IsComplete ( ) & & <nl> + } while ( remaining_time_in_ms > = kStepSizeInMs & & ! IsComplete ( ) & & <nl> ! marking_worklist ( ) - > IsEmpty ( ) ) ; <nl> return remaining_time_in_ms ; <nl> } <nl> void IncrementalMarking : : AdvanceIncrementalMarkingOnAllocation ( ) { <nl> return ; <nl> } <nl> <nl> - HistogramTimerScope incremental_marking_scope ( <nl> - heap_ - > isolate ( ) - > counters ( ) - > gc_incremental_marking ( ) ) ; <nl> - TRACE_EVENT0 ( " v8 " , " V8 . GCIncrementalMarking " ) ; <nl> - TRACE_GC ( heap_ - > tracer ( ) , GCTracer : : Scope : : MC_INCREMENTAL ) ; <nl> - <nl> - if ( ShouldDoEmbedderStep ( ) & & trace_wrappers_toggle_ ) { <nl> - EmbedderStep ( kMaxStepSizeInMs ) ; <nl> - } else { <nl> - size_t bytes_to_process = <nl> - StepSizeToKeepUpWithAllocations ( ) + StepSizeToMakeProgress ( ) ; <nl> - if ( bytes_to_process > = IncrementalMarking : : kMinStepSizeInBytes ) { <nl> - HistogramTimerScope incremental_marking_scope ( <nl> - heap_ - > isolate ( ) - > counters ( ) - > gc_incremental_marking ( ) ) ; <nl> - TRACE_EVENT0 ( " v8 " , " V8 . GCIncrementalMarking " ) ; <nl> - TRACE_GC ( heap_ - > tracer ( ) , GCTracer : : Scope : : MC_INCREMENTAL ) ; <nl> - / / The first step after Scavenge will see many allocated bytes . <nl> - / / Cap the step size to distribute the marking work more uniformly . <nl> - size_t max_step_size = GCIdleTimeHandler : : EstimateMarkingStepSize ( <nl> - kMaxStepSizeInMs , <nl> - heap ( ) - > tracer ( ) - > IncrementalMarkingSpeedInBytesPerMillisecond ( ) ) ; <nl> - bytes_to_process = Min ( bytes_to_process , max_step_size ) ; <nl> - size_t bytes_processed = 0 ; <nl> - if ( FLAG_concurrent_marking ) { <nl> - bytes_processed = Step ( bytes_to_process , GC_VIA_STACK_GUARD , <nl> - StepOrigin : : kV8 , WorklistToProcess : : kBailout ) ; <nl> - bytes_to_process = ( bytes_processed > = bytes_to_process ) <nl> - ? 0 <nl> - : bytes_to_process - bytes_processed ; <nl> - size_t current_bytes_marked_concurrently = <nl> - heap ( ) - > concurrent_marking ( ) - > TotalMarkedBytes ( ) ; <nl> - / / The concurrent_marking ( ) - > TotalMarkedBytes ( ) is not monothonic for a <nl> - / / short period of time when a concurrent marking task is finishing . <nl> - if ( current_bytes_marked_concurrently > bytes_marked_concurrently_ ) { <nl> - bytes_marked_ahead_of_schedule_ + = <nl> - current_bytes_marked_concurrently - bytes_marked_concurrently_ ; <nl> - bytes_marked_concurrently_ = current_bytes_marked_concurrently ; <nl> - } <nl> - } <nl> - if ( bytes_marked_ahead_of_schedule_ > = bytes_to_process ) { <nl> - / / Steps performed in tasks and concurrently have put us ahead of <nl> - / / schedule . We skip processing of marking dequeue here and thus shift <nl> - / / marking time from inside V8 to standalone tasks . <nl> - bytes_marked_ahead_of_schedule_ - = bytes_to_process ; <nl> - bytes_processed + = bytes_to_process ; <nl> - bytes_to_process = IncrementalMarking : : kMinStepSizeInBytes ; <nl> + size_t bytes_to_process = <nl> + StepSizeToKeepUpWithAllocations ( ) + StepSizeToMakeProgress ( ) ; <nl> + <nl> + if ( bytes_to_process > = IncrementalMarking : : kMinStepSizeInBytes ) { <nl> + HistogramTimerScope incremental_marking_scope ( <nl> + heap_ - > isolate ( ) - > counters ( ) - > gc_incremental_marking ( ) ) ; <nl> + TRACE_EVENT0 ( " v8 " , " V8 . GCIncrementalMarking " ) ; <nl> + TRACE_GC ( heap_ - > tracer ( ) , GCTracer : : Scope : : MC_INCREMENTAL ) ; <nl> + / / The first step after Scavenge will see many allocated bytes . <nl> + / / Cap the step size to distribute the marking work more uniformly . <nl> + size_t max_step_size = GCIdleTimeHandler : : EstimateMarkingStepSize ( <nl> + kMaxStepSizeInMs , <nl> + heap ( ) - > tracer ( ) - > IncrementalMarkingSpeedInBytesPerMillisecond ( ) ) ; <nl> + bytes_to_process = Min ( bytes_to_process , max_step_size ) ; <nl> + size_t bytes_processed = 0 ; <nl> + if ( FLAG_concurrent_marking ) { <nl> + bytes_processed = Step ( bytes_to_process , GC_VIA_STACK_GUARD , <nl> + StepOrigin : : kV8 , WorklistToProcess : : kBailout ) ; <nl> + bytes_to_process = ( bytes_processed > = bytes_to_process ) <nl> + ? 0 <nl> + : bytes_to_process - bytes_processed ; <nl> + size_t current_bytes_marked_concurrently = <nl> + heap ( ) - > concurrent_marking ( ) - > TotalMarkedBytes ( ) ; <nl> + / / The concurrent_marking ( ) - > TotalMarkedBytes ( ) is not monothonic for a <nl> + / / short period of time when a concurrent marking task is finishing . <nl> + if ( current_bytes_marked_concurrently > bytes_marked_concurrently_ ) { <nl> + bytes_marked_ahead_of_schedule_ + = <nl> + current_bytes_marked_concurrently - bytes_marked_concurrently_ ; <nl> + bytes_marked_concurrently_ = current_bytes_marked_concurrently ; <nl> } <nl> - bytes_processed + = Step ( bytes_to_process , GC_VIA_STACK_GUARD , <nl> - StepOrigin : : kV8 , WorklistToProcess : : kAll ) ; <nl> - bytes_allocated_ - = Min ( bytes_allocated_ , bytes_processed ) ; <nl> } <nl> + if ( bytes_marked_ahead_of_schedule_ > = bytes_to_process ) { <nl> + / / Steps performed in tasks and concurrently have put us ahead of <nl> + / / schedule . We skip processing of marking dequeue here and thus shift <nl> + / / marking time from inside V8 to standalone tasks . <nl> + bytes_marked_ahead_of_schedule_ - = bytes_to_process ; <nl> + bytes_processed + = bytes_to_process ; <nl> + bytes_to_process = IncrementalMarking : : kMinStepSizeInBytes ; <nl> + } <nl> + bytes_processed + = Step ( bytes_to_process , GC_VIA_STACK_GUARD , <nl> + StepOrigin : : kV8 , WorklistToProcess : : kAll ) ; <nl> + bytes_allocated_ - = Min ( bytes_allocated_ , bytes_processed ) ; <nl> } <nl> - trace_wrappers_toggle_ = ! trace_wrappers_toggle_ ; <nl> } <nl> <nl> size_t IncrementalMarking : : Step ( size_t bytes_to_process , <nl> mmm a / src / heap / incremental - marking . h <nl> ppp b / src / heap / incremental - marking . h <nl> class V8_EXPORT_PRIVATE IncrementalMarking { <nl> size_t Step ( size_t bytes_to_process , CompletionAction action , <nl> StepOrigin step_origin , <nl> WorklistToProcess worklist_to_process = WorklistToProcess : : kAll ) ; <nl> - <nl> - bool ShouldDoEmbedderStep ( ) ; <nl> void EmbedderStep ( double duration ) ; <nl> <nl> inline void RestartIfNotMarking ( ) ; <nl>
Revert " [ heap ] Improve embedder tracing during incremental marking "
v8/v8
cb93a308fc31298b2a24452fd174bfe86e5fad76
2018-11-23T07:45:46Z
mmm a / atom / browser / browser_mac . mm <nl> ppp b / atom / browser / browser_mac . mm <nl> <nl> } <nl> <nl> void Browser : : DockSetMenu ( ui : : MenuModel * model ) { <nl> - AtomApplicationDelegate * delegate = [ NSApp delegate ] ; <nl> + AtomApplicationDelegate * delegate = ( AtomApplicationDelegate * ) [ NSApp delegate ] ; <nl> [ delegate setApplicationDockMenu : model ] ; <nl> } <nl> <nl> mmm a / atom / renderer / lib / web - view . coffee <nl> ppp b / atom / renderer / lib / web - view . coffee <nl> registerWebViewElement = - > <nl> " isWaitingForResponse " <nl> " stop " <nl> " reload " <nl> - " reloadIngoringCache " <nl> + " reloadIgnoringCache " <nl> " canGoBack " <nl> " canGoForward " <nl> " canGoToOffset " <nl>
Merge pull request from paulcbetts / fix - webview - typo
electron/electron
438d7ada499575d8c7edad324a81e45cf18d59f7
2014-11-24T06:05:03Z
mmm a / dbms / src / Storages / MergeTree / ReplicatedMergeTreeRestartingThread . cpp <nl> ppp b / dbms / src / Storages / MergeTree / ReplicatedMergeTreeRestartingThread . cpp <nl> void ReplicatedMergeTreeRestartingThread : : run ( ) <nl> if ( storage . zookeeper - > expired ( ) ) <nl> { <nl> LOG_WARNING ( log , " ZooKeeper session has expired . Switching to a new session . " ) ; <nl> + storage . is_read_only = true ; <nl> <nl> partialShutdown ( ) ; <nl> - storage . zookeeper = storage . context . getZooKeeper ( ) ; <nl> - storage . is_read_only = true ; <nl> + <nl> + do <nl> + { <nl> + try <nl> + { <nl> + / / / TODO race condition при присваивании ? <nl> + storage . zookeeper = storage . context . getZooKeeper ( ) ; <nl> + } <nl> + catch ( const zkutil : : KeeperException & e ) <nl> + { <nl> + / / / Исключение при попытке zookeeper_init обычно бывает , если не работает DNS . Будем пытаться сделать это заново . <nl> + tryLogCurrentException ( __PRETTY_FUNCTION__ ) ; <nl> + wakeup_event . tryWait ( 10 * 1000 ) ; <nl> + continue ; <nl> + } <nl> + } while ( false ) ; <nl> <nl> while ( ! need_stop & & ! tryStartup ( ) ) <nl> wakeup_event . tryWait ( 10 * 1000 ) ; <nl>
dbms : fixed one of errors [ # METR - 13979 ] .
ClickHouse/ClickHouse
b2696ffec1cf646a2caa920961f5e04ec0c5aa0f
2014-11-28T20:45:33Z
mmm a / aten / src / ATen / Declarations . cwrap <nl> ppp b / aten / src / ATen / Declarations . cwrap <nl> <nl> - arg : THGenerator * generator <nl> default : THPGenerator_TH_CData ( THPDefaultGenerator ) <nl> kwarg_only : True <nl> - - THTensor * means <nl> + - THTensor * mean <nl> - arg : double std <nl> default : 1 <nl> - cname : normal_stddevs <nl> <nl> - arg : THGenerator * generator <nl> default : THPGenerator_TH_CData ( THPDefaultGenerator ) <nl> kwarg_only : True <nl> - - THTensor * means <nl> + - THTensor * mean <nl> - THTensor * std <nl> ] ] <nl> [ [ <nl> <nl> variants : <nl> - method <nl> - function <nl> - before_call : <nl> - THTensor_ ( resizeAs ) ( LIBRARY_STATE ( ( THPTensor * ) $ arg0 ) - > cdata , ( ( THPTensor * ) $ arg2 ) - > cdata ) ; <nl> - cname : BERNOULLI_TENSOR <nl> + cname : bernoulli_Tensor <nl> arguments : <nl> - arg : THTensor * output <nl> output : True <nl> <nl> kwarg_only : True <nl> - THTensor * self <nl> ] ] <nl> - [ [ <nl> - name : bernoulli_ <nl> - backends : <nl> - - CPU <nl> - - CUDA <nl> - return : self <nl> - options : <nl> - - cname : bernoulli <nl> - arguments : <nl> - - THTensor * self <nl> - - arg : THGenerator * generator <nl> - default : THPGenerator_TH_CData ( THPDefaultGenerator ) <nl> - kwarg_only : True <nl> - - arg : double p <nl> - default : 0 . 5 <nl> - - cname : bernoulli_FloatTensor <nl> - arguments : <nl> - - THTensor * self <nl> - - arg : THGenerator * generator <nl> - default : THPGenerator_TH_CData ( THPDefaultGenerator ) <nl> - kwarg_only : True <nl> - - BackendFloatTensor * float_p <nl> - - cname : bernoulli_DoubleTensor <nl> - arguments : <nl> - - THTensor * self <nl> - - arg : THGenerator * generator <nl> - default : THPGenerator_TH_CData ( THPDefaultGenerator ) <nl> - kwarg_only : True <nl> - - BackendDoubleTensor * float_p <nl> - ] ] <nl> [ [ <nl> name : tensor <nl> return : THTensor * <nl> mmm a / aten / src / ATen / function_wrapper . py <nl> ppp b / aten / src / ATen / function_wrapper . py <nl> <nl> else : <nl> string_type = basestring <nl> <nl> - # temporary things we cannot handle <nl> - EXCLUDE_PATTERN = " bernoulli . * " <nl> # what has to be done to add a Operation . . . <nl> # 1 . if broadcasting or without the full list of arguments , add a non - virtual <nl> # declaration under Type . h <nl> def get_broadcast_actuals ( broadcast_arg , broadcast_inplace , broadcast_dims ) : <nl> <nl> return broadcast_actuals <nl> <nl> - excluded_names = set ( ) <nl> - <nl> def process_option ( option , output_options ) : <nl> option [ ' inplace ' ] = re . search ( <nl> ' ( ^ __i | [ ^ _ ] _ $ ) ' , option [ ' api_name ' ] ) is not None <nl> <nl> - if re . match ( EXCLUDE_PATTERN , option [ ' name ' ] ) : <nl> - excluded_names . add ( option [ ' name ' ] ) <nl> - raise NYIError ( " NYI " ) <nl> - <nl> # print ( yaml . dump ( option ) ) <nl> formals = get_formals ( option ) <nl> option [ ' formals_list ' ] = formals <nl> def native_decl ( ) : <nl> except NYIError : <nl> option [ ' skip ' ] = True <nl> output_declarations . extend ( output_options ) <nl> - print ( " ATen Excluded : { } " . format ( excluded_names ) ) <nl> return output_declarations <nl> <nl> <nl> mmm a / aten / src / ATen / native / NativeFunctions . cpp <nl> ppp b / aten / src / ATen / native / NativeFunctions . cpp <nl> <nl> namespace at { <nl> namespace native { <nl> <nl> + Tensor & bernoulli_ ( Tensor & self , const Tensor & p , Generator * generator ) { <nl> + self . copy_ ( at : : bernoulli ( std : : get < 0 > ( expand_inplace ( self , p ) ) , generator ) ) ; <nl> + return self ; <nl> + } <nl> + <nl> + Tensor & bernoulli_ ( Tensor & self , double p , Generator * generator ) { <nl> + Tensor probs = self . type ( ) . toScalarType ( kDouble ) . tensor ( { } ) . fill_ ( p ) ; <nl> + return native : : bernoulli_ ( self , probs , generator ) ; <nl> + } <nl> + <nl> Tensor type_as ( const Tensor & self , const Tensor & other ) { <nl> return self . toType ( other . type ( ) ) ; <nl> } <nl> mmm a / aten / src / ATen / native / native_functions . yaml <nl> ppp b / aten / src / ATen / native / native_functions . yaml <nl> <nl> # recommended that you copy the generated C + + function declaration to your definition so that the two <nl> # match . <nl> <nl> + - func : bernoulli_ ( Tensor self , Tensor p , Generator * generator = nullptr ) - > Tensor <nl> + <nl> + - func : bernoulli_ ( Tensor self , double p , Generator * generator = nullptr ) - > Tensor <nl> + <nl> - func : type_as ( Tensor self , Tensor other ) - > Tensor <nl> <nl> - func : expand_as ( Tensor self , Tensor other ) - > Tensor <nl> mmm a / aten / src / ATen / native_parse . py <nl> ppp b / aten / src / ATen / native_parse . py <nl> <nl> from yaml import Loader <nl> <nl> <nl> - def python_scalar ( s ) : <nl> + def parse_default ( s ) : <nl> if s . lower ( ) = = ' true ' : <nl> return True <nl> elif s . lower ( ) = = ' false ' : <nl> return False <nl> + elif s = = ' nullptr ' : <nl> + return s <nl> try : <nl> return int ( s ) <nl> except Exception : <nl> def python_scalar ( s ) : <nl> def sanitize_types ( typ ) : <nl> # split tuples into constituent list <nl> if typ [ 0 ] = = ' ( ' and typ [ - 1 ] = = ' ) ' : <nl> - type_list = [ x . strip ( ) for x in typ [ 1 : - 1 ] . split ( ' , ' ) ] <nl> - else : <nl> - type_list = [ typ ] <nl> - return type_list <nl> + return [ x . strip ( ) for x in typ [ 1 : - 1 ] . split ( ' , ' ) ] <nl> + elif typ = = ' Generator * ' : <nl> + return [ ' Generator * ' ] <nl> + return [ typ ] <nl> <nl> <nl> def parse_arguments ( args ) : <nl> def parse_arguments ( args ) : <nl> <nl> if ' = ' in name : <nl> ns = name . split ( ' = ' , 1 ) <nl> - name , default = ns [ 0 ] , python_scalar ( ns [ 1 ] ) <nl> + name , default = ns [ 0 ] , parse_default ( ns [ 1 ] ) <nl> <nl> typ = sanitize_types ( t ) <nl> assert len ( typ ) = = 1 <nl> mmm a / aten / src / TH / generic / THTensorRandom . c <nl> ppp b / aten / src / TH / generic / THTensorRandom . c <nl> void THTensor_ ( bernoulli_DoubleTensor ) ( THTensor * self , THGenerator * _generator , <nl> <nl> # if defined ( TH_REAL_IS_FLOAT ) | | defined ( TH_REAL_IS_DOUBLE ) <nl> <nl> + <nl> + void THTensor_ ( bernoulli_Tensor ) ( THTensor * self , THGenerator * _generator , THTensor * p ) <nl> + { <nl> + # if defined ( TH_REAL_IS_FLOAT ) <nl> + THTensor_ ( bernoulli_FloatTensor ) ( self , _generator , p ) ; <nl> + # else <nl> + THTensor_ ( bernoulli_DoubleTensor ) ( self , _generator , p ) ; <nl> + # endif <nl> + } <nl> + <nl> void THTensor_ ( uniform ) ( THTensor * self , THGenerator * _generator , double a , double b ) <nl> { <nl> # if defined ( TH_REAL_IS_FLOAT ) <nl> mmm a / aten / src / TH / generic / THTensorRandom . h <nl> ppp b / aten / src / TH / generic / THTensorRandom . h <nl> TH_API void THTensor_ ( bernoulli_FloatTensor ) ( THTensor * self , THGenerator * _gener <nl> TH_API void THTensor_ ( bernoulli_DoubleTensor ) ( THTensor * self , THGenerator * _generator , THDoubleTensor * p ) ; <nl> <nl> # if defined ( TH_REAL_IS_FLOAT ) | | defined ( TH_REAL_IS_DOUBLE ) <nl> + TH_API void THTensor_ ( bernoulli_Tensor ) ( THTensor * self , THGenerator * _generator , THTensor * p ) ; <nl> TH_API void THTensor_ ( uniform ) ( THTensor * self , THGenerator * _generator , double a , double b ) ; <nl> TH_API void THTensor_ ( normal ) ( THTensor * self , THGenerator * _generator , double mean , double stdv ) ; <nl> TH_API void THTensor_ ( normal_means ) ( THTensor * self , THGenerator * gen , THTensor * means , double stddev ) ; <nl> mmm a / test / test_torch . py <nl> ppp b / test / test_torch . py <nl> def isBinary ( t ) : <nl> t . bernoulli_ ( p ) <nl> self . assertTrue ( isBinary ( t ) ) <nl> <nl> - p = torch . rand ( SIZE ) <nl> + p = torch . rand ( 10 , 10 ) <nl> + t . bernoulli_ ( p ) <nl> + self . assertTrue ( isBinary ( t ) ) <nl> + <nl> + q = torch . rand ( 5 , 5 ) <nl> + self . assertTrue ( isBinary ( q . bernoulli ( ) ) ) <nl> + <nl> + def test_bernoulli_variable ( self ) : <nl> + # TODO : remove once we merge Variable and Tensor <nl> + t = torch . autograd . Variable ( torch . ByteTensor ( 10 , 10 ) ) <nl> + <nl> + def isBinary ( t ) : <nl> + return torch . ne ( t , 0 ) . mul_ ( torch . ne ( t , 1 ) ) . sum ( ) = = 0 <nl> + <nl> + p = 0 . 5 <nl> + t . bernoulli_ ( p ) <nl> + self . assertTrue ( isBinary ( t ) ) <nl> + <nl> + p = torch . autograd . Variable ( torch . rand ( 10 ) ) <nl> t . bernoulli_ ( p ) <nl> self . assertTrue ( isBinary ( t ) ) <nl> <nl> mmm a / tools / autograd / derivatives . yaml <nl> ppp b / tools / autograd / derivatives . yaml <nl> <nl> batch1 : grad . bmm ( batch2 . transpose ( 1 , 2 ) ) * alpha <nl> batch2 : batch1 . transpose ( 1 , 2 ) . bmm ( grad ) * alpha <nl> <nl> + - name : bernoulli ( Tensor self , Generator generator ) <nl> + self : zeros_like ( grad ) <nl> + <nl> - name : bmm ( Tensor self , Tensor mat2 ) <nl> self : grad . bmm ( mat2 . transpose ( 1 , 2 ) ) <nl> mat2 : self . transpose ( 1 , 2 ) . bmm ( grad ) <nl> <nl> self : grad * other <nl> other : grad * self <nl> <nl> - - name : multinomial # TODO : reinforce <nl> + - name : multinomial ( Tensor self , int64_t num_samples , bool replacement , Generator generator ) <nl> + self : zeros_like ( grad ) <nl> <nl> - name : mv ( Tensor self , Tensor vec ) <nl> self : grad . ger ( vec ) <nl> <nl> - name : normal ( Tensor self , double mean , double std , Generator generator ) <nl> self : zeros_like ( grad ) <nl> <nl> + - name : normal ( Tensor mean , double std , Generator generator ) <nl> + mean : grad . type ( ) . zeros ( mean . sizes ( ) ) <nl> + <nl> + - name : normal ( double mean , Tensor std , Generator generator ) <nl> + std : grad . type ( ) . zeros ( std . sizes ( ) ) <nl> + <nl> + - name : normal ( Tensor mean , Tensor std , Generator generator ) <nl> + mean : grad . type ( ) . zeros ( mean . sizes ( ) ) <nl> + std : grad . type ( ) . zeros ( std . sizes ( ) ) <nl> + <nl> - name : numel # fallthrough <nl> - name : ones # fallthrough <nl> <nl> <nl> <nl> - name : rand # fallthrough <nl> - name : randn # fallthrough <nl> + <nl> + - name : random ( Tensor self , int64_t from , int64_t to , Generator generator ) <nl> + self : zeros_like ( grad ) <nl> + <nl> + - name : random ( Tensor self , int64_t to , Generator generator ) <nl> + self : zeros_like ( grad ) <nl> + <nl> + - name : random ( Tensor self , Generator generator ) <nl> + self : zeros_like ( grad ) <nl> + <nl> - name : randperm # fallthrough <nl> <nl> - name : range # fallthrough <nl> mmm a / torch / autograd / variable . py <nl> ppp b / torch / autograd / variable . py <nl> def masked_fill ( self , mask , value ) : <nl> def expand_as ( self , tensor ) : <nl> return self . expand ( tensor . size ( ) ) <nl> <nl> - def multinomial ( self , num_samples = 1 , replacement = False ) : <nl> - return Variable ( torch . multinomial ( self . data , num_samples , replacement ) ) <nl> - <nl> - def bernoulli ( self ) : <nl> - return Variable ( torch . bernoulli ( self . data ) ) <nl> - <nl> def __rsub__ ( self , other ) : <nl> return - self + other <nl> <nl> def __array_wrap__ ( self , array ) : <nl> return Variable . from_numpy ( array ) <nl> <nl> class _torch ( object ) : <nl> - @ staticmethod <nl> - def normal ( means , std = 1 ) : <nl> - if isinstance ( means , Variable ) : <nl> - means = means . data <nl> - if isinstance ( std , Variable ) : <nl> - std = std . data <nl> - return Variable ( torch . normal ( means , std ) ) <nl> + pass <nl> + <nl> <nl> for method in dir ( Variable ) : <nl> # This will also wrap some methods that normally aren ' t part of the <nl>
Implement remaining random methods through ATen ( )
pytorch/pytorch
d41b6c7daa11a93b6d8d17e7c814a9f37c9de825
2017-12-13T20:40:34Z
mmm a / xbmc / cores / AudioEngine / Sinks / AESinkAUDIOTRACK . cpp <nl> ppp b / xbmc / cores / AudioEngine / Sinks / AESinkAUDIOTRACK . cpp <nl> bool CAESinkAUDIOTRACK : : Initialize ( AEAudioFormat & format , std : : string & device ) <nl> if ( m_encoding = = CJNIAudioFormat : : ENCODING_IEC61937 ) <nl> atChannelMask = CJNIAudioFormat : : CHANNEL_OUT_STEREO ; <nl> <nl> - # if defined ( HAS_LIBAMCODEC ) <nl> - if ( aml_present ( ) & & m_passthrough ) <nl> + if ( aml_present ( ) & & m_passthrough & & m_info . m_wantsIECPassthrough ) <nl> atChannelMask = CJNIAudioFormat : : CHANNEL_OUT_STEREO ; <nl> - # endif <nl> <nl> while ( ! m_at_jni ) <nl> { <nl> void CAESinkAUDIOTRACK : : EnumerateDevicesEx ( AEDeviceInfoList & list , bool force ) <nl> m_info . m_streamTypes . push_back ( CAEStreamInfo : : STREAM_TYPE_DTS_512 ) ; <nl> } <nl> <nl> - # if defined ( HAS_LIBAMCODEC ) <nl> - if ( aml_present ( ) ) <nl> + if ( aml_present ( ) & & CJNIAudioManager : : GetSDKVersion ( ) < 23 ) <nl> { <nl> / / passthrough <nl> m_info . m_wantsIECPassthrough = true ; <nl> void CAESinkAUDIOTRACK : : EnumerateDevicesEx ( AEDeviceInfoList & list , bool force ) <nl> } <nl> } <nl> else <nl> - # endif <nl> { <nl> bool supports_192khz = false ; <nl> int test_sample [ ] = { 32000 , 44100 , 48000 , 96000 , 192000 } ; <nl> void CAESinkAUDIOTRACK : : EnumerateDevicesEx ( AEDeviceInfoList & list , bool force ) <nl> } <nl> std : : copy ( m_sink_sampleRates . begin ( ) , m_sink_sampleRates . end ( ) , std : : back_inserter ( m_info . m_sampleRates ) ) ; <nl> } <nl> - <nl> - / / Take care for old AML devices when they run official API they do <nl> - / / really strange things as they define passthrough formats <nl> - if ( aml_present ( ) & & CJNIAudioManager : : GetSDKVersion ( ) < 23 ) <nl> - m_info . m_wantsIECPassthrough = true ; <nl> - <nl> list . push_back ( m_info ) ; <nl> } <nl> <nl>
AESinkAUDIOTrack : Enable all features ( clutter the sink )
xbmc/xbmc
140eca627412365e3e753880c8d8bf51a05c731a
2016-10-01T12:25:35Z
mmm a / tensorflow / lite / delegates / gpu / cl / linear_storage . cc <nl> ppp b / tensorflow / lite / delegates / gpu / cl / linear_storage . cc <nl> absl : : Status TensorLinearDescriptor : : PerformReadSelector ( <nl> } <nl> } <nl> <nl> - LinearStorage : : LinearStorage ( int depth , LinearStorageType storage_type , <nl> - DataType data_type ) <nl> - : depth_ ( depth ) , storage_type_ ( storage_type ) , data_type_ ( data_type ) { } <nl> + LinearStorage : : LinearStorage ( int depth , LinearStorageType storage_type ) <nl> + : depth_ ( depth ) , storage_type_ ( storage_type ) { } <nl> <nl> LinearStorage : : LinearStorage ( LinearStorage & & storage ) <nl> : GPUObject ( std : : move ( storage ) ) , <nl> texture_storage_ ( std : : move ( storage . texture_storage_ ) ) , <nl> buffer_storage_ ( std : : move ( storage . buffer_storage_ ) ) , <nl> - memory_ ( storage . memory_ ) , <nl> depth_ ( storage . depth_ ) , <nl> - name_ ( std : : move ( storage . name_ ) ) , <nl> - storage_type_ ( storage . storage_type_ ) , <nl> - data_type_ ( storage . data_type_ ) { <nl> - storage . memory_ = nullptr ; <nl> - } <nl> + storage_type_ ( storage . storage_type_ ) { } <nl> <nl> LinearStorage & LinearStorage : : operator = ( LinearStorage & & storage ) { <nl> if ( this ! = & storage ) { <nl> texture_storage_ = std : : move ( storage . texture_storage_ ) ; <nl> buffer_storage_ = std : : move ( storage . buffer_storage_ ) ; <nl> - std : : swap ( memory_ , storage . memory_ ) ; <nl> std : : swap ( depth_ , storage . depth_ ) ; <nl> - name_ = std : : move ( storage . name_ ) ; <nl> std : : swap ( storage_type_ , storage . storage_type_ ) ; <nl> - std : : swap ( data_type_ , storage . data_type_ ) ; <nl> GPUObject : : operator = ( std : : move ( storage ) ) ; <nl> } <nl> return * this ; <nl> absl : : Status LinearStorage : : GetGPUResources ( <nl> resources - > ints . push_back ( { " length " , depth_ } ) ; <nl> <nl> if ( storage_type_ = = LinearStorageType : : BUFFER ) { <nl> - resources - > buffers . push_back ( { " buffer " , memory_ } ) ; <nl> + resources - > buffers . push_back ( { " buffer " , buffer_storage_ . GetMemoryPtr ( ) } ) ; <nl> } else { <nl> - resources - > images2d . push_back ( { " tex2d " , memory_ } ) ; <nl> + resources - > images2d . push_back ( { " tex2d " , texture_storage_ . GetMemoryPtr ( ) } ) ; <nl> } <nl> <nl> return absl : : OkStatus ( ) ; <nl> LinearStorageType DeduceLinearStorageType ( <nl> } <nl> } <nl> <nl> - absl : : Status CreateBufferLinearStorage ( int size , DataType data_type , void * data , <nl> - CLContext * context , <nl> - LinearStorage * result ) { <nl> - const int float4_size = <nl> - data_type = = DataType : : FLOAT32 ? sizeof ( float4 ) : sizeof ( half4 ) ; <nl> - * result = LinearStorage ( size , LinearStorageType : : BUFFER , data_type ) ; <nl> - RETURN_IF_ERROR ( CreateReadOnlyBuffer ( float4_size * size , data , context , <nl> - & result - > buffer_storage_ ) ) ; <nl> - result - > memory_ = result - > buffer_storage_ . GetMemoryPtr ( ) ; <nl> - return absl : : OkStatus ( ) ; <nl> - } <nl> - <nl> - absl : : Status CreateTextureLinearStorage ( int size , DataType data_type , <nl> - void * data , CLContext * context , <nl> - LinearStorage * result ) { <nl> - * result = LinearStorage ( size , LinearStorageType : : TEXTURE_2D , data_type ) ; <nl> - RETURN_IF_ERROR ( CreateTexture2DRGBA ( data_type , size , 1 , data , context , <nl> - & result - > texture_storage_ ) ) ; <nl> - result - > memory_ = result - > texture_storage_ . GetMemoryPtr ( ) ; <nl> - return absl : : OkStatus ( ) ; <nl> - } <nl> - <nl> - absl : : Status CreateLinearStorage ( const LinearStorageCreateInfo & creation_info , <nl> - int size , void * data , CLContext * context , <nl> - LinearStorage * result ) { <nl> - if ( creation_info . storage_type = = LinearStorageType : : BUFFER ) { <nl> - return CreateBufferLinearStorage ( size , creation_info . data_type , data , <nl> - context , result ) ; <nl> + absl : : Status CreateLinearStorage ( LinearStorageType storage_type , <nl> + DataType data_type , int size , void * data , <nl> + CLContext * context , LinearStorage * result ) { <nl> + if ( storage_type = = LinearStorageType : : BUFFER ) { <nl> + const int float4_size = <nl> + data_type = = DataType : : FLOAT32 ? sizeof ( float4 ) : sizeof ( half4 ) ; <nl> + * result = LinearStorage ( size , LinearStorageType : : BUFFER ) ; <nl> + RETURN_IF_ERROR ( CreateReadOnlyBuffer ( float4_size * size , data , context , <nl> + & result - > buffer_storage_ ) ) ; <nl> + return absl : : OkStatus ( ) ; <nl> } else { <nl> - return CreateTextureLinearStorage ( size , creation_info . data_type , data , <nl> - context , result ) ; <nl> + * result = LinearStorage ( size , LinearStorageType : : TEXTURE_2D ) ; <nl> + RETURN_IF_ERROR ( CreateTexture2DRGBA ( data_type , size , 1 , data , context , <nl> + & result - > texture_storage_ ) ) ; <nl> + return absl : : OkStatus ( ) ; <nl> } <nl> } <nl> <nl> mmm a / tensorflow / lite / delegates / gpu / cl / linear_storage . h <nl> ppp b / tensorflow / lite / delegates / gpu / cl / linear_storage . h <nl> struct TensorLinearDescriptor : public GPUObjectDescriptor { <nl> std : : string * result ) const ; <nl> } ; <nl> <nl> - struct LinearStorageCreateInfo { <nl> - LinearStorageType storage_type ; <nl> - DataType data_type ; <nl> - std : : string name ; / / optional <nl> - int aligned_size = 0 ; / / optional , to pad with zeroes <nl> - } ; <nl> - <nl> LinearStorageType DeduceLinearStorageType ( <nl> TensorStorageType tensor_storage_type ) ; <nl> <nl> class LinearStorage : public GPUObject { <nl> LinearStorage ( const LinearStorage & ) = delete ; <nl> LinearStorage & operator = ( const LinearStorage & ) = delete ; <nl> <nl> - void SetName ( const std : : string & name ) { name_ = name ; } <nl> - <nl> absl : : Status GetGPUResources ( const GPUObjectDescriptor * obj_ptr , <nl> GPUResourcesWithValue * resources ) const override ; <nl> <nl> private : <nl> - friend absl : : Status CreateTextureLinearStorage ( int size , DataType data_type , <nl> - void * data , CLContext * context , <nl> - LinearStorage * result ) ; <nl> - friend absl : : Status CreateBufferLinearStorage ( int size , DataType data_type , <nl> - void * data , CLContext * context , <nl> - LinearStorage * result ) ; <nl> + friend absl : : Status CreateLinearStorage ( LinearStorageType storage_type , <nl> + DataType data_type , int size , <nl> + void * data , CLContext * context , <nl> + LinearStorage * result ) ; <nl> <nl> - LinearStorage ( int depth , LinearStorageType storage_type , DataType data_type ) ; <nl> + LinearStorage ( int depth , LinearStorageType storage_type ) ; <nl> <nl> Texture2D texture_storage_ ; <nl> Buffer buffer_storage_ ; <nl> - cl_mem memory_ = nullptr ; / / Just a reference to texture_storage_ or <nl> - / / buffer_storage_ memory , not an owner <nl> + <nl> int depth_ ; <nl> - std : : string name_ ; <nl> LinearStorageType storage_type_ ; <nl> - DataType data_type_ ; <nl> } ; <nl> <nl> - absl : : Status CreateBufferLinearStorage ( int size , DataType data_type , void * data , <nl> - CLContext * context , <nl> - LinearStorage * result ) ; <nl> - <nl> - absl : : Status CreateTextureLinearStorage ( int size , DataType data_type , <nl> - void * data , CLContext * context , <nl> - LinearStorage * result ) ; <nl> - <nl> - absl : : Status CreateLinearStorage ( const LinearStorageCreateInfo & creation_info , <nl> - int size , void * data , CLContext * context , <nl> - LinearStorage * result ) ; <nl> - <nl> - template < DataType T > <nl> - absl : : Status CreateLinearStorage ( const LinearStorageCreateInfo & creation_info , <nl> - const tflite : : gpu : : Tensor < Linear , T > & tensor , <nl> - CLContext * context , LinearStorage * result ) { <nl> - int size = creation_info . aligned_size ! = 0 ? creation_info . aligned_size <nl> - : tensor . shape . v ; <nl> - const int depth = DivideRoundUp ( size , 4 ) ; <nl> - if ( creation_info . data_type = = DataType : : FLOAT32 ) { <nl> - std : : vector < float4 > gpu_data ( depth ) ; <nl> - CopyLinearFLT4 ( tensor , absl : : MakeSpan ( gpu_data ) ) ; <nl> - RETURN_IF_ERROR ( CreateLinearStorage ( creation_info , depth , gpu_data . data ( ) , <nl> - context , result ) ) ; <nl> - } else { <nl> - std : : vector < half4 > gpu_data ( depth ) ; <nl> - CopyLinearFLT4 ( tensor , absl : : MakeSpan ( gpu_data ) ) ; <nl> - RETURN_IF_ERROR ( CreateLinearStorage ( creation_info , depth , gpu_data . data ( ) , <nl> - context , result ) ) ; <nl> - } <nl> - result - > SetName ( creation_info . name ) ; <nl> - return absl : : OkStatus ( ) ; <nl> - } <nl> + absl : : Status CreateLinearStorage ( LinearStorageType storage_type , <nl> + DataType data_type , int size , void * data , <nl> + CLContext * context , LinearStorage * result ) ; <nl> <nl> template < DataType T > <nl> absl : : Status CreateLinearStorage ( const TensorLinearDescriptor & descriptor , <nl> const tflite : : gpu : : Tensor < Linear , T > & tensor , <nl> CLContext * context , LinearStorage * result ) { <nl> - LinearStorageCreateInfo creation_info ; <nl> - creation_info . storage_type = descriptor . storage_type ; <nl> - creation_info . data_type = descriptor . element_type ; <nl> - int size = creation_info . aligned_size ! = 0 ? creation_info . aligned_size <nl> - : tensor . shape . v ; <nl> - const int depth = DivideRoundUp ( size , 4 ) ; <nl> - if ( creation_info . data_type = = DataType : : FLOAT32 ) { <nl> + const int depth = DivideRoundUp ( tensor . shape . v , 4 ) ; <nl> + if ( descriptor . element_type = = DataType : : FLOAT32 ) { <nl> std : : vector < float4 > gpu_data ( depth ) ; <nl> CopyLinearFLT4 ( tensor , absl : : MakeSpan ( gpu_data ) ) ; <nl> - RETURN_IF_ERROR ( CreateLinearStorage ( creation_info , depth , gpu_data . data ( ) , <nl> - context , result ) ) ; <nl> + RETURN_IF_ERROR ( CreateLinearStorage ( descriptor . storage_type , <nl> + descriptor . element_type , depth , <nl> + gpu_data . data ( ) , context , result ) ) ; <nl> } else { <nl> std : : vector < half4 > gpu_data ( depth ) ; <nl> CopyLinearFLT4 ( tensor , absl : : MakeSpan ( gpu_data ) ) ; <nl> - RETURN_IF_ERROR ( CreateLinearStorage ( creation_info , depth , gpu_data . data ( ) , <nl> - context , result ) ) ; <nl> + RETURN_IF_ERROR ( CreateLinearStorage ( descriptor . storage_type , <nl> + descriptor . element_type , depth , <nl> + gpu_data . data ( ) , context , result ) ) ; <nl> } <nl> - result - > SetName ( creation_info . name ) ; <nl> return absl : : OkStatus ( ) ; <nl> } <nl> <nl> mmm a / tensorflow / lite / delegates / gpu / cl / tensor . h <nl> ppp b / tensorflow / lite / delegates / gpu / cl / tensor . h <nl> class Tensor : public GPUObject { <nl> int Slices ( ) const { return DivideRoundUp ( shape_ . c , 4 ) ; } <nl> int Batch ( ) const { return shape_ . b ; } <nl> <nl> - / / returns int4 ( width * batch , height , slices , batch ) <nl> - int4 GetWBatchedHSB ( ) const { <nl> - return int4 ( shape_ . w * shape_ . b , shape_ . h , Slices ( ) , shape_ . b ) ; <nl> - } <nl> - int4 GetWBatchedHDS ( ) const { <nl> - return int4 ( shape_ . w * shape_ . b , shape_ . h , shape_ . d , Slices ( ) ) ; <nl> - } <nl> - <nl> - int4 GetWHSB ( ) const { return int4 ( shape_ . w , shape_ . h , Slices ( ) , shape_ . b ) ; } <nl> - int4 GetWHDS ( ) const { return int4 ( shape_ . w , shape_ . h , shape_ . d , Slices ( ) ) ; } <nl> - <nl> TensorDescriptor GetDescriptor ( ) const { return descriptor_ ; } <nl> DataType GetDataType ( ) const { return descriptor_ . data_type ; } <nl> TensorStorageType GetStorageType ( ) const { return descriptor_ . storage_type ; } <nl>
Cleaned unused stuff in Tensor and LinearStorage .
tensorflow/tensorflow
25d2018f26e333d2f4cae9b9b97926dac9c5dd34
2020-08-06T00:15:35Z
mmm a / lib / Sema / TypeCheckDecl . cpp <nl> ppp b / lib / Sema / TypeCheckDecl . cpp <nl> IsImplicitlyUnwrappedOptionalRequest : : evaluate ( Evaluator & evaluator , <nl> } <nl> <nl> / / If the parameter is not the ' newValue ' parameter to a setter , it <nl> - / / must be a subscript index parameter . <nl> - auto * subscript = cast < SubscriptDecl > ( storage ) ; <nl> + / / must be a subscript index parameter ( or we have an invalid AST ) . <nl> + auto * subscript = dyn_cast < SubscriptDecl > ( storage ) ; <nl> + if ( ! subscript ) <nl> + return false ; <nl> auto * subscriptParams = subscript - > getIndices ( ) ; <nl> <nl> auto where = llvm : : find_if ( * accessorParams , <nl>
Merge remote - tracking branch ' origin / master ' into master - next
apple/swift
957a79a8a3c90a224a1fb48a98e7efb7c858d74f
2019-08-20T03:49:26Z
mmm a / modules / highgui / include / opencv2 / highgui / cap_ios . h <nl> ppp b / modules / highgui / include / opencv2 / highgui / cap_ios . h <nl> <nl> { <nl> AVCaptureSession * captureSession ; <nl> AVCaptureConnection * videoCaptureConnection ; <nl> - AVCaptureConnection * audioCaptureConnection ; <nl> AVCaptureVideoPreviewLayer * captureVideoPreviewLayer ; <nl> <nl> UIDeviceOrientation currentDeviceOrientation ; <nl> <nl> <nl> @ property ( nonatomic , retain ) AVCaptureSession * captureSession ; <nl> @ property ( nonatomic , retain ) AVCaptureConnection * videoCaptureConnection ; <nl> - @ property ( nonatomic , retain ) AVCaptureConnection * audioCaptureConnection ; <nl> <nl> @ property ( nonatomic , readonly ) BOOL running ; <nl> @ property ( nonatomic , readonly ) BOOL captureSessionLoaded ; <nl> <nl> # ifdef __cplusplus <nl> / / delegate method for processing image frames <nl> - ( void ) processImage : ( cv : : Mat & ) image ; <nl> - <nl> # endif <nl> <nl> @ end <nl> <nl> - @ interface CvVideoCamera : CvAbstractCamera < AVCaptureVideoDataOutputSampleBufferDelegate , AVCaptureFileOutputRecordingDelegate > <nl> + @ interface CvVideoCamera : CvAbstractCamera < AVCaptureVideoDataOutputSampleBufferDelegate > <nl> { <nl> AVCaptureVideoDataOutput * videoDataOutput ; <nl> <nl> <nl> AVAssetWriterInputPixelBufferAdaptor * recordPixelBufferAdaptor ; <nl> AVAssetWriter * recordAssetWriter ; <nl> <nl> + CMTime lastSampleTime ; <nl> + <nl> } <nl> <nl> @ property ( nonatomic , assign ) id < CvVideoCameraDelegate > delegate ; <nl> <nl> @ property ( nonatomic , retain ) AVAssetWriterInput * recordAssetWriterInput ; <nl> @ property ( nonatomic , retain ) AVAssetWriterInputPixelBufferAdaptor * recordPixelBufferAdaptor ; <nl> @ property ( nonatomic , retain ) AVAssetWriter * recordAssetWriter ; <nl> - @ property ( nonatomic , readonly ) int64_t timestampMs ; <nl> <nl> - ( void ) adjustLayoutToInterfaceOrientation : ( UIInterfaceOrientation ) interfaceOrientation ; <nl> - ( void ) layoutPreviewLayer ; <nl> mmm a / modules / highgui / src / cap_ios_abstract_camera . mm <nl> ppp b / modules / highgui / src / cap_ios_abstract_camera . mm <nl> <nl> <nl> # pragma mark - Private Interface <nl> <nl> - @ interface CvAbstractCamera ( ) { <nl> - AVCaptureAudioDataOutput * audioOut ; <nl> - } <nl> + @ interface CvAbstractCamera ( ) <nl> <nl> @ property ( nonatomic , retain ) AVCaptureVideoPreviewLayer * captureVideoPreviewLayer ; <nl> <nl> @ implementation CvAbstractCamera <nl> @ synthesize captureSession ; <nl> @ synthesize captureVideoPreviewLayer ; <nl> @ synthesize videoCaptureConnection ; <nl> - @ synthesize audioCaptureConnection ; <nl> @ synthesize running ; <nl> @ synthesize captureSessionLoaded ; <nl> @ synthesize useAVCaptureVideoPreviewLayer ; <nl> - ( void ) stop ; <nl> self . captureSession = nil ; <nl> self . captureVideoPreviewLayer = nil ; <nl> self . videoCaptureConnection = nil ; <nl> - self . audioCaptureConnection = nil ; <nl> captureSessionLoaded = NO ; <nl> } <nl> <nl> - ( void ) createCaptureSession ; <nl> } else { <nl> NSLog ( @ " [ Camera ] Error : could not set session preset " ) ; <nl> } <nl> - <nl> } <nl> <nl> - # if 0 <nl> - - ( void ) sampleCaptureSessionSetup { <nl> - <nl> - if ( _captureSession ) { <nl> - return ; <nl> - } <nl> - <nl> - _captureSession = [ [ AVCaptureSession alloc ] init ] ; <nl> - <nl> - [ [ NSNotificationCenter defaultCenter ] addObserver : self selector : @ selector ( captureSessionNotification : ) name : nil object : _captureSession ] ; <nl> - _applicationWillEnterForegroundNotificationObserver = [ [ NSNotificationCenter defaultCenter ] addObserverForName : UIApplicationWillEnterForegroundNotification object : [ UIApplication sharedApplication ] queue : nil usingBlock : ^ ( NSNotification * note ) { <nl> - / / Retain self while the capture session is alive by referencing it in this observer block which is tied to the session lifetime <nl> - / / Client must stop us running before we can be deallocated <nl> - [ self applicationWillEnterForeground ] ; <nl> - } ] ; <nl> - <nl> - # if RECORD_AUDIO <nl> - / * Audio * / <nl> - AVCaptureDevice * audioDevice = [ AVCaptureDevice defaultDeviceWithMediaType : AVMediaTypeAudio ] ; <nl> - AVCaptureDeviceInput * audioIn = [ [ AVCaptureDeviceInput alloc ] initWithDevice : audioDevice error : nil ] ; <nl> - if ( [ _captureSession canAddInput : audioIn ] ) { <nl> - [ _captureSession addInput : audioIn ] ; <nl> - } <nl> - [ audioIn release ] ; <nl> - <nl> - AVCaptureAudioDataOutput * audioOut = [ [ AVCaptureAudioDataOutput alloc ] init ] ; <nl> - / / Put audio on its own queue to ensure that our video processing doesn ' t cause us to drop audio <nl> - dispatch_queue_t audioCaptureQueue = dispatch_queue_create ( " com . apple . sample . capturepipeline . audio " , DISPATCH_QUEUE_SERIAL ) ; <nl> - [ audioOut setSampleBufferDelegate : self queue : audioCaptureQueue ] ; <nl> - [ audioCaptureQueue release ] ; <nl> - <nl> - if ( [ _captureSession canAddOutput : audioOut ] ) { <nl> - [ _captureSession addOutput : audioOut ] ; <nl> - } <nl> - self . audioConnection = [ audioOut connectionWithMediaType : AVMediaTypeAudio ] ; <nl> - [ audioOut release ] ; <nl> - # endif / / RECORD_AUDIO <nl> - <nl> - / * Video * / <nl> - AVCaptureDevice * videoDevice = [ AVCaptureDevice defaultDeviceWithMediaType : AVMediaTypeVideo ] ; <nl> - _videoDevice = videoDevice ; <nl> - AVCaptureDeviceInput * videoIn = [ [ AVCaptureDeviceInput alloc ] initWithDevice : videoDevice error : nil ] ; <nl> - if ( [ _captureSession canAddInput : videoIn ] ) { <nl> - [ _captureSession addInput : videoIn ] ; <nl> - } <nl> - [ videoIn release ] ; <nl> - <nl> - AVCaptureVideoDataOutput * videoOut = [ [ AVCaptureVideoDataOutput alloc ] init ] ; <nl> - videoOut . videoSettings = @ { ( id ) kCVPixelBufferPixelFormatTypeKey : @ ( _renderer . inputPixelFormat ) } ; <nl> - [ videoOut setSampleBufferDelegate : self queue : _videoDataOutputQueue ] ; <nl> - <nl> - / / RosyWriter records videos and we prefer not to have any dropped frames in the video recording . <nl> - / / By setting alwaysDiscardsLateVideoFrames to NO we ensure that minor fluctuations in system load or in our processing time for a given frame won ' t cause framedrops . <nl> - / / We do however need to ensure that on average we can process frames in realtime . <nl> - / / If we were doing preview only we would probably want to set alwaysDiscardsLateVideoFrames to YES . <nl> - videoOut . alwaysDiscardsLateVideoFrames = NO ; <nl> - <nl> - if ( [ _captureSession canAddOutput : videoOut ] ) { <nl> - [ _captureSession addOutput : videoOut ] ; <nl> - } <nl> - <nl> - _videoConnection = [ videoOut connectionWithMediaType : AVMediaTypeVideo ] ; <nl> - <nl> - int frameRate ; <nl> - NSString * sessionPreset = AVCaptureSessionPresetHigh ; <nl> - CMTime frameDuration = kCMTimeInvalid ; <nl> - / / For single core systems like iPhone 4 and iPod Touch 4th Generation we use a lower resolution and framerate to maintain real - time performance . <nl> - if ( [ NSProcessInfo processInfo ] . processorCount = = 1 ) <nl> - { <nl> - if ( [ _captureSession canSetSessionPreset : AVCaptureSessionPreset640x480 ] ) { <nl> - sessionPreset = AVCaptureSessionPreset640x480 ; <nl> - } <nl> - frameRate = 15 ; <nl> - } <nl> - else <nl> - { <nl> - # if ! USE_OPENGL_RENDERER <nl> - / / When using the CPU renderers or the CoreImage renderer we lower the resolution to 720p so that all devices can maintain real - time performance ( this is primarily for A5 based devices like iPhone 4s and iPod Touch 5th Generation ) . <nl> - if ( [ _captureSession canSetSessionPreset : AVCaptureSessionPreset1280x720 ] ) { <nl> - sessionPreset = AVCaptureSessionPreset1280x720 ; <nl> - } <nl> - # endif / / ! USE_OPENGL_RENDERER <nl> - <nl> - frameRate = 30 ; <nl> - } <nl> - <nl> - _captureSession . sessionPreset = sessionPreset ; <nl> - <nl> - frameDuration = CMTimeMake ( 1 , frameRate ) ; <nl> - <nl> - NSError * error = nil ; <nl> - if ( [ videoDevice lockForConfiguration : & error ] ) { <nl> - videoDevice . activeVideoMaxFrameDuration = frameDuration ; <nl> - videoDevice . activeVideoMinFrameDuration = frameDuration ; <nl> - [ videoDevice unlockForConfiguration ] ; <nl> - } <nl> - else { <nl> - NSLog ( @ " videoDevice lockForConfiguration returned error % @ " , error ) ; <nl> - } <nl> - <nl> - / / Get the recommended compression settings after configuring the session / device . <nl> - # if RECORD_AUDIO <nl> - _audioCompressionSettings = [ [ audioOut recommendedAudioSettingsForAssetWriterWithOutputFileType : AVFileTypeQuickTimeMovie ] copy ] ; <nl> - # endif <nl> - _videoCompressionSettings = [ [ videoOut recommendedVideoSettingsForAssetWriterWithOutputFileType : AVFileTypeQuickTimeMovie ] copy ] ; <nl> - <nl> - self . videoOrientation = _videoConnection . videoOrientation ; <nl> - <nl> - [ videoOut release ] ; <nl> - <nl> - return ; <nl> - } <nl> - # endif <nl> - <nl> - ( void ) createCaptureDevice ; <nl> { <nl> / / setup the device <nl> - ( void ) createCaptureDevice ; <nl> [ self setDesiredCameraPosition : self . defaultAVCaptureDevicePosition ] ; <nl> NSLog ( @ " [ Camera ] device connected ? % @ " , device . connected ? @ " YES " : @ " NO " ) ; <nl> NSLog ( @ " [ Camera ] device position % @ " , ( device . position = = AVCaptureDevicePositionBack ) ? @ " back " : @ " front " ) ; <nl> - <nl> - # if 0 <nl> - AVCaptureDevice * audioCaptureDevice = [ AVCaptureDevice defaultDeviceWithMediaType : AVMediaTypeAudio ] ; <nl> - NSError * error = nil ; <nl> - / / AVCaptureDeviceInput * audioInput = [ AVCaptureDeviceInput deviceInputWithDevice : audioCaptureDevice error : & error ] ; <nl> - AVCaptureDeviceInput * audioInput = [ [ AVCaptureDeviceInput alloc ] initWithDevice : audioCaptureDevice error : nil ] ; <nl> - if ( audioInput ) { <nl> - NSLog ( @ " Adding audio capture devices " ) ; <nl> - [ self . captureSession addInput : audioInput ] ; <nl> - [ audioInput release ] ; <nl> - } <nl> - <nl> - <nl> - / / Put audio on its own queue to ensure that our video processing doesn ' t cause us to drop audio <nl> - audioOut = [ [ AVCaptureAudioDataOutput alloc ] init ] ; <nl> - dispatch_queue_t audioCaptureQueue = dispatch_queue_create ( " opencv . ios . audio " , DISPATCH_QUEUE_SERIAL ) ; <nl> - [ audioOut setSampleBufferDelegate : self queue : audioCaptureQueue ] ; <nl> - <nl> - if ( [ self . captureSession canAddOutput : audioOut ] ) { <nl> - [ self . captureSession addOutput : audioOut ] ; <nl> - NSLog ( @ " audioOut added " ) ; <nl> - } <nl> - <nl> - [ audioCaptureQueue release ] ; <nl> - <nl> - self . audioCaptureConnection = [ audioOut connectionWithMediaType : AVMediaTypeAudio ] ; <nl> - <nl> - NSLog ( @ " Audio has been setup with callback " ) ; <nl> - # endif <nl> - <nl> } <nl> <nl> <nl> mmm a / modules / highgui / src / cap_ios_video_camera . mm <nl> ppp b / modules / highgui / src / cap_ios_video_camera . mm <nl> <nl> <nl> <nl> @ interface CvVideoCamera ( ) { <nl> - NSString * mediaPath ; <nl> - int recordCountDown ; <nl> - CMTime _lastSampleTime ; <nl> - int64_t _timestampMs ; <nl> - dispatch_queue_t movieWriterQueue ; <nl> - <nl> + int recordingCountDown ; <nl> } <nl> <nl> - <nl> - ( void ) createVideoDataOutput ; <nl> - ( void ) createVideoFileOutput ; <nl> - - ( void ) createMovieFileOutput ; <nl> - - ( NSString * ) mediaFileString ; <nl> + <nl> <nl> @ property ( nonatomic , retain ) CALayer * customPreviewLayer ; <nl> @ property ( nonatomic , retain ) AVCaptureVideoDataOutput * videoDataOutput ; <nl> - @ property ( nonatomic , retain ) AVCaptureMovieFileOutput * movieFileOutput ; <nl> - @ property ( nonatomic , retain ) dispatch_queue_t movieWriterQueue ; <nl> <nl> @ end <nl> <nl> @ implementation CvVideoCamera <nl> <nl> @ synthesize customPreviewLayer ; <nl> @ synthesize videoDataOutput ; <nl> - @ synthesize movieFileOutput ; <nl> <nl> @ synthesize recordVideo ; <nl> @ synthesize rotateVideo ; <nl> @ implementation CvVideoCamera <nl> @ synthesize recordPixelBufferAdaptor ; <nl> @ synthesize recordAssetWriter ; <nl> <nl> - @ synthesize timestampMs = _timestampMs ; <nl> - <nl> - <nl> - <nl> <nl> <nl> # pragma mark - Constructors <nl> <nl> - ( id ) initWithParentView : ( UIView * ) parent ; <nl> { <nl> - recordCountDown = 1000000000 ; <nl> self = [ super initWithParentView : parent ] ; <nl> if ( self ) { <nl> self . useAVCaptureVideoPreviewLayer = NO ; <nl> self . recordVideo = NO ; <nl> self . rotateVideo = NO ; <nl> } <nl> - movieWriterQueue = nil ; <nl> return self ; <nl> } <nl> <nl> - ( id ) initWithParentView : ( UIView * ) parent ; <nl> <nl> - ( void ) start ; <nl> { <nl> - recordCountDown = 5 ; <nl> - movieWriterQueue = nil ; <nl> + recordingCountDown = 10 ; <nl> [ super start ] ; <nl> <nl> if ( self . recordVideo = = YES ) { <nl> - ( void ) start ; <nl> if ( [ [ NSFileManager defaultManager ] fileExistsAtPath : [ self videoFileString ] ] ) { <nl> [ [ NSFileManager defaultManager ] removeItemAtPath : [ self videoFileString ] error : & error ] ; <nl> } <nl> - <nl> if ( error = = nil ) { <nl> NSLog ( @ " [ Camera ] Delete file % @ " , [ self videoFileString ] ) ; <nl> } <nl> } <nl> - <nl> } <nl> <nl> <nl> - ( void ) stop ; <nl> self . recordAssetWriter = nil ; <nl> self . recordAssetWriterInput = nil ; <nl> self . recordPixelBufferAdaptor = nil ; <nl> - if ( movieWriterQueue ) <nl> - dispatch_release ( movieWriterQueue ) ; <nl> - self . movieWriterQueue = nil ; <nl> } <nl> <nl> [ self . customPreviewLayer removeFromSuperlayer ] ; <nl> - ( void ) createVideoDataOutput ; <nl> } <nl> [ [ self . videoDataOutput connectionWithMediaType : AVMediaTypeVideo ] setEnabled : YES ] ; <nl> <nl> - / / self . videoCaptureConnection = [ self . videoDataOutput connectionWithMediaType : AVMediaTypeVideo ] ; <nl> - / / [ self . videoCaptureConnection setEnabled : YES ] ; <nl> - <nl> <nl> / / set default FPS <nl> if ( [ self . videoDataOutput connectionWithMediaType : AVMediaTypeVideo ] . supportsVideoMinFrameDuration ) { <nl> - ( void ) createVideoDataOutput ; <nl> [ self . videoDataOutput setSampleBufferDelegate : self queue : videoDataOutputQueue ] ; <nl> <nl> <nl> - if ( self . recordVideo = = YES & & movieWriterQueue = = nil ) { <nl> - movieWriterQueue = dispatch_queue_create ( " opencv_movieWriter " , DISPATCH_QUEUE_SERIAL ) ; <nl> - } <nl> NSLog ( @ " [ Camera ] created AVCaptureVideoDataOutput at % d FPS " , self . defaultFPS ) ; <nl> } <nl> <nl> <nl> - - ( void ) createMovieFileOutput ; <nl> - { <nl> - NSLog ( @ " createVideoFileOutput . . . " ) ; <nl> - self . movieFileOutput = [ [ AVCaptureMovieFileOutput alloc ] init ] ; <nl> - CMTime maxDuration = CMTimeMake ( 30 * 60 , 1 ) ; <nl> - movieFileOutput . maxRecordedDuration = maxDuration ; <nl> - movieFileOutput . minFreeDiskSpaceLimit = ( 1024L ) * ( 1024L * 1024L ) ; <nl> - movieFileOutput . maxRecordedFileSize = ( 400L ) * ( 1024L * 1024L ) ; <nl> - <nl> - <nl> - if ( [ self . captureSession canAddOutput : movieFileOutput ] ) { <nl> - [ captureSession addOutput : movieFileOutput ] ; <nl> - NSLog ( @ " Successfully added movie output " ) ; <nl> - } <nl> - else { <nl> - NSLog ( @ " Couldn ' t add movie output " ) ; <nl> - } <nl> - <nl> - if ( self . recordVideo = = YES ) <nl> - [ self . movieFileOutput startRecordingToOutputFileURL : [ self mediaFileURL ] recordingDelegate : self ] ; <nl> - } <nl> - <nl> <nl> - ( void ) createVideoFileOutput ; <nl> { <nl> - ( void ) createCaptureOutput ; <nl> [ self createVideoDataOutput ] ; <nl> if ( self . recordVideo = = YES ) { <nl> [ self createVideoFileOutput ] ; <nl> - / / [ self createMovieFileOutput ] ; <nl> } <nl> } <nl> <nl> - ( CVPixelBufferRef ) pixelBufferFromCGImage : ( CGImageRef ) image <nl> return pxbuffer ; <nl> } <nl> <nl> - <nl> - - ( void ) captureOutput : ( AVCaptureFileOutput * ) captureOutput <nl> - didFinishRecordingToOutputFileAtURL : ( NSURL * ) outputFileURL <nl> - fromConnections : ( NSArray * ) connections <nl> - error : ( NSError * ) error { <nl> - <nl> - # if 0 <nl> - BOOL recordedSuccessfully = YES ; <nl> - if ( [ error code ] ! = noErr ) { <nl> - / / A problem occurred : Find out if the recording was successful . <nl> - id value = [ [ error userInfo ] objectForKey : AVErrorRecordingSuccessfullyFinishedKey ] ; <nl> - if ( value ) { <nl> - recordedSuccessfully = [ value boolValue ] ; <nl> - } <nl> - } <nl> - # endif <nl> - NSLog ( @ " Capture File output done " ) ; <nl> - } <nl> # pragma mark - Protocol AVCaptureVideoDataOutputSampleBufferDelegate <nl> <nl> - - ( void ) captureOutput : ( AVCaptureOutput * ) captureOutput didDropSampleBuffer : ( CMSampleBufferRef ) sampleBuffer fromConnection : ( AVCaptureConnection * ) connection <nl> - { <nl> - if ( connection = = self . audioCaptureConnection ) { <nl> - NSLog ( @ " Audio sample did drop " ) ; <nl> - return ; <nl> - } <nl> - NSLog ( @ " Video Frame did drop " ) ; <nl> - } <nl> - <nl> <nl> - ( void ) captureOutput : ( AVCaptureOutput * ) captureOutput didOutputSampleBuffer : ( CMSampleBufferRef ) sampleBuffer fromConnection : ( AVCaptureConnection * ) connection <nl> { <nl> ( void ) captureOutput ; <nl> ( void ) connection ; <nl> - <nl> - if ( connection = = self . audioCaptureConnection ) { <nl> - / / NSLog ( @ " Audio Sample came in " ) ; <nl> - return ; <nl> - } <nl> - <nl> - / / NSLog ( @ " Video sample came in " ) ; <nl> if ( self . delegate ) { <nl> <nl> / / convert from Core Media to Core Video <nl> - ( void ) captureOutput : ( AVCaptureOutput * ) captureOutput didOutputSampleBuffer : ( CM <nl> <nl> } <nl> <nl> - <nl> - CMTime lastSampleTime = CMSampleBufferGetPresentationTimeStamp ( sampleBuffer ) ; <nl> - int64_t msec = lastSampleTime . value / ( lastSampleTime . timescale / 1000 ) ; <nl> - _timestampMs = msec ; <nl> - / / NSLog ( @ " Timestamp % u / % u , msec = % lu " , lastSampleTime . value , lastSampleTime . timescale , msec ) ; <nl> - <nl> - <nl> / / delegate image processing to the delegate <nl> cv : : Mat image ( ( int ) height , ( int ) width , format_opencv , bufferAddress , bytesPerRow ) ; <nl> <nl> + CGImage * dstImage ; <nl> + <nl> if ( [ self . delegate respondsToSelector : @ selector ( processImage : ) ] ) { <nl> [ self . delegate processImage : image ] ; <nl> } <nl> <nl> - CGImage * dstImage ; <nl> - <nl> / / check if matrix data pointer or dimensions were changed by the delegate <nl> bool iOSimage = false ; <nl> if ( height = = ( size_t ) image . rows & & width = = ( size_t ) image . cols & & format_opencv = = image . type ( ) & & bufferAddress = = image . data & & bytesPerRow = = image . step ) { <nl> - ( void ) captureOutput : ( AVCaptureOutput * ) captureOutput didOutputSampleBuffer : ( CM <nl> <nl> <nl> / / render buffer <nl> - / / dispatch_sync ( dispatch_get_main_queue ( ) , ^ { <nl> dispatch_sync ( dispatch_get_main_queue ( ) , ^ { <nl> self . customPreviewLayer . contents = ( __bridge id ) dstImage ; <nl> } ) ; <nl> <nl> - if ( recordCountDown > 0 ) <nl> - recordCountDown - - ; <nl> - <nl> - if ( self . recordVideo = = YES & & recordCountDown < = 0 ) { <nl> - / / CMTimeShow ( lastSampleTime ) ; <nl> <nl> + recordingCountDown - - ; <nl> + if ( self . recordVideo = = YES & & recordingCountDown < 0 ) { <nl> + lastSampleTime = CMSampleBufferGetPresentationTimeStamp ( sampleBuffer ) ; <nl> + / / CMTimeShow ( lastSampleTime ) ; <nl> if ( self . recordAssetWriter . status ! = AVAssetWriterStatusWriting ) { <nl> [ self . recordAssetWriter startWriting ] ; <nl> - [ self . recordAssetWriter startSessionAtSourceTime : _lastSampleTime ] ; <nl> + [ self . recordAssetWriter startSessionAtSourceTime : lastSampleTime ] ; <nl> if ( self . recordAssetWriter . status ! = AVAssetWriterStatusWriting ) { <nl> NSLog ( @ " [ Camera ] Recording Error : asset writer status is not writing : % @ " , self . recordAssetWriter . error ) ; <nl> return ; <nl> - ( void ) captureOutput : ( AVCaptureOutput * ) captureOutput didOutputSampleBuffer : ( CM <nl> if ( pixelBuffer ! = nullptr ) <nl> CVPixelBufferRelease ( pixelBuffer ) ; <nl> } <nl> + <nl> } <nl> <nl> + <nl> / / cleanup <nl> CGImageRelease ( dstImage ) ; <nl> <nl> - ( void ) saveVideo ; <nl> <nl> - ( NSURL * ) videoFileURL ; <nl> { <nl> - / / NSString * outputPath = [ [ NSString alloc ] initWithFormat : @ " % @ % @ " , NSTemporaryDirectory ( ) , @ " output . mov " ] ; <nl> - NSString * outputPath = self . videoFileString ; <nl> + NSString * outputPath = [ [ NSString alloc ] initWithFormat : @ " % @ % @ " , NSTemporaryDirectory ( ) , @ " output . mov " ] ; <nl> NSURL * outputURL = [ NSURL fileURLWithPath : outputPath ] ; <nl> NSFileManager * fileManager = [ NSFileManager defaultManager ] ; <nl> if ( [ fileManager fileExistsAtPath : outputPath ] ) { <nl> - ( NSURL * ) videoFileURL ; <nl> } <nl> <nl> <nl> - - ( NSURL * ) mediaFileURL ; <nl> - { <nl> - NSString * outputPath = self . mediaFileString ; <nl> - NSURL * outputURL = [ NSURL fileURLWithPath : outputPath ] ; <nl> - NSFileManager * fileManager = [ NSFileManager defaultManager ] ; <nl> - if ( [ fileManager fileExistsAtPath : outputPath ] ) { <nl> - NSLog ( @ " file exists " ) ; <nl> - } <nl> - NSLog ( @ " media URL % @ " , outputURL ) ; <nl> - return outputURL ; <nl> - } <nl> <nl> - ( NSString * ) videoFileString ; <nl> { <nl> - ( NSString * ) videoFileString ; <nl> return outputPath ; <nl> } <nl> <nl> - <nl> - - ( NSString * ) mediaFileString { <nl> - NSString * outputPath = [ [ NSString alloc ] initWithFormat : @ " % @ % @ " , NSTemporaryDirectory ( ) , @ " media . mov " ] ; <nl> - return outputPath ; <nl> - } <nl> @ end <nl>
Revert support for audio
opencv/opencv
58dd70e8dcfc618a5d6c706604909e53d8e21d32
2015-05-08T16:06:03Z
mmm a / editor / editor_properties . cpp <nl> ppp b / editor / editor_properties . cpp <nl> EditorPropertyTextEnum : : EditorPropertyTextEnum ( ) { <nl> <nl> void EditorPropertyPath : : _path_selected ( const String & p_path ) { <nl> <nl> - emit_changed ( get_edited_property ( ) , p_path ) ; <nl> + String final_path = p_path ; <nl> + if ( final_path . is_abs_path ( ) ) { <nl> + String res_path = OS : : get_singleton ( ) - > get_resource_dir ( ) + " / " ; <nl> + final_path = res_path . path_to_file ( final_path ) ; <nl> + } <nl> + <nl> + emit_changed ( get_edited_property ( ) , final_path ) ; <nl> update_property ( ) ; <nl> } <nl> void EditorPropertyPath : : _path_pressed ( ) { <nl> void EditorPropertyPath : : _path_pressed ( ) { <nl> } <nl> <nl> String full_path = get_edited_object ( ) - > get ( get_edited_property ( ) ) ; <nl> + if ( full_path . is_rel_path ( ) ) { <nl> + <nl> + if ( ! DirAccess : : exists ( full_path . get_base_dir ( ) ) ) { <nl> + DirAccessRef da ( DirAccess : : create ( DirAccess : : ACCESS_FILESYSTEM ) ) ; <nl> + da - > make_dir_recursive ( full_path . get_base_dir ( ) ) ; <nl> + } <nl> + } <nl> <nl> dialog - > clear_filters ( ) ; <nl> <nl> mmm a / editor / project_export . cpp <nl> ppp b / editor / project_export . cpp <nl> void ProjectExportDialog : : _export_project ( ) { <nl> export_project - > add_filter ( " * . " + extension_list [ i ] + " ; " + platform - > get_name ( ) + " Export " ) ; <nl> } <nl> <nl> - if ( current - > get_export_path ( ) ! = " " ) { <nl> - export_project - > set_current_path ( current - > get_export_path ( ) ) ; <nl> + String current_preset_export_path = current - > get_export_path ( ) ; <nl> + <nl> + if ( current_preset_export_path ! = " " ) { <nl> + <nl> + if ( ! DirAccess : : exists ( current_preset_export_path . get_base_dir ( ) ) ) { <nl> + <nl> + DirAccessRef da ( DirAccess : : create ( DirAccess : : ACCESS_FILESYSTEM ) ) ; <nl> + da - > make_dir_recursive ( current_preset_export_path . get_base_dir ( ) ) ; <nl> + } <nl> + <nl> + export_project - > set_current_path ( current_preset_export_path ) ; <nl> } else { <nl> if ( extension_list . size ( ) > = 1 ) { <nl> export_project - > set_current_file ( default_filename + " . " + extension_list [ 0 ] ) ; <nl>
Export path may now be written as a relative path
godotengine/godot
90b2415343287f67586956c798d4b7a63544158f
2019-06-30T18:13:49Z
mmm a / src / net . cpp <nl> ppp b / src / net . cpp <nl> static_assert ( MINIUPNPC_API_VERSION > = 10 , " miniUPnPc API version > = 10 assumed " <nl> <nl> # include < math . h > <nl> <nl> + / * * Maximum number of block - relay - only anchor connections * / <nl> + static constexpr size_t MAX_BLOCK_RELAY_ONLY_ANCHORS = 2 ; <nl> + static_assert ( MAX_BLOCK_RELAY_ONLY_ANCHORS < = static_cast < size_t > ( MAX_BLOCK_RELAY_ONLY_CONNECTIONS ) , " MAX_BLOCK_RELAY_ONLY_ANCHORS must not exceed MAX_BLOCK_RELAY_ONLY_CONNECTIONS . " ) ; <nl> + / * * Anchor IP address database file name * / <nl> + const char * const ANCHORS_DATABASE_FILENAME = " anchors . dat " ; <nl> + <nl> / / How often to dump addresses to peers . dat <nl> static constexpr std : : chrono : : minutes DUMP_PEERS_INTERVAL { 15 } ; <nl> <nl> bool CConnman : : Start ( CScheduler & scheduler , const Options & connOptions ) <nl> } <nl> } <nl> <nl> + if ( m_use_addrman_outgoing ) { <nl> + / / Load addresses from anchors . dat <nl> + m_anchors = ReadAnchors ( GetDataDir ( ) / ANCHORS_DATABASE_FILENAME ) ; <nl> + if ( m_anchors . size ( ) > MAX_BLOCK_RELAY_ONLY_ANCHORS ) { <nl> + m_anchors . resize ( MAX_BLOCK_RELAY_ONLY_ANCHORS ) ; <nl> + } <nl> + LogPrintf ( " % i block - relay - only anchors will be tried for connections . \ n " , m_anchors . size ( ) ) ; <nl> + } <nl> + <nl> uiInterface . InitMessage ( _ ( " Starting network threads . . . " ) . translated ) ; <nl> <nl> fAddressesInitialized = true ; <nl> void CConnman : : StopNodes ( ) <nl> if ( fAddressesInitialized ) { <nl> DumpAddresses ( ) ; <nl> fAddressesInitialized = false ; <nl> + <nl> + if ( m_use_addrman_outgoing ) { <nl> + / / Anchor connections are only dumped during clean shutdown . <nl> + std : : vector < CAddress > anchors_to_dump = GetCurrentBlockRelayOnlyConns ( ) ; <nl> + if ( anchors_to_dump . size ( ) > MAX_BLOCK_RELAY_ONLY_ANCHORS ) { <nl> + anchors_to_dump . resize ( MAX_BLOCK_RELAY_ONLY_ANCHORS ) ; <nl> + } <nl> + DumpAnchors ( GetDataDir ( ) / ANCHORS_DATABASE_FILENAME , anchors_to_dump ) ; <nl> + } <nl> } <nl> <nl> / / Close sockets <nl> mmm a / src / net . h <nl> ppp b / src / net . h <nl> class CConnman <nl> / * * Pointer to this node ' s banman . May be nullptr - check existence before dereferencing . * / <nl> BanMan * m_banman ; <nl> <nl> + / * * <nl> + * Addresses that were saved during the previous clean shutdown . We ' ll <nl> + * attempt to make block - relay - only connections to them . <nl> + * / <nl> + std : : vector < CAddress > m_anchors ; <nl> + <nl> / * * SipHasher seeds for deterministic randomness * / <nl> const uint64_t nSeed0 , nSeed1 ; <nl> <nl>
p2p : Integrate DumpAnchors ( ) and ReadAnchors ( ) into CConnman
bitcoin/bitcoin
4170b46544231e7cf1d64ac3baa314083be37502
2020-10-09T11:29:05Z
mmm a / cmake / scripts / linux / ArchSetup . cmake <nl> ppp b / cmake / scripts / linux / ArchSetup . cmake <nl> else ( ) <nl> set ( ARCH arm ) <nl> set ( NEON False ) <nl> set ( NEON_FLAGS " - mcpu = arm1176jzf - s - mtune = arm1176jzf - s - mfloat - abi = hard - mfpu = vfp " ) <nl> - elseif ( CPU MATCHES " cortex - a7 " OR CPU MATCHES " cortex - a53 " ) <nl> + elseif ( CPU MATCHES " cortex - a7 " ) <nl> set ( ARCH arm ) <nl> set ( NEON True ) <nl> - set ( NEON_FLAGS " - fPIC - mcpu = cortex - a7 - mfloat - abi = hard - mfpu = neon - vfpv4 - mvectorize - with - neon - quad " ) <nl> + set ( NEON_FLAGS " - fPIC - mcpu = cortex - a7 " ) <nl> + elseif ( CPU MATCHES " cortex - a53 " ) <nl> + set ( ARCH arm ) <nl> + set ( NEON True ) <nl> + set ( NEON_FLAGS " - fPIC - mcpu = cortex - a53 " ) <nl> elseif ( CPU MATCHES arm ) <nl> set ( ARCH arm ) <nl> set ( NEON True ) <nl> else ( ) <nl> endif ( ) <nl> endif ( ) <nl> <nl> + # temp until further cleanup is done <nl> + # add Raspberry Pi 2 and 3 specific flags <nl> + if ( CORE_PLATFORM_NAME_LC STREQUAL rbpi ) <nl> + list ( APPEND ARCH_DEFINES - D_ARMEL - DTARGET_RASPBERRY_PI ) <nl> + if ( CPU MATCHES " cortex - a7 " ) <nl> + set ( NEON_FLAGS " - fPIC - mcpu = cortex - a7 - mfloat - abi = hard - mfpu = neon - vfpv4 - mvectorize - with - neon - quad " ) <nl> + elseif ( CPU MATCHES " cortex - a53 " ) <nl> + set ( NEON_FLAGS " - fPIC - mcpu = cortex - a53 - mfloat - abi = hard - mfpu = neon - fp - armv8 - mvectorize - with - neon - quad " ) <nl> + endif ( ) <nl> + endif ( ) <nl> + <nl> if ( ( CMAKE_BUILD_TYPE STREQUAL Release OR CMAKE_BUILD_TYPE STREQUAL MinSizeRel ) <nl> AND CMAKE_COMPILER_IS_GNUCXX ) <nl> # Make sure we strip binaries in Release build <nl> mmm a / tools / depends / configure . ac <nl> ppp b / tools / depends / configure . ac <nl> case $ use_platform in <nl> target_platform = raspberry - pi <nl> use_cpu = cortex - a7 <nl> ffmpeg_options_default = " - - cpu = cortex - a7 " <nl> - platform_cflags = " - fPIC - mcpu = cortex - a7 - mfloat - abi = hard - mfpu = neon - vfpv4 " <nl> - platform_cxxflags = " - fPIC - mcpu = cortex - a7 - mfloat - abi = hard - mfpu = neon - vfpv4 " <nl> + platform_cflags = " - fPIC - mcpu = cortex - a7 - mfloat - abi = hard - mfpu = neon - vfpv4 - mvectorize - with - neon - quad " <nl> + platform_cxxflags = " - fPIC - mcpu = cortex - a7 - mfloat - abi = hard - mfpu = neon - vfpv4 - mvectorize - with - neon - quad " <nl> + platform_ldflags = " - lpthread " <nl> + ; ; <nl> + raspberry - pi3 ) <nl> + target_platform = raspberry - pi <nl> + use_cpu = cortex - a53 <nl> + ffmpeg_options_default = " - - cpu = cortex - a53 " <nl> + platform_cflags = " - fPIC - mcpu = cortex - a53 - mfloat - abi = hard - mfpu = neon - fp - armv8 - mvectorize - with - neon - quad " <nl> + platform_cxxflags = " - fPIC - mcpu = cortex - a53 - mfloat - abi = hard - mfpu = neon - fp - armv8 - mvectorize - with - neon - quad " <nl> platform_ldflags = " - lpthread " <nl> ; ; <nl> auto ) <nl>
Merge pull request from graysky2 / master
xbmc/xbmc
a489ea666f677192ce6fcdc8ceea37680b1fa4a0
2018-03-17T10:08:34Z
mmm a / . gitignore <nl> ppp b / . gitignore <nl> Doxygen / html / <nl> Doxygen / latex / <nl> Doxygen / js / <nl> Documentation / arango . template <nl> + Documentation / Examples / * . generated <nl> UnitTests / HttpInterface / logs / <nl> UnitTests / basics_suite <nl> UnitTests / geo_suite <nl>
generated Examples should be ignored
arangodb/arangodb
121168527e612e71f5ac826f775b458dfe2d45be
2013-05-08T09:05:29Z
new file mode 100644 <nl> index 00000000000 . . 70215ab25d6 <nl> mmm / dev / null <nl> ppp b / src / operator / contrib / bounding_box - common . h <nl> <nl> + / * <nl> + * Licensed to the Apache Software Foundation ( ASF ) under one <nl> + * or more contributor license agreements . See the NOTICE file <nl> + * distributed with this work for additional information <nl> + * regarding copyright ownership . The ASF licenses this file <nl> + * to you under the Apache License , Version 2 . 0 ( the <nl> + * " License " ) ; you may not use this file except in compliance <nl> + * with the License . You may obtain a copy of the License at <nl> + * <nl> + * http : / / www . apache . org / licenses / LICENSE - 2 . 0 <nl> + * <nl> + * Unless required by applicable law or agreed to in writing , <nl> + * software distributed under the License is distributed on an <nl> + * " AS IS " BASIS , WITHOUT WARRANTIES OR CONDITIONS OF ANY <nl> + * KIND , either express or implied . See the License for the <nl> + * specific language governing permissions and limitations <nl> + * under the License . <nl> + * / <nl> + <nl> + / * ! <nl> + * \ file bounding_box - common . h <nl> + * \ brief bounding box util functions and operators commonly used by CPU and GPU implementations <nl> + * \ author Joshua Zhang <nl> + * / <nl> + # ifndef MXNET_OPERATOR_CONTRIB_BOUNDING_BOX_COMMON_H_ <nl> + # define MXNET_OPERATOR_CONTRIB_BOUNDING_BOX_COMMON_H_ <nl> + # include " . . / mshadow_op . h " <nl> + # include " . . / mxnet_op . h " <nl> + # include " . . / operator_common . h " <nl> + <nl> + namespace mxnet { <nl> + namespace op { <nl> + namespace box_common_enum { <nl> + enum BoxType { kCorner , kCenter } ; <nl> + } <nl> + <nl> + / / compute line intersect along either height or width <nl> + template < typename DType > <nl> + MSHADOW_XINLINE DType Intersect ( const DType * a , const DType * b , int encode ) { <nl> + DType a1 = a [ 0 ] ; <nl> + DType a2 = a [ 2 ] ; <nl> + DType b1 = b [ 0 ] ; <nl> + DType b2 = b [ 2 ] ; <nl> + DType w ; <nl> + if ( box_common_enum : : kCorner = = encode ) { <nl> + DType left = a1 > b1 ? a1 : b1 ; <nl> + DType right = a2 < b2 ? a2 : b2 ; <nl> + w = right - left ; <nl> + } else { <nl> + DType aw = a2 / 2 ; <nl> + DType bw = b2 / 2 ; <nl> + DType al = a1 - aw ; <nl> + DType ar = a1 + aw ; <nl> + DType bl = b1 - bw ; <nl> + DType br = b1 + bw ; <nl> + DType left = bl > al ? bl : al ; <nl> + DType right = br < ar ? br : ar ; <nl> + w = right - left ; <nl> + } <nl> + return w > 0 ? w : DType ( 0 ) ; <nl> + } <nl> + <nl> + / * ! <nl> + * \ brief Implementation of the non - maximum suppression operation <nl> + * <nl> + * \ param i the launched thread index <nl> + * \ param index sorted index in descending order <nl> + * \ param batch_start map ( b , k ) to compact index by indices [ batch_start [ b ] + k ] <nl> + * \ param input the input of nms op <nl> + * \ param areas pre - computed box areas <nl> + * \ param k nms topk number <nl> + * \ param ref compare reference position <nl> + * \ param num number of input boxes in each batch <nl> + * \ param stride input stride , usually 6 ( id - score - x1 - y1 - x2 - y2 ) <nl> + * \ param offset_box box offset , usually 2 <nl> + * \ param thresh nms threshold <nl> + * \ param force force suppress regardless of class id <nl> + * \ param offset_id class id offset , used when force = = false , usually 0 <nl> + * \ param encode box encoding type , corner ( 0 ) or center ( 1 ) <nl> + * \ param DType the data type <nl> + * / <nl> + struct nms_impl { <nl> + template < typename DType > <nl> + MSHADOW_XINLINE static void Map ( int i , int32_t * index , const int32_t * batch_start , <nl> + const DType * input , const DType * areas , <nl> + int k , int ref , int num , <nl> + int stride , int offset_box , int offset_id , <nl> + float thresh , bool force , int encode ) { <nl> + int b = i / k ; / / batch <nl> + int pos = i % k + ref + 1 ; / / position <nl> + ref = static_cast < int > ( batch_start [ b ] ) + ref ; <nl> + pos = static_cast < int > ( batch_start [ b ] ) + pos ; <nl> + if ( ref > = static_cast < int > ( batch_start [ b + 1 ] ) ) return ; <nl> + if ( pos > = static_cast < int > ( batch_start [ b + 1 ] ) ) return ; <nl> + if ( index [ ref ] < 0 ) return ; / / reference has been suppressed <nl> + if ( index [ pos ] < 0 ) return ; / / self been suppressed <nl> + int ref_offset = static_cast < int > ( index [ ref ] ) * stride + offset_box ; <nl> + int pos_offset = static_cast < int > ( index [ pos ] ) * stride + offset_box ; <nl> + if ( ! force & & offset_id > = 0 ) { <nl> + int ref_id = static_cast < int > ( input [ ref_offset - offset_box + offset_id ] ) ; <nl> + int pos_id = static_cast < int > ( input [ pos_offset - offset_box + offset_id ] ) ; <nl> + if ( ref_id ! = pos_id ) return ; / / different class <nl> + } <nl> + DType intersect = Intersect ( input + ref_offset , input + pos_offset , encode ) ; <nl> + intersect * = Intersect ( input + ref_offset + 1 , input + pos_offset + 1 , encode ) ; <nl> + int ref_area_offset = static_cast < int > ( index [ ref ] ) ; <nl> + int pos_area_offset = static_cast < int > ( index [ pos ] ) ; <nl> + DType iou = intersect / ( areas [ ref_area_offset ] + areas [ pos_area_offset ] - intersect ) ; <nl> + if ( iou > thresh ) { <nl> + index [ pos ] = - 1 ; <nl> + } <nl> + } <nl> + } ; <nl> + <nl> + } / / namespace op <nl> + } / / namespace mxnet <nl> + <nl> + # endif / / MXNET_OPERATOR_CONTRIB_BOUNDING_BOX_COMMON_H_ <nl> mmm a / src / operator / contrib / bounding_box - inl . cuh <nl> ppp b / src / operator / contrib / bounding_box - inl . cuh <nl> <nl> * / <nl> # ifndef MXNET_OPERATOR_CONTRIB_BOUNDING_BOX_INL_CUH_ <nl> # define MXNET_OPERATOR_CONTRIB_BOUNDING_BOX_INL_CUH_ <nl> + # include < cmath > <nl> + # include < cstdio > <nl> # include < mxnet / operator_util . h > <nl> # include < thrust / copy . h > <nl> # include < thrust / execution_policy . h > <nl> # include " . . / mshadow_op . h " <nl> # include " . . / mxnet_op . h " <nl> # include " . . / operator_common . h " <nl> + # include " . / bounding_box - common . h " <nl> <nl> namespace mxnet { <nl> namespace op { <nl> int FilterScores ( mshadow : : Tensor < gpu , 1 , DType > out_scores , <nl> return end_scores - out_scores . dptr_ ; <nl> } <nl> <nl> + / / compute line intersect along either height or width <nl> + template < typename DType > <nl> + MSHADOW_XINLINE DType Intersect2 ( const DType * a , const DType b1 , const DType b2 , int encode ) { <nl> + const DType a1 = a [ 0 ] ; <nl> + const DType a2 = a [ 2 ] ; <nl> + DType left , right ; <nl> + if ( box_common_enum : : kCorner = = encode ) { <nl> + left = a1 > b1 ? a1 : b1 ; <nl> + right = a2 < b2 ? a2 : b2 ; <nl> + } else { <nl> + const DType aw = a2 / 2 ; <nl> + const DType bw = b2 / 2 ; <nl> + const DType al = a1 - aw ; <nl> + const DType ar = a1 + aw ; <nl> + const DType bl = b1 - bw ; <nl> + const DType br = b1 + bw ; <nl> + left = bl > al ? bl : al ; <nl> + right = br < ar ? br : ar ; <nl> + } <nl> + const DType w = right - left ; <nl> + return w > 0 ? w : DType ( 0 ) ; <nl> + } <nl> + <nl> + template < typename DType , int N , bool check_class > <nl> + __launch_bounds__ ( 512 ) <nl> + __global__ void nms_apply_kernel ( const int topk , int32_t * index , <nl> + const int32_t * batch_start , <nl> + const DType * input , <nl> + const DType * areas , <nl> + const int num , const int stride , <nl> + const int offset_box , const int offset_id , <nl> + const float thresh , const bool force , <nl> + const int encode , const int start_offset ) { <nl> + constexpr int block_size = 512 ; <nl> + const int start = static_cast < int > ( batch_start [ blockIdx . x ] ) + start_offset ; <nl> + const int size_of_batch = static_cast < int > ( batch_start [ blockIdx . x + 1 ] ) - start ; <nl> + const int end = min ( min ( size_of_batch , topk - start_offset ) , N * block_size ) ; <nl> + __shared__ int s_index [ N * block_size ] ; <nl> + <nl> + for ( int i = threadIdx . x ; i < end ; i + = block_size ) { <nl> + s_index [ i ] = static_cast < int > ( index [ start + i ] ) ; <nl> + } <nl> + <nl> + __syncthreads ( ) ; <nl> + for ( int ref = 0 ; ref < end ; + + ref ) { <nl> + const int ref_area_offset = static_cast < int > ( s_index [ ref ] ) ; <nl> + if ( ref_area_offset > = 0 ) { <nl> + const int ref_offset = ref_area_offset * stride + offset_box ; <nl> + int ref_id = 0 ; <nl> + if ( check_class ) { <nl> + ref_id = static_cast < int > ( input [ ref_offset - offset_box + offset_id ] ) ; <nl> + } <nl> + for ( int i = 0 ; i < N ; + + i ) { <nl> + const int my_pos = threadIdx . x + i * block_size ; <nl> + if ( my_pos > ref & & my_pos < end & & s_index [ my_pos ] > = 0 ) { <nl> + const int pos_area_offset = static_cast < int > ( s_index [ my_pos ] ) ; <nl> + const int pos_offset = pos_area_offset * stride + offset_box ; <nl> + if ( check_class ) { <nl> + const int pos_id = static_cast < int > ( input [ pos_offset - offset_box + offset_id ] ) ; <nl> + if ( ref_id ! = pos_id ) continue ; / / different class <nl> + } <nl> + DType intersect = Intersect ( input + ref_offset , input + pos_offset , encode ) ; <nl> + intersect * = Intersect ( input + ref_offset + 1 , input + pos_offset + 1 , encode ) ; <nl> + const DType iou = intersect / <nl> + ( areas [ ref_area_offset ] + areas [ pos_area_offset ] - intersect ) ; <nl> + if ( iou > thresh ) { <nl> + s_index [ my_pos ] = - 1 ; <nl> + } <nl> + } <nl> + } <nl> + __syncthreads ( ) ; <nl> + } <nl> + } <nl> + <nl> + for ( int i = threadIdx . x ; i < end ; i + = block_size ) { <nl> + index [ start + i ] = s_index [ i ] ; <nl> + } <nl> + } <nl> + <nl> + template < typename DType , int N , bool check_class > <nl> + __launch_bounds__ ( 512 ) <nl> + __global__ void nms_apply_kernel_rest ( const int topk , int32_t * index , <nl> + const int32_t * batch_start , <nl> + const DType * input , <nl> + const DType * areas , <nl> + const int num , const int stride , <nl> + const int offset_box , const int offset_id , <nl> + const float thresh , const bool force , <nl> + const int encode , const int start_offset , <nl> + const int blocks_per_batch ) { <nl> + constexpr int block_size = 512 ; <nl> + const int batch = blockIdx . x / blocks_per_batch ; <nl> + const int start_ref = static_cast < int > ( batch_start [ batch ] ) + start_offset ; <nl> + const int block_offset = ( N + blockIdx . x % blocks_per_batch ) * block_size ; <nl> + const int start = start_ref + block_offset ; <nl> + <nl> + const int size_of_batch = static_cast < int > ( batch_start [ batch + 1 ] ) - start ; <nl> + const int end = min ( size_of_batch , topk - start_offset - block_offset ) ; <nl> + const int my_pos = start + threadIdx . x ; <nl> + if ( threadIdx . x < end & & index [ my_pos ] > = 0 ) { <nl> + const int pos_area_offset = static_cast < int > ( index [ my_pos ] ) ; <nl> + const int pos_offset = pos_area_offset * stride + offset_box ; <nl> + DType my_box [ 4 ] ; <nl> + # pragma unroll <nl> + for ( int i = 0 ; i < 4 ; + + i ) { <nl> + my_box [ i ] = input [ pos_offset + i ] ; <nl> + } <nl> + const DType my_area = areas [ pos_area_offset ] ; <nl> + int pos_id = 0 ; <nl> + if ( check_class ) { <nl> + pos_id = static_cast < int > ( input [ pos_offset - offset_box + offset_id ] ) ; <nl> + } <nl> + <nl> + for ( int ref = start_ref ; ref < start_ref + N * block_size ; + + ref ) { <nl> + const int ref_area_offset = static_cast < int > ( index [ ref ] ) ; <nl> + if ( ref_area_offset > = 0 ) { <nl> + const int ref_offset = ref_area_offset * stride + offset_box ; <nl> + int ref_id = 0 ; <nl> + if ( check_class ) { <nl> + ref_id = static_cast < int > ( input [ ref_offset - offset_box + offset_id ] ) ; <nl> + if ( ref_id ! = pos_id ) continue ; / / different class <nl> + } <nl> + DType intersect = Intersect2 ( input + ref_offset , my_box [ 0 ] , my_box [ 2 ] , encode ) ; <nl> + intersect * = Intersect2 ( input + ref_offset + 1 , my_box [ 1 ] , my_box [ 3 ] , encode ) ; <nl> + const DType iou = intersect / <nl> + ( areas [ ref_area_offset ] + my_area - intersect ) ; <nl> + if ( iou > thresh ) { <nl> + index [ my_pos ] = - 1 ; <nl> + break ; <nl> + } <nl> + } <nl> + } <nl> + } <nl> + } <nl> + <nl> + template < typename DType > <nl> + void NMSApply ( mshadow : : Stream < gpu > * s , <nl> + int num_batch , int topk , <nl> + mshadow : : Tensor < gpu , 1 , int32_t > * sorted_index , <nl> + mshadow : : Tensor < gpu , 1 , int32_t > * batch_start , <nl> + mshadow : : Tensor < gpu , 3 , DType > * buffer , <nl> + mshadow : : Tensor < gpu , 1 , DType > * areas , <nl> + int num_elem , int width_elem , <nl> + int coord_start , int id_index , <nl> + float threshold , bool force_suppress , <nl> + int in_format ) { <nl> + using namespace mxnet_op ; <nl> + constexpr int THRESHOLD = 1024 ; <nl> + for ( int ref = 0 ; ref < topk ; ref + = THRESHOLD ) { <nl> + constexpr int block_size = 512 ; <nl> + constexpr int N = THRESHOLD / block_size ; <nl> + auto stream = mshadow : : Stream < gpu > : : GetStream ( s ) ; <nl> + if ( ! force_suppress & & id_index > = 0 ) { <nl> + nms_apply_kernel < DType , N , true > < < < num_batch , block_size , 0 , stream > > > ( topk , <nl> + sorted_index - > dptr_ , <nl> + batch_start - > dptr_ , <nl> + buffer - > dptr_ , <nl> + areas - > dptr_ , <nl> + num_elem , <nl> + width_elem , <nl> + coord_start , <nl> + id_index , <nl> + threshold , <nl> + force_suppress , <nl> + in_format , <nl> + ref ) ; <nl> + int blocks_per_batch = ( topk - ref - THRESHOLD + block_size - 1 ) / block_size ; <nl> + int blocks = blocks_per_batch * num_batch ; <nl> + if ( blocks > 0 ) { <nl> + nms_apply_kernel_rest < DType , N , true > < < < blocks , block_size , 0 , stream > > > ( topk , <nl> + sorted_index - > dptr_ , <nl> + batch_start - > dptr_ , <nl> + buffer - > dptr_ , <nl> + areas - > dptr_ , <nl> + num_elem , <nl> + width_elem , <nl> + coord_start , <nl> + id_index , <nl> + threshold , <nl> + force_suppress , <nl> + in_format , <nl> + ref , <nl> + blocks_per_batch ) ; <nl> + } <nl> + } else { <nl> + nms_apply_kernel < DType , N , false > < < < num_batch , block_size , 0 , stream > > > ( topk , <nl> + sorted_index - > dptr_ , <nl> + batch_start - > dptr_ , <nl> + buffer - > dptr_ , <nl> + areas - > dptr_ , <nl> + num_elem , <nl> + width_elem , <nl> + coord_start , <nl> + id_index , <nl> + threshold , <nl> + force_suppress , <nl> + in_format , <nl> + ref ) ; <nl> + int blocks_per_batch = ( topk - ref - THRESHOLD + block_size - 1 ) / block_size ; <nl> + int blocks = blocks_per_batch * num_batch ; <nl> + if ( blocks > 0 ) { <nl> + nms_apply_kernel_rest < DType , N , false > < < < blocks , block_size , 0 , stream > > > ( topk , <nl> + sorted_index - > dptr_ , <nl> + batch_start - > dptr_ , <nl> + buffer - > dptr_ , <nl> + areas - > dptr_ , <nl> + num_elem , <nl> + width_elem , <nl> + coord_start , <nl> + id_index , <nl> + threshold , <nl> + force_suppress , <nl> + in_format , <nl> + ref , <nl> + blocks_per_batch ) ; <nl> + } <nl> + } <nl> + } <nl> + } <nl> + <nl> } / / namespace op <nl> } / / namespace mxnet <nl> <nl> mmm a / src / operator / contrib / bounding_box - inl . h <nl> ppp b / src / operator / contrib / bounding_box - inl . h <nl> <nl> # include " . . / mxnet_op . h " <nl> # include " . . / operator_common . h " <nl> # include " . . / tensor / sort_op . h " <nl> + # include " . / bounding_box - common . h " <nl> <nl> namespace mxnet { <nl> namespace op { <nl> - namespace box_common_enum { <nl> - enum BoxType { kCorner , kCenter } ; <nl> - } <nl> namespace box_nms_enum { <nl> enum BoxNMSOpInputs { kData } ; <nl> enum BoxNMSOpOutputs { kOut , kTemp } ; <nl> struct compute_area { <nl> } <nl> } ; <nl> <nl> - / / compute line intersect along either height or width <nl> template < typename DType > <nl> - MSHADOW_XINLINE DType Intersect ( const DType * a , const DType * b , int encode ) { <nl> - DType a1 = a [ 0 ] ; <nl> - DType a2 = a [ 2 ] ; <nl> - DType b1 = b [ 0 ] ; <nl> - DType b2 = b [ 2 ] ; <nl> - DType w ; <nl> - if ( box_common_enum : : kCorner = = encode ) { <nl> - DType left = a1 > b1 ? a1 : b1 ; <nl> - DType right = a2 < b2 ? a2 : b2 ; <nl> - w = right - left ; <nl> - } else { <nl> - DType aw = a2 / 2 ; <nl> - DType bw = b2 / 2 ; <nl> - DType al = a1 - aw ; <nl> - DType ar = a1 + aw ; <nl> - DType bl = b1 - bw ; <nl> - DType br = b1 + bw ; <nl> - DType left = bl > al ? bl : al ; <nl> - DType right = br < ar ? br : ar ; <nl> - w = right - left ; <nl> + void NMSApply ( mshadow : : Stream < cpu > * s , <nl> + int num_batch , int topk , <nl> + mshadow : : Tensor < cpu , 1 , int32_t > * sorted_index , <nl> + mshadow : : Tensor < cpu , 1 , int32_t > * batch_start , <nl> + mshadow : : Tensor < cpu , 3 , DType > * buffer , <nl> + mshadow : : Tensor < cpu , 1 , DType > * areas , <nl> + int num_elem , int width_elem , <nl> + int coord_start , int id_index , <nl> + float threshold , bool force_suppress , <nl> + int in_format ) { <nl> + using namespace mxnet_op ; <nl> + / / go through each box as reference , suppress if overlap > threshold <nl> + / / sorted_index with - 1 is marked as suppressed <nl> + for ( int ref = 0 ; ref < topk ; + + ref ) { <nl> + int num_worker = topk - ref - 1 ; <nl> + if ( num_worker < 1 ) continue ; <nl> + Kernel < nms_impl , cpu > : : Launch ( s , num_batch * num_worker , <nl> + sorted_index - > dptr_ , batch_start - > dptr_ , buffer - > dptr_ , areas - > dptr_ , <nl> + num_worker , ref , num_elem , <nl> + width_elem , coord_start , id_index , <nl> + threshold , force_suppress , in_format ) ; <nl> } <nl> - return w > 0 ? w : DType ( 0 ) ; <nl> } <nl> <nl> - / * ! <nl> - * \ brief Implementation of the non - maximum suppression operation <nl> - * <nl> - * \ param i the launched thread index <nl> - * \ param index sorted index in descending order <nl> - * \ param batch_start map ( b , k ) to compact index by indices [ batch_start [ b ] + k ] <nl> - * \ param input the input of nms op <nl> - * \ param areas pre - computed box areas <nl> - * \ param k nms topk number <nl> - * \ param ref compare reference position <nl> - * \ param num number of input boxes in each batch <nl> - * \ param stride input stride , usually 6 ( id - score - x1 - y1 - x2 - y2 ) <nl> - * \ param offset_box box offset , usually 2 <nl> - * \ param thresh nms threshold <nl> - * \ param force force suppress regardless of class id <nl> - * \ param offset_id class id offset , used when force = = false , usually 0 <nl> - * \ param encode box encoding type , corner ( 0 ) or center ( 1 ) <nl> - * \ param DType the data type <nl> - * / <nl> - struct nms_impl { <nl> - template < typename DType > <nl> - MSHADOW_XINLINE static void Map ( int i , int32_t * index , const int32_t * batch_start , <nl> - const DType * input , const DType * areas , <nl> - int k , int ref , int num , <nl> - int stride , int offset_box , int offset_id , <nl> - float thresh , bool force , int encode ) { <nl> - int b = i / k ; / / batch <nl> - int pos = i % k + ref + 1 ; / / position <nl> - ref = static_cast < int > ( batch_start [ b ] ) + ref ; <nl> - pos = static_cast < int > ( batch_start [ b ] ) + pos ; <nl> - if ( ref > = static_cast < int > ( batch_start [ b + 1 ] ) ) return ; <nl> - if ( pos > = static_cast < int > ( batch_start [ b + 1 ] ) ) return ; <nl> - if ( index [ ref ] < 0 ) return ; / / reference has been suppressed <nl> - if ( index [ pos ] < 0 ) return ; / / self been suppressed <nl> - int ref_offset = static_cast < int > ( index [ ref ] ) * stride + offset_box ; <nl> - int pos_offset = static_cast < int > ( index [ pos ] ) * stride + offset_box ; <nl> - if ( ! force & & offset_id > = 0 ) { <nl> - int ref_id = static_cast < int > ( input [ ref_offset - offset_box + offset_id ] ) ; <nl> - int pos_id = static_cast < int > ( input [ pos_offset - offset_box + offset_id ] ) ; <nl> - if ( ref_id ! = pos_id ) return ; / / different class <nl> - } <nl> - DType intersect = Intersect ( input + ref_offset , input + pos_offset , encode ) ; <nl> - intersect * = Intersect ( input + ref_offset + 1 , input + pos_offset + 1 , encode ) ; <nl> - int ref_area_offset = static_cast < int > ( index [ ref ] ) ; <nl> - int pos_area_offset = static_cast < int > ( index [ pos ] ) ; <nl> - DType iou = intersect / ( areas [ ref_area_offset ] + areas [ pos_area_offset ] - intersect ) ; <nl> - if ( iou > thresh ) { <nl> - index [ pos ] = - 1 ; <nl> - } <nl> - } <nl> - } ; <nl> - <nl> / * ! <nl> * \ brief Assign output of nms by indexing input <nl> * <nl> void BoxNMSForward ( const nnvm : : NodeAttrs & attrs , <nl> topk , num_elem , width_elem , param . in_format ) ; <nl> <nl> / / apply nms <nl> - / / go through each box as reference , suppress if overlap > threshold <nl> - / / sorted_index with - 1 is marked as suppressed <nl> - for ( int ref = 0 ; ref < topk ; + + ref ) { <nl> - int num_worker = topk - ref - 1 ; <nl> - if ( num_worker < 1 ) continue ; <nl> - Kernel < nms_impl , xpu > : : Launch ( s , num_batch * num_worker , <nl> - sorted_index . dptr_ , batch_start . dptr_ , buffer . dptr_ , areas . dptr_ , <nl> - num_worker , ref , num_elem , <nl> - width_elem , coord_start , id_index , <nl> - param . overlap_thresh , param . force_suppress , param . in_format ) ; <nl> - } <nl> + mxnet : : op : : NMSApply ( s , num_batch , topk , & sorted_index , <nl> + & batch_start , & buffer , & areas , <nl> + num_elem , width_elem , coord_start , <nl> + id_index , param . overlap_thresh , <nl> + param . force_suppress , param . in_format ) ; <nl> <nl> / / store the results to output , keep a record for backward <nl> record = - 1 ; <nl>
Optimize NMS ( )
apache/incubator-mxnet
780bddcf1241c8de93c2b26b82a7f0ee093a8662
2019-03-05T00:22:08Z
mmm a / src / rpc / net . cpp <nl> ppp b / src / rpc / net . cpp <nl> static RPCHelpMan getpeerinfo ( ) <nl> { RPCResult : : Type : : BOOL , " inbound " , " Inbound ( true ) or Outbound ( false ) " } , <nl> { RPCResult : : Type : : BOOL , " addnode " , " Whether connection was due to addnode / - connect or if it was an automatic / inbound connection \ n " <nl> " ( DEPRECATED , returned only if the config option - deprecatedrpc = getpeerinfo_addnode is passed ) " } , <nl> - { RPCResult : : Type : : STR , " connection_type " , " Type of connection : \ n " + Join ( CONNECTION_TYPE_DOC , " , \ n " ) + " . " } , <nl> + { RPCResult : : Type : : STR , " connection_type " , " Type of connection : \ n " + Join ( CONNECTION_TYPE_DOC , " , \ n " ) + " . \ n " <nl> + " Please note this output is unlikely to be stable in upcoming releases as we iterate to \ n " <nl> + " best capture connection behaviors . " } , <nl> { RPCResult : : Type : : NUM , " startingheight " , " The starting height ( block ) of the peer " } , <nl> { RPCResult : : Type : : NUM , " banscore " , " The ban score ( DEPRECATED , returned only if config option - deprecatedrpc = banscore is passed ) " } , <nl> { RPCResult : : Type : : NUM , " synced_headers " , " The last header we have in common with this peer " } , <nl>
[ doc ] Improve help for getpeerinfo connection_type field .
bitcoin/bitcoin
3069b56a456d98fca7c4a4ccd329581bd1f0b853
2020-10-09T23:08:02Z
mmm a / Marlin / src / Marlin . cpp <nl> ppp b / Marlin / src / Marlin . cpp <nl> bool pin_is_protected ( const pin_t pin ) { <nl> } <nl> <nl> void quickstop_stepper ( ) { <nl> - stepper . quick_stop ( ) ; <nl> + planner . quick_stop ( ) ; <nl> planner . synchronize ( ) ; <nl> set_current_from_steppers_for_axis ( ALL_AXES ) ; <nl> SYNC_PLAN_POSITION_KINEMATIC ( ) ; <nl> mmm a / Marlin / src / feature / bedlevel / ubl / ubl_motion . cpp <nl> ppp b / Marlin / src / feature / bedlevel / ubl / ubl_motion . cpp <nl> <nl> z_position = end [ Z_AXIS ] ; <nl> } <nl> <nl> - planner . buffer_segment ( rx , ry , z_position + z0 , e_position , feed_rate , extruder ) ; <nl> + if ( ! planner . buffer_segment ( rx , ry , z_position + z0 , e_position , feed_rate , extruder ) ) <nl> + break ; <nl> } / / else printf ( " FIRST MOVE PRUNED " ) ; <nl> } <nl> <nl> <nl> e_position = end [ E_AXIS ] ; <nl> z_position = end [ Z_AXIS ] ; <nl> } <nl> - planner . buffer_segment ( rx , next_mesh_line_y , z_position + z0 , e_position , feed_rate , extruder ) ; <nl> + if ( ! planner . buffer_segment ( rx , next_mesh_line_y , z_position + z0 , e_position , feed_rate , extruder ) ) <nl> + break ; <nl> current_yi + = dyi ; <nl> yi_cnt - - ; <nl> } <nl> <nl> z_position = end [ Z_AXIS ] ; <nl> } <nl> <nl> - planner . buffer_segment ( next_mesh_line_x , ry , z_position + z0 , e_position , feed_rate , extruder ) ; <nl> + if ( ! planner . buffer_segment ( next_mesh_line_x , ry , z_position + z0 , e_position , feed_rate , extruder ) ) <nl> + break ; <nl> current_xi + = dxi ; <nl> xi_cnt - - ; <nl> } <nl> mmm a / Marlin / src / gcode / config / M540 . cpp <nl> ppp b / Marlin / src / gcode / config / M540 . cpp <nl> <nl> void GcodeSuite : : M540 ( ) { <nl> <nl> if ( parser . seen ( ' S ' ) ) <nl> - stepper . abort_on_endstop_hit = parser . value_bool ( ) ; <nl> + planner . abort_on_endstop_hit = parser . value_bool ( ) ; <nl> <nl> } <nl> <nl> mmm a / Marlin / src / gcode / control / M17_M18_M84 . cpp <nl> ppp b / Marlin / src / gcode / control / M17_M18_M84 . cpp <nl> void GcodeSuite : : M18_M84 ( ) { <nl> else { <nl> bool all_axis = ! ( parser . seen ( ' X ' ) | | parser . seen ( ' Y ' ) | | parser . seen ( ' Z ' ) | | parser . seen ( ' E ' ) ) ; <nl> if ( all_axis ) { <nl> - stepper . finish_and_disable ( ) ; <nl> + planner . finish_and_disable ( ) ; <nl> } <nl> else { <nl> planner . synchronize ( ) ; <nl> mmm a / Marlin / src / gcode / control / M80_M81 . cpp <nl> ppp b / Marlin / src / gcode / control / M80_M81 . cpp <nl> <nl> * / <nl> void GcodeSuite : : M81 ( ) { <nl> thermalManager . disable_all_heaters ( ) ; <nl> - stepper . finish_and_disable ( ) ; <nl> + planner . finish_and_disable ( ) ; <nl> <nl> # if FAN_COUNT > 0 <nl> for ( uint8_t i = 0 ; i < FAN_COUNT ; i + + ) fanSpeeds [ i ] = 0 ; <nl> mmm a / Marlin / src / gcode / motion / G2_G3 . cpp <nl> ppp b / Marlin / src / gcode / motion / G2_G3 . cpp <nl> void plan_arc ( <nl> / / i . e . , Complete the angular vector in the given time . <nl> inverse_kinematics ( raw ) ; <nl> ADJUST_DELTA ( raw ) ; <nl> - planner . buffer_segment ( delta [ A_AXIS ] , delta [ B_AXIS ] , raw [ Z_AXIS ] , raw [ E_AXIS ] , HYPOT ( delta [ A_AXIS ] - oldA , delta [ B_AXIS ] - oldB ) * inverse_secs , active_extruder ) ; <nl> + if ( ! planner . buffer_segment ( delta [ A_AXIS ] , delta [ B_AXIS ] , raw [ Z_AXIS ] , raw [ E_AXIS ] , HYPOT ( delta [ A_AXIS ] - oldA , delta [ B_AXIS ] - oldB ) * inverse_secs , active_extruder ) ) <nl> + break ; <nl> oldA = delta [ A_AXIS ] ; oldB = delta [ B_AXIS ] ; <nl> # elif HAS_UBL_AND_CURVES <nl> float pos [ XYZ ] = { raw [ X_AXIS ] , raw [ Y_AXIS ] , raw [ Z_AXIS ] } ; <nl> planner . apply_leveling ( pos ) ; <nl> - planner . buffer_segment ( pos [ X_AXIS ] , pos [ Y_AXIS ] , pos [ Z_AXIS ] , raw [ E_AXIS ] , fr_mm_s , active_extruder ) ; <nl> + if ( ! planner . buffer_segment ( pos [ X_AXIS ] , pos [ Y_AXIS ] , pos [ Z_AXIS ] , raw [ E_AXIS ] , fr_mm_s , active_extruder ) ) <nl> + break ; <nl> # else <nl> - planner . buffer_line_kinematic ( raw , fr_mm_s , active_extruder ) ; <nl> + if ( ! planner . buffer_line_kinematic ( raw , fr_mm_s , active_extruder ) ) <nl> + break ; <nl> # endif <nl> } <nl> <nl> mmm a / Marlin / src / lcd / ultralcd . cpp <nl> ppp b / Marlin / src / lcd / ultralcd . cpp <nl> void lcd_quick_feedback ( const bool clear_buttons ) { <nl> <nl> void _lcd_do_nothing ( ) { } <nl> void _lcd_hard_stop ( ) { <nl> - stepper . quick_stop ( ) ; <nl> const screenFunc_t old_screen = currentScreen ; <nl> currentScreen = _lcd_do_nothing ; <nl> - while ( planner . movesplanned ( ) ) idle ( ) ; <nl> + planner . quick_stop ( ) ; <nl> currentScreen = old_screen ; <nl> - stepper . cleaning_buffer_counter = 0 ; <nl> set_current_from_steppers_for_axis ( ALL_AXES ) ; <nl> sync_plan_position ( ) ; <nl> } <nl> void lcd_quick_feedback ( const bool clear_buttons ) { <nl> <nl> / / M540 S - Abort on endstop hit when SD printing <nl> # if ENABLED ( ABORT_ON_ENDSTOP_HIT_FEATURE_ENABLED ) <nl> - MENU_ITEM_EDIT ( bool , MSG_ENDSTOP_ABORT , & stepper . abort_on_endstop_hit ) ; <nl> + MENU_ITEM_EDIT ( bool , MSG_ENDSTOP_ABORT , & planner . abort_on_endstop_hit ) ; <nl> # endif <nl> <nl> END_MENU ( ) ; <nl> mmm a / Marlin / src / module / endstops . cpp <nl> ppp b / Marlin / src / module / endstops . cpp <nl> void Endstops : : report_state ( ) { <nl> # endif <nl> <nl> # define _ENDSTOP_HIT_ECHO ( A , C ) do { \ <nl> - SERIAL_ECHOPAIR ( " " STRINGIFY ( A ) " : " , stepper . triggered_position_mm ( _AXIS ( A ) ) ) ; \ <nl> + SERIAL_ECHOPAIR ( " " STRINGIFY ( A ) " : " , planner . triggered_position_mm ( _AXIS ( A ) ) ) ; \ <nl> _SET_STOP_CHAR ( A , C ) ; } while ( 0 ) <nl> <nl> # define _ENDSTOP_HIT_TEST ( A , C ) \ <nl> void Endstops : : report_state ( ) { <nl> hit_on_purpose ( ) ; <nl> <nl> # if ENABLED ( ABORT_ON_ENDSTOP_HIT_FEATURE_ENABLED ) & & ENABLED ( SDSUPPORT ) <nl> - if ( stepper . abort_on_endstop_hit ) { <nl> + if ( planner . abort_on_endstop_hit ) { <nl> card . sdprinting = false ; <nl> card . closefile ( ) ; <nl> quickstop_stepper ( ) ; <nl> void Endstops : : update ( ) { <nl> UPDATE_ENDSTOP_BIT ( AXIS , MINMAX ) ; \ <nl> if ( TEST_ENDSTOP ( _ENDSTOP ( AXIS , MINMAX ) ) ) { \ <nl> _ENDSTOP_HIT ( AXIS , MINMAX ) ; \ <nl> - stepper . endstop_triggered ( _AXIS ( AXIS ) ) ; \ <nl> + planner . endstop_triggered ( _AXIS ( AXIS ) ) ; \ <nl> } \ <nl> } while ( 0 ) <nl> <nl> void Endstops : : update ( ) { <nl> if ( G38_move ) { <nl> UPDATE_ENDSTOP_BIT ( Z , MIN_PROBE ) ; <nl> if ( TEST_ENDSTOP ( _ENDSTOP ( Z , MIN_PROBE ) ) ) { <nl> - if ( stepper . current_block - > steps [ _AXIS ( X ) ] > 0 ) { _ENDSTOP_HIT ( X , MIN ) ; stepper . endstop_triggered ( _AXIS ( X ) ) ; } <nl> - else if ( stepper . current_block - > steps [ _AXIS ( Y ) ] > 0 ) { _ENDSTOP_HIT ( Y , MIN ) ; stepper . endstop_triggered ( _AXIS ( Y ) ) ; } <nl> - else if ( stepper . current_block - > steps [ _AXIS ( Z ) ] > 0 ) { _ENDSTOP_HIT ( Z , MIN ) ; stepper . endstop_triggered ( _AXIS ( Z ) ) ; } <nl> + if ( stepper . current_block - > steps [ _AXIS ( X ) ] > 0 ) { _ENDSTOP_HIT ( X , MIN ) ; planner . endstop_triggered ( _AXIS ( X ) ) ; } <nl> + else if ( stepper . current_block - > steps [ _AXIS ( Y ) ] > 0 ) { _ENDSTOP_HIT ( Y , MIN ) ; planner . endstop_triggered ( _AXIS ( Y ) ) ; } <nl> + else if ( stepper . current_block - > steps [ _AXIS ( Z ) ] > 0 ) { _ENDSTOP_HIT ( Z , MIN ) ; planner . endstop_triggered ( _AXIS ( Z ) ) ; } <nl> G38_endstop_hit = true ; <nl> } <nl> } <nl> mmm a / Marlin / src / module / motion . cpp <nl> ppp b / Marlin / src / module / motion . cpp <nl> float soft_endstop_min [ XYZ ] = { X_MIN_BED , Y_MIN_BED , Z_MIN_POS } , <nl> # if ENABLED ( SCARA_FEEDRATE_SCALING ) <nl> / / For SCARA scale the feed rate from mm / s to degrees / s <nl> / / i . e . , Complete the angular vector in the given time . <nl> - planner . buffer_segment ( delta [ A_AXIS ] , delta [ B_AXIS ] , raw [ Z_AXIS ] , raw [ E_AXIS ] , HYPOT ( delta [ A_AXIS ] - oldA , delta [ B_AXIS ] - oldB ) * inverse_secs , active_extruder ) ; <nl> + if ( ! planner . buffer_segment ( delta [ A_AXIS ] , delta [ B_AXIS ] , raw [ Z_AXIS ] , raw [ E_AXIS ] , HYPOT ( delta [ A_AXIS ] - oldA , delta [ B_AXIS ] - oldB ) * inverse_secs , active_extruder ) ) <nl> + break ; <nl> / * <nl> SERIAL_ECHO ( segments ) ; <nl> SERIAL_ECHOPAIR ( " : X = " , raw [ X_AXIS ] ) ; SERIAL_ECHOPAIR ( " Y = " , raw [ Y_AXIS ] ) ; <nl> float soft_endstop_min [ XYZ ] = { X_MIN_BED , Y_MIN_BED , Z_MIN_POS } , <nl> / / * / <nl> oldA = delta [ A_AXIS ] ; oldB = delta [ B_AXIS ] ; <nl> # else <nl> - planner . buffer_line ( delta [ A_AXIS ] , delta [ B_AXIS ] , delta [ C_AXIS ] , raw [ E_AXIS ] , _feedrate_mm_s , active_extruder , cartesian_segment_mm ) ; <nl> + if ( ! planner . buffer_line ( delta [ A_AXIS ] , delta [ B_AXIS ] , delta [ C_AXIS ] , raw [ E_AXIS ] , _feedrate_mm_s , active_extruder , cartesian_segment_mm ) ) <nl> + break ; <nl> # endif <nl> } <nl> <nl> float soft_endstop_min [ XYZ ] = { X_MIN_BED , Y_MIN_BED , Z_MIN_POS } , <nl> idle ( ) ; <nl> } <nl> LOOP_XYZE ( i ) raw [ i ] + = segment_distance [ i ] ; <nl> - planner . buffer_line_kinematic ( raw , fr_mm_s , active_extruder , cartesian_segment_mm ) ; <nl> + if ( ! planner . buffer_line_kinematic ( raw , fr_mm_s , active_extruder , cartesian_segment_mm ) ) <nl> + break ; <nl> } <nl> <nl> / / Since segment_distance is only approximate , <nl> float soft_endstop_min [ XYZ ] = { X_MIN_BED , Y_MIN_BED , Z_MIN_POS } , <nl> } <nl> / / unpark extruder : 1 ) raise , 2 ) move into starting XY position , 3 ) lower <nl> for ( uint8_t i = 0 ; i < 3 ; i + + ) <nl> - planner . buffer_line ( <nl> + if ( ! planner . buffer_line ( <nl> i = = 0 ? raised_parked_position [ X_AXIS ] : current_position [ X_AXIS ] , <nl> i = = 0 ? raised_parked_position [ Y_AXIS ] : current_position [ Y_AXIS ] , <nl> i = = 2 ? current_position [ Z_AXIS ] : raised_parked_position [ Z_AXIS ] , <nl> current_position [ E_AXIS ] , <nl> i = = 1 ? PLANNER_XY_FEEDRATE ( ) : planner . max_feedrate_mm_s [ Z_AXIS ] , <nl> - active_extruder <nl> - ) ; <nl> + active_extruder ) <nl> + ) break ; <nl> delayed_move_time = 0 ; <nl> active_extruder_parked = false ; <nl> # if ENABLED ( DEBUG_LEVELING_FEATURE ) <nl> float soft_endstop_min [ XYZ ] = { X_MIN_BED , Y_MIN_BED , Z_MIN_POS } , <nl> # endif <nl> / / move duplicate extruder into correct duplication position . <nl> planner . set_position_mm ( inactive_extruder_x_pos , current_position [ Y_AXIS ] , current_position [ Z_AXIS ] , current_position [ E_AXIS ] ) ; <nl> - planner . buffer_line ( <nl> + if ( ! planner . buffer_line ( <nl> current_position [ X_AXIS ] + duplicate_extruder_x_offset , <nl> current_position [ Y_AXIS ] , current_position [ Z_AXIS ] , current_position [ E_AXIS ] , <nl> - planner . max_feedrate_mm_s [ X_AXIS ] , 1 <nl> - ) ; <nl> + planner . max_feedrate_mm_s [ X_AXIS ] , 1 ) <nl> + ) break ; <nl> planner . synchronize ( ) ; <nl> SYNC_PLAN_POSITION_KINEMATIC ( ) ; <nl> extruder_duplication_enabled = true ; <nl> mmm a / Marlin / src / module / planner . cpp <nl> ppp b / Marlin / src / module / planner . cpp <nl> Planner planner ; <nl> * A ring buffer of moves described in steps <nl> * / <nl> block_t Planner : : block_buffer [ BLOCK_BUFFER_SIZE ] ; <nl> - volatile uint8_t Planner : : block_buffer_head , / / Index of the next block to be pushed <nl> - Planner : : block_buffer_tail ; <nl> + volatile uint8_t Planner : : block_buffer_head , / / Index of the next block to be pushed <nl> + Planner : : block_buffer_tail ; / / Index of the busy block , if any <nl> + uint16_t Planner : : cleaning_buffer_counter ; / / A counter to disable queuing of blocks <nl> <nl> - float Planner : : max_feedrate_mm_s [ XYZE_N ] , / / Max speeds in mm per second <nl> + float Planner : : max_feedrate_mm_s [ XYZE_N ] , / / Max speeds in mm per second <nl> Planner : : axis_steps_per_mm [ XYZE_N ] , <nl> Planner : : steps_to_mm [ XYZE_N ] ; <nl> <nl> + # if ENABLED ( ABORT_ON_ENDSTOP_HIT_FEATURE_ENABLED ) <nl> + bool Planner : : abort_on_endstop_hit = false ; <nl> + # endif <nl> + <nl> # if ENABLED ( DISTINCT_E_FACTORS ) <nl> uint8_t Planner : : last_extruder = 0 ; / / Respond to extruder change <nl> # endif <nl> int32_t Planner : : position [ NUM_AXIS ] = { 0 } ; <nl> uint32_t Planner : : cutoff_long ; <nl> <nl> float Planner : : previous_speed [ NUM_AXIS ] , <nl> - Planner : : previous_nominal_speed ; <nl> + Planner : : previous_nominal_speed_sqr ; <nl> <nl> # if ENABLED ( DISABLE_INACTIVE_EXTRUDER ) <nl> uint8_t Planner : : g_uc_extruder_last_move [ EXTRUDERS ] = { 0 } ; <nl> void Planner : : init ( ) { <nl> ZERO ( position_float ) ; <nl> # endif <nl> ZERO ( previous_speed ) ; <nl> - previous_nominal_speed = 0 . 0 ; <nl> + previous_nominal_speed_sqr = 0 . 0 ; <nl> # if ABL_PLANAR <nl> bed_level_matrix . set_to_identity ( ) ; <nl> # endif <nl> void Planner : : init ( ) { <nl> / / <nl> static uint32_t get_period_inverse ( uint32_t d ) { <nl> <nl> - static const uint8_t inv_tab [ 256 ] PROGMEM = { <nl> + static const uint8_t inv_tab [ 256 ] PROGMEM = { <nl> 255 , 253 , 252 , 250 , 248 , 246 , 244 , 242 , 240 , 238 , 236 , 234 , 233 , 231 , 229 , 227 , <nl> 225 , 224 , 222 , 220 , 218 , 217 , 215 , 213 , 212 , 210 , 208 , 207 , 205 , 203 , 202 , 200 , <nl> 199 , 197 , 195 , 194 , 192 , 191 , 189 , 188 , 186 , 185 , 183 , 182 , 180 , 179 , 178 , 176 , <nl> void Planner : : init ( ) { <nl> } <nl> # else <nl> / / All the other 32 CPUs can easily perform the inverse using hardware division , <nl> - / / so we don ´ t need to reduce precision or to use assembly language at all . <nl> - <nl> + / / so we don ' t need to reduce precision or to use assembly language at all . <nl> / / This routine , for all the other archs , returns 0x100000000 / d ~ = 0xFFFFFFFF / d <nl> - static FORCE_INLINE uint32_t get_period_inverse ( uint32_t d ) { <nl> - return 0xFFFFFFFF / d ; <nl> - } <nl> + static FORCE_INLINE uint32_t get_period_inverse ( const uint32_t d ) { return 0xFFFFFFFF / d ; } <nl> # endif <nl> # endif <nl> <nl> void Planner : : init ( ) { <nl> * by the provided factors . <nl> * / <nl> void Planner : : calculate_trapezoid_for_block ( block_t * const block , const float & entry_factor , const float & exit_factor ) { <nl> + <nl> uint32_t initial_rate = CEIL ( block - > nominal_rate * entry_factor ) , <nl> final_rate = CEIL ( block - > nominal_rate * exit_factor ) ; / / ( steps per second ) <nl> <nl> void Planner : : calculate_trapezoid_for_block ( block_t * const block , const float & e <nl> const int32_t accel = block - > acceleration_steps_per_s2 ; <nl> <nl> / / Steps required for acceleration , deceleration to / from nominal rate <nl> - int32_t accelerate_steps = CEIL ( estimate_acceleration_distance ( initial_rate , block - > nominal_rate , accel ) ) , <nl> - decelerate_steps = FLOOR ( estimate_acceleration_distance ( block - > nominal_rate , final_rate , - accel ) ) , <nl> + uint32_t accelerate_steps = CEIL ( estimate_acceleration_distance ( initial_rate , block - > nominal_rate , accel ) ) , <nl> + decelerate_steps = FLOOR ( estimate_acceleration_distance ( block - > nominal_rate , final_rate , - accel ) ) ; <nl> / / Steps between acceleration and deceleration , if any <nl> - plateau_steps = block - > step_event_count - accelerate_steps - decelerate_steps ; <nl> + int32_t plateau_steps = block - > step_event_count - accelerate_steps - decelerate_steps ; <nl> <nl> / / Does accelerate_steps + decelerate_steps exceed step_event_count ? <nl> / / Then we can ' t possibly reach the nominal rate , there will be no cruising . <nl> / / Use intersection_distance ( ) to calculate accel / braking time in order to <nl> / / reach the final_rate exactly at the end of this block . <nl> if ( plateau_steps < 0 ) { <nl> - accelerate_steps = CEIL ( intersection_distance ( initial_rate , final_rate , accel , block - > step_event_count ) ) ; <nl> - NOLESS ( accelerate_steps , 0 ) ; / / Check limits due to numerical round - off <nl> - accelerate_steps = min ( ( uint32_t ) accelerate_steps , block - > step_event_count ) ; / / ( We can cast here to unsigned , because the above line ensures that we are above zero ) <nl> + const float accelerate_steps_float = CEIL ( intersection_distance ( initial_rate , final_rate , accel , block - > step_event_count ) ) ; <nl> + accelerate_steps = MIN ( uint32_t ( MAX ( accelerate_steps_float , 0 ) ) , block - > step_event_count ) ; <nl> plateau_steps = 0 ; <nl> <nl> # if ENABLED ( BEZIER_JERK_CONTROL ) <nl> void Planner : : calculate_trapezoid_for_block ( block_t * const block , const float & e <nl> <nl> # endif <nl> <nl> - CRITICAL_SECTION_START ; / / Fill variables used by the stepper in a critical section <nl> + / / Fill variables used by the stepper in a critical section <nl> + const bool was_enabled = STEPPER_ISR_ENABLED ( ) ; <nl> + if ( was_enabled ) DISABLE_STEPPER_DRIVER_INTERRUPT ( ) ; <nl> + <nl> if ( ! TEST ( block - > flag , BLOCK_BIT_BUSY ) ) { / / Don ' t update variables if block is busy . <nl> block - > accelerate_until = accelerate_steps ; <nl> block - > decelerate_after = accelerate_steps + plateau_steps ; <nl> void Planner : : calculate_trapezoid_for_block ( block_t * const block , const float & e <nl> # endif <nl> block - > final_rate = final_rate ; <nl> } <nl> - CRITICAL_SECTION_END ; <nl> + if ( was_enabled ) ENABLE_STEPPER_DRIVER_INTERRUPT ( ) ; <nl> } <nl> <nl> - / / " Junction jerk " in this context is the immediate change in speed at the junction of two blocks . <nl> - / / This method will calculate the junction jerk as the euclidean distance between the nominal <nl> - / / velocities of the respective blocks . <nl> - / / inline float junction_jerk ( block_t * before , block_t * after ) { <nl> - / / return SQRT ( <nl> - / / POW ( ( before - > speed_x - after - > speed_x ) , 2 ) + POW ( ( before - > speed_y - after - > speed_y ) , 2 ) ) ; <nl> - / / } <nl> - <nl> / / The kernel called by recalculate ( ) when scanning the plan from last to first entry . <nl> - void Planner : : reverse_pass_kernel ( block_t * const current , const block_t * const next ) { <nl> - if ( current & & next ) { <nl> - / / If entry speed is already at the maximum entry speed , no need to recheck . Block is cruising . <nl> - / / If not , block in state of acceleration or deceleration . Reset entry speed to maximum and <nl> - / / check for maximum allowable speed reductions to ensure maximum possible planned speed . <nl> - const float max_entry_speed = current - > max_entry_speed ; <nl> - if ( current - > entry_speed ! = max_entry_speed | | TEST ( next - > flag , BLOCK_BIT_RECALCULATE ) ) { <nl> - / / If nominal length true , max junction speed is guaranteed to be reached . Only compute <nl> - / / for max allowable speed if block is decelerating and nominal length is false . <nl> - const float new_entry_speed = ( TEST ( current - > flag , BLOCK_BIT_NOMINAL_LENGTH ) | | max_entry_speed < = next - > entry_speed ) <nl> - ? max_entry_speed <nl> - : MIN ( max_entry_speed , max_allowable_speed ( - current - > acceleration , next - > entry_speed , current - > millimeters ) ) ; <nl> - if ( new_entry_speed ! = current - > entry_speed ) { <nl> - current - > entry_speed = new_entry_speed ; <nl> + void Planner : : reverse_pass_kernel ( block_t * const current , const block_t * const next ) { <nl> + if ( current ) { <nl> + / / If entry speed is already at the maximum entry speed , and there was no change of speed <nl> + / / in the next block , there is no need to recheck . Block is cruising and there is no need to <nl> + / / compute anything for this block , <nl> + / / If not , block entry speed needs to be recalculated to ensure maximum possible planned speed . <nl> + const float max_entry_speed_sqr = current - > max_entry_speed_sqr ; <nl> + <nl> + / / Compute maximum entry speed decelerating over the current block from its exit speed . <nl> + / / If not at the maximum entry speed , or the previous block entry speed changed <nl> + if ( current - > entry_speed_sqr ! = max_entry_speed_sqr | | ( next & & TEST ( next - > flag , BLOCK_BIT_RECALCULATE ) ) ) { <nl> + <nl> + / / If nominal length true , max junction speed is guaranteed to be reached . <nl> + / / If a block can de / ac - celerate from nominal speed to zero within the length of the block , then <nl> + / / the current block and next block junction speeds are guaranteed to always be at their maximum <nl> + / / junction speeds in deceleration and acceleration , respectively . This is due to how the current <nl> + / / block nominal speed limits both the current and next maximum junction speeds . Hence , in both <nl> + / / the reverse and forward planners , the corresponding block junction speed will always be at the <nl> + / / the maximum junction speed and may always be ignored for any speed reduction checks . <nl> + <nl> + const float new_entry_speed_sqr = TEST ( current - > flag , BLOCK_BIT_NOMINAL_LENGTH ) <nl> + ? max_entry_speed_sqr <nl> + : MIN ( max_entry_speed_sqr , max_allowable_speed_sqr ( - current - > acceleration , next ? next - > entry_speed_sqr : sq ( MINIMUM_PLANNER_SPEED ) , current - > millimeters ) ) ; <nl> + if ( current - > entry_speed_sqr ! = new_entry_speed_sqr ) { <nl> + current - > entry_speed_sqr = new_entry_speed_sqr ; <nl> SBI ( current - > flag , BLOCK_BIT_RECALCULATE ) ; <nl> } <nl> } <nl> void Planner : : reverse_pass ( ) { <nl> if ( movesplanned ( ) > 2 ) { <nl> const uint8_t endnr = next_block_index ( block_buffer_tail ) ; / / tail is running . tail + 1 shouldn ' t be altered because it ' s connected to the running block . <nl> uint8_t blocknr = prev_block_index ( block_buffer_head ) ; <nl> - block_t * current = & block_buffer [ blocknr ] ; <nl> - <nl> - / / Last / newest block in buffer : <nl> - const float max_entry_speed = current - > max_entry_speed ; <nl> - if ( current - > entry_speed ! = max_entry_speed ) { <nl> - / / If nominal length true , max junction speed is guaranteed to be reached . Only compute <nl> - / / for max allowable speed if block is decelerating and nominal length is false . <nl> - const float new_entry_speed = TEST ( current - > flag , BLOCK_BIT_NOMINAL_LENGTH ) <nl> - ? max_entry_speed <nl> - : MIN ( max_entry_speed , max_allowable_speed ( - current - > acceleration , MINIMUM_PLANNER_SPEED , current - > millimeters ) ) ; <nl> - if ( current - > entry_speed ! = new_entry_speed ) { <nl> - current - > entry_speed = new_entry_speed ; <nl> - SBI ( current - > flag , BLOCK_BIT_RECALCULATE ) ; <nl> - } <nl> - } <nl> <nl> - do { <nl> - const block_t * const next = current ; <nl> - blocknr = prev_block_index ( blocknr ) ; <nl> + / / Perform the reverse pass <nl> + block_t * current , * next = NULL ; <nl> + while ( blocknr ! = endnr ) { <nl> + / / Perform the reverse pass - Only consider non sync blocks <nl> current = & block_buffer [ blocknr ] ; <nl> - reverse_pass_kernel ( current , next ) ; <nl> - } while ( blocknr ! = endnr ) ; <nl> + if ( ! TEST ( current - > flag , BLOCK_BIT_SYNC_POSITION ) ) { <nl> + reverse_pass_kernel ( current , next ) ; <nl> + next = current ; <nl> + } <nl> + / / Advance to the next <nl> + blocknr = prev_block_index ( blocknr ) ; <nl> + } <nl> } <nl> } <nl> <nl> / / The kernel called by recalculate ( ) when scanning the plan from first to last entry . <nl> - void Planner : : forward_pass_kernel ( const block_t * const previous , block_t * const current ) { <nl> + void Planner : : forward_pass_kernel ( const block_t * const previous , block_t * const current ) { <nl> if ( previous ) { <nl> / / If the previous block is an acceleration block , too short to complete the full speed <nl> / / change , adjust the entry speed accordingly . Entry speeds have already been reset , <nl> / / maximized , and reverse - planned . If nominal length is set , max junction speed is <nl> / / guaranteed to be reached . No need to recheck . <nl> if ( ! TEST ( previous - > flag , BLOCK_BIT_NOMINAL_LENGTH ) ) { <nl> - if ( previous - > entry_speed < current - > entry_speed ) { <nl> - const float new_entry_speed = MIN ( current - > entry_speed , max_allowable_speed ( - previous - > acceleration , previous - > entry_speed , previous - > millimeters ) ) ; <nl> - / / Check for junction speed change <nl> - if ( current - > entry_speed ! = new_entry_speed ) { <nl> - current - > entry_speed = new_entry_speed ; <nl> + if ( previous - > entry_speed_sqr < current - > entry_speed_sqr ) { <nl> + / / Compute the maximum allowable speed <nl> + const float new_entry_speed_sqr = max_allowable_speed_sqr ( - previous - > acceleration , previous - > entry_speed_sqr , previous - > millimeters ) ; <nl> + / / If true , current block is full - acceleration <nl> + if ( current - > entry_speed_sqr > new_entry_speed_sqr ) { <nl> + / / Always < = max_entry_speed_sqr . Backward pass sets this . <nl> + current - > entry_speed_sqr = new_entry_speed_sqr ; <nl> SBI ( current - > flag , BLOCK_BIT_RECALCULATE ) ; <nl> } <nl> } <nl> void Planner : : forward_pass_kernel ( const block_t * const previous , block_t * const <nl> * Once in reverse and once forward . This implements the forward pass . <nl> * / <nl> void Planner : : forward_pass ( ) { <nl> - block_t * block [ 3 ] = { NULL , NULL , NULL } ; <nl> - <nl> - for ( uint8_t b = block_buffer_tail ; b ! = block_buffer_head ; b = next_block_index ( b ) ) { <nl> - block [ 0 ] = block [ 1 ] ; <nl> - block [ 1 ] = block [ 2 ] ; <nl> - block [ 2 ] = & block_buffer [ b ] ; <nl> - forward_pass_kernel ( block [ 0 ] , block [ 1 ] ) ; <nl> + const uint8_t endnr = block_buffer_head ; <nl> + uint8_t blocknr = block_buffer_tail ; <nl> + <nl> + / / Perform the forward pass <nl> + block_t * current , * previous = NULL ; <nl> + while ( blocknr ! = endnr ) { <nl> + / / Perform the forward pass - Only consider non - sync blocks <nl> + current = & block_buffer [ blocknr ] ; <nl> + if ( ! TEST ( current - > flag , BLOCK_BIT_SYNC_POSITION ) ) { <nl> + forward_pass_kernel ( previous , current ) ; <nl> + previous = current ; <nl> + } <nl> + / / Advance to the previous <nl> + blocknr = next_block_index ( blocknr ) ; <nl> } <nl> - forward_pass_kernel ( block [ 1 ] , block [ 2 ] ) ; <nl> } <nl> <nl> / * * <nl> void Planner : : forward_pass ( ) { <nl> * recalculate ( ) after updating the blocks . <nl> * / <nl> void Planner : : recalculate_trapezoids ( ) { <nl> - int8_t block_index = block_buffer_tail ; <nl> - block_t * current , * next = NULL ; <nl> + uint8_t block_index = block_buffer_tail ; <nl> + <nl> + / / As there could be a sync block in the head of the queue , and the next loop must not <nl> + / / recalculate the head block ( as it needs to be specially handled ) , scan backwards until <nl> + / / we find the first non SYNC block <nl> + uint8_t head_block_index = block_buffer_head ; <nl> + while ( head_block_index ! = block_index ) { <nl> + <nl> + / / Go back ( head always point to the first free block ) <nl> + uint8_t prev_index = prev_block_index ( head_block_index ) ; <nl> + <nl> + / / Get the pointer to the block <nl> + block_t * prev = & block_buffer [ prev_index ] ; <nl> + <nl> + / / If not dealing with a sync block , we are done . The last block is not a SYNC block <nl> + if ( ! TEST ( prev - > flag , BLOCK_BIT_SYNC_POSITION ) ) break ; <nl> + <nl> + / / Examine the previous block . This and all following are SYNC blocks <nl> + head_block_index = prev_index ; <nl> + } ; <nl> + <nl> + / / Go from the tail ( currently executed block ) to the first block , without including it ) <nl> + block_t * current = NULL , * next = NULL ; <nl> + float current_entry_speed = 0 . 0 , next_entry_speed = 0 . 0 ; <nl> + while ( block_index ! = head_block_index ) { <nl> <nl> - while ( block_index ! = block_buffer_head ) { <nl> - current = next ; <nl> next = & block_buffer [ block_index ] ; <nl> - if ( current ) { <nl> - / / Recalculate if current block entry or exit junction speed has changed . <nl> - if ( TEST ( current - > flag , BLOCK_BIT_RECALCULATE ) | | TEST ( next - > flag , BLOCK_BIT_RECALCULATE ) ) { <nl> - / / NOTE : Entry and exit factors always > 0 by all previous logic operations . <nl> - const float nomr = 1 . 0 / current - > nominal_speed ; <nl> - calculate_trapezoid_for_block ( current , current - > entry_speed * nomr , next - > entry_speed * nomr ) ; <nl> - # if ENABLED ( LIN_ADVANCE ) <nl> - if ( current - > use_advance_lead ) { <nl> - const float comp = current - > e_D_ratio * extruder_advance_K * axis_steps_per_mm [ E_AXIS ] ; <nl> - current - > max_adv_steps = current - > nominal_speed * comp ; <nl> - current - > final_adv_steps = next - > entry_speed * comp ; <nl> - } <nl> - # endif <nl> - CBI ( current - > flag , BLOCK_BIT_RECALCULATE ) ; / / Reset current only to ensure next trapezoid is computed <nl> + <nl> + / / Skip sync blocks <nl> + if ( ! TEST ( next - > flag , BLOCK_BIT_SYNC_POSITION ) ) { <nl> + next_entry_speed = SQRT ( next - > entry_speed_sqr ) ; <nl> + <nl> + if ( current ) { <nl> + / / Recalculate if current block entry or exit junction speed has changed . <nl> + if ( TEST ( current - > flag , BLOCK_BIT_RECALCULATE ) | | TEST ( next - > flag , BLOCK_BIT_RECALCULATE ) ) { <nl> + / / NOTE : Entry and exit factors always > 0 by all previous logic operations . <nl> + const float current_nominal_speed = SQRT ( current - > nominal_speed_sqr ) , <nl> + nomr = 1 . 0 / current_nominal_speed ; <nl> + calculate_trapezoid_for_block ( current , current_entry_speed * nomr , next_entry_speed * nomr ) ; <nl> + # if ENABLED ( LIN_ADVANCE ) <nl> + if ( current - > use_advance_lead ) { <nl> + const float comp = current - > e_D_ratio * extruder_advance_K * axis_steps_per_mm [ E_AXIS ] ; <nl> + current - > max_adv_steps = current_nominal_speed * comp ; <nl> + current - > final_adv_steps = next_entry_speed * comp ; <nl> + } <nl> + # endif <nl> + CBI ( current - > flag , BLOCK_BIT_RECALCULATE ) ; / / Reset current only to ensure next trapezoid is computed <nl> + } <nl> } <nl> + <nl> + current = next ; <nl> + current_entry_speed = next_entry_speed ; <nl> } <nl> + <nl> block_index = next_block_index ( block_index ) ; <nl> } <nl> + <nl> / / Last / newest block in buffer . Exit speed is set with MINIMUM_PLANNER_SPEED . Always recalculated . <nl> if ( next ) { <nl> - const float nomr = 1 . 0 / next - > nominal_speed ; <nl> - calculate_trapezoid_for_block ( next , next - > entry_speed * nomr , ( MINIMUM_PLANNER_SPEED ) * nomr ) ; <nl> + const float next_nominal_speed = SQRT ( next - > nominal_speed_sqr ) , <nl> + nomr = 1 . 0 / next_nominal_speed ; <nl> + calculate_trapezoid_for_block ( next , next_entry_speed * nomr , ( MINIMUM_PLANNER_SPEED ) * nomr ) ; <nl> # if ENABLED ( LIN_ADVANCE ) <nl> if ( next - > use_advance_lead ) { <nl> const float comp = next - > e_D_ratio * extruder_advance_K * axis_steps_per_mm [ E_AXIS ] ; <nl> - next - > max_adv_steps = next - > nominal_speed * comp ; <nl> + next - > max_adv_steps = next_nominal_speed * comp ; <nl> next - > final_adv_steps = ( MINIMUM_PLANNER_SPEED ) * comp ; <nl> } <nl> # endif <nl> void Planner : : recalculate ( ) { <nl> for ( uint8_t b = block_buffer_tail ; b ! = block_buffer_head ; b = next_block_index ( b ) ) { <nl> block_t * block = & block_buffer [ b ] ; <nl> if ( block - > steps [ X_AXIS ] | | block - > steps [ Y_AXIS ] | | block - > steps [ Z_AXIS ] ) { <nl> - float se = ( float ) block - > steps [ E_AXIS ] / block - > step_event_count * block - > nominal_speed ; / / mm / sec ; <nl> + const float se = ( float ) block - > steps [ E_AXIS ] / block - > step_event_count * SQRT ( block - > nominal_speed_sqr ) ; / / mm / sec ; <nl> NOLESS ( high , se ) ; <nl> } <nl> } <nl> void Planner : : check_axes_activity ( ) { <nl> <nl> # endif / / PLANNER_LEVELING <nl> <nl> + void Planner : : quick_stop ( ) { <nl> + / / Remove all the queued blocks . Note that this function is NOT <nl> + / / called from the Stepper ISR , so we must consider tail as readonly ! <nl> + / / that is why we set head to tail ! <nl> + block_buffer_head = block_buffer_tail ; <nl> + <nl> + # if ENABLED ( ULTRA_LCD ) <nl> + / / Clear the accumulated runtime <nl> + clear_block_buffer_runtime ( ) ; <nl> + # endif <nl> + <nl> + / / Make sure to drop any attempt of queuing moves for at least 1 second <nl> + cleaning_buffer_counter = 1000 ; <nl> + <nl> + / / And stop the stepper ISR <nl> + stepper . quick_stop ( ) ; <nl> + } <nl> + <nl> + void Planner : : endstop_triggered ( const AxisEnum axis ) { <nl> + <nl> + / * NB : This will be called via endstops . update ( ) <nl> + and endstops . update ( ) can be called from the temperature <nl> + ISR . So Stepper interrupts are enabled * / <nl> + <nl> + / / Disable stepper ISR <nl> + bool stepper_isr_enabled = STEPPER_ISR_ENABLED ( ) ; <nl> + DISABLE_STEPPER_DRIVER_INTERRUPT ( ) ; <nl> + <nl> + / / Record stepper position <nl> + stepper . endstop_triggered ( axis ) ; <nl> + <nl> + / / Discard the active block that led to the trigger <nl> + discard_current_block ( ) ; <nl> + <nl> + / / Discard the CONTINUED block , if any . Note the planner can only queue 1 continued <nl> + / / block after a previous non continued block , as the condition to queue them <nl> + / / is that there are no queued blocks at the time a new block is queued . <nl> + const bool discard = has_blocks_queued ( ) & & TEST ( block_buffer [ block_buffer_tail ] . flag , BLOCK_BIT_CONTINUED ) ; <nl> + if ( discard ) discard_current_block ( ) ; <nl> + <nl> + / / Reenable stepper ISR if it was enabled <nl> + if ( stepper_isr_enabled ) ENABLE_STEPPER_DRIVER_INTERRUPT ( ) ; <nl> + } <nl> + <nl> + float Planner : : triggered_position_mm ( const AxisEnum axis ) { <nl> + return stepper . triggered_position ( axis ) * steps_to_mm [ axis ] ; <nl> + } <nl> + <nl> + void Planner : : finish_and_disable ( ) { <nl> + while ( has_blocks_queued ( ) | | cleaning_buffer_counter ) idle ( ) ; <nl> + disable_all_steppers ( ) ; <nl> + } <nl> + <nl> / * * <nl> * Get an axis position according to stepper position ( s ) <nl> * For CORE machines apply translation from ABC to XYZ . <nl> float Planner : : get_axis_position_mm ( const AxisEnum axis ) { <nl> <nl> / / Protect the access to the position . <nl> const bool was_enabled = STEPPER_ISR_ENABLED ( ) ; <nl> - DISABLE_STEPPER_DRIVER_INTERRUPT ( ) ; <nl> + if ( was_enabled ) DISABLE_STEPPER_DRIVER_INTERRUPT ( ) ; <nl> <nl> / / ( ( a1 + a2 ) + ( a1 - a2 ) ) / 2 - > ( a1 + a2 + a1 - a2 ) / 2 - > ( a1 + a1 ) / 2 - > a1 <nl> / / ( ( a1 + a2 ) - ( a1 - a2 ) ) / 2 - > ( a1 + a2 - a1 + a2 ) / 2 - > ( a2 + a2 ) / 2 - > a2 <nl> float Planner : : get_axis_position_mm ( const AxisEnum axis ) { <nl> / * * <nl> * Block until all buffered steps are executed / cleaned <nl> * / <nl> - void Planner : : synchronize ( ) { while ( has_blocks_queued ( ) | | stepper . cleaning_buffer_counter ) idle ( ) ; } <nl> + void Planner : : synchronize ( ) { while ( has_blocks_queued ( ) | | cleaning_buffer_counter ) idle ( ) ; } <nl> <nl> / * * <nl> * Planner : : _buffer_steps <nl> * <nl> - * Add a new linear movement to the buffer ( in terms of steps ) . <nl> + * Add a new linear movement to the planner queue ( in terms of steps ) . <nl> + * <nl> + * target - target position in steps units <nl> + * fr_mm_s - ( target ) speed of the move <nl> + * extruder - target extruder <nl> + * millimeters - the length of the movement , if known <nl> + * <nl> + * Returns true if movement was properly queued , false otherwise <nl> + * / <nl> + bool Planner : : _buffer_steps ( const int32_t ( & target ) [ XYZE ] <nl> + # if HAS_POSITION_FLOAT <nl> + , const float ( & target_float ) [ XYZE ] <nl> + # endif <nl> + , float fr_mm_s , const uint8_t extruder , const float & millimeters <nl> + ) { <nl> + <nl> + / / If we are cleaning , do not accept queuing of movements <nl> + if ( cleaning_buffer_counter ) return false ; <nl> + <nl> + / / Wait for the next available block <nl> + uint8_t next_buffer_head ; <nl> + block_t * const block = get_next_free_block ( next_buffer_head ) ; <nl> + <nl> + / / Fill the block with the specified movement <nl> + if ( ! _populate_block ( block , false , target <nl> + # if HAS_POSITION_FLOAT <nl> + , target_float <nl> + # endif <nl> + , fr_mm_s , extruder , millimeters <nl> + ) ) { <nl> + / / Movement was not queued , probably because it was too short . <nl> + / / Simply accept that as movement queued and done <nl> + return true ; <nl> + } <nl> + <nl> + / / Move buffer head <nl> + block_buffer_head = next_buffer_head ; <nl> + <nl> + / / Recalculate and optimize trapezoidal speed profiles <nl> + recalculate ( ) ; <nl> + <nl> + / / Movement successfully queued ! <nl> + return true ; <nl> + } <nl> + <nl> + / * * <nl> + * Planner : : _populate_block <nl> + * <nl> + * Fills a new linear movement in the block ( in terms of steps ) . <nl> * <nl> * target - target position in steps units <nl> * fr_mm_s - ( target ) speed of the move <nl> * extruder - target extruder <nl> + * <nl> + * Returns true is movement is acceptable , false otherwise <nl> * / <nl> - void Planner : : _buffer_steps ( const int32_t ( & target ) [ XYZE ] <nl> + bool Planner : : _populate_block ( block_t * const block , bool split_move , <nl> + const int32_t ( & target ) [ XYZE ] <nl> # if HAS_POSITION_FLOAT <nl> , const float ( & target_float ) [ XYZE ] <nl> # endif <nl> void Planner : : _buffer_steps ( const int32_t ( & target ) [ XYZE ] <nl> int32_t de = target [ E_AXIS ] - position [ E_AXIS ] ; <nl> <nl> / * < - - add a slash to enable <nl> - SERIAL_ECHOPAIR ( " _buffer_steps FR : " , fr_mm_s ) ; <nl> + SERIAL_ECHOPAIR ( " _populate_block FR : " , fr_mm_s ) ; <nl> SERIAL_ECHOPAIR ( " A : " , target [ A_AXIS ] ) ; <nl> SERIAL_ECHOPAIR ( " ( " , da ) ; <nl> SERIAL_ECHOPAIR ( " steps ) B : " , target [ B_AXIS ] ) ; <nl> void Planner : : _buffer_steps ( const int32_t ( & target ) [ XYZE ] <nl> const float esteps_float = de * e_factor [ extruder ] ; <nl> const int32_t esteps = ABS ( esteps_float ) + 0 . 5 ; <nl> <nl> - / / Wait for the next available block <nl> - uint8_t next_buffer_head ; <nl> - block_t * const block = get_next_free_block ( next_buffer_head ) ; <nl> - <nl> / / Clear all flags , including the " busy " bit <nl> block - > flag = 0x00 ; <nl> <nl> void Planner : : _buffer_steps ( const int32_t ( & target ) [ XYZE ] <nl> block - > step_event_count = MAX4 ( block - > steps [ A_AXIS ] , block - > steps [ B_AXIS ] , block - > steps [ C_AXIS ] , esteps ) ; <nl> <nl> / / Bail if this is a zero - length block <nl> - if ( block - > step_event_count < MIN_STEPS_PER_SEGMENT ) return ; <nl> + if ( block - > step_event_count < MIN_STEPS_PER_SEGMENT ) return false ; <nl> <nl> / / For a mixing extruder , get a magnified step_event_count for each <nl> # if ENABLED ( MIXING_EXTRUDER ) <nl> void Planner : : _buffer_steps ( const int32_t ( & target ) [ XYZE ] <nl> # endif <nl> <nl> # if ENABLED ( ULTRA_LCD ) <nl> - CRITICAL_SECTION_START <nl> - block_buffer_runtime_us + = segment_time_us ; <nl> - CRITICAL_SECTION_END <nl> + / / Protect the access to the position . <nl> + const bool was_enabled = STEPPER_ISR_ENABLED ( ) ; <nl> + if ( was_enabled ) DISABLE_STEPPER_DRIVER_INTERRUPT ( ) ; <nl> + <nl> + block_buffer_runtime_us + = segment_time_us ; <nl> + <nl> + if ( was_enabled ) ENABLE_STEPPER_DRIVER_INTERRUPT ( ) ; <nl> # endif <nl> <nl> - block - > nominal_speed = block - > millimeters * inverse_secs ; / / ( mm / sec ) Always > 0 <nl> + block - > nominal_speed_sqr = sq ( block - > millimeters * inverse_secs ) ; / / ( mm / sec ) ^ 2 Always > 0 <nl> block - > nominal_rate = CEIL ( block - > step_event_count * inverse_secs ) ; / / ( step / sec ) Always > 0 <nl> <nl> # if ENABLED ( FILAMENT_WIDTH_SENSOR ) <nl> void Planner : : _buffer_steps ( const int32_t ( & target ) [ XYZE ] <nl> / / Correct the speed <nl> if ( speed_factor < 1 . 0 ) { <nl> LOOP_XYZE ( i ) current_speed [ i ] * = speed_factor ; <nl> - block - > nominal_speed * = speed_factor ; <nl> block - > nominal_rate * = speed_factor ; <nl> + block - > nominal_speed_sqr = block - > nominal_speed_sqr * sq ( speed_factor ) ; <nl> } <nl> <nl> / / Compute and limit the acceleration rate for the trapezoid generator . <nl> void Planner : : _buffer_steps ( const int32_t ( & target ) [ XYZE ] <nl> block - > acceleration_steps_per_s2 = accel ; <nl> block - > acceleration = accel / steps_per_mm ; <nl> # if DISABLED ( BEZIER_JERK_CONTROL ) <nl> - block - > acceleration_rate = ( long ) ( accel * ( 4096 . 0 * 4096 . 0 / ( HAL_STEPPER_TIMER_RATE ) ) ) ; <nl> + block - > acceleration_rate = ( uint32_t ) ( accel * ( 4096 . 0 * 4096 . 0 / ( HAL_STEPPER_TIMER_RATE ) ) ) ; <nl> # endif <nl> # if ENABLED ( LIN_ADVANCE ) <nl> if ( block - > use_advance_lead ) { <nl> block - > advance_speed = ( HAL_STEPPER_TIMER_RATE ) / ( extruder_advance_K * block - > e_D_ratio * block - > acceleration * axis_steps_per_mm [ E_AXIS_N ] ) ; <nl> # if ENABLED ( LA_DEBUG ) <nl> - if ( extruder_advance_K * block - > e_D_ratio * block - > acceleration * 2 < block - > nominal_speed * block - > e_D_ratio ) <nl> + if ( extruder_advance_K * block - > e_D_ratio * block - > acceleration * 2 < SQRT ( block - > nominal_speed_sqr ) * block - > e_D_ratio ) <nl> SERIAL_ECHOLNPGM ( " More than 2 steps per eISR loop executed . " ) ; <nl> if ( block - > advance_speed < 200 ) <nl> SERIAL_ECHOLNPGM ( " eISR running at > 10kHz . " ) ; <nl> void Planner : : _buffer_steps ( const int32_t ( & target ) [ XYZE ] <nl> } <nl> # endif <nl> <nl> - float vmax_junction ; / / Initial limit on the segment entry velocity <nl> + float vmax_junction_sqr ; / / Initial limit on the segment entry velocity ( mm / s ) ^ 2 <nl> <nl> # if ENABLED ( JUNCTION_DEVIATION ) <nl> <nl> void Planner : : _buffer_steps ( const int32_t ( & target ) [ XYZE ] <nl> * changed dynamically during operation nor can the line move geometry . This must be kept in <nl> * memory in the event of a feedrate override changing the nominal speeds of blocks , which can <nl> * change the overall maximum entry speed conditions of all blocks . <nl> - * / <nl> + * <nl> + * # # # # # # # <nl> + * https : / / github . com / MarlinFirmware / Marlin / issues / 10341 # issuecomment - 388191754 <nl> + * <nl> + * hoffbaked : on May 10 2018 tuned and improved the GRBL algorithm for Marlin : <nl> + Okay ! It seems to be working good . I somewhat arbitrarily cut it off at 1mm <nl> + on then on anything with less sides than an octagon . With this , and the <nl> + reverse pass actually recalculating things , a corner acceleration value <nl> + of 1000 junction deviation of . 05 are pretty reasonable . If the cycles <nl> + can be spared , a better acos could be used . For all I know , it may be <nl> + already calculated in a different place . * / <nl> <nl> / / Unit vector of previous path line segment <nl> static float previous_unit_vec [ <nl> void Planner : : _buffer_steps ( const int32_t ( & target ) [ XYZE ] <nl> } ; <nl> <nl> / / Skip first block or when previous_nominal_speed is used as a flag for homing and offset cycles . <nl> - if ( moves_queued & & ! UNEAR_ZERO ( previous_nominal_speed ) ) { <nl> + if ( moves_queued & & ! UNEAR_ZERO ( previous_nominal_speed_sqr ) ) { <nl> / / Compute cosine of angle between previous and current path . ( prev_unit_vec is negative ) <nl> / / NOTE : Max junction velocity is computed without sin ( ) or acos ( ) by trig half angle identity . <nl> float junction_cos_theta = - previous_unit_vec [ X_AXIS ] * unit_vec [ X_AXIS ] <nl> void Planner : : _buffer_steps ( const int32_t ( & target ) [ XYZE ] <nl> / / NOTE : Computed without any expensive trig , sin ( ) or acos ( ) , by trig half angle identity of cos ( theta ) . <nl> if ( junction_cos_theta > 0 . 999999 ) { <nl> / / For a 0 degree acute junction , just set minimum junction speed . <nl> - vmax_junction = MINIMUM_PLANNER_SPEED ; <nl> + vmax_junction_sqr = sq ( MINIMUM_PLANNER_SPEED ) ; <nl> } <nl> else { <nl> - junction_cos_theta = MAX ( junction_cos_theta , - 0 . 999999 ) ; / / Check for numerical round - off to avoid divide by zero . <nl> + NOLESS ( junction_cos_theta , - 0 . 999999 ) ; / / Check for numerical round - off to avoid divide by zero . <nl> const float sin_theta_d2 = SQRT ( 0 . 5 * ( 1 . 0 - junction_cos_theta ) ) ; / / Trig half angle identity . Always positive . <nl> <nl> / / TODO : Technically , the acceleration used in calculation needs to be limited by the minimum of the <nl> / / two junctions . However , this shouldn ' t be a significant problem except in extreme circumstances . <nl> - vmax_junction = SQRT ( ( block - > acceleration * JUNCTION_DEVIATION_FACTOR * sin_theta_d2 ) / ( 1 . 0 - sin_theta_d2 ) ) ; <nl> + vmax_junction_sqr = ( JUNCTION_ACCELERATION_FACTOR * JUNCTION_DEVIATION_FACTOR * sin_theta_d2 ) / ( 1 . 0 - sin_theta_d2 ) ; <nl> + if ( block - > millimeters < 1 . 0 ) { <nl> + <nl> + / / Fast acos approximation , minus the error bar to be safe <nl> + float junction_theta = ( RADIANS ( - 40 ) * sq ( junction_cos_theta ) - RADIANS ( 50 ) ) * junction_cos_theta + RADIANS ( 90 ) - 0 . 18 ; <nl> + <nl> + / / If angle is greater than 135 degrees ( octagon ) , find speed for approximate arc <nl> + if ( junction_theta > RADIANS ( 135 ) ) { <nl> + const float limit_sqr = block - > millimeters / ( RADIANS ( 180 ) - junction_theta ) * JUNCTION_ACCELERATION_FACTOR ; <nl> + NOMORE ( vmax_junction_sqr , limit_sqr ) ; <nl> + } <nl> + } <nl> } <nl> <nl> - vmax_junction = MIN3 ( vmax_junction , block - > nominal_speed , previous_nominal_speed ) ; <nl> + / / Get the lowest speed <nl> + vmax_junction_sqr = MIN3 ( vmax_junction_sqr , block - > nominal_speed_sqr , previous_nominal_speed_sqr ) ; <nl> } <nl> else / / Init entry speed to zero . Assume it starts from rest . Planner will correct this later . <nl> - vmax_junction = 0 . 0 ; <nl> + vmax_junction_sqr = 0 . 0 ; <nl> <nl> COPY ( previous_unit_vec , unit_vec ) ; <nl> <nl> void Planner : : _buffer_steps ( const int32_t ( & target ) [ XYZE ] <nl> / / Exit speed limited by a jerk to full halt of a previous last segment <nl> static float previous_safe_speed ; <nl> <nl> - float safe_speed = block - > nominal_speed ; <nl> + const float nominal_speed = SQRT ( block - > nominal_speed_sqr ) ; <nl> + float safe_speed = nominal_speed ; <nl> + <nl> uint8_t limited = 0 ; <nl> LOOP_XYZE ( i ) { <nl> const float jerk = ABS ( current_speed [ i ] ) , maxj = max_jerk [ i ] ; <nl> if ( jerk > maxj ) { <nl> if ( limited ) { <nl> - const float mjerk = maxj * block - > nominal_speed ; <nl> + const float mjerk = maxj * nominal_speed ; <nl> if ( jerk * safe_speed > mjerk ) safe_speed = mjerk / jerk ; <nl> } <nl> else { <nl> void Planner : : _buffer_steps ( const int32_t ( & target ) [ XYZE ] <nl> } <nl> } <nl> <nl> - if ( moves_queued & & ! UNEAR_ZERO ( previous_nominal_speed ) ) { <nl> + float vmax_junction ; <nl> + if ( moves_queued & & ! UNEAR_ZERO ( previous_nominal_speed_sqr ) ) { <nl> / / Estimate a maximum velocity allowed at a joint of two successive segments . <nl> / / If this maximum velocity allowed is lower than the minimum of the entry / exit safe velocities , <nl> / / then the machine is not coasting anymore and the safe entry / exit velocities shall be used . <nl> <nl> - / / The junction velocity will be shared between successive segments . Limit the junction velocity to their minimum . <nl> - / / Pick the smaller of the nominal speeds . Higher speed shall not be achieved at the junction during coasting . <nl> - vmax_junction = MIN ( block - > nominal_speed , previous_nominal_speed ) ; <nl> - <nl> / / Factor to multiply the previous / current nominal velocities to get componentwise limited velocities . <nl> float v_factor = 1 ; <nl> limited = 0 ; <nl> <nl> + / / The junction velocity will be shared between successive segments . Limit the junction velocity to their minimum . <nl> + / / Pick the smaller of the nominal speeds . Higher speed shall not be achieved at the junction during coasting . <nl> + const float previous_nominal_speed = SQRT ( previous_nominal_speed_sqr ) ; <nl> + vmax_junction = MIN ( nominal_speed , previous_nominal_speed ) ; <nl> + <nl> / / Now limit the jerk in all axes . <nl> const float smaller_speed_factor = vmax_junction / previous_nominal_speed ; <nl> LOOP_XYZE ( axis ) { <nl> void Planner : : _buffer_steps ( const int32_t ( & target ) [ XYZE ] <nl> vmax_junction = safe_speed ; <nl> <nl> previous_safe_speed = safe_speed ; <nl> + vmax_junction_sqr = sq ( vmax_junction ) ; <nl> + <nl> # endif / / Classic Jerk Limiting <nl> <nl> / / Max entry speed of this block equals the max exit speed of the previous block . <nl> - block - > max_entry_speed = vmax_junction ; <nl> + block - > max_entry_speed_sqr = vmax_junction_sqr ; <nl> <nl> / / Initialize block entry speed . Compute based on deceleration to user - defined MINIMUM_PLANNER_SPEED . <nl> - const float v_allowable = max_allowable_speed ( - block - > acceleration , MINIMUM_PLANNER_SPEED , block - > millimeters ) ; <nl> - / / If stepper ISR is disabled , this indicates buffer_segment wants to add a split block . <nl> - / / In this case start with the max . allowed speed to avoid an interrupted first move . <nl> - block - > entry_speed = STEPPER_ISR_ENABLED ( ) ? MINIMUM_PLANNER_SPEED : MIN ( vmax_junction , v_allowable ) ; <nl> + const float v_allowable_sqr = max_allowable_speed_sqr ( - block - > acceleration , sq ( MINIMUM_PLANNER_SPEED ) , block - > millimeters ) ; <nl> + <nl> + / / If we are trying to add a split block , start with the <nl> + / / max . allowed speed to avoid an interrupted first move . <nl> + block - > entry_speed_sqr = ! split_move ? sq ( MINIMUM_PLANNER_SPEED ) : MIN ( vmax_junction_sqr , v_allowable_sqr ) ; <nl> <nl> / / Initialize planner efficiency flags <nl> / / Set flag if block will always reach maximum junction speed regardless of entry / exit speeds . <nl> void Planner : : _buffer_steps ( const int32_t ( & target ) [ XYZE ] <nl> / / block nominal speed limits both the current and next maximum junction speeds . Hence , in both <nl> / / the reverse and forward planners , the corresponding block junction speed will always be at the <nl> / / the maximum junction speed and may always be ignored for any speed reduction checks . <nl> - block - > flag | = block - > nominal_speed < = v_allowable ? BLOCK_FLAG_RECALCULATE | BLOCK_FLAG_NOMINAL_LENGTH : BLOCK_FLAG_RECALCULATE ; <nl> + block - > flag | = block - > nominal_speed_sqr < = v_allowable_sqr ? BLOCK_FLAG_RECALCULATE | BLOCK_FLAG_NOMINAL_LENGTH : BLOCK_FLAG_RECALCULATE ; <nl> <nl> / / Update previous path unit_vector and nominal speed <nl> COPY ( previous_speed , current_speed ) ; <nl> - previous_nominal_speed = block - > nominal_speed ; <nl> - <nl> - / / Move buffer head <nl> - block_buffer_head = next_buffer_head ; <nl> + previous_nominal_speed_sqr = block - > nominal_speed_sqr ; <nl> <nl> - / / Update the position ( only when a move was queued ) <nl> + / / Update the position <nl> static_assert ( COUNT ( target ) > 1 , " Parameter to _buffer_steps must be ( & target ) [ XYZE ] ! " ) ; <nl> COPY ( position , target ) ; <nl> # if HAS_POSITION_FLOAT <nl> COPY ( position_float , target_float ) ; <nl> # endif <nl> <nl> - recalculate ( ) ; <nl> - <nl> - } / / _buffer_steps ( ) <nl> + / / Movement was accepted <nl> + return true ; <nl> + } / / _populate_block ( ) <nl> <nl> / * * <nl> * Planner : : buffer_sync_block <nl> void Planner : : buffer_sync_block ( ) { <nl> uint8_t next_buffer_head ; <nl> block_t * const block = get_next_free_block ( next_buffer_head ) ; <nl> <nl> - block - > flag = BLOCK_FLAG_SYNC_POSITION ; <nl> + / / Clear block <nl> + memset ( block , 0 , sizeof ( block_t ) ) ; <nl> <nl> - block - > steps [ A_AXIS ] = position [ A_AXIS ] ; <nl> - block - > steps [ B_AXIS ] = position [ B_AXIS ] ; <nl> - block - > steps [ C_AXIS ] = position [ C_AXIS ] ; <nl> - block - > steps [ E_AXIS ] = position [ E_AXIS ] ; <nl> - <nl> - # if ENABLED ( LIN_ADVANCE ) <nl> - block - > use_advance_lead = false ; <nl> - # endif <nl> - <nl> - block - > nominal_speed = <nl> - block - > entry_speed = <nl> - block - > max_entry_speed = <nl> - block - > millimeters = <nl> - block - > acceleration = 0 ; <nl> + block - > flag = BLOCK_FLAG_SYNC_POSITION ; <nl> <nl> - block - > step_event_count = <nl> - block - > nominal_rate = <nl> - block - > initial_rate = <nl> - block - > final_rate = <nl> - block - > acceleration_steps_per_s2 = <nl> - block - > segment_time_us = 0 ; <nl> + block - > position [ A_AXIS ] = position [ A_AXIS ] ; <nl> + block - > position [ B_AXIS ] = position [ B_AXIS ] ; <nl> + block - > position [ C_AXIS ] = position [ C_AXIS ] ; <nl> + block - > position [ E_AXIS ] = position [ E_AXIS ] ; <nl> <nl> block_buffer_head = next_buffer_head ; <nl> stepper . wake_up ( ) ; <nl> void Planner : : buffer_sync_block ( ) { <nl> * extruder - target extruder <nl> * millimeters - the length of the movement , if known <nl> * / <nl> - void Planner : : buffer_segment ( const float & a , const float & b , const float & c , const float & e , const float & fr_mm_s , const uint8_t extruder , const float & millimeters / * = 0 . 0 * / ) { <nl> + bool Planner : : buffer_segment ( const float & a , const float & b , const float & c , const float & e , const float & fr_mm_s , const uint8_t extruder , const float & millimeters / * = 0 . 0 * / ) { <nl> + <nl> + / / If we are cleaning , do not accept queuing of movements <nl> + if ( cleaning_buffer_counter ) return false ; <nl> + <nl> / / When changing extruders recalculate steps corresponding to the E position <nl> # if ENABLED ( DISTINCT_E_FACTORS ) <nl> if ( last_extruder ! = extruder & & axis_steps_per_mm [ E_AXIS_N ] ! = axis_steps_per_mm [ E_AXIS + last_extruder ] ) { <nl> void Planner : : buffer_segment ( const float & a , const float & b , const float & c , con <nl> const float between_float [ ABCE ] = { _BETWEEN_F ( A ) , _BETWEEN_F ( B ) , _BETWEEN_F ( C ) , _BETWEEN_F ( E ) } ; <nl> # endif <nl> <nl> - DISABLE_STEPPER_DRIVER_INTERRUPT ( ) ; <nl> + / / The new head value is not assigned yet <nl> + uint8_t buffer_head = 0 ; <nl> + bool added = false ; <nl> <nl> - _buffer_steps ( between <nl> - # if HAS_POSITION_FLOAT <nl> - , between_float <nl> - # endif <nl> - , fr_mm_s , extruder , millimeters * 0 . 5 <nl> - ) ; <nl> + uint8_t next_buffer_head ; <nl> + block_t * block = get_next_free_block ( next_buffer_head , 2 ) ; <nl> <nl> - const uint8_t next = block_buffer_head ; <nl> + / / Fill the block with the specified movement <nl> + if ( <nl> + _populate_block ( block , true , between <nl> + # if HAS_POSITION_FLOAT <nl> + , between_float <nl> + # endif <nl> + , fr_mm_s , extruder , millimeters * 0 . 5 <nl> + ) <nl> + ) { <nl> + / / Movement accepted - Point to the next reserved block <nl> + block = & block_buffer [ next_buffer_head ] ; <nl> + <nl> + / / Store into the new to be stored head <nl> + buffer_head = next_buffer_head ; <nl> + added = true ; <nl> + <nl> + / / And advance the pointer to the next unused slot <nl> + next_buffer_head = next_block_index ( next_buffer_head ) ; <nl> + } <nl> + <nl> + / / Fill the second part of the block with the 2nd part of the movement <nl> + if ( <nl> + _populate_block ( block , true , target <nl> + # if HAS_POSITION_FLOAT <nl> + , target_float <nl> + # endif <nl> + , fr_mm_s , extruder , millimeters * 0 . 5 <nl> + ) <nl> + ) { <nl> + / / Movement accepted - If this block is a continuation <nl> + / / of the previous one , mark it as such <nl> + if ( added ) SBI ( block - > flag , BLOCK_BIT_CONTINUED ) ; <nl> + <nl> + / / Store into the new to be stored head <nl> + buffer_head = next_buffer_head ; <nl> + added = true ; <nl> + } <nl> <nl> - _buffer_steps ( target <nl> + / / If any of the movements was added <nl> + if ( added ) { <nl> + <nl> + / / Move buffer head and add all the blocks that were filled <nl> + / / successfully to the movement queue . <nl> + block_buffer_head = buffer_head ; <nl> + <nl> + / / Update the position ( only when a move was queued ) <nl> + static_assert ( COUNT ( target ) > 1 , " Parameter to _buffer_steps must be ( & target ) [ XYZE ] ! " ) ; <nl> + COPY ( position , target ) ; <nl> # if HAS_POSITION_FLOAT <nl> - , target_float <nl> + COPY ( position_float , target_float ) ; <nl> # endif <nl> - , fr_mm_s , extruder , millimeters * 0 . 5 <nl> - ) ; <nl> <nl> - SBI ( block_buffer [ next ] . flag , BLOCK_BIT_CONTINUED ) ; <nl> - ENABLE_STEPPER_DRIVER_INTERRUPT ( ) ; <nl> + / / Recalculate and optimize trapezoidal speed profiles <nl> + recalculate ( ) ; <nl> + } <nl> } <nl> - else <nl> - _buffer_steps ( target <nl> + else if ( <nl> + ! _buffer_steps ( target <nl> # if HAS_POSITION_FLOAT <nl> , target_float <nl> # endif <nl> , fr_mm_s , extruder , millimeters <nl> - ) ; <nl> + ) <nl> + ) return false ; <nl> <nl> stepper . wake_up ( ) ; <nl> - <nl> + return true ; <nl> } / / buffer_segment ( ) <nl> <nl> / * * <nl> void Planner : : _set_position_mm ( const float & a , const float & b , const float & c , c <nl> position_float [ C_AXIS ] = c ; <nl> position_float [ E_AXIS ] = e ; <nl> # endif <nl> - previous_nominal_speed = 0 . 0 ; / / Resets planner junction speeds . Assumes start from rest . <nl> + previous_nominal_speed_sqr = 0 . 0 ; / / Resets planner junction speeds . Assumes start from rest . <nl> ZERO ( previous_speed ) ; <nl> buffer_sync_block ( ) ; <nl> } <nl> void Planner : : set_position_mm_kinematic ( const float ( & cart ) [ XYZE ] ) { <nl> # endif <nl> } <nl> <nl> - / * * <nl> - * Sync from the stepper positions . ( e . g . , after an interrupted move ) <nl> - * / <nl> - void Planner : : sync_from_steppers ( ) { <nl> - LOOP_XYZE ( i ) { <nl> - position [ i ] = stepper . position ( ( AxisEnum ) i ) ; <nl> - # if HAS_POSITION_FLOAT <nl> - position_float [ i ] = position [ i ] * steps_to_mm [ i <nl> - # if ENABLED ( DISTINCT_E_FACTORS ) <nl> - + ( i = = E_AXIS ? active_extruder : 0 ) <nl> - # endif <nl> - ] ; <nl> - # endif <nl> - } <nl> - } <nl> - <nl> / * * <nl> * Setters for planner position ( also setting stepper position ) . <nl> * / <nl> mmm a / Marlin / src / module / planner . h <nl> ppp b / Marlin / src / module / planner . h <nl> <nl> # include " . . / Marlin . h " <nl> <nl> # include " motion . h " <nl> + # include " . . / gcode / queue . h " <nl> <nl> # if ENABLED ( DELTA ) <nl> # include " delta . h " <nl> typedef struct { <nl> <nl> uint8_t flag ; / / Block flags ( See BlockFlag enum above ) <nl> <nl> - unsigned char active_extruder ; / / The extruder to move ( if E move ) <nl> + / / Fields used by the motion planner to manage acceleration <nl> + float nominal_speed_sqr , / / The nominal speed for this block in ( mm / sec ) ^ 2 <nl> + entry_speed_sqr , / / Entry speed at previous - current junction in ( mm / sec ) ^ 2 <nl> + max_entry_speed_sqr , / / Maximum allowable junction entry speed in ( mm / sec ) ^ 2 <nl> + millimeters , / / The total travel of this block in mm <nl> + acceleration ; / / acceleration mm / sec ^ 2 <nl> <nl> - / / Fields used by the Bresenham algorithm for tracing the line <nl> - int32_t steps [ NUM_AXIS ] ; / / Step count along each axis <nl> + union { <nl> + / / Data used by all move blocks <nl> + struct { <nl> + / / Fields used by the Bresenham algorithm for tracing the line <nl> + uint32_t steps [ NUM_AXIS ] ; / / Step count along each axis <nl> + } ; <nl> + / / Data used by all sync blocks <nl> + struct { <nl> + int32_t position [ NUM_AXIS ] ; / / New position to force when this sync block is executed <nl> + } ; <nl> + } ; <nl> uint32_t step_event_count ; / / The number of step events required to complete this block <nl> <nl> + uint8_t active_extruder ; / / The extruder to move ( if E move ) <nl> + <nl> # if ENABLED ( MIXING_EXTRUDER ) <nl> uint32_t mix_event_count [ MIXING_STEPPERS ] ; / / Scaled step_event_count for the mixing steppers <nl> # endif <nl> <nl> / / Settings for the trapezoid generator <nl> - int32_t accelerate_until , / / The index of the step event on which to stop acceleration <nl> - decelerate_after ; / / The index of the step event on which to start decelerating <nl> + uint32_t accelerate_until , / / The index of the step event on which to stop acceleration <nl> + decelerate_after ; / / The index of the step event on which to start decelerating <nl> <nl> # if ENABLED ( BEZIER_JERK_CONTROL ) <nl> uint32_t cruise_rate ; / / The actual cruise rate to use , between end of the acceleration phase and start of deceleration phase <nl> typedef struct { <nl> uint32_t acceleration_time_inverse , / / Inverse of acceleration and deceleration periods , expressed as integer . Scale depends on CPU being used <nl> deceleration_time_inverse ; <nl> # else <nl> - int32_t acceleration_rate ; / / The acceleration rate used for acceleration calculation <nl> + uint32_t acceleration_rate ; / / The acceleration rate used for acceleration calculation <nl> # endif <nl> <nl> uint8_t direction_bits ; / / The direction bit set for this block ( refers to * _DIRECTION_BIT in config . h ) <nl> typedef struct { <nl> float e_D_ratio ; <nl> # endif <nl> <nl> - / / Fields used by the motion planner to manage acceleration <nl> - float nominal_speed , / / The nominal speed for this block in mm / sec <nl> - entry_speed , / / Entry speed at previous - current junction in mm / sec <nl> - max_entry_speed , / / Maximum allowable junction entry speed in mm / sec <nl> - millimeters , / / The total travel of this block in mm <nl> - acceleration ; / / acceleration mm / sec ^ 2 <nl> - <nl> uint32_t nominal_rate , / / The nominal step rate for this block in step_events / sec <nl> initial_rate , / / The jerk - adjusted step rate at start of block <nl> final_rate , / / The minimal rate at exit <nl> class Planner { <nl> static block_t block_buffer [ BLOCK_BUFFER_SIZE ] ; <nl> static volatile uint8_t block_buffer_head , / / Index of the next block to be pushed <nl> block_buffer_tail ; / / Index of the busy block , if any <nl> + static int16_t cleaning_buffer_counter ; / / A counter to disable queuing of blocks <nl> <nl> # if ENABLED ( DISTINCT_E_FACTORS ) <nl> static uint8_t last_extruder ; / / Respond to extruder change <nl> class Planner { <nl> # endif <nl> # endif <nl> <nl> + # if ENABLED ( ABORT_ON_ENDSTOP_HIT_FEATURE_ENABLED ) <nl> + static bool abort_on_endstop_hit ; <nl> + # endif <nl> + <nl> private : <nl> <nl> / * * <nl> class Planner { <nl> static float previous_speed [ NUM_AXIS ] ; <nl> <nl> / * * <nl> - * Nominal speed of previous path line segment <nl> + * Nominal speed of previous path line segment ( mm / s ) ^ 2 <nl> * / <nl> - static float previous_nominal_speed ; <nl> + static float previous_nominal_speed_sqr ; <nl> <nl> / * * <nl> * Limit where 64bit math is necessary for acceleration calculation <nl> class Planner { <nl> / / Manage fans , paste pressure , etc . <nl> static void check_axes_activity ( ) ; <nl> <nl> - / * * <nl> - * Number of moves currently in the planner <nl> - * / <nl> - FORCE_INLINE static uint8_t movesplanned ( ) { return BLOCK_MOD ( block_buffer_head - block_buffer_tail + BLOCK_BUFFER_SIZE ) ; } <nl> - <nl> - FORCE_INLINE static void clear_block_buffer ( ) { block_buffer_head = block_buffer_tail = 0 ; } <nl> - <nl> - FORCE_INLINE static bool is_full ( ) { return block_buffer_tail = = next_block_index ( block_buffer_head ) ; } <nl> - <nl> / / Update multipliers based on new diameter measurements <nl> static void calculate_volumetric_multipliers ( ) ; <nl> <nl> class Planner { <nl> # define ARG_Z const float & rz <nl> # endif <nl> <nl> + / / Number of moves currently in the planner <nl> + FORCE_INLINE static uint8_t movesplanned ( ) { return BLOCK_MOD ( block_buffer_head - block_buffer_tail ) ; } <nl> + <nl> + / / Remove all blocks from the buffer <nl> + FORCE_INLINE static void clear_block_buffer ( ) { block_buffer_head = block_buffer_tail = 0 ; } <nl> + <nl> + / / Check if movement queue is full <nl> + FORCE_INLINE static bool is_full ( ) { return block_buffer_tail = = next_block_index ( block_buffer_head ) ; } <nl> + <nl> + / / Get count of movement slots free <nl> + FORCE_INLINE static uint8_t moves_free ( ) { return BLOCK_BUFFER_SIZE - 1 - movesplanned ( ) ; } <nl> + <nl> / * * <nl> * Planner : : get_next_free_block <nl> * <nl> - * - Get the next head index ( passed by reference ) <nl> - * - Wait for a space to open up in the planner <nl> - * - Return the head block <nl> + * - Get the next head indices ( passed by reference ) <nl> + * - Wait for the number of spaces to open up in the planner <nl> + * - Return the first head block <nl> * / <nl> - FORCE_INLINE static block_t * get_next_free_block ( uint8_t & next_buffer_head ) { <nl> + FORCE_INLINE static block_t * get_next_free_block ( uint8_t & next_buffer_head , uint8_t count = 1 ) { <nl> + <nl> + / / Wait until there are enough slots free <nl> + while ( moves_free ( ) < count ) { idle ( ) ; } <nl> + <nl> + / / Return the first available block <nl> next_buffer_head = next_block_index ( block_buffer_head ) ; <nl> - while ( block_buffer_tail = = next_buffer_head ) idle ( ) ; / / while ( is_full ) <nl> return & block_buffer [ block_buffer_head ] ; <nl> } <nl> <nl> class Planner { <nl> * fr_mm_s - ( target ) speed of the move <nl> * extruder - target extruder <nl> * millimeters - the length of the movement , if known <nl> + * <nl> + * Returns true if movement was buffered , false otherwise <nl> * / <nl> - static void _buffer_steps ( const int32_t ( & target ) [ XYZE ] <nl> + static bool _buffer_steps ( const int32_t ( & target ) [ XYZE ] <nl> + # if HAS_POSITION_FLOAT <nl> + , const float ( & target_float ) [ XYZE ] <nl> + # endif <nl> + , float fr_mm_s , const uint8_t extruder , const float & millimeters = 0 . 0 <nl> + ) ; <nl> + <nl> + / * * <nl> + * Planner : : _populate_block <nl> + * <nl> + * Fills a new linear movement in the block ( in terms of steps ) . <nl> + * <nl> + * target - target position in steps units <nl> + * fr_mm_s - ( target ) speed of the move <nl> + * extruder - target extruder <nl> + * millimeters - the length of the movement , if known <nl> + * <nl> + * Returns true is movement is acceptable , false otherwise <nl> + * / <nl> + static bool _populate_block ( block_t * const block , bool split_move , <nl> + const int32_t ( & target ) [ XYZE ] <nl> # if HAS_POSITION_FLOAT <nl> , const float ( & target_float ) [ XYZE ] <nl> # endif <nl> class Planner { <nl> * extruder - target extruder <nl> * millimeters - the length of the movement , if known <nl> * / <nl> - static void buffer_segment ( const float & a , const float & b , const float & c , const float & e , const float & fr_mm_s , const uint8_t extruder , const float & millimeters = 0 . 0 ) ; <nl> + static bool buffer_segment ( const float & a , const float & b , const float & c , const float & e , const float & fr_mm_s , const uint8_t extruder , const float & millimeters = 0 . 0 ) ; <nl> <nl> static void _set_position_mm ( const float & a , const float & b , const float & c , const float & e ) ; <nl> <nl> class Planner { <nl> * extruder - target extruder <nl> * millimeters - the length of the movement , if known <nl> * / <nl> - FORCE_INLINE static void buffer_line ( ARG_X , ARG_Y , ARG_Z , const float & e , const float & fr_mm_s , const uint8_t extruder , const float millimeters = 0 . 0 ) { <nl> + FORCE_INLINE static bool buffer_line ( ARG_X , ARG_Y , ARG_Z , const float & e , const float & fr_mm_s , const uint8_t extruder , const float millimeters = 0 . 0 ) { <nl> # if PLANNER_LEVELING & & IS_CARTESIAN <nl> apply_leveling ( rx , ry , rz ) ; <nl> # endif <nl> - buffer_segment ( rx , ry , rz , e , fr_mm_s , extruder , millimeters ) ; <nl> + return buffer_segment ( rx , ry , rz , e , fr_mm_s , extruder , millimeters ) ; <nl> } <nl> <nl> / * * <nl> class Planner { <nl> * extruder - target extruder <nl> * millimeters - the length of the movement , if known <nl> * / <nl> - FORCE_INLINE static void buffer_line_kinematic ( const float ( & cart ) [ XYZE ] , const float & fr_mm_s , const uint8_t extruder , const float millimeters = 0 . 0 ) { <nl> + FORCE_INLINE static bool buffer_line_kinematic ( const float ( & cart ) [ XYZE ] , const float & fr_mm_s , const uint8_t extruder , const float millimeters = 0 . 0 ) { <nl> # if PLANNER_LEVELING <nl> float raw [ XYZ ] = { cart [ X_AXIS ] , cart [ Y_AXIS ] , cart [ Z_AXIS ] } ; <nl> apply_leveling ( raw ) ; <nl> class Planner { <nl> # endif <nl> # if IS_KINEMATIC <nl> inverse_kinematics ( raw ) ; <nl> - buffer_segment ( delta [ A_AXIS ] , delta [ B_AXIS ] , delta [ C_AXIS ] , cart [ E_AXIS ] , fr_mm_s , extruder , millimeters ) ; <nl> + return buffer_segment ( delta [ A_AXIS ] , delta [ B_AXIS ] , delta [ C_AXIS ] , cart [ E_AXIS ] , fr_mm_s , extruder , millimeters ) ; <nl> # else <nl> - buffer_segment ( raw [ X_AXIS ] , raw [ Y_AXIS ] , raw [ Z_AXIS ] , cart [ E_AXIS ] , fr_mm_s , extruder , millimeters ) ; <nl> + return buffer_segment ( raw [ X_AXIS ] , raw [ Y_AXIS ] , raw [ Z_AXIS ] , cart [ E_AXIS ] , fr_mm_s , extruder , millimeters ) ; <nl> # endif <nl> } <nl> <nl> class Planner { <nl> FORCE_INLINE static void set_z_position_mm ( const float & z ) { set_position_mm ( Z_AXIS , z ) ; } <nl> FORCE_INLINE static void set_e_position_mm ( const float & e ) { set_position_mm ( E_AXIS , e ) ; } <nl> <nl> - / * * <nl> - * Sync from the stepper positions . ( e . g . , after an interrupted move ) <nl> - * / <nl> - static void sync_from_steppers ( ) ; <nl> - <nl> / * * <nl> * Get an axis position according to stepper position ( s ) <nl> * For CORE machines apply translation from ABC to XYZ . <nl> class Planner { <nl> FORCE_INLINE static float get_axis_position_degrees ( const AxisEnum axis ) { return get_axis_position_mm ( axis ) ; } <nl> # endif <nl> <nl> - / * * <nl> - * Does the buffer have any blocks queued ? <nl> - * / <nl> - FORCE_INLINE static bool has_blocks_queued ( ) { return ( block_buffer_head ! = block_buffer_tail ) ; } <nl> + / / Called to force a quick stop of the machine ( for example , when an emergency <nl> + / / stop is required , or when endstops are hit ) <nl> + static void quick_stop ( ) ; <nl> + <nl> + / / Called when an endstop is triggered . Causes the machine to stop inmediately <nl> + static void endstop_triggered ( const AxisEnum axis ) ; <nl> <nl> - / / <nl> - / / Block until all buffered steps are executed <nl> - / / <nl> + / / Triggered position of an axis in mm ( not core - savvy ) <nl> + static float triggered_position_mm ( const AxisEnum axis ) ; <nl> + <nl> + / / Block until all buffered steps are executed / cleaned <nl> static void synchronize ( ) ; <nl> <nl> - / * * <nl> - * " Discard " the block and " release " the memory . <nl> - * Called when the current block is no longer needed . <nl> - * / <nl> - FORCE_INLINE static void discard_current_block ( ) { <nl> - if ( has_blocks_queued ( ) ) <nl> - block_buffer_tail = BLOCK_MOD ( block_buffer_tail + 1 ) ; <nl> + / / Wait for moves to finish and disable all steppers <nl> + static void finish_and_disable ( ) ; <nl> + <nl> + / / Periodic tick to handle cleaning timeouts <nl> + / / Called from the Temperature ISR at ~ 1kHz <nl> + static void tick ( ) { <nl> + if ( cleaning_buffer_counter ) { <nl> + - - cleaning_buffer_counter ; <nl> + # if ENABLED ( SD_FINISHED_STEPPERRELEASE ) & & defined ( SD_FINISHED_RELEASECOMMAND ) <nl> + if ( ! cleaning_buffer_counter ) enqueue_and_echo_commands_P ( PSTR ( SD_FINISHED_RELEASECOMMAND ) ) ; <nl> + # endif <nl> + } <nl> } <nl> <nl> / * * <nl> - * " Discard " the next block if it ' s continued . <nl> - * Called after an interrupted move to throw away the rest of the move . <nl> + * Does the buffer have any blocks queued ? <nl> * / <nl> - FORCE_INLINE static bool discard_continued_block ( ) { <nl> - const bool discard = has_blocks_queued ( ) & & TEST ( block_buffer [ block_buffer_tail ] . flag , BLOCK_BIT_CONTINUED ) ; <nl> - if ( discard ) discard_current_block ( ) ; <nl> - return discard ; <nl> - } <nl> + FORCE_INLINE static bool has_blocks_queued ( ) { return ( block_buffer_head ! = block_buffer_tail ) ; } <nl> <nl> / * * <nl> * The current block . NULL if the buffer is empty . <nl> class Planner { <nl> } <nl> } <nl> <nl> + / * * <nl> + * " Discard " the block and " release " the memory . <nl> + * Called when the current block is no longer needed . <nl> + * NB : There MUST be a current block to call this function ! ! <nl> + * / <nl> + FORCE_INLINE static void discard_current_block ( ) { <nl> + block_buffer_tail = BLOCK_MOD ( block_buffer_tail + 1 ) ; <nl> + } <nl> + <nl> # if ENABLED ( ULTRA_LCD ) <nl> <nl> static uint16_t block_buffer_runtime ( ) { <nl> - CRITICAL_SECTION_START <nl> - millis_t bbru = block_buffer_runtime_us ; <nl> - CRITICAL_SECTION_END <nl> + # ifdef __AVR__ <nl> + / / Protect the access to the variable . Only required for AVR , as <nl> + / / any 32bit CPU offers atomic access to 32bit variables <nl> + bool was_enabled = STEPPER_ISR_ENABLED ( ) ; <nl> + if ( was_enabled ) DISABLE_STEPPER_DRIVER_INTERRUPT ( ) ; <nl> + # endif <nl> + <nl> + millis_t bbru = block_buffer_runtime_us ; <nl> + <nl> + # ifdef __AVR__ <nl> + / / Reenable Stepper ISR <nl> + if ( was_enabled ) ENABLE_STEPPER_DRIVER_INTERRUPT ( ) ; <nl> + # endif <nl> + <nl> / / To translate µs to ms a division by 1000 would be required . <nl> / / We introduce 2 . 4 % error here by dividing by 1024 . <nl> / / Doesn ' t matter because block_buffer_runtime_us is already too small an estimation . <nl> class Planner { <nl> } <nl> <nl> static void clear_block_buffer_runtime ( ) { <nl> - CRITICAL_SECTION_START <nl> - block_buffer_runtime_us = 0 ; <nl> - CRITICAL_SECTION_END <nl> + # ifdef __AVR__ <nl> + / / Protect the access to the variable . Only required for AVR , as <nl> + / / any 32bit CPU offers atomic access to 32bit variables <nl> + bool was_enabled = STEPPER_ISR_ENABLED ( ) ; <nl> + if ( was_enabled ) DISABLE_STEPPER_DRIVER_INTERRUPT ( ) ; <nl> + # endif <nl> + <nl> + block_buffer_runtime_us = 0 ; <nl> + <nl> + # ifdef __AVR__ <nl> + / / Reenable Stepper ISR <nl> + if ( was_enabled ) ENABLE_STEPPER_DRIVER_INTERRUPT ( ) ; <nl> + # endif <nl> } <nl> <nl> # endif <nl> class Planner { <nl> } <nl> <nl> / * * <nl> - * Calculate the maximum allowable speed at this point , in order <nl> - * to reach ' target_velocity ' using ' acceleration ' within a given <nl> + * Calculate the maximum allowable speed squared at this point , in order <nl> + * to reach ' target_velocity_sqr ' using ' acceleration ' within a given <nl> * ' distance ' . <nl> * / <nl> - static float max_allowable_speed ( const float & accel , const float & target_velocity , const float & distance ) { <nl> - return SQRT ( sq ( target_velocity ) - 2 * accel * distance ) ; <nl> + static float max_allowable_speed_sqr ( const float & accel , const float & target_velocity_sqr , const float & distance ) { <nl> + return target_velocity_sqr - 2 * accel * distance ; <nl> } <nl> <nl> # if ENABLED ( BEZIER_JERK_CONTROL ) <nl> mmm a / Marlin / src / module / planner_bezier . cpp <nl> ppp b / Marlin / src / module / planner_bezier . cpp <nl> void cubic_b_spline ( const float position [ NUM_AXIS ] , const float target [ NUM_AXIS ] <nl> # if HAS_UBL_AND_CURVES <nl> float pos [ XYZ ] = { bez_target [ X_AXIS ] , bez_target [ Y_AXIS ] , bez_target [ Z_AXIS ] } ; <nl> planner . apply_leveling ( pos ) ; <nl> - planner . buffer_segment ( pos [ X_AXIS ] , pos [ Y_AXIS ] , pos [ Z_AXIS ] , bez_target [ E_AXIS ] , fr_mm_s , active_extruder ) ; <nl> + if ( ! planner . buffer_segment ( pos [ X_AXIS ] , pos [ Y_AXIS ] , pos [ Z_AXIS ] , bez_target [ E_AXIS ] , fr_mm_s , active_extruder ) ) <nl> + break ; <nl> # else <nl> - planner . buffer_line_kinematic ( bez_target , fr_mm_s , extruder ) ; <nl> + if ( ! planner . buffer_line_kinematic ( bez_target , fr_mm_s , extruder ) ) <nl> + break ; <nl> # endif <nl> } <nl> } <nl> mmm a / Marlin / src / module / stepper . cpp <nl> ppp b / Marlin / src / module / stepper . cpp <nl> Stepper stepper ; / / Singleton <nl> <nl> block_t * Stepper : : current_block = NULL ; / / A pointer to the block currently being traced <nl> <nl> - # if ENABLED ( ABORT_ON_ENDSTOP_HIT_FEATURE_ENABLED ) <nl> - bool Stepper : : abort_on_endstop_hit = false ; <nl> - # endif <nl> - <nl> # if ENABLED ( X_DUAL_ENDSTOPS ) | | ENABLED ( Y_DUAL_ENDSTOPS ) | | ENABLED ( Z_DUAL_ENDSTOPS ) <nl> bool Stepper : : performing_homing = false ; <nl> # endif <nl> block_t * Stepper : : current_block = NULL ; / / A pointer to the block currently bei <nl> / / private : <nl> <nl> uint8_t Stepper : : last_direction_bits = 0 ; / / The next stepping - bits to be output <nl> - int16_t Stepper : : cleaning_buffer_counter = 0 ; <nl> <nl> # if ENABLED ( X_DUAL_ENDSTOPS ) <nl> bool Stepper : : locked_x_motor = false , Stepper : : locked_x2_motor = false ; <nl> int32_t Stepper : : counter_X = 0 , <nl> Stepper : : counter_Z = 0 , <nl> Stepper : : counter_E = 0 ; <nl> <nl> - volatile uint32_t Stepper : : step_events_completed = 0 ; / / The number of step events executed in the current block <nl> + uint32_t Stepper : : step_events_completed = 0 ; / / The number of step events executed in the current block <nl> <nl> # if ENABLED ( BEZIER_JERK_CONTROL ) <nl> int32_t __attribute__ ( ( used ) ) Stepper : : bezier_A __asm__ ( " bezier_A " ) ; / / A coefficient in Bézier speed curve with alias for assembler <nl> volatile uint32_t Stepper : : step_events_completed = 0 ; / / The number of step even <nl> bool Stepper : : bezier_2nd_half ; / / = false If Bézier curve has been initialized or not <nl> # endif <nl> <nl> + uint32_t Stepper : : nextMainISR = 0 ; <nl> + bool Stepper : : all_steps_done = false ; <nl> + <nl> # if ENABLED ( LIN_ADVANCE ) <nl> <nl> uint32_t Stepper : : LA_decelerate_after ; <nl> <nl> - constexpr hal_timer_t ADV_NEVER = HAL_TIMER_TYPE_MAX ; <nl> - <nl> - hal_timer_t Stepper : : nextMainISR = 0 , <nl> - Stepper : : nextAdvanceISR = ADV_NEVER , <nl> - Stepper : : eISR_Rate = ADV_NEVER ; <nl> + constexpr uint32_t ADV_NEVER = 0xFFFFFFFF ; <nl> + uint32_t Stepper : : nextAdvanceISR = ADV_NEVER , <nl> + Stepper : : eISR_Rate = ADV_NEVER ; <nl> uint16_t Stepper : : current_adv_steps = 0 , <nl> Stepper : : final_adv_steps , <nl> Stepper : : max_adv_steps ; <nl> volatile uint32_t Stepper : : step_events_completed = 0 ; / / The number of step even <nl> <nl> # endif / / LIN_ADVANCE <nl> <nl> - int32_t Stepper : : acceleration_time , Stepper : : deceleration_time ; <nl> + uint32_t Stepper : : acceleration_time , Stepper : : deceleration_time ; <nl> <nl> volatile int32_t Stepper : : count_position [ NUM_AXIS ] = { 0 } ; <nl> volatile signed char Stepper : : count_direction [ NUM_AXIS ] = { 1 , 1 , 1 , 1 } ; <nl> volatile signed char Stepper : : count_direction [ NUM_AXIS ] = { 1 , 1 , 1 , 1 } ; <nl> int32_t Stepper : : counter_m [ MIXING_STEPPERS ] ; <nl> # endif <nl> <nl> + uint32_t Stepper : : ticks_nominal ; <nl> uint8_t Stepper : : step_loops , Stepper : : step_loops_nominal ; <nl> <nl> - hal_timer_t Stepper : : OCR1A_nominal ; <nl> # if DISABLED ( BEZIER_JERK_CONTROL ) <nl> - hal_timer_t Stepper : : acc_step_rate ; / / needed for deceleration start point <nl> + uint32_t Stepper : : acc_step_rate ; / / needed for deceleration start point <nl> # endif <nl> <nl> volatile int32_t Stepper : : endstops_trigsteps [ XYZ ] ; <nl> void Stepper : : set_directions ( ) { <nl> * <nl> * Floating point arithmetic execution time cost is prohibitive , so we will transform the math to <nl> * use fixed point values to be able to evaluate it in realtime . Assuming a maximum of 250000 steps <nl> - * per second ( driver pulses should at least be 2uS hi / 2uS lo ) , and allocating 2 bits to avoid <nl> + * per second ( driver pulses should at least be 2µS hi / 2µS lo ) , and allocating 2 bits to avoid <nl> * overflows on the evaluation of the Bézier curve , means we can use <nl> * <nl> * t : unsigned Q0 . 32 ( 0 < = t < 1 ) | range 0 to 0xFFFFFFFF unsigned <nl> void Stepper : : set_directions ( ) { <nl> HAL_STEP_TIMER_ISR { <nl> HAL_timer_isr_prologue ( STEP_TIMER_NUM ) ; <nl> <nl> - # if ENABLED ( LIN_ADVANCE ) <nl> - Stepper : : advance_isr_scheduler ( ) ; <nl> - # else <nl> - Stepper : : isr ( ) ; <nl> - # endif <nl> + / / Program timer compare for the maximum period , so it does NOT <nl> + / / flag an interrupt while this ISR is running - So changes from small <nl> + / / periods to big periods are respected and the timer does not reset to 0 <nl> + HAL_timer_set_compare ( STEP_TIMER_NUM , HAL_TIMER_TYPE_MAX ) ; <nl> + <nl> + / / Call the ISR scheduler <nl> + hal_timer_t ticks = Stepper : : isr_scheduler ( ) ; <nl> + <nl> + / / Now ' ticks ' contains the period to the next Stepper ISR . <nl> + / / Potential problem : Since the timer continues to run , the requested <nl> + / / compare value may already have passed . <nl> + / / <nl> + / / Assuming at least 6µs between calls to this ISR . . . <nl> + / / On AVR the ISR epilogue is estimated at 40 instructions - close to 2 . 5µS . <nl> + / / On ARM the ISR epilogue is estimated at 10 instructions - close to 200nS . <nl> + / / In either case leave at least 4µS for other tasks to execute . <nl> + const hal_timer_t minticks = HAL_timer_get_count ( STEP_TIMER_NUM ) + hal_timer_t ( ( HAL_TICKS_PER_US ) * 4 ) ; / / ISR never takes more than 1ms , so this shouldn ' t cause trouble <nl> + NOLESS ( ticks , MAX ( minticks , hal_timer_t ( ( STEP_TIMER_MIN_INTERVAL ) * ( HAL_TICKS_PER_US ) ) ) ) ; <nl> + <nl> + / / Set the next ISR to fire at the proper time <nl> + HAL_timer_set_compare ( STEP_TIMER_NUM , ticks ) ; <nl> <nl> HAL_timer_isr_epilogue ( STEP_TIMER_NUM ) ; <nl> } <nl> HAL_STEP_TIMER_ISR { <nl> # define STEP_MULTIPLY ( A , B ) MultiU24X32toH16 ( A , B ) <nl> # endif <nl> <nl> - void Stepper : : isr ( ) { <nl> - <nl> - # define ENDSTOP_NOMINAL_OCR_VAL 1500 * HAL_TICKS_PER_US / / Check endstops every 1 . 5ms to guarantee two stepper ISRs within 5ms for BLTouch <nl> - # define OCR_VAL_TOLERANCE 500 * HAL_TICKS_PER_US / / First max delay is 2 . 0ms , last min delay is 0 . 5ms , all others 1 . 5ms <nl> - <nl> - hal_timer_t ocr_val ; <nl> - static uint32_t step_remaining = 0 ; / / SPLIT function always runs . This allows 16 bit timers to be <nl> - / / used to generate the stepper ISR . <nl> - # define SPLIT ( L ) do { \ <nl> - if ( L > ENDSTOP_NOMINAL_OCR_VAL ) { \ <nl> - const uint32_t remainder = ( uint32_t ) L % ( ENDSTOP_NOMINAL_OCR_VAL ) ; \ <nl> - ocr_val = ( remainder < OCR_VAL_TOLERANCE ) ? ENDSTOP_NOMINAL_OCR_VAL + remainder : ENDSTOP_NOMINAL_OCR_VAL ; \ <nl> - step_remaining = ( uint32_t ) L - ocr_val ; \ <nl> - } \ <nl> - else \ <nl> - ocr_val = L ; \ <nl> - } while ( 0 ) <nl> + hal_timer_t Stepper : : isr_scheduler ( ) { <nl> + uint32_t interval ; <nl> <nl> - / / Time remaining before the next step ? <nl> - if ( step_remaining ) { <nl> - <nl> - / / Make sure endstops are updated <nl> - if ( ENDSTOPS_ENABLED ) endstops . update ( ) ; <nl> - <nl> - / / Next ISR either for endstops or stepping <nl> - ocr_val = step_remaining < = ENDSTOP_NOMINAL_OCR_VAL ? step_remaining : ENDSTOP_NOMINAL_OCR_VAL ; <nl> - step_remaining - = ocr_val ; <nl> - _NEXT_ISR ( ocr_val ) ; <nl> - <nl> - # if DISABLED ( LIN_ADVANCE ) <nl> - HAL_timer_restrain ( STEP_TIMER_NUM , STEP_TIMER_MIN_INTERVAL * HAL_TICKS_PER_US ) ; <nl> - # endif <nl> - <nl> - return ; <nl> - } <nl> - <nl> - / / <nl> - / / When cleaning , discard the current block and run fast <nl> - / / <nl> - if ( cleaning_buffer_counter ) { <nl> - if ( cleaning_buffer_counter < 0 ) { / / Count up for endstop hit <nl> - if ( current_block ) planner . discard_current_block ( ) ; / / Discard the active block that led to the trigger <nl> - if ( ! planner . discard_continued_block ( ) ) / / Discard next CONTINUED block <nl> - cleaning_buffer_counter = 0 ; / / Keep discarding until non - CONTINUED <nl> - } <nl> - else { <nl> - planner . discard_current_block ( ) ; <nl> - - - cleaning_buffer_counter ; / / Count down for abort print <nl> - # if ENABLED ( SD_FINISHED_STEPPERRELEASE ) & & defined ( SD_FINISHED_RELEASECOMMAND ) <nl> - if ( ! cleaning_buffer_counter ) enqueue_and_echo_commands_P ( PSTR ( SD_FINISHED_RELEASECOMMAND ) ) ; <nl> - # endif <nl> - } <nl> - current_block = NULL ; / / Prep to get a new block after cleaning <nl> - _NEXT_ISR ( HAL_STEPPER_TIMER_RATE / 10000 ) ; / / Run at max speed - 10 KHz <nl> - return ; <nl> - } <nl> - <nl> - / / If there is no current block , attempt to pop one from the buffer <nl> - if ( ! current_block ) { <nl> - <nl> - / / Anything in the buffer ? <nl> - if ( ( current_block = planner . get_current_block ( ) ) ) { <nl> + / / Run main stepping pulse phase ISR if we have to <nl> + if ( ! nextMainISR ) Stepper : : stepper_pulse_phase_isr ( ) ; <nl> <nl> - / / Sync block ? Sync the stepper counts and return <nl> - while ( TEST ( current_block - > flag , BLOCK_BIT_SYNC_POSITION ) ) { <nl> - _set_position ( <nl> - current_block - > steps [ A_AXIS ] , current_block - > steps [ B_AXIS ] , <nl> - current_block - > steps [ C_AXIS ] , current_block - > steps [ E_AXIS ] <nl> - ) ; <nl> - planner . discard_current_block ( ) ; <nl> - if ( ! ( current_block = planner . get_current_block ( ) ) ) return ; <nl> - } <nl> - <nl> - / / Initialize the trapezoid generator from the current block . <nl> - static int8_t last_extruder = - 1 ; <nl> - <nl> - # if ENABLED ( LIN_ADVANCE ) <nl> - # if E_STEPPERS > 1 <nl> - if ( current_block - > active_extruder ! = last_extruder ) { <nl> - current_adv_steps = 0 ; / / If the now active extruder wasn ' t in use during the last move , its pressure is most likely gone . <nl> - LA_active_extruder = current_block - > active_extruder ; <nl> - } <nl> - # endif <nl> + # if ENABLED ( LIN_ADVANCE ) <nl> + / / Run linear advance stepper ISR if we have to <nl> + if ( ! nextAdvanceISR ) nextAdvanceISR = Stepper : : advance_isr ( ) ; <nl> + # endif <nl> <nl> - if ( ( use_advance_lead = current_block - > use_advance_lead ) ) { <nl> - LA_decelerate_after = current_block - > decelerate_after ; <nl> - final_adv_steps = current_block - > final_adv_steps ; <nl> - max_adv_steps = current_block - > max_adv_steps ; <nl> - } <nl> - # endif <nl> + / / ^ = = Time critical . NOTHING besides pulse generation should be above here ! ! ! <nl> <nl> - if ( current_block - > direction_bits ! = last_direction_bits | | current_block - > active_extruder ! = last_extruder ) { <nl> - last_direction_bits = current_block - > direction_bits ; <nl> - last_extruder = current_block - > active_extruder ; <nl> - set_directions ( ) ; <nl> - } <nl> + / / Run main stepping block processing ISR if we have to <nl> + if ( ! nextMainISR ) nextMainISR = Stepper : : stepper_block_phase_isr ( ) ; <nl> <nl> - / / No acceleration / deceleration time elapsed so far <nl> - acceleration_time = deceleration_time = 0 ; <nl> - <nl> - / / No step events completed so far <nl> - step_events_completed = 0 ; <nl> + # if ENABLED ( LIN_ADVANCE ) <nl> + / / Select the closest interval in time <nl> + interval = ( nextAdvanceISR < = nextMainISR ) <nl> + ? nextAdvanceISR <nl> + : nextMainISR ; <nl> <nl> - / / step_rate to timer interval <nl> - OCR1A_nominal = calc_timer_interval ( current_block - > nominal_rate ) ; <nl> + # else / / ! ENABLED ( LIN_ADVANCE ) <nl> <nl> - / / make a note of the number of step loops required at nominal speed <nl> - step_loops_nominal = step_loops ; <nl> - <nl> - # if DISABLED ( BEZIER_JERK_CONTROL ) <nl> - / / Set as deceleration point the initial rate of the block <nl> - acc_step_rate = current_block - > initial_rate ; <nl> - # endif <nl> + / / The interval is just the remaining time to the stepper ISR <nl> + interval = nextMainISR ; <nl> + # endif <nl> <nl> - # if ENABLED ( BEZIER_JERK_CONTROL ) <nl> - / / Initialize the Bézier speed curve <nl> - _calc_bezier_curve_coeffs ( current_block - > initial_rate , current_block - > cruise_rate , current_block - > acceleration_time_inverse ) ; <nl> + / / Limit the value to the maximum possible value of the timer <nl> + if ( interval > HAL_TIMER_TYPE_MAX ) <nl> + interval = HAL_TIMER_TYPE_MAX ; <nl> <nl> - / / We have not started the 2nd half of the trapezoid <nl> - bezier_2nd_half = false ; <nl> - # endif <nl> + / / Compute the time remaining for the main isr <nl> + nextMainISR - = interval ; <nl> <nl> - / / Initialize Bresenham counters to 1 / 2 the ceiling <nl> - counter_X = counter_Y = counter_Z = counter_E = - ( current_block - > step_event_count > > 1 ) ; <nl> - # if ENABLED ( MIXING_EXTRUDER ) <nl> - MIXING_STEPPERS_LOOP ( i ) <nl> - counter_m [ i ] = - ( current_block - > mix_event_count [ i ] > > 1 ) ; <nl> - # endif <nl> + # if ENABLED ( LIN_ADVANCE ) <nl> + / / Compute the time remaining for the advance isr <nl> + if ( nextAdvanceISR ! = ADV_NEVER ) <nl> + nextAdvanceISR - = interval ; <nl> + # endif <nl> <nl> - # if ENABLED ( ENDSTOP_INTERRUPTS_FEATURE ) <nl> - e_hit = 2 ; / / Needed for the case an endstop is already triggered before the new move begins . <nl> - / / No ' change ' can be detected . <nl> - # endif <nl> + return ( hal_timer_t ) interval ; <nl> + } <nl> <nl> - # if ENABLED ( Z_LATE_ENABLE ) <nl> - / / If delayed Z enable , postpone move for 1mS <nl> - if ( current_block - > steps [ Z_AXIS ] > 0 ) { <nl> - enable_Z ( ) ; <nl> - _NEXT_ISR ( HAL_STEPPER_TIMER_RATE / 1000 ) ; / / Run at slow speed - 1 KHz <nl> - return ; <nl> - } <nl> - # endif <nl> - } <nl> - else { <nl> - / / If no more queued moves , postpone next check for 1mS <nl> - _NEXT_ISR ( HAL_STEPPER_TIMER_RATE / 1000 ) ; / / Run at slow speed - 1 KHz <nl> - return ; <nl> - } <nl> - } <nl> + / / This part of the ISR should ONLY create the pulses for the steppers <nl> + / / - - Nothing more , nothing less - - We want to avoid jitter from where <nl> + / / the pulses should be generated ( when the interrupt triggers ) to the <nl> + / / time pulses are actually created . So , PLEASE DO NOT PLACE ANY CODE <nl> + / / above this line that can conditionally change that time ( we are trying <nl> + / / to keep the delay between the interrupt triggering and pulse generation <nl> + / / as constant as possible ! ! ! ! <nl> + void Stepper : : stepper_pulse_phase_isr ( ) { <nl> <nl> - / / Update endstops state , if enabled <nl> - # if ENABLED ( ENDSTOP_INTERRUPTS_FEATURE ) <nl> - if ( e_hit & & ENDSTOPS_ENABLED ) { <nl> - endstops . update ( ) ; <nl> - e_hit - - ; <nl> - } <nl> - # else <nl> - if ( ENDSTOPS_ENABLED ) endstops . update ( ) ; <nl> - # endif <nl> + / / If there is no current block , do nothing <nl> + if ( ! current_block ) return ; <nl> <nl> / / Take multiple steps per interrupt ( For high speed moves ) <nl> - bool all_steps_done = false ; <nl> + all_steps_done = false ; <nl> for ( uint8_t i = step_loops ; i - - ; ) { <nl> <nl> # define _COUNTER ( AXIS ) counter_ # # AXIS <nl> void Stepper : : isr ( ) { <nl> # endif <nl> <nl> } / / steps_loop <nl> + } <nl> <nl> - / / Calculate new timer value <nl> - if ( step_events_completed < = ( uint32_t ) current_block - > accelerate_until ) { <nl> + / / This is the last half of the stepper interrupt : This one processes and <nl> + / / properly schedules blocks from the planner . This is executed after creating <nl> + / / the step pulses , so it is not time critical , as pulses are already done . <nl> <nl> - # if ENABLED ( BEZIER_JERK_CONTROL ) <nl> - / / Get the next speed to use ( Jerk limited ! ) <nl> - hal_timer_t acc_step_rate = <nl> - acceleration_time < current_block - > acceleration_time <nl> - ? _eval_bezier_curve ( acceleration_time ) <nl> - : current_block - > cruise_rate ; <nl> - # else <nl> - acc_step_rate = STEP_MULTIPLY ( acceleration_time , current_block - > acceleration_rate ) + current_block - > initial_rate ; <nl> - NOMORE ( acc_step_rate , current_block - > nominal_rate ) ; <nl> - # endif <nl> + uint32_t Stepper : : stepper_block_phase_isr ( ) { <nl> <nl> - / / step_rate to timer interval <nl> - const hal_timer_t interval = calc_timer_interval ( acc_step_rate ) ; <nl> + / / If no queued movements , just wait 1ms for the next move <nl> + uint32_t interval = ( HAL_STEPPER_TIMER_RATE / 1000 ) ; <nl> <nl> - SPLIT ( interval ) ; / / split step into multiple ISRs if larger than ENDSTOP_NOMINAL_OCR_VAL <nl> - _NEXT_ISR ( ocr_val ) ; <nl> + / / If there is a current block <nl> + if ( current_block ) { <nl> <nl> - acceleration_time + = interval ; <nl> + / / Calculate new timer value <nl> + if ( step_events_completed < = current_block - > accelerate_until ) { <nl> <nl> - # if ENABLED ( LIN_ADVANCE ) <nl> - if ( current_block - > use_advance_lead ) { <nl> - if ( step_events_completed = = step_loops | | ( e_steps & & eISR_Rate ! = current_block - > advance_speed ) ) { <nl> - nextAdvanceISR = 0 ; / / Wake up eISR on first acceleration loop and fire ISR if final adv_rate is reached <nl> - eISR_Rate = current_block - > advance_speed ; <nl> + # if ENABLED ( BEZIER_JERK_CONTROL ) <nl> + / / Get the next speed to use ( Jerk limited ! ) <nl> + uint32_t acc_step_rate = <nl> + acceleration_time < current_block - > acceleration_time <nl> + ? _eval_bezier_curve ( acceleration_time ) <nl> + : current_block - > cruise_rate ; <nl> + # else <nl> + acc_step_rate = STEP_MULTIPLY ( acceleration_time , current_block - > acceleration_rate ) + current_block - > initial_rate ; <nl> + NOMORE ( acc_step_rate , current_block - > nominal_rate ) ; <nl> + # endif <nl> + <nl> + / / step_rate to timer interval <nl> + interval = calc_timer_interval ( acc_step_rate ) ; <nl> + acceleration_time + = interval ; <nl> + <nl> + # if ENABLED ( LIN_ADVANCE ) <nl> + if ( current_block - > use_advance_lead ) { <nl> + if ( step_events_completed = = step_loops | | ( e_steps & & eISR_Rate ! = current_block - > advance_speed ) ) { <nl> + nextAdvanceISR = 0 ; / / Wake up eISR on first acceleration loop and fire ISR if final adv_rate is reached <nl> + eISR_Rate = current_block - > advance_speed ; <nl> + } <nl> } <nl> - } <nl> - else { <nl> - eISR_Rate = ADV_NEVER ; <nl> - if ( e_steps ) nextAdvanceISR = 0 ; <nl> - } <nl> - # endif / / LIN_ADVANCE <nl> + else { <nl> + eISR_Rate = ADV_NEVER ; <nl> + if ( e_steps ) nextAdvanceISR = 0 ; <nl> + } <nl> + # endif / / LIN_ADVANCE <nl> + } <nl> + else if ( step_events_completed > current_block - > decelerate_after ) { <nl> + uint32_t step_rate ; <nl> + <nl> + # if ENABLED ( BEZIER_JERK_CONTROL ) <nl> + / / If this is the 1st time we process the 2nd half of the trapezoid . . . <nl> + if ( ! bezier_2nd_half ) { <nl> + / / Initialize the Bézier speed curve <nl> + _calc_bezier_curve_coeffs ( current_block - > cruise_rate , current_block - > final_rate , current_block - > deceleration_time_inverse ) ; <nl> + bezier_2nd_half = true ; <nl> + } <nl> + <nl> + / / Calculate the next speed to use <nl> + step_rate = deceleration_time < current_block - > deceleration_time <nl> + ? _eval_bezier_curve ( deceleration_time ) <nl> + : current_block - > final_rate ; <nl> + # else <nl> + <nl> + / / Using the old trapezoidal control <nl> + step_rate = STEP_MULTIPLY ( deceleration_time , current_block - > acceleration_rate ) ; <nl> + if ( step_rate < acc_step_rate ) { / / Still decelerating ? <nl> + step_rate = acc_step_rate - step_rate ; <nl> + NOLESS ( step_rate , current_block - > final_rate ) ; <nl> + } <nl> + else <nl> + step_rate = current_block - > final_rate ; <nl> + # endif <nl> + <nl> + / / step_rate to timer interval <nl> + interval = calc_timer_interval ( step_rate ) ; <nl> + deceleration_time + = interval ; <nl> + <nl> + # if ENABLED ( LIN_ADVANCE ) <nl> + if ( current_block - > use_advance_lead ) { <nl> + if ( step_events_completed < = current_block - > decelerate_after + step_loops | | ( e_steps & & eISR_Rate ! = current_block - > advance_speed ) ) { <nl> + nextAdvanceISR = 0 ; / / Wake up eISR on first deceleration loop <nl> + eISR_Rate = current_block - > advance_speed ; <nl> + } <nl> + } <nl> + else { <nl> + eISR_Rate = ADV_NEVER ; <nl> + if ( e_steps ) nextAdvanceISR = 0 ; <nl> + } <nl> + # endif / / LIN_ADVANCE <nl> + } <nl> + else { <nl> + <nl> + # if ENABLED ( LIN_ADVANCE ) <nl> + / / If there are any esteps , fire the next advance_isr " now " <nl> + if ( e_steps & & eISR_Rate ! = current_block - > advance_speed ) nextAdvanceISR = 0 ; <nl> + # endif <nl> + <nl> + / / The timer interval is just the nominal value for the nominal speed <nl> + interval = ticks_nominal ; <nl> + <nl> + / / Ensure this runs at the correct step rate , even if it just came off an acceleration <nl> + step_loops = step_loops_nominal ; <nl> + } <nl> + <nl> + / / If current block is finished , reset pointer <nl> + if ( all_steps_done ) { <nl> + current_block = NULL ; <nl> + planner . discard_current_block ( ) ; <nl> + } <nl> } <nl> - else if ( step_events_completed > ( uint32_t ) current_block - > decelerate_after ) { <nl> - hal_timer_t step_rate ; <nl> <nl> - # if ENABLED ( BEZIER_JERK_CONTROL ) <nl> - / / If this is the 1st time we process the 2nd half of the trapezoid . . . <nl> - if ( ! bezier_2nd_half ) { <nl> + / / If there is no current block at this point , attempt to pop one from the buffer <nl> + / / and prepare its movement <nl> + if ( ! current_block ) { <nl> + <nl> + / / Anything in the buffer ? <nl> + if ( ( current_block = planner . get_current_block ( ) ) ) { <nl> <nl> - / / Initialize the Bézier speed curve <nl> - _calc_bezier_curve_coeffs ( current_block - > cruise_rate , current_block - > final_rate , current_block - > deceleration_time_inverse ) ; <nl> - bezier_2nd_half = true ; <nl> + / / Sync block ? Sync the stepper counts and return <nl> + while ( TEST ( current_block - > flag , BLOCK_BIT_SYNC_POSITION ) ) { <nl> + _set_position ( <nl> + current_block - > position [ A_AXIS ] , current_block - > position [ B_AXIS ] , <nl> + current_block - > position [ C_AXIS ] , current_block - > position [ E_AXIS ] <nl> + ) ; <nl> + planner . discard_current_block ( ) ; <nl> + <nl> + / / Try to get a new block <nl> + if ( ! ( current_block = planner . get_current_block ( ) ) ) <nl> + return interval ; / / No more queued movements ! <nl> } <nl> <nl> - / / Calculate the next speed to use <nl> - step_rate = deceleration_time < current_block - > deceleration_time <nl> - ? _eval_bezier_curve ( deceleration_time ) <nl> - : current_block - > final_rate ; <nl> - # else <nl> + / / Initialize the trapezoid generator from the current block . <nl> + static int8_t last_extruder = - 1 ; <nl> + <nl> + # if ENABLED ( LIN_ADVANCE ) <nl> + # if E_STEPPERS > 1 <nl> + if ( current_block - > active_extruder ! = last_extruder ) { <nl> + current_adv_steps = 0 ; / / If the now active extruder wasn ' t in use during the last move , its pressure is most likely gone . <nl> + LA_active_extruder = current_block - > active_extruder ; <nl> + } <nl> + # endif <nl> <nl> - / / Using the old trapezoidal control <nl> - step_rate = STEP_MULTIPLY ( deceleration_time , current_block - > acceleration_rate ) ; <nl> - if ( step_rate < acc_step_rate ) { / / Still decelerating ? <nl> - step_rate = acc_step_rate - step_rate ; <nl> - NOLESS ( step_rate , current_block - > final_rate ) ; <nl> + if ( ( use_advance_lead = current_block - > use_advance_lead ) ) { <nl> + LA_decelerate_after = current_block - > decelerate_after ; <nl> + final_adv_steps = current_block - > final_adv_steps ; <nl> + max_adv_steps = current_block - > max_adv_steps ; <nl> + } <nl> + # endif <nl> + <nl> + if ( current_block - > direction_bits ! = last_direction_bits | | current_block - > active_extruder ! = last_extruder ) { <nl> + last_direction_bits = current_block - > direction_bits ; <nl> + last_extruder = current_block - > active_extruder ; <nl> + set_directions ( ) ; <nl> } <nl> - else <nl> - step_rate = current_block - > final_rate ; <nl> <nl> - # endif <nl> + / / No acceleration / deceleration time elapsed so far <nl> + acceleration_time = deceleration_time = 0 ; <nl> <nl> - / / step_rate to timer interval <nl> - const hal_timer_t interval = calc_timer_interval ( step_rate ) ; <nl> + / / No step events completed so far <nl> + step_events_completed = 0 ; <nl> <nl> - SPLIT ( interval ) ; / / split step into multiple ISRs if larger than ENDSTOP_NOMINAL_OCR_VAL <nl> - _NEXT_ISR ( ocr_val ) ; <nl> + / / step_rate to timer interval for the nominal speed <nl> + ticks_nominal = calc_timer_interval ( current_block - > nominal_rate ) ; <nl> <nl> - deceleration_time + = interval ; <nl> + / / make a note of the number of step loops required at nominal speed <nl> + step_loops_nominal = step_loops ; <nl> <nl> - # if ENABLED ( LIN_ADVANCE ) <nl> - if ( current_block - > use_advance_lead ) { <nl> - if ( step_events_completed < = ( uint32_t ) current_block - > decelerate_after + step_loops | | ( e_steps & & eISR_Rate ! = current_block - > advance_speed ) ) { <nl> - nextAdvanceISR = 0 ; / / Wake up eISR on first deceleration loop <nl> - eISR_Rate = current_block - > advance_speed ; <nl> - } <nl> - } <nl> - else { <nl> - eISR_Rate = ADV_NEVER ; <nl> - if ( e_steps ) nextAdvanceISR = 0 ; <nl> - } <nl> - # endif / / LIN_ADVANCE <nl> - } <nl> - else { <nl> + # if DISABLED ( BEZIER_JERK_CONTROL ) <nl> + / / Set as deceleration point the initial rate of the block <nl> + acc_step_rate = current_block - > initial_rate ; <nl> + # endif <nl> <nl> - # if ENABLED ( LIN_ADVANCE ) <nl> - / / If we have esteps to execute , fire the next advance_isr " now " <nl> - if ( e_steps & & eISR_Rate ! = current_block - > advance_speed ) nextAdvanceISR = 0 ; <nl> - # endif <nl> + # if ENABLED ( BEZIER_JERK_CONTROL ) <nl> + / / Initialize the Bézier speed curve <nl> + _calc_bezier_curve_coeffs ( current_block - > initial_rate , current_block - > cruise_rate , current_block - > acceleration_time_inverse ) ; <nl> <nl> - SPLIT ( OCR1A_nominal ) ; / / split step into multiple ISRs if larger than ENDSTOP_NOMINAL_OCR_VAL <nl> - _NEXT_ISR ( ocr_val ) ; <nl> + / / We have not started the 2nd half of the trapezoid <nl> + bezier_2nd_half = false ; <nl> + # endif <nl> <nl> - / / ensure we ' re running at the correct step rate , even if we just came off an acceleration <nl> - step_loops = step_loops_nominal ; <nl> - } <nl> + / / Initialize Bresenham counters to 1 / 2 the ceiling <nl> + counter_X = counter_Y = counter_Z = counter_E = - ( ( int32_t ) ( current_block - > step_event_count > > 1 ) ) ; <nl> + # if ENABLED ( MIXING_EXTRUDER ) <nl> + MIXING_STEPPERS_LOOP ( i ) <nl> + counter_m [ i ] = - ( current_block - > mix_event_count [ i ] > > 1 ) ; <nl> + # endif <nl> <nl> - # if DISABLED ( LIN_ADVANCE ) <nl> - / / Make sure stepper ISR doesn ' t monopolize the CPU <nl> - HAL_timer_restrain ( STEP_TIMER_NUM , STEP_TIMER_MIN_INTERVAL * HAL_TICKS_PER_US ) ; <nl> - # endif <nl> + # if ENABLED ( ENDSTOP_INTERRUPTS_FEATURE ) <nl> + e_hit = 2 ; / / Needed for the case an endstop is already triggered before the new move begins . <nl> + / / No ' change ' can be detected . <nl> + # endif <nl> <nl> - / / If current block is finished , reset pointer <nl> - if ( all_steps_done ) { <nl> - current_block = NULL ; <nl> - planner . discard_current_block ( ) ; <nl> + # if ENABLED ( Z_LATE_ENABLE ) <nl> + / / If delayed Z enable , enable it now . This option will severely interfere with <nl> + / / timing between pulses when chaining motion between blocks , and it could lead <nl> + / / to lost steps in both X and Y axis , so avoid using it unless strictly necessary ! ! <nl> + if ( current_block - > steps [ Z_AXIS ] ) enable_Z ( ) ; <nl> + # endif <nl> + } <nl> } <nl> + <nl> + / / Return the interval to wait <nl> + return interval ; <nl> } <nl> <nl> # if ENABLED ( LIN_ADVANCE ) <nl> void Stepper : : isr ( ) { <nl> # define EXTRA_CYCLES_E ( STEP_PULSE_CYCLES - ( CYCLES_EATEN_E ) ) <nl> <nl> / / Timer interrupt for E . e_steps is set in the main routine ; <nl> - <nl> - void Stepper : : advance_isr ( ) { <nl> + uint32_t Stepper : : advance_isr ( ) { <nl> + uint32_t interval ; <nl> <nl> # if ENABLED ( MK2_MULTIPLEXER ) / / For SNMM even - numbered steppers are reversed <nl> # define SET_E_STEP_DIR ( INDEX ) do { if ( e_steps ) E0_DIR_WRITE ( e_steps < 0 ? ! INVERT_E # # INDEX # # _DIR ^ TEST ( INDEX , 0 ) : INVERT_E # # INDEX # # _DIR ^ TEST ( INDEX , 0 ) ) ; } while ( 0 ) <nl> void Stepper : : isr ( ) { <nl> if ( step_events_completed > LA_decelerate_after & & current_adv_steps > final_adv_steps ) { <nl> e_steps - - ; <nl> current_adv_steps - - ; <nl> - nextAdvanceISR = eISR_Rate ; <nl> + interval = eISR_Rate ; <nl> } <nl> else if ( step_events_completed < LA_decelerate_after & & current_adv_steps < max_adv_steps ) { <nl> / / step_events_completed < = ( uint32_t ) current_block - > accelerate_until ) { <nl> e_steps + + ; <nl> current_adv_steps + + ; <nl> - nextAdvanceISR = eISR_Rate ; <nl> + interval = eISR_Rate ; <nl> } <nl> else { <nl> - nextAdvanceISR = ADV_NEVER ; <nl> + interval = ADV_NEVER ; <nl> eISR_Rate = ADV_NEVER ; <nl> } <nl> } <nl> else <nl> - nextAdvanceISR = ADV_NEVER ; <nl> + interval = ADV_NEVER ; <nl> <nl> switch ( LA_active_extruder ) { <nl> case 0 : SET_E_STEP_DIR ( 0 ) ; break ; <nl> void Stepper : : isr ( ) { <nl> # endif <nl> <nl> } / / e_steps <nl> - } <nl> <nl> - void Stepper : : advance_isr_scheduler ( ) { <nl> - <nl> - / / Run main stepping ISR if flagged <nl> - if ( ! nextMainISR ) isr ( ) ; <nl> - <nl> - / / Run Advance stepping ISR if flagged <nl> - if ( ! nextAdvanceISR ) advance_isr ( ) ; <nl> - <nl> - / / Is the next advance ISR scheduled before the next main ISR ? <nl> - if ( nextAdvanceISR < = nextMainISR ) { <nl> - / / Set up the next interrupt <nl> - HAL_timer_set_compare ( STEP_TIMER_NUM , nextAdvanceISR ) ; <nl> - / / New interval for the next main ISR <nl> - if ( nextMainISR ) nextMainISR - = nextAdvanceISR ; <nl> - / / Will call Stepper : : advance_isr on the next interrupt <nl> - nextAdvanceISR = 0 ; <nl> - } <nl> - else { <nl> - / / The next main ISR comes first <nl> - HAL_timer_set_compare ( STEP_TIMER_NUM , nextMainISR ) ; <nl> - / / New interval for the next advance ISR , if any <nl> - if ( nextAdvanceISR & & nextAdvanceISR ! = ADV_NEVER ) <nl> - nextAdvanceISR - = nextMainISR ; <nl> - / / Will call Stepper : : isr on the next interrupt <nl> - nextMainISR = 0 ; <nl> - } <nl> - <nl> - / / Make sure stepper ISR doesn ' t monopolize the CPU <nl> - HAL_timer_restrain ( STEP_TIMER_NUM , STEP_TIMER_MIN_INTERVAL * HAL_TICKS_PER_US ) ; <nl> + return interval ; <nl> } <nl> - <nl> # endif / / LIN_ADVANCE <nl> <nl> void Stepper : : init ( ) { <nl> void Stepper : : _set_position ( const int32_t & a , const int32_t & b , const int32_t & c <nl> * Get a stepper ' s position in steps . <nl> * / <nl> int32_t Stepper : : position ( const AxisEnum axis ) { <nl> - CRITICAL_SECTION_START ; <nl> - const int32_t count_pos = count_position [ axis ] ; <nl> - CRITICAL_SECTION_END ; <nl> - return count_pos ; <nl> - } <nl> + # ifdef __AVR__ <nl> + / / Protect the access to the position . Only required for AVR , as <nl> + / / any 32bit CPU offers atomic access to 32bit variables <nl> + const bool was_enabled = STEPPER_ISR_ENABLED ( ) ; <nl> + if ( was_enabled ) DISABLE_STEPPER_DRIVER_INTERRUPT ( ) ; <nl> + # endif <nl> <nl> - void Stepper : : finish_and_disable ( ) { <nl> - planner . synchronize ( ) ; <nl> - disable_all_steppers ( ) ; <nl> + int32_t v = count_position [ axis ] ; <nl> + <nl> + # ifdef __AVR__ <nl> + / / Reenable Stepper ISR <nl> + if ( was_enabled ) ENABLE_STEPPER_DRIVER_INTERRUPT ( ) ; <nl> + # endif <nl> + return v ; <nl> } <nl> <nl> void Stepper : : quick_stop ( ) { <nl> + const bool was_enabled = STEPPER_ISR_ENABLED ( ) ; <nl> DISABLE_STEPPER_DRIVER_INTERRUPT ( ) ; <nl> - kill_current_block ( ) ; <nl> - current_block = NULL ; <nl> - cleaning_buffer_counter = 5000 ; <nl> - planner . clear_block_buffer ( ) ; <nl> - ENABLE_STEPPER_DRIVER_INTERRUPT ( ) ; <nl> - # if ENABLED ( ULTRA_LCD ) <nl> - planner . clear_block_buffer_runtime ( ) ; <nl> - # endif <nl> + <nl> + if ( current_block ) { <nl> + step_events_completed = current_block - > step_event_count ; <nl> + current_block = NULL ; <nl> + } <nl> + <nl> + if ( was_enabled ) ENABLE_STEPPER_DRIVER_INTERRUPT ( ) ; <nl> + } <nl> + <nl> + void Stepper : : kill_current_block ( ) { <nl> + const bool was_enabled = STEPPER_ISR_ENABLED ( ) ; <nl> + DISABLE_STEPPER_DRIVER_INTERRUPT ( ) ; <nl> + <nl> + if ( current_block ) <nl> + step_events_completed = current_block - > step_event_count ; <nl> + <nl> + if ( was_enabled ) ENABLE_STEPPER_DRIVER_INTERRUPT ( ) ; <nl> } <nl> <nl> void Stepper : : endstop_triggered ( const AxisEnum axis ) { <nl> + const bool was_enabled = STEPPER_ISR_ENABLED ( ) ; <nl> + if ( was_enabled ) DISABLE_STEPPER_DRIVER_INTERRUPT ( ) ; <nl> <nl> # if IS_CORE <nl> <nl> void Stepper : : endstop_triggered ( const AxisEnum axis ) { <nl> <nl> # endif / / ! COREXY & & ! COREXZ & & ! COREYZ <nl> <nl> - kill_current_block ( ) ; <nl> - cleaning_buffer_counter = - 1 ; / / Discard the rest of the move <nl> + / / Discard the rest of the move if there is a current block <nl> + if ( current_block ) { <nl> + <nl> + / / Kill the current block being executed <nl> + step_events_completed = current_block - > step_event_count ; <nl> + <nl> + / / Prep to get a new block after cleaning <nl> + current_block = NULL ; <nl> + } <nl> + <nl> + if ( was_enabled ) ENABLE_STEPPER_DRIVER_INTERRUPT ( ) ; <nl> + } <nl> + <nl> + int32_t Stepper : : triggered_position ( const AxisEnum axis ) { <nl> + # ifdef __AVR__ <nl> + / / Protect the access to the position . Only required for AVR , as <nl> + / / any 32bit CPU offers atomic access to 32bit variables <nl> + const bool was_enabled = STEPPER_ISR_ENABLED ( ) ; <nl> + if ( was_enabled ) DISABLE_STEPPER_DRIVER_INTERRUPT ( ) ; <nl> + # endif <nl> + <nl> + const int32_t v = endstops_trigsteps [ axis ] ; <nl> + <nl> + # ifdef __AVR__ <nl> + / / Reenable Stepper ISR <nl> + if ( was_enabled ) ENABLE_STEPPER_DRIVER_INTERRUPT ( ) ; <nl> + # endif <nl> + <nl> + return v ; <nl> } <nl> <nl> void Stepper : : report_positions ( ) { <nl> - CRITICAL_SECTION_START ; <nl> + <nl> + / / Protect the access to the position . <nl> + const bool was_enabled = STEPPER_ISR_ENABLED ( ) ; <nl> + if ( was_enabled ) DISABLE_STEPPER_DRIVER_INTERRUPT ( ) ; <nl> + <nl> const int32_t xpos = count_position [ X_AXIS ] , <nl> ypos = count_position [ Y_AXIS ] , <nl> zpos = count_position [ Z_AXIS ] ; <nl> - CRITICAL_SECTION_END ; <nl> + <nl> + if ( was_enabled ) ENABLE_STEPPER_DRIVER_INTERRUPT ( ) ; <nl> <nl> # if CORE_IS_XY | | CORE_IS_XZ | | IS_DELTA | | IS_SCARA <nl> SERIAL_PROTOCOLPGM ( MSG_COUNT_A ) ; <nl> mmm a / Marlin / src / module / stepper . h <nl> ppp b / Marlin / src / module / stepper . h <nl> class Stepper { <nl> <nl> static block_t * current_block ; / / A pointer to the block currently being traced <nl> <nl> - # if ENABLED ( ABORT_ON_ENDSTOP_HIT_FEATURE_ENABLED ) <nl> - static bool abort_on_endstop_hit ; <nl> - # endif <nl> - <nl> # if ENABLED ( X_DUAL_ENDSTOPS ) | | ENABLED ( Y_DUAL_ENDSTOPS ) | | ENABLED ( Z_DUAL_ENDSTOPS ) <nl> static bool performing_homing ; <nl> # endif <nl> class Stepper { <nl> static uint32_t motor_current_setting [ 3 ] ; <nl> # endif <nl> <nl> - static int16_t cleaning_buffer_counter ; <nl> - <nl> private : <nl> <nl> static uint8_t last_direction_bits ; / / The next stepping - bits to be output <nl> class Stepper { <nl> <nl> / / Counter variables for the Bresenham line tracer <nl> static int32_t counter_X , counter_Y , counter_Z , counter_E ; <nl> - static volatile uint32_t step_events_completed ; / / The number of step events executed in the current block <nl> + static uint32_t step_events_completed ; / / The number of step events executed in the current block <nl> <nl> # if ENABLED ( BEZIER_JERK_CONTROL ) <nl> static int32_t bezier_A , / / A coefficient in Bézier speed curve <nl> class Stepper { <nl> static bool bezier_2nd_half ; / / If Bézier curve has been initialized or not <nl> # endif <nl> <nl> + static uint32_t nextMainISR ; / / time remaining for the next Step ISR <nl> + static bool all_steps_done ; / / all steps done <nl> + <nl> # if ENABLED ( LIN_ADVANCE ) <nl> <nl> static uint32_t LA_decelerate_after ; / / Copy from current executed block . Needed because current_block is set to NULL " too early " . <nl> - static hal_timer_t nextMainISR , nextAdvanceISR , eISR_Rate ; <nl> + static uint32_t nextAdvanceISR , eISR_Rate ; <nl> static uint16_t current_adv_steps , final_adv_steps , max_adv_steps ; / / Copy from current executed block . Needed because current_block is set to NULL " too early " . <nl> - # define _NEXT_ISR ( T ) nextMainISR = T <nl> static int8_t e_steps ; <nl> static bool use_advance_lead ; <nl> # if E_STEPPERS > 1 <nl> class Stepper { <nl> static constexpr int8_t LA_active_extruder = 0 ; <nl> # endif <nl> <nl> - # else / / ! LIN_ADVANCE <nl> - <nl> - # define _NEXT_ISR ( T ) HAL_timer_set_compare ( STEP_TIMER_NUM , T ) ; <nl> + # endif / / LIN_ADVANCE <nl> <nl> - # endif / / ! LIN_ADVANCE <nl> - <nl> - static int32_t acceleration_time , deceleration_time ; <nl> + static uint32_t acceleration_time , deceleration_time ; <nl> static uint8_t step_loops , step_loops_nominal ; <nl> <nl> - static hal_timer_t OCR1A_nominal ; <nl> + static uint32_t ticks_nominal ; <nl> # if DISABLED ( BEZIER_JERK_CONTROL ) <nl> - static hal_timer_t acc_step_rate ; / / needed for deceleration start point <nl> + static uint32_t acc_step_rate ; / / needed for deceleration start point <nl> # endif <nl> <nl> static volatile int32_t endstops_trigsteps [ XYZ ] ; <nl> class Stepper { <nl> / / <nl> Stepper ( ) { } ; <nl> <nl> - / / <nl> / / Initialize stepper hardware <nl> - / / <nl> static void init ( ) ; <nl> <nl> - / / <nl> / / Interrupt Service Routines <nl> - / / <nl> - <nl> - static void isr ( ) ; <nl> <nl> - # if ENABLED ( LIN_ADVANCE ) <nl> - static void advance_isr ( ) ; <nl> - static void advance_isr_scheduler ( ) ; <nl> - # endif <nl> + / / The ISR scheduler <nl> + static hal_timer_t isr_scheduler ( ) ; <nl> <nl> - / / <nl> - / / Set the current position in steps <nl> - / / <nl> - static void _set_position ( const int32_t & a , const int32_t & b , const int32_t & c , const int32_t & e ) ; <nl> + / / The stepper pulse phase ISR <nl> + static void stepper_pulse_phase_isr ( ) ; <nl> <nl> - FORCE_INLINE static void _set_position ( const AxisEnum a , const int32_t & v ) { count_position [ a ] = v ; } <nl> + / / The stepper block processing phase ISR <nl> + static uint32_t stepper_block_phase_isr ( ) ; <nl> <nl> - FORCE_INLINE static void set_position ( const int32_t & a , const int32_t & b , const int32_t & c , const int32_t & e ) { <nl> - planner . synchronize ( ) ; <nl> - CRITICAL_SECTION_START ; <nl> - _set_position ( a , b , c , e ) ; <nl> - CRITICAL_SECTION_END ; <nl> - } <nl> - <nl> - static void set_position ( const AxisEnum a , const int32_t & v ) { <nl> - planner . synchronize ( ) ; <nl> - CRITICAL_SECTION_START ; <nl> - count_position [ a ] = v ; <nl> - CRITICAL_SECTION_END ; <nl> - } <nl> - <nl> - FORCE_INLINE static void _set_e_position ( const int32_t & e ) { count_position [ E_AXIS ] = e ; } <nl> - <nl> - static void set_e_position ( const int32_t & e ) { <nl> - planner . synchronize ( ) ; <nl> - CRITICAL_SECTION_START ; <nl> - count_position [ E_AXIS ] = e ; <nl> - CRITICAL_SECTION_END ; <nl> - } <nl> - <nl> - / / <nl> - / / Set direction bits for all steppers <nl> - / / <nl> - static void set_directions ( ) ; <nl> + # if ENABLED ( LIN_ADVANCE ) <nl> + / / The Linear advance stepper ISR <nl> + static uint32_t advance_isr ( ) ; <nl> + # endif <nl> <nl> - / / <nl> / / Get the position of a stepper , in steps <nl> - / / <nl> static int32_t position ( const AxisEnum axis ) ; <nl> <nl> - / / <nl> / / Report the positions of the steppers , in steps <nl> - / / <nl> static void report_positions ( ) ; <nl> <nl> - / / <nl> / / The stepper subsystem goes to sleep when it runs out of things to execute . Call this <nl> / / to notify the subsystem that it is time to go to work . <nl> - / / <nl> static void wake_up ( ) ; <nl> <nl> - / / <nl> - / / Wait for moves to finish and disable all steppers <nl> - / / <nl> - static void finish_and_disable ( ) ; <nl> - <nl> - / / <nl> - / / Quickly stop all steppers and clear the blocks queue <nl> - / / <nl> + / / Quickly stop all steppers <nl> static void quick_stop ( ) ; <nl> <nl> - / / <nl> / / The direction of a single motor <nl> - / / <nl> FORCE_INLINE static bool motor_direction ( const AxisEnum axis ) { return TEST ( last_direction_bits , axis ) ; } <nl> <nl> + / / Kill current block <nl> + static void kill_current_block ( ) ; <nl> + <nl> + / / Handle a triggered endstop <nl> + static void endstop_triggered ( const AxisEnum axis ) ; <nl> + <nl> + / / Triggered position of an axis in steps <nl> + static int32_t triggered_position ( const AxisEnum axis ) ; <nl> + <nl> # if HAS_DIGIPOTSS | | HAS_MOTOR_CURRENT_PWM <nl> static void digitalPotWrite ( const int16_t address , const int16_t value ) ; <nl> static void digipot_current ( const uint8_t driver , const int16_t current ) ; <nl> class Stepper { <nl> static void babystep ( const AxisEnum axis , const bool direction ) ; / / perform a short step with a single stepper motor , outside of any convention <nl> # endif <nl> <nl> - static inline void kill_current_block ( ) { <nl> - step_events_completed = current_block - > step_event_count ; <nl> - } <nl> - <nl> - / / <nl> - / / Handle a triggered endstop <nl> - / / <nl> - static void endstop_triggered ( const AxisEnum axis ) ; <nl> - <nl> - / / <nl> - / / Triggered position of an axis in mm ( not core - savvy ) <nl> - / / <nl> - FORCE_INLINE static float triggered_position_mm ( const AxisEnum axis ) { <nl> - return endstops_trigsteps [ axis ] * planner . steps_to_mm [ axis ] ; <nl> - } <nl> - <nl> # if HAS_MOTOR_CURRENT_PWM <nl> static void refresh_motor_power ( ) ; <nl> # endif <nl> <nl> private : <nl> <nl> - FORCE_INLINE static hal_timer_t calc_timer_interval ( hal_timer_t step_rate ) { <nl> - hal_timer_t timer ; <nl> + / / Set the current position in steps <nl> + static void _set_position ( const int32_t & a , const int32_t & b , const int32_t & c , const int32_t & e ) ; <nl> + <nl> + / / Set direction bits for all steppers <nl> + static void set_directions ( ) ; <nl> + <nl> + FORCE_INLINE static uint32_t calc_timer_interval ( uint32_t step_rate ) { <nl> + uint32_t timer ; <nl> <nl> NOMORE ( step_rate , MAX_STEP_FREQUENCY ) ; <nl> <nl> - / / TODO : HAL : tidy this up , use condtionals_post . h <nl> + / / TODO : HAL : tidy this up , use Conditionals_post . h <nl> # ifdef CPU_32_BIT <nl> # if ENABLED ( DISABLE_MULTI_STEPPING ) <nl> step_loops = 1 ; <nl> class Stepper { <nl> step_rate - = F_CPU / 500000 ; / / Correct for minimal speed <nl> if ( step_rate > = ( 8 * 256 ) ) { / / higher step rate <nl> uint8_t tmp_step_rate = ( step_rate & 0x00FF ) ; <nl> - uint16_t table_address = ( uint16_t ) & speed_lookuptable_fast [ ( uint8_t ) ( step_rate > > 8 ) ] [ 0 ] ; <nl> - uint16_t gain = ( uint16_t ) pgm_read_word_near ( table_address + 2 ) ; <nl> + uint16_t table_address = ( uint16_t ) & speed_lookuptable_fast [ ( uint8_t ) ( step_rate > > 8 ) ] [ 0 ] , <nl> + gain = ( uint16_t ) pgm_read_word_near ( table_address + 2 ) ; <nl> timer = MultiU16X8toH16 ( tmp_step_rate , gain ) ; <nl> timer = ( uint16_t ) pgm_read_word_near ( table_address ) - timer ; <nl> } <nl> else { / / lower step rates <nl> uint16_t table_address = ( uint16_t ) & speed_lookuptable_slow [ 0 ] [ 0 ] ; <nl> table_address + = ( ( step_rate ) > > 1 ) & 0xFFFC ; <nl> - timer = ( uint16_t ) pgm_read_word_near ( table_address ) ; <nl> - timer - = ( ( ( uint16_t ) pgm_read_word_near ( table_address + 2 ) * ( uint8_t ) ( step_rate & 0x0007 ) ) > > 3 ) ; <nl> + timer = ( uint16_t ) pgm_read_word_near ( table_address ) <nl> + - ( ( ( uint16_t ) pgm_read_word_near ( table_address + 2 ) * ( uint8_t ) ( step_rate & 0x0007 ) ) > > 3 ) ; <nl> } <nl> if ( timer < 100 ) { / / ( 20kHz - this should never happen ) <nl> timer = 100 ; <nl> mmm a / Marlin / src / module / temperature . cpp <nl> ppp b / Marlin / src / module / temperature . cpp <nl> <nl> * / <nl> <nl> # include " temperature . h " <nl> + # include " endstops . h " <nl> <nl> # include " . . / Marlin . h " <nl> # include " . . / lcd / ultralcd . h " <nl> void Temperature : : set_current_temp_raw ( ) { <nl> * - Step the babysteps value for each axis towards 0 <nl> * - For PINS_DEBUGGING , monitor and report endstop pins <nl> * - For ENDSTOP_INTERRUPTS_FEATURE check endstops if flagged <nl> + * - Call planner . tick to count down its " ignore " time <nl> * / <nl> HAL_TEMP_TIMER_ISR { <nl> HAL_timer_isr_prologue ( TEMP_TIMER_NUM ) ; <nl> void Temperature : : isr ( ) { <nl> endstops . run_monitor ( ) ; / / report changes in endstop status <nl> # endif <nl> <nl> + / / Update endstops state , if enabled <nl> # if ENABLED ( ENDSTOP_INTERRUPTS_FEATURE ) <nl> - <nl> extern volatile uint8_t e_hit ; <nl> - <nl> if ( e_hit & & ENDSTOPS_ENABLED ) { <nl> - endstops . update ( ) ; / / call endstop update routine <nl> + endstops . update ( ) ; <nl> e_hit - - ; <nl> } <nl> + # else <nl> + if ( ENDSTOPS_ENABLED ) endstops . update ( ) ; <nl> # endif <nl> + <nl> + / / Periodically call the planner timer <nl> + planner . tick ( ) ; <nl> } <nl> <nl> # if HAS_TEMP_SENSOR <nl> mmm a / Marlin / src / sd / cardreader . cpp <nl> ppp b / Marlin / src / sd / cardreader . cpp <nl> <nl> # include " . . / Marlin . h " <nl> # include " . . / lcd / ultralcd . h " <nl> # include " . . / module / planner . h " <nl> - # include " . . / module / stepper . h " <nl> # include " . . / module / printcounter . h " <nl> # include " . . / core / language . h " <nl> # include " . . / gcode / queue . h " <nl> void CardReader : : printingHasFinished ( ) { <nl> # endif <nl> <nl> # if ENABLED ( SD_FINISHED_STEPPERRELEASE ) & & defined ( SD_FINISHED_RELEASECOMMAND ) <nl> - stepper . cleaning_buffer_counter = 1 ; / / The command will fire from the Stepper ISR <nl> + planner . finish_and_disable ( ) ; <nl> # endif <nl> print_job_timer . stop ( ) ; <nl> if ( print_job_timer . duration ( ) > 60 ) <nl>
Refactor and optimize Stepper / Planner
MarlinFirmware/Marlin
a11eb50a3eab6d58d595a67e526fb51190018db3
2018-05-20T11:23:58Z
mmm a / Code / CryEngine / CryCommon / CrySystem / ISystem . h <nl> ppp b / Code / CryEngine / CryCommon / CrySystem / ISystem . h <nl> struct SSystemInitParams <nl> <nl> # if CRY_PLATFORM_DURANGO <nl> const EPLM_Event * pLastPLMEvent ; <nl> + Windows : : ApplicationModel : : Activation : : IActivatedEventArgs ^ pFirstActivatedEventArgs ; <nl> # endif <nl> <nl> ISystem * pSystem ; / / ! < Pointer to existing ISystem interface , it will be reused if not NULL . <nl> mmm a / Code / CryPlugins / CryGamePlatform / Interface / IGamePlatform . h <nl> ppp b / Code / CryPlugins / CryGamePlatform / Interface / IGamePlatform . h <nl> namespace Cry <nl> / / ! \ note Can be expensive . Don ' t call too often . <nl> virtual const DynArray < IUser * > & GetFriends ( ) const = 0 ; <nl> <nl> + # if CRY_GAMEPLATFORM_EXPERIMENTAL <nl> + / / ! Gets a list of all users that are blocked by the local user <nl> + / / ! \ note Can be expensive . Don ' t call too often . <nl> + virtual const DynArray < IUser * > & GetBlockedUsers ( ) const = 0 ; <nl> + <nl> + / / ! Gets a list of all users that are muted by the local user <nl> + / / ! \ note Can be expensive . Don ' t call too often . <nl> + virtual const DynArray < IUser * > & GetMutedUsers ( ) const = 0 ; <nl> + # endif / / CRY_GAMEPLATFORM_EXPERIMENTAL <nl> + <nl> / / ! Gets an IUser representation of another user by platform user id <nl> / / ! \ note This function can rarely fail , as UserIdentifier is expected to be created by IUser objects only <nl> virtual IUser * GetUserById ( const UserIdentifier & id ) const = 0 ; <nl> mmm a / Code / CryPlugins / CryGamePlatform / Interface / IPlatformService . h <nl> ppp b / Code / CryPlugins / CryGamePlatform / Interface / IPlatformService . h <nl> namespace Cry <nl> virtual IAccount * GetLocalAccount ( ) const = 0 ; <nl> / / ! Gets local user ' s friend accounts <nl> virtual const DynArray < IAccount * > & GetFriendAccounts ( ) const = 0 ; <nl> + # if CRY_GAMEPLATFORM_EXPERIMENTAL <nl> + / / ! Gets local user ' s blocked accounts <nl> + virtual const DynArray < IAccount * > & GetBlockedAccounts ( ) const = 0 ; <nl> + / / ! Gets local user ' s muted accounts <nl> + virtual const DynArray < IAccount * > & GetMutedAccounts ( ) const = 0 ; <nl> + # endif / / CRY_GAMEPLATFORM_EXPERIMENTAL <nl> / / ! Gets an IAccount representation of another user by account id <nl> virtual IAccount * GetAccountById ( const AccountIdentifier & accountId ) const = 0 ; <nl> <nl> mmm a / Code / CryPlugins / CryGamePlatform / Interface / PlatformTypes . h <nl> ppp b / Code / CryPlugins / CryGamePlatform / Interface / PlatformTypes . h <nl> namespace Cry <nl> namespace Detail <nl> { <nl> using NumericIdentifierValue = uint64 ; <nl> - using StringIdentifierValue = CryFixedStringT < 32 > ; <nl> + using StringIdentifierValue = CryFixedStringT < 48 > ; <nl> <nl> struct STraitsBase <nl> { <nl> mmm a / Code / CryPlugins / CryGamePlatform / Module / Core / GamePlatform . cpp <nl> ppp b / Code / CryPlugins / CryGamePlatform / Module / Core / GamePlatform . cpp <nl> namespace Cry <nl> return m_friends ; <nl> } <nl> <nl> + # if CRY_GAMEPLATFORM_EXPERIMENTAL <nl> + const DynArray < IUser * > & CPlugin : : GetBlockedUsers ( ) const <nl> + { <nl> + m_blockedUsers . clear ( ) ; <nl> + <nl> + if ( const IService * pMainService = GetMainService ( ) ) <nl> + { <nl> + const DynArray < IAccount * > & accounts = pMainService - > GetBlockedAccounts ( ) ; <nl> + for ( IAccount * pAccount : accounts ) <nl> + { <nl> + stl : : push_back_unique ( m_blockedUsers , TryGetUser ( * pAccount ) ) ; <nl> + } <nl> + } <nl> + <nl> + return m_blockedUsers ; <nl> + } <nl> + <nl> + const DynArray < IUser * > & CPlugin : : GetMutedUsers ( ) const <nl> + { <nl> + m_mutedUsers . clear ( ) ; <nl> + <nl> + if ( const IService * pMainService = GetMainService ( ) ) <nl> + { <nl> + const DynArray < IAccount * > & accounts = pMainService - > GetMutedAccounts ( ) ; <nl> + for ( IAccount * pAccount : accounts ) <nl> + { <nl> + stl : : push_back_unique ( m_mutedUsers , TryGetUser ( * pAccount ) ) ; <nl> + } <nl> + } <nl> + <nl> + return m_mutedUsers ; <nl> + } <nl> + # endif / / CRY_GAMEPLATFORM_EXPERIMENTAL <nl> + <nl> IServer * CPlugin : : CreateServer ( bool bLocal ) <nl> { <nl> if ( IService * pMainService = GetMainService ( ) ) <nl> mmm a / Code / CryPlugins / CryGamePlatform / Module / Core / GamePlatform . h <nl> ppp b / Code / CryPlugins / CryGamePlatform / Module / Core / GamePlatform . h <nl> namespace Cry <nl> virtual IUser * GetUserById ( const AccountIdentifier & accountId ) const override ; <nl> <nl> virtual const DynArray < IUser * > & GetFriends ( ) const override ; <nl> + # if CRY_GAMEPLATFORM_EXPERIMENTAL <nl> + virtual const DynArray < IUser * > & GetBlockedUsers ( ) const override ; <nl> + virtual const DynArray < IUser * > & GetMutedUsers ( ) const override ; <nl> + # endif / / CRY_GAMEPLATFORM_EXPERIMENTAL <nl> <nl> virtual IServer * CreateServer ( bool bLocal ) override ; <nl> virtual IServer * GetLocalServer ( ) const override ; <nl> namespace Cry <nl> / / Index ' 0 ' is reserved for local user <nl> mutable std : : vector < std : : unique_ptr < CUser > > m_users ; <nl> mutable DynArray < IUser * > m_friends ; <nl> + # if CRY_GAMEPLATFORM_EXPERIMENTAL <nl> + mutable DynArray < IUser * > m_blockedUsers ; <nl> + mutable DynArray < IUser * > m_mutedUsers ; <nl> + # endif / / CRY_GAMEPLATFORM_EXPERIMENTAL <nl> } ; <nl> } <nl> } <nl> \ No newline at end of file <nl> mmm a / Code / CryPlugins / CryGamePlatform / Module / Discord / DiscordService . cpp <nl> ppp b / Code / CryPlugins / CryGamePlatform / Module / Discord / DiscordService . cpp <nl> namespace Cry <nl> return m_friends ; <nl> } <nl> <nl> + # if CRY_GAMEPLATFORM_EXPERIMENTAL <nl> + const DynArray < IAccount * > & CService : : GetBlockedAccounts ( ) const <nl> + { <nl> + CryWarning ( VALIDATOR_MODULE_SYSTEM , VALIDATOR_ERROR , " [ Discord ] [ Service ] GetBlockedAccounts ( ) is not implemented yet " ) ; <nl> + <nl> + return m_blockedAccounts ; <nl> + } <nl> + <nl> + const DynArray < IAccount * > & CService : : GetMutedAccounts ( ) const <nl> + { <nl> + CryWarning ( VALIDATOR_MODULE_SYSTEM , VALIDATOR_ERROR , " [ Discord ] [ Service ] GetMutedAccounts ( ) is not implemented yet " ) ; <nl> + <nl> + return m_mutedAccounts ; <nl> + } <nl> + # endif / / CRY_GAMEPLATFORM_EXPERIMENTAL <nl> + <nl> CAccount * CService : : GetAccountById ( const AccountIdentifier & accountId ) const <nl> { <nl> if ( m_localAccount & & m_localAccount - > GetIdentifier ( ) = = accountId ) <nl> mmm a / Code / CryPlugins / CryGamePlatform / Module / Discord / DiscordService . h <nl> ppp b / Code / CryPlugins / CryGamePlatform / Module / Discord / DiscordService . h <nl> namespace Cry <nl> virtual CAccount * GetLocalAccount ( ) const override ; <nl> <nl> virtual const DynArray < IAccount * > & GetFriendAccounts ( ) const override ; <nl> + # if CRY_GAMEPLATFORM_EXPERIMENTAL <nl> + virtual const DynArray < IAccount * > & GetBlockedAccounts ( ) const override ; <nl> + virtual const DynArray < IAccount * > & GetMutedAccounts ( ) const override ; <nl> + # endif / / CRY_GAMEPLATFORM_EXPERIMENTAL <nl> virtual CAccount * GetAccountById ( const AccountIdentifier & accountId ) const override ; <nl> virtual bool IsFriendWith ( const AccountIdentifier & accountId ) const override ; <nl> virtual EFriendRelationship GetFriendRelationship ( const AccountIdentifier & accountId ) const override ; <nl> namespace Cry <nl> <nl> std : : unique_ptr < CAccount > m_localAccount ; <nl> mutable DynArray < IAccount * > m_friends ; <nl> + # if CRY_GAMEPLATFORM_EXPERIMENTAL <nl> + DynArray < IAccount * > m_blockedAccounts ; <nl> + DynArray < IAccount * > m_mutedAccounts ; <nl> + # endif / / CRY_GAMEPLATFORM_EXPERIMENTAL <nl> <nl> std : : vector < IListener * > m_listeners ; <nl> } ; <nl> mmm a / Code / CryPlugins / CryGamePlatform / Module / Rail / RailService . cpp <nl> ppp b / Code / CryPlugins / CryGamePlatform / Module / Rail / RailService . cpp <nl> namespace Cry <nl> return m_friends ; <nl> } <nl> <nl> + # if CRY_GAMEPLATFORM_EXPERIMENTAL <nl> + const DynArray < IAccount * > & CService : : GetBlockedAccounts ( ) const <nl> + { <nl> + CryWarning ( VALIDATOR_MODULE_SYSTEM , VALIDATOR_ERROR , " [ Rail ] [ Service ] GetBlockedAccounts ( ) is not implemented yet " ) ; <nl> + <nl> + return m_blockedAccounts ; <nl> + } <nl> + <nl> + const DynArray < IAccount * > & CService : : GetMutedAccounts ( ) const <nl> + { <nl> + CryWarning ( VALIDATOR_MODULE_SYSTEM , VALIDATOR_ERROR , " [ Rail ] [ Service ] GetMutedAccounts ( ) is not implemented yet " ) ; <nl> + <nl> + return m_mutedAccounts ; <nl> + } <nl> + # endif / / CRY_GAMEPLATFORM_EXPERIMENTAL <nl> + <nl> CAccount * CService : : GetAccountById ( const AccountIdentifier & accountId ) const <nl> { <nl> return TryGetAccount ( accountId ) ; <nl> mmm a / Code / CryPlugins / CryGamePlatform / Module / Rail / RailService . h <nl> ppp b / Code / CryPlugins / CryGamePlatform / Module / Rail / RailService . h <nl> namespace Cry <nl> virtual CAccount * GetLocalAccount ( ) const override ; <nl> <nl> virtual const DynArray < IAccount * > & GetFriendAccounts ( ) const override ; <nl> + # if CRY_GAMEPLATFORM_EXPERIMENTAL <nl> + virtual const DynArray < IAccount * > & GetBlockedAccounts ( ) const override ; <nl> + virtual const DynArray < IAccount * > & GetMutedAccounts ( ) const override ; <nl> + # endif / / CRY_GAMEPLATFORM_EXPERIMENTAL <nl> virtual CAccount * GetAccountById ( const AccountIdentifier & accountId ) const override ; <nl> virtual bool IsFriendWith ( const AccountIdentifier & accountId ) const override ; <nl> virtual EFriendRelationship GetFriendRelationship ( const AccountIdentifier & accountId ) const override ; <nl> namespace Cry <nl> <nl> mutable std : : vector < std : : unique_ptr < CAccount > > m_accounts ; <nl> mutable DynArray < IAccount * > m_friends ; <nl> + # if CRY_GAMEPLATFORM_EXPERIMENTAL <nl> + DynArray < IAccount * > m_blockedAccounts ; <nl> + DynArray < IAccount * > m_mutedAccounts ; <nl> + # endif / / CRY_GAMEPLATFORM_EXPERIMENTAL <nl> <nl> std : : vector < IListener * > m_listeners ; <nl> <nl> mmm a / Code / CryPlugins / CryGamePlatform / Module / Steam / SteamService . cpp <nl> ppp b / Code / CryPlugins / CryGamePlatform / Module / Steam / SteamService . cpp <nl> namespace Cry <nl> return m_friends ; <nl> } <nl> <nl> + # if CRY_GAMEPLATFORM_EXPERIMENTAL <nl> + const DynArray < IAccount * > & CService : : GetBlockedAccounts ( ) const <nl> + { <nl> + CryWarning ( VALIDATOR_MODULE_SYSTEM , VALIDATOR_ERROR , " [ Steam ] [ Service ] GetBlockedAccounts ( ) is not implemented yet " ) ; <nl> + <nl> + return m_blockedAccounts ; <nl> + } <nl> + <nl> + const DynArray < IAccount * > & CService : : GetMutedAccounts ( ) const <nl> + { <nl> + CryWarning ( VALIDATOR_MODULE_SYSTEM , VALIDATOR_ERROR , " [ Steam ] [ Service ] GetMutedAccounts ( ) is not implemented yet " ) ; <nl> + <nl> + return m_mutedAccounts ; <nl> + } <nl> + # endif / / CRY_GAMEPLATFORM_EXPERIMENTAL <nl> + <nl> CAccount * CService : : GetAccountById ( const AccountIdentifier & accountId ) const <nl> { <nl> return TryGetAccount ( accountId ) ; <nl> mmm a / Code / CryPlugins / CryGamePlatform / Module / Steam / SteamService . h <nl> ppp b / Code / CryPlugins / CryGamePlatform / Module / Steam / SteamService . h <nl> namespace Cry <nl> virtual CAccount * GetLocalAccount ( ) const override ; <nl> <nl> virtual const DynArray < IAccount * > & GetFriendAccounts ( ) const override ; <nl> + # if CRY_GAMEPLATFORM_EXPERIMENTAL <nl> + virtual const DynArray < IAccount * > & GetBlockedAccounts ( ) const override ; <nl> + virtual const DynArray < IAccount * > & GetMutedAccounts ( ) const override ; <nl> + # endif / / CRY_GAMEPLATFORM_EXPERIMENTAL <nl> virtual CAccount * GetAccountById ( const AccountIdentifier & accountId ) const override ; <nl> virtual bool IsFriendWith ( const AccountIdentifier & accountId ) const override ; <nl> virtual EFriendRelationship GetFriendRelationship ( const AccountIdentifier & accountId ) const override ; <nl> namespace Cry <nl> <nl> mutable std : : vector < std : : unique_ptr < CAccount > > m_accounts ; <nl> mutable DynArray < IAccount * > m_friends ; <nl> + # if CRY_GAMEPLATFORM_EXPERIMENTAL <nl> + DynArray < IAccount * > m_blockedAccounts ; <nl> + DynArray < IAccount * > m_mutedAccounts ; <nl> + # endif / / CRY_GAMEPLATFORM_EXPERIMENTAL <nl> <nl> std : : vector < IListener * > m_listeners ; <nl> <nl>
! X ( GamePlatform ) ( HNT - 35174 ) Interface changes to expose blocked and muted players
CRYTEK/CRYENGINE
a5e9463b747cee4658328c46e5b2563719ae736f
2019-03-27T17:22:43Z
mmm a / stdlib / public / Platform / winsdk . modulemap <nl> ppp b / stdlib / public / Platform / winsdk . modulemap <nl> module WinSDK [ system ] { <nl> <nl> module IMM { <nl> header " immdev . h " <nl> + header " imm . h " <nl> export * <nl> <nl> link " Imm32 . lib " <nl>
Merge pull request from egorzhdan / winsdk
apple/swift
246fe46aa77b5827fdd0af602174713caf8dd25f
2020-10-24T19:38:00Z
mmm a / include / nlohmann / detail / input / binary_reader . hpp <nl> ppp b / include / nlohmann / detail / input / binary_reader . hpp <nl> <nl> # include < cmath > / / ldexp <nl> # include < cstddef > / / size_t <nl> # include < cstdint > / / uint8_t , uint16_t , uint32_t , uint64_t <nl> - # include < cstdio > / / snprinft <nl> + # include < cstdio > / / snprintf <nl> # include < cstring > / / memcpy <nl> # include < iterator > / / back_inserter <nl> # include < limits > / / numeric_limits <nl>
typo
nlohmann/json
48656a49f59494789758008f662a5bad2b188a45
2018-05-31T13:32:21Z
mmm a / doc / build - osx . md <nl> ppp b / doc / build - osx . md <nl> Bitcoin Core is now available at ` . / src / bitcoind ` <nl> <nl> Before running , you may create an empty configuration file : <nl> <nl> + mkdir - p " / Users / $ { USER } / Library / Application Support / Bitcoin " <nl> + <nl> touch " / Users / $ { USER } / Library / Application Support / Bitcoin / bitcoin . conf " <nl> <nl> chmod 600 " / Users / $ { USER } / Library / Application Support / Bitcoin / bitcoin . conf " <nl>
Merge : doc : mention creating application support bitcoin folder on OSX
bitcoin/bitcoin
2a191b48463adc64dfb6187fccb7742c795dee60
2019-04-15T12:42:15Z
mmm a / lib / SILOptimizer / SILCombiner / SILCombinerApplyVisitors . cpp <nl> ppp b / lib / SILOptimizer / SILCombiner / SILCombinerApplyVisitors . cpp <nl> SILCombiner : : optimizeApplyOfConvertFunctionInst ( FullApplySite AI , <nl> assert ( NewOpType . isAddress ( ) & & " Addresses should map to addresses . " ) ; <nl> auto UAC = Builder . createUncheckedAddrCast ( AI . getLoc ( ) , Op , NewOpType ) ; <nl> Args . push_back ( UAC ) ; <nl> - } else if ( SILType : : canRefCast ( OldOpType , NewOpType , AI . getModule ( ) ) ) { <nl> - auto URC = Builder . createUncheckedRefCast ( AI . getLoc ( ) , Op , NewOpType ) ; <nl> + } else if ( OldOpType . getSwiftRValueType ( ) ! = NewOpType . getSwiftRValueType ( ) ) { <nl> + auto URC = Builder . createUncheckedBitCast ( AI . getLoc ( ) , Op , NewOpType ) ; <nl> Args . push_back ( URC ) ; <nl> } else { <nl> - assert ( ( ! OldOpType . isHeapObjectReferenceType ( ) <nl> - & & ! NewOpType . isHeapObjectReferenceType ( ) ) & & <nl> - " ref argument types should map to refs . " ) ; <nl> Args . push_back ( Op ) ; <nl> } <nl> } <nl> mmm a / test / SILOptimizer / sil_combine_apply . sil <nl> ppp b / test / SILOptimizer / sil_combine_apply . sil <nl> bb11 ( % 128 : $ Error ) : <nl> bb99 : <nl> return % closure : $ @ callee_guaranteed ( @ guaranteed C ) - > @ error Error <nl> } <nl> + <nl> + / / Make sure convert_function - > apply does the right thing with metatypes <nl> + class Base { } <nl> + class Derived { } <nl> + <nl> + sil @ takesMetatype : $ @ convention ( thin ) ( @ thick Base . Type ) - > ( ) <nl> + <nl> + / / CHECK - LABEL : sil @ passesMetatype <nl> + / / CHECK : [ [ METATYPE : % . * ] ] = metatype $ @ thick Derived . Type <nl> + / / CHECK : [ [ FN : % . * ] ] = function_ref @ takesMetatype <nl> + / / CHECK : [ [ CONVERTED : % . * ] ] = unchecked_trivial_bit_cast [ [ METATYPE ] ] : $ @ thick Derived . Type to $ @ thick Base . Type <nl> + / / CHECK : [ [ RESULT : % . * ] ] = apply [ [ FN ] ] ( [ [ CONVERTED ] ] ) <nl> + <nl> + sil @ passesMetatype : $ @ convention ( thin ) ( ) - > ( ) { <nl> + bb0 : <nl> + % metatype = metatype $ @ thick Derived . Type <nl> + % fn = function_ref @ takesMetatype : $ @ convention ( thin ) ( @ thick Base . Type ) - > ( ) <nl> + % converted = convert_function % fn : $ @ convention ( thin ) ( @ thick Base . Type ) - > ( ) to $ @ convention ( thin ) ( @ thick Derived . Type ) - > ( ) <nl> + % result = apply % converted ( % metatype ) : $ @ convention ( thin ) ( @ thick Derived . Type ) - > ( ) <nl> + % return = tuple ( ) <nl> + return % return : $ ( ) <nl> + } <nl> mmm a / validation - test / Evolution / test_superclass_methods . swift <nl> ppp b / validation - test / Evolution / test_superclass_methods . swift <nl> <nl> / / RUN : % target - resilience - test <nl> / / REQUIRES : executable_test <nl> <nl> - / / rdar : / / 35492775 <nl> - / / REQUIRES : swift_test_mode_optimize_none <nl> - <nl> import StdlibUnittest <nl> import superclass_methods <nl> <nl> mmm a / validation - test / Evolution / test_superclass_properties . swift <nl> ppp b / validation - test / Evolution / test_superclass_properties . swift <nl> <nl> / / RUN : % target - resilience - test <nl> / / REQUIRES : executable_test <nl> <nl> - / / rdar : / / 35492775 <nl> - / / REQUIRES : swift_test_mode_optimize_none <nl> - <nl> import StdlibUnittest <nl> import superclass_properties <nl> <nl>
SILOptimizer : Fix convert_function - > apply peephole for metatype conversions
apple/swift
fb2a6d2025464438028498283e5f3c18a67a6290
2017-11-14T06:10:14Z
mmm a / torch / distributed / __init__ . py <nl> ppp b / torch / distributed / __init__ . py <nl> def is_available ( ) : <nl> # this . <nl> <nl> from . distributed_c10d import _backend <nl> - <nl> - # TODO : remove this once CI issue is resolved <nl> - # https : / / github . com / pytorch / pytorch / issues / 42517 <nl> - from . distributed_c10d import _P2POp , _batch_isend_irecv <nl> mmm a / torch / distributed / distributed_c10d . py <nl> ppp b / torch / distributed / distributed_c10d . py <nl> def _check_op ( op ) : <nl> <nl> def _check_p2p_op_list ( p2p_op_list ) : <nl> " " " <nl> - Helper to check that the ` ` p2p_op_list ` ` is a list of _P2POp instances and <nl> + Helper to check that the ` ` p2p_op_list ` ` is a list of P2POp instances and <nl> all ops use the same backend . <nl> " " " <nl> if not isinstance ( p2p_op_list , list ) or \ <nl> - not all ( isinstance ( p2p_op , _P2POp ) for p2p_op in p2p_op_list ) : <nl> + not all ( isinstance ( p2p_op , P2POp ) for p2p_op in p2p_op_list ) : <nl> raise RuntimeError ( " Invalid ` ` p2p_op_list ` ` . Each op is expected to " <nl> - " to be of type ` ` torch . distributed . _P2POp ` ` . " ) <nl> + " to be of type ` ` torch . distributed . P2POp ` ` . " ) <nl> <nl> <nl> backend = get_backend ( p2p_op_list [ 0 ] . group ) <nl> def recv ( tensor , <nl> return src <nl> <nl> <nl> - class _P2POp ( object ) : <nl> + class P2POp ( object ) : <nl> " " " <nl> - A class to build point - to - point operations for ` ` _batch_isend_irecv ` ` . <nl> + A class to build point - to - point operations for ` ` batch_isend_irecv ` ` . <nl> <nl> This class builds the type of P2P operation , communication buffer , peer rank , <nl> Process Group group , and tag . Instances of this class will be passed to <nl> - ` ` _batch_isend_irecv ` ` for point - to - point communications . <nl> + ` ` batch_isend_irecv ` ` for point - to - point communications . <nl> <nl> Arguments : <nl> op ( callable ) : A function to send data to or receive data from a peer process . <nl> def _batch_p2p_manager ( backend ) : <nl> ProcessGroupNCCL . _group_end ( ) <nl> <nl> <nl> - def _batch_isend_irecv ( p2p_op_list ) : <nl> + def batch_isend_irecv ( p2p_op_list ) : <nl> " " " <nl> Send or Receive a batch of tensors asynchronously and return a list of requests . <nl> <nl> def _batch_isend_irecv ( p2p_op_list ) : <nl> <nl> Arguments : <nl> p2p_op_list : A list of point - to - point operations ( type of each operator is <nl> - ` ` torch . distributed . _P2POp ` ` ) . The order of the isend / irecv in the list <nl> + ` ` torch . distributed . P2POp ` ` ) . The order of the isend / irecv in the list <nl> matters and it needs to match with corresponding isend / irecv on the <nl> remote end . <nl> <nl> def _batch_isend_irecv ( p2p_op_list ) : <nl> Examples : <nl> > > > send_tensor = torch . arange ( 2 ) + 2 * rank <nl> > > > recv_tensor = torch . randn ( 2 ) <nl> - > > > send_op = dist . _P2POp ( dist . isend , send_tensor , ( rank + 1 ) % world_size ) <nl> - > > > recv_op = dist . _P2POp ( dist . irecv , recv_tensor , ( rank + 1 ) % world_size ) <nl> - > > > reqs = _batch_isend_irecv ( [ send_op , recv_op ] ) <nl> + > > > send_op = dist . P2POp ( dist . isend , send_tensor , ( rank + 1 ) % world_size ) <nl> + > > > recv_op = dist . P2POp ( dist . irecv , recv_tensor , ( rank + 1 ) % world_size ) <nl> + > > > reqs = batch_isend_irecv ( [ send_op , recv_op ] ) <nl> > > > for req in reqs : <nl> > > > req . wait ( ) <nl> > > > recv_tensor <nl> mmm a / torch / testing / _internal / distributed / distributed_test . py <nl> ppp b / torch / testing / _internal / distributed / distributed_test . py <nl> def test_batch_isend_irecv_nccl ( self ) : <nl> for src in range ( 0 , dist . get_world_size ( ) ) : <nl> send_tensor = _build_tensor ( rank + 1 , device_id = device_id ) <nl> recv_tensor = _build_tensor ( src + 1 , value = - 1 , device_id = device_id ) <nl> - recv_op = dist . _P2POp ( dist . irecv , recv_tensor , src ) <nl> + recv_op = dist . P2POp ( dist . irecv , recv_tensor , src ) <nl> p2p_op_list . append ( recv_op ) <nl> - send_op = dist . _P2POp ( dist . isend , send_tensor , src ) <nl> + send_op = dist . P2POp ( dist . isend , send_tensor , src ) <nl> p2p_op_list . append ( send_op ) <nl> <nl> - reqs = dist . _batch_isend_irecv ( p2p_op_list ) <nl> + reqs = dist . batch_isend_irecv ( p2p_op_list ) <nl> for req in reqs : <nl> req . wait ( ) <nl> <nl> self . _barrier ( ) <nl> <nl> @ skip_if_no_gpu <nl> - @ unittest . skip ( " NCCL P2P is not enabled for OSS builds " ) <nl> @ unittest . skipIf ( BACKEND ! = " nccl " , " NCCL Batch Send Recv Only " ) <nl> @ requires_nccl_version ( 2700 , " Need NCCL 2 . 7 + for send / recv " ) <nl> def test_batch_isend_irecv_self_nccl ( self ) : <nl> def test_batch_isend_irecv_self_nccl ( self ) : <nl> if rank = = 0 : <nl> send_tensor = _build_tensor ( rank + 1 , device_id = device_id ) <nl> recv_tensor = _build_tensor ( rank + 1 , value = - 1 , device_id = device_id ) <nl> - recv_op = dist . _P2POp ( dist . irecv , recv_tensor , 0 ) <nl> + recv_op = dist . P2POp ( dist . irecv , recv_tensor , 0 ) <nl> p2p_op_list . append ( recv_op ) <nl> - send_op = dist . _P2POp ( dist . isend , send_tensor , 0 ) <nl> + send_op = dist . P2POp ( dist . isend , send_tensor , 0 ) <nl> p2p_op_list . append ( send_op ) <nl> <nl> - reqs = dist . _batch_isend_irecv ( p2p_op_list ) <nl> + reqs = dist . batch_isend_irecv ( p2p_op_list ) <nl> for req in reqs : <nl> req . wait ( ) <nl> <nl> def test_batch_isend_irecv_no_rank_zero_nccl ( self ) : <nl> if rank in [ 1 , 2 ] : <nl> send_tensor = _build_tensor ( rank + 1 , device_id = device_id ) <nl> recv_tensor = _build_tensor ( peer + 1 , value = - 1 , device_id = device_id ) <nl> - recv_op = dist . _P2POp ( dist . irecv , recv_tensor , peer ) <nl> + recv_op = dist . P2POp ( dist . irecv , recv_tensor , peer ) <nl> p2p_op_list . append ( recv_op ) <nl> - send_op = dist . _P2POp ( dist . isend , send_tensor , peer ) <nl> + send_op = dist . P2POp ( dist . isend , send_tensor , peer ) <nl> p2p_op_list . append ( send_op ) <nl> <nl> - reqs = dist . _batch_isend_irecv ( p2p_op_list ) <nl> + reqs = dist . batch_isend_irecv ( p2p_op_list ) <nl> for req in reqs : <nl> req . wait ( ) <nl> <nl> def test_batch_isend_irecv_gloo ( self ) : <nl> continue <nl> send_tensor = _build_tensor ( rank + 1 ) <nl> recv_tensor = _build_tensor ( src + 1 , value = - 1 ) <nl> - recv_op = dist . _P2POp ( dist . irecv , recv_tensor , src ) <nl> + recv_op = dist . P2POp ( dist . irecv , recv_tensor , src ) <nl> p2p_op_list . append ( recv_op ) <nl> - send_op = dist . _P2POp ( dist . isend , send_tensor , src ) <nl> + send_op = dist . P2POp ( dist . isend , send_tensor , src ) <nl> p2p_op_list . append ( send_op ) <nl> <nl> - reqs = dist . _batch_isend_irecv ( p2p_op_list ) <nl> + reqs = dist . batch_isend_irecv ( p2p_op_list ) <nl> for req in reqs : <nl> req . wait ( ) <nl> <nl> def test_batch_isend_irecv_gloo_tags ( self ) : <nl> continue <nl> send_tensor = _build_tensor ( rank + 1 ) <nl> recv_tensor = _build_tensor ( src + 1 , value = - 1 ) <nl> - recv_op = dist . _P2POp ( dist . irecv , recv_tensor , src , tag = src ) <nl> + recv_op = dist . P2POp ( dist . irecv , recv_tensor , src , tag = src ) <nl> p2p_op_list . append ( recv_op ) <nl> - send_op = dist . _P2POp ( dist . isend , send_tensor , src , tag = rank ) <nl> + send_op = dist . P2POp ( dist . isend , send_tensor , src , tag = rank ) <nl> p2p_op_list . append ( send_op ) <nl> <nl> - reqs = dist . _batch_isend_irecv ( p2p_op_list ) <nl> + reqs = dist . batch_isend_irecv ( p2p_op_list ) <nl> for req in reqs : <nl> req . wait ( ) <nl> <nl> self . _barrier ( ) <nl> <nl> # NCCL Batch SEND RECV Tensor Error <nl> - @ unittest . skip ( " NCCL P2P is not enabled for OSS builds " ) <nl> @ unittest . skipIf ( BACKEND ! = " nccl " , " NCCL Batch Send Recv Only " ) <nl> @ requires_nccl_version ( 2700 , " Need NCCL 2 . 7 + for send / recv " ) <nl> def test_batch_isend_irecv_tensor_err ( self ) : <nl> def test_batch_isend_irecv_tensor_err ( self ) : <nl> RuntimeError , " Tensors must be CUDA and dense " <nl> ) : <nl> send_tensor = _build_tensor ( rank + 1 ) <nl> - send_op = dist . _P2POp ( dist . isend , send_tensor , 1 ) <nl> - req = dist . _batch_isend_irecv ( [ send_op ] ) <nl> + send_op = dist . P2POp ( dist . isend , send_tensor , 1 ) <nl> + req = dist . batch_isend_irecv ( [ send_op ] ) <nl> req . wait ( ) <nl> <nl> # NCCL Batch SEND RECV Op Error <nl> - @ unittest . skip ( " NCCL P2P is not enabled for OSS builds " ) <nl> @ unittest . skipIf ( BACKEND ! = " nccl " , " NCCL Batch Send Recv Only " ) <nl> @ requires_nccl_version ( 2700 , " Need NCCL 2 . 7 + for send / recv " ) <nl> def test_batch_isend_irecv_op_err ( self ) : <nl> def test_batch_isend_irecv_op_err ( self ) : <nl> RuntimeError , " ^ Invalid ` ` op ` ` " <nl> ) : <nl> send_tensor = _build_tensor ( rank + 1 , device_id = device_id ) <nl> - send_op = dist . _P2POp ( dist . broadcast , send_tensor , 1 ) <nl> - req = dist . _batch_isend_irecv ( [ send_op ] ) <nl> + send_op = dist . P2POp ( dist . broadcast , send_tensor , 1 ) <nl> + req = dist . batch_isend_irecv ( [ send_op ] ) <nl> req . wait ( ) <nl> <nl> # NCCL Batch SEND RECV p2p_op_list Error <nl> - @ unittest . skip ( " NCCL P2P is not enabled for OSS builds " ) <nl> @ unittest . skipIf ( BACKEND ! = " nccl " , " NCCL Batch Send Recv Only " ) <nl> @ requires_nccl_version ( 2700 , " Need NCCL 2 . 7 + for send / recv " ) <nl> def test_batch_isend_irecv_op_list_err ( self ) : <nl> def test_batch_isend_irecv_op_list_err ( self ) : <nl> RuntimeError , " ^ Invalid ` ` p2p_op_list ` ` " <nl> ) : <nl> send_tensor = _build_tensor ( rank + 1 ) <nl> - req = dist . _batch_isend_irecv ( [ 1 , 2 ] ) <nl> + req = dist . batch_isend_irecv ( [ 1 , 2 ] ) <nl> req . wait ( ) <nl> <nl> # NCCL Batch SEND RECV Mixed Backend Error <nl> - @ unittest . skip ( " NCCL P2P is not enabled for OSS builds " ) <nl> @ unittest . skipIf ( BACKEND ! = " nccl " , " NCCL Batch Send Recv Only " ) <nl> @ requires_nccl_version ( 2700 , " Need NCCL 2 . 7 + for send / recv " ) <nl> def test_batch_isend_irecv_mixed_backend_err ( self ) : <nl> def test_batch_isend_irecv_mixed_backend_err ( self ) : <nl> RuntimeError , " All groups need to use the same backend " <nl> ) : <nl> send_tensor = _build_tensor ( rank + 1 ) <nl> - send_op_gloo = dist . _P2POp ( dist . isend , send_tensor , 1 , group_gloo ) <nl> - send_op_nccl = dist . _P2POp ( dist . isend , send_tensor , 1 , group_nccl ) <nl> - req = dist . _batch_isend_irecv ( [ send_op_gloo , send_op_nccl ] ) <nl> + send_op_gloo = dist . P2POp ( dist . isend , send_tensor , 1 , group_gloo ) <nl> + send_op_nccl = dist . P2POp ( dist . isend , send_tensor , 1 , group_nccl ) <nl> + req = dist . batch_isend_irecv ( [ send_op_gloo , send_op_nccl ] ) <nl> req . wait ( ) <nl> <nl> # NCCL SEND RECV <nl> - @ unittest . skip ( " NCCL P2P is not enabled for OSS builds " ) <nl> @ skip_if_no_gpu <nl> @ unittest . skipIf ( BACKEND ! = " nccl " , " NCCL Send Recv Only " ) <nl> @ requires_nccl_version ( 2700 , " Need NCCL 2 . 7 + for send / recv " ) <nl>
[ NCCL ] Enable send / recv tests ( )
pytorch/pytorch
281463ba0b27480e62d2aa0d54a7510ef0397792
2020-10-09T22:00:39Z
mmm a / doc / environment_variables . md <nl> ppp b / doc / environment_variables . md <nl> some configuration as environment variables that can be set . <nl> - channel_stack_builder - traces information about channel stacks being built <nl> - http - traces state in the http2 transport engine <nl> - http1 - traces HTTP / 1 . x operations performed by gRPC <nl> + - inproc - traces the in - process transport <nl> - flowctl - traces http2 flow control <nl> - op_failure - traces error information when failure is pushed onto a <nl> completion queue <nl>
Update env var doc
grpc/grpc
e155b9a3a3768c252524a4029a92d13b6bcef4c1
2017-07-17T16:13:04Z
mmm a / servers / visual / shader_language . cpp <nl> ppp b / servers / visual / shader_language . cpp <nl> ShaderLanguage : : Node * ShaderLanguage : : _reduce_expression ( BlockNode * p_block , Sha <nl> } <nl> } <nl> } else { <nl> + ConstantNode : : Value value = values [ 0 ] ; <nl> for ( int i = 1 ; i < cardinality ; i + + ) { <nl> - values . push_back ( values [ 0 ] ) ; <nl> + values . push_back ( value ) ; <nl> } <nl> } <nl> } else if ( values . size ( ) ! = cardinality ) { <nl>
Merge pull request from ibrahn / shader_lang_vector_gotcha
godotengine/godot
e5bdf5e37b7d0d0889dce5d0d279555599679a7b
2018-09-20T11:43:34Z
mmm a / editor / plugins / script_editor_plugin . cpp <nl> ppp b / editor / plugins / script_editor_plugin . cpp <nl> void ScriptEditor : : _menu_option ( int p_option ) { <nl> case FILE_COPY_PATH : { <nl> _copy_script_path ( ) ; <nl> } break ; <nl> + case SHOW_IN_FILE_SYSTEM : { <nl> + ScriptEditorBase * se = Object : : cast_to < ScriptEditorBase > ( tab_container - > get_child ( tab_container - > get_current_tab ( ) ) ) ; <nl> + Ref < Script > script = se - > get_edited_script ( ) ; <nl> + FileSystemDock * file_system_dock = EditorNode : : get_singleton ( ) - > get_filesystem_dock ( ) ; <nl> + file_system_dock - > navigate_to_path ( script - > get_path ( ) ) ; <nl> + / / Ensure that the FileSystem dock is visible . <nl> + TabContainer * tab_container = ( TabContainer * ) file_system_dock - > get_parent_control ( ) ; <nl> + tab_container - > set_current_tab ( file_system_dock - > get_position_in_parent ( ) ) ; <nl> + } break ; <nl> case CLOSE_DOCS : { <nl> _close_docs_tab ( ) ; <nl> } break ; <nl> void ScriptEditor : : _make_script_list_context_menu ( ) { <nl> context_menu - > add_separator ( ) ; <nl> context_menu - > add_shortcut ( ED_GET_SHORTCUT ( " script_editor / copy_path " ) , FILE_COPY_PATH ) ; <nl> context_menu - > add_shortcut ( ED_GET_SHORTCUT ( " script_editor / reload_script_soft " ) , FILE_TOOL_RELOAD_SOFT ) ; <nl> - <nl> + context_menu - > add_shortcut ( ED_GET_SHORTCUT ( " script_editor / show_in_file_system " ) , SHOW_IN_FILE_SYSTEM ) ; <nl> Ref < Script > scr = se - > get_edited_script ( ) ; <nl> if ( ! scr . is_null ( ) & & scr - > is_tool ( ) ) { <nl> context_menu - > add_separator ( ) ; <nl> ScriptEditor : : ScriptEditor ( EditorNode * p_editor ) { <nl> file_menu - > get_popup ( ) - > add_separator ( ) ; <nl> file_menu - > get_popup ( ) - > add_shortcut ( ED_SHORTCUT ( " script_editor / reload_script_soft " , TTR ( " Soft Reload Script " ) , KEY_MASK_CMD | KEY_MASK_SHIFT | KEY_R ) , FILE_TOOL_RELOAD_SOFT ) ; <nl> file_menu - > get_popup ( ) - > add_shortcut ( ED_SHORTCUT ( " script_editor / copy_path " , TTR ( " Copy Script Path " ) ) , FILE_COPY_PATH ) ; <nl> + file_menu - > get_popup ( ) - > add_shortcut ( ED_SHORTCUT ( " script_editor / show_in_file_system " , TTR ( " Show In File System " ) ) , SHOW_IN_FILE_SYSTEM ) ; <nl> file_menu - > get_popup ( ) - > add_separator ( ) ; <nl> <nl> file_menu - > get_popup ( ) - > add_shortcut ( ED_SHORTCUT ( " script_editor / history_previous " , TTR ( " History Prev " ) , KEY_MASK_ALT | KEY_LEFT ) , WINDOW_PREV ) ; <nl> mmm a / editor / plugins / script_editor_plugin . h <nl> ppp b / editor / plugins / script_editor_plugin . h <nl> class ScriptEditor : public PanelContainer { <nl> CLOSE_ALL , <nl> CLOSE_OTHER_TABS , <nl> TOGGLE_SCRIPTS_PANEL , <nl> + SHOW_IN_FILE_SYSTEM , <nl> FILE_COPY_PATH , <nl> FILE_TOOL_RELOAD , <nl> FILE_TOOL_RELOAD_SOFT , <nl>
Merge pull request from sersoong / master - addshowscript
godotengine/godot
2488aff93f93deda27c99cf4811986afeb973438
2018-01-03T12:55:02Z
new file mode 100644 <nl> index 00000000000 . . 9249aae9c67 <nl> mmm / dev / null <nl> ppp b / drivers / ruby / fuzzer / hang . log <nl> <nl> + [ 654 , 1350527653 . 69776 , " \ 035 \ 000 \ 000 \ 000 \ b \ 005 \ 020 \ 212 * \ 027 \ b \ 005 \ " \ 023 \ n \ 004test \ 022 \ vWelcome_rdb " ] <nl> + [ 654 , 1350527667 . 24185 , " \ 035 \ 000 \ 000 \ 000 \ b \ 005 \ 020 \ 212 * \ 027 \ b \ 005 \ " \ 023 \ n \ 004test \ 022 \ vWelcome_rdb " ] <nl> + [ 661 , 1350527667 . 24759 , " \ b \ 000 \ 000 \ 000 \ b \ 005 \ 020 \ 004 * \ 002 \ b \ 253 " ] <nl> + [ 661 , 1350527667 . 24867 , " \ 031 \ 000 \ 000 \ 000 \ b \ 005 \ 020 \ 005 * \ 023 \ b \ 001 \ 022 \ 017877388491839316 " ] <nl> + [ 661 , 1350527667 . 26408 , " . \ 000 \ 000 \ 000 \ b \ 005 \ 020 \ a * ( \ b \ 004 \ 032 $ \ 032 \ " \ n \ 017877388491839316 \ 022 \ 017456127199189745 " ] <nl> + [ 654 , 1350527667 . 59997 , " \ 031 \ 000 \ 000 \ 000 \ b \ 005 \ 020 \ 025 * \ 023 \ b \ 002 \ 022 \ 017877388491839316 " ] <nl> + [ 654 , 1350527667 . 60693 , " 2 \ 000 \ 000 \ 000 \ b \ 001 \ 020 \ 027 \ 032 , \ n * \ b \ rz & \ n $ \ 351 \ 017877388491839316 \ 022 \ 017456127199189745 \ 030 \ 000 " ] <nl> new file mode 100755 <nl> index 00000000000 . . 92a174bf54a <nl> mmm / dev / null <nl> ppp b / drivers / ruby / fuzzer / pp_log . rb <nl> <nl> + # ! / usr / bin / ruby <nl> + require ' pp ' <nl> + require ' socket ' <nl> + require ' optparse ' <nl> + $ LOAD_PATH . unshift ( ' . . / rethinkdb ' ) <nl> + require ' rethinkdb . rb ' <nl> + include RethinkDB : : Shortcuts <nl> + <nl> + File . open ( ARGV [ 0 ] , " r " ) { | f | <nl> + f . each { | l | <nl> + peer , time , packet = eval ( l . chomp ) <nl> + begin <nl> + protob = Query . new . parse_from_string ( packet [ 4 . . - 1 ] ) <nl> + PP . pp [ peer , time , protob ] <nl> + rescue Exception = > e <nl> + print " UNPARSABLE : # { l } " <nl> + end <nl> + } <nl> + } <nl> new file mode 100755 <nl> index 00000000000 . . 259e036ea09 <nl> mmm / dev / null <nl> ppp b / drivers / ruby / fuzzer / replay . rb <nl> <nl> + # ! / usr / bin / ruby <nl> + require ' pp ' <nl> + require ' socket ' <nl> + require ' optparse ' <nl> + <nl> + $ opt = { } <nl> + OptionParser . new { | opts | <nl> + opts . banner = " Usage : run . rb [ options ] " <nl> + $ opt [ : host ] = " localhost " <nl> + opts . on ( ' - h ' , ' - - host HOST ' , ' Fuzz on HOST ( default localhost ) ' ) { | h | $ opt [ : host ] = h } <nl> + $ opt [ : port ] = " 0 " <nl> + opts . on ( ' - p ' , ' - - port PORT ' , ' Fuzz on PORT + 12346 ( default 0 ) ' ) { | p | $ opt [ : port ] = p } <nl> + $ opt [ : log ] = nil <nl> + opts . on ( ' - l ' , ' - - log LOG ' , ' Replay LOG ' ) { | l | $ opt [ : log ] = l } <nl> + $ opt [ : relog ] = nil <nl> + opts . on ( ' - r ' , ' - - relog ' , ' Re - log the packets ' ) { $ opt [ : relog ] = true } <nl> + $ opt [ : verbose ] = nil <nl> + opts . on ( ' - v ' , ' - - verbose ' , ' Verbose output ' ) { $ opt [ : verbose ] = true } <nl> + } . parse ! <nl> + <nl> + raise ArgumentError , " - l required " if not $ opt [ : log ] <nl> + $ log = $ opt [ : log ] <nl> + $ relog = $ opt [ : relog ] & & $ opt [ : log ] + " . relog " <nl> + <nl> + class Slave <nl> + @ @ STOP = " a8448469 - 0357 - 4d89 - 972c - bb28e4e5b2d1 " <nl> + def initialize ( id ) <nl> + @ id = id <nl> + @ r , @ w = Socket . pair ( Socket : : AF_UNIX , Socket : : SOCK_DGRAM , 0 ) <nl> + @ pid = fork do <nl> + @ w . close <nl> + sock = TCPSocket . open ( $ opt [ : host ] , $ opt [ : port ] . to_i + 12346 ) <nl> + sock . send ( [ 0xaf61ba35 ] . pack ( ' L < ' ) , 0 ) <nl> + print " * * * # { @ id } starting * * * \ n " <nl> + while ( packet = @ r . recv ( 2 * * 30 , 0 ) ) ! = @ @ STOP <nl> + str = [ @ id , Time . now . to_f , packet ] . inspect + " \ n " <nl> + File . open ( $ relog , ' a ' ) { | f | f . write str } if $ relog <nl> + print [ @ id , Time . now . to_f , packet ] . inspect + " \ n " if $ opt [ : verbose ] <nl> + sock . send ( packet , 0 ) <nl> + res = len = sock . recv ( 4 ) . unpack ( ' L < ' ) [ 0 ] <nl> + res = sock . recv ( len ) if len <nl> + end <nl> + print " * * * # { @ id } stopping * * * \ n " <nl> + @ r . close <nl> + sock . close <nl> + end <nl> + @ r . close <nl> + end <nl> + <nl> + def send ( packet ) ; @ w . send ( packet , 0 ) ; end <nl> + def stop ; @ w . send ( @ @ STOP , 0 ) ; @ w . close ; end <nl> + end <nl> + <nl> + $ slaves = Hash . new { | hash , val | hash [ val ] = Slave . new val } <nl> + File . open ( $ opt [ : log ] ) { | f | <nl> + f . each { | l | <nl> + process , time , packet = eval ( l . chomp ) <nl> + $ slaves [ process ] . send ( packet ) <nl> + } <nl> + } <nl> + $ slaves . each { | _ , slave | slave . stop } <nl> + Process . waitall <nl> new file mode 100755 <nl> index 00000000000 . . dcac25c8977 <nl> mmm / dev / null <nl> ppp b / drivers / ruby / fuzzer / run . rb <nl> <nl> + # ! / usr / bin / ruby <nl> + require ' pp ' <nl> + require ' socket ' <nl> + require ' optparse ' <nl> + <nl> + $ opt = { } <nl> + OptionParser . new { | opts | <nl> + opts . banner = " Usage : run . rb [ options ] " <nl> + <nl> + $ opt [ : host ] = " localhost " <nl> + opts . on ( ' - h ' , ' - - host HOST ' , ' Fuzz on HOST ( default localhost ) ' ) { | h | $ opt [ : host ] = h } <nl> + <nl> + $ opt [ : port ] = " 0 " <nl> + opts . on ( ' - p ' , ' - - port PORT ' , ' Fuzz on PORT + 12346 ( default 0 ) ' ) { | p | $ opt [ : port ] = p } <nl> + <nl> + $ opt [ : seed ] = srand ( ) <nl> + opts . on ( ' - s ' , ' - - seed SEED ' , ' Set the random seed to SEED ' ) { | s | $ opt [ : seed ] = s } <nl> + <nl> + $ opt [ : tfile ] = ' sexp . txt ' <nl> + opts . on ( ' - t ' , ' - - templates FILE ' , ' Read templates from FILE ' ) { | f | $ opt [ : tfile ] = f } <nl> + <nl> + $ opt [ : ind ] = 0 <nl> + opts . on ( ' - i ' , ' - - index INDEX ' , ' Start at index INDEX ' ) { | i | $ opt [ : ind ] = i . to_i } <nl> + <nl> + $ opt [ : log ] = nil <nl> + opts . on ( ' - l ' , ' - - log LOG ' , ' Log packets to LOG ' ) { | l | $ opt [ : log ] = l } <nl> + } . parse ! <nl> + <nl> + print " Using seed : # { $ opt [ : seed ] } \ n " <nl> + srand ( $ opt [ : seed ] . to_i ) <nl> + <nl> + $ templates = [ ] <nl> + print " Using templates from file : # { $ opt [ : tfile ] } \ n " <nl> + File . open ( $ opt [ : tfile ] , " r " ) . each { | l | $ templates < < eval ( l . chomp ) } <nl> + <nl> + host = $ opt [ : host ] <nl> + port = ( $ opt [ : port ] . to_i ) + 12346 <nl> + print " Connecting to # { host } : # { port } . . . \ n " <nl> + $ sock = TCPSocket . open ( host , port ) <nl> + $ sock . send ( [ 0xaf61ba35 ] . pack ( ' L < ' ) , 0 ) <nl> + print " Connection established . \ n " <nl> + <nl> + print " Setting up environment . . . " <nl> + $ LOAD_PATH . unshift ( ' . . / rethinkdb ' ) <nl> + require ' rethinkdb . rb ' <nl> + $ c = RethinkDB : : Connection . new ( host , port ) <nl> + include RethinkDB : : Shortcuts <nl> + begin <nl> + r . create_db ( ' default_db ' ) . run <nl> + r . db ( ' test ' ) . create_table ( ' Welcome_rdb ' ) . run <nl> + r . db ( ' default_db ' ) . create_table ( ' Welcome_rdb ' ) . run <nl> + print " Environment established . \ n " <nl> + rescue Exception = > e <nl> + end <nl> + load ' transformation . rb ' <nl> + $ transform = Transformer . new ( ' transformation_conf . rb ' ) <nl> + <nl> + def maybe_log packet <nl> + return if not $ opt [ : log ] <nl> + File . open ( $ opt [ : log ] , ' a ' ) { | f | f . write ( [ $ $ , Time . now . to_f , packet ] . inspect + " \ n " ) } <nl> + end <nl> + <nl> + def bsend s <nl> + if s . nil ? <nl> + print " skipping \ n " <nl> + elsif $ i > = $ opt [ : ind ] <nl> + print " sending : # { s . inspect } \ n " <nl> + packet = [ s . length ] . pack ( ' L < ' ) + s <nl> + maybe_log packet <nl> + $ sock . send ( packet , 0 ) <nl> + res = len = $ sock . recv ( 4 ) . unpack ( ' L < ' ) [ 0 ] <nl> + res = $ sock . recv ( len ) if len <nl> + if not res <nl> + protob = Query . new . parse_from_string ( s ) <nl> + abort " crashed with : # { packet . inspect } ( # { protob . inspect } ) \ n " <nl> + else <nl> + begin <nl> + pres = Response . new . parse_from_string ( res ) <nl> + PP . pp pres <nl> + rescue Exception = > e <nl> + print " Unparsable response : # { pres } \ n " <nl> + end <nl> + end <nl> + end <nl> + end <nl> + <nl> + $ i = 0 <nl> + while true <nl> + $ templates . each { | sexp | <nl> + print " template : # { sexp . inspect } \ n " <nl> + $ i + = 1 <nl> + payload = $ transform [ sexp ] <nl> + bsend ( payload ) <nl> + } <nl> + end <nl> new file mode 100644 <nl> index 00000000000 . . 606d26df2f2 <nl> mmm / dev / null <nl> ppp b / drivers / ruby / fuzzer / sexp . txt <nl> <nl> + [ : drop_table , " test " , " Welcome_rdb " ] <nl> + [ : create_table , : skip_2222ebd4_2c16_485e_8c27_bbe43674a852 , [ " test " , " Welcome_rdb " ] , : skip_2222ebd4_2c16_485e_8c27_bbe43674a852 , : skip_2222ebd4_2c16_485e_8c27_bbe43674a852 ] <nl> + [ : list_dbs ] <nl> + [ : create_db , " 877388491839316 " ] <nl> + [ : create_db , " 877388491839316 " ] <nl> + [ : list_dbs ] <nl> + [ : create_table , : skip_2222ebd4_2c16_485e_8c27_bbe43674a852 , [ " 877388491839316 " , " 456127199189745 " ] , : skip_2222ebd4_2c16_485e_8c27_bbe43674a852 , : skip_2222ebd4_2c16_485e_8c27_bbe43674a852 ] <nl> + [ : create_table , : skip_2222ebd4_2c16_485e_8c27_bbe43674a852 , [ " 877388491839316 " , " 456127199189745 " ] , : skip_2222ebd4_2c16_485e_8c27_bbe43674a852 , : skip_2222ebd4_2c16_485e_8c27_bbe43674a852 ] <nl> + [ : list_tables , " 877388491839316 " ] <nl> + [ : insert , [ " 877388491839316 " , " 456127199189745 " ] , [ [ : object , [ " id " , [ : number , 0 ] ] ] ] , true ] <nl> + [ : table , " 877388491839316 " , " 456127199189745 " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] <nl> + [ : create_table , : skip_2222ebd4_2c16_485e_8c27_bbe43674a852 , [ " 877388491839316 " , " 456127199189745456127199189745 " ] , : skip_2222ebd4_2c16_485e_8c27_bbe43674a852 , : skip_2222ebd4_2c16_485e_8c27_bbe43674a852 ] <nl> + [ : list_tables , " 877388491839316 " ] <nl> + [ : table , " " , " " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] <nl> + [ : table , " test " , " 456127199189745 " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] <nl> + [ : table , " 877388491839316 " , " " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] <nl> + [ : drop_table , " 877388491839316 " , " 456127199189745456127199189745 " ] <nl> + [ : table , " 877388491839316 " , " 456127199189745456127199189745 " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] <nl> + [ : drop_db , " 877388491839316 " ] <nl> + [ : list_dbs ] <nl> + [ : table , " 877388491839316 " , " 456127199189745 " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] <nl> + [ : create_db , " 877388491839316 " ] <nl> + [ : table , " 877388491839316 " , " 456127199189745 " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] <nl> + [ : create_table , : skip_2222ebd4_2c16_485e_8c27_bbe43674a852 , [ " 877388491839316 " , " 456127199189745 " ] , : skip_2222ebd4_2c16_485e_8c27_bbe43674a852 , : skip_2222ebd4_2c16_485e_8c27_bbe43674a852 ] <nl> + [ : table , " 877388491839316 " , " 456127199189745 " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] <nl> + [ : insert , [ " 877388491839316 " , " 456127199189745 " ] , [ [ : object , [ " id " , [ : number , 0 ] ] , [ " name " , [ : string , " 0 " ] ] , [ " num " , [ : number , 0 ] ] ] , [ : object , [ " id " , [ : number , 1 ] ] , [ " name " , [ : string , " 1 " ] ] , [ " num " , [ : number , 1 ] ] ] , [ : object , [ " id " , [ : number , 2 ] ] , [ " name " , [ : string , " 2 " ] ] , [ " num " , [ : number , 2 ] ] ] , [ : object , [ " id " , [ : number , 3 ] ] , [ " name " , [ : string , " 3 " ] ] , [ " num " , [ : number , 3 ] ] ] , [ : object , [ " id " , [ : number , 4 ] ] , [ " name " , [ : string , " 4 " ] ] , [ " num " , [ : number , 4 ] ] ] , [ : object , [ " id " , [ : number , 5 ] ] , [ " name " , [ : string , " 5 " ] ] , [ " num " , [ : number , 5 ] ] ] , [ : object , [ " id " , [ : number , 6 ] ] , [ " name " , [ : string , " 6 " ] ] , [ " num " , [ : number , 6 ] ] ] , [ : object , [ " id " , [ : number , 7 ] ] , [ " name " , [ : string , " 7 " ] ] , [ " num " , [ : number , 7 ] ] ] , [ : object , [ " id " , [ : number , 8 ] ] , [ " name " , [ : string , " 8 " ] ] , [ " num " , [ : number , 8 ] ] ] , [ : object , [ " id " , [ : number , 9 ] ] , [ " name " , [ : string , " 9 " ] ] , [ " num " , [ : number , 9 ] ] ] ] , true ] <nl> + [ : insert , [ " 877388491839316 " , " 456127199189745 " ] , [ [ : object , [ " id " , [ : number , 0 ] ] , [ " name " , [ : string , " 0 " ] ] , [ " num " , [ : number , 0 ] ] ] , [ : object , [ " id " , [ : number , 1 ] ] , [ " name " , [ : string , " 1 " ] ] , [ " num " , [ : number , 1 ] ] ] , [ : object , [ " id " , [ : number , 2 ] ] , [ " name " , [ : string , " 2 " ] ] , [ " num " , [ : number , 2 ] ] ] , [ : object , [ " id " , [ : number , 3 ] ] , [ " name " , [ : string , " 3 " ] ] , [ " num " , [ : number , 3 ] ] ] , [ : object , [ " id " , [ : number , 4 ] ] , [ " name " , [ : string , " 4 " ] ] , [ " num " , [ : number , 4 ] ] ] , [ : object , [ " id " , [ : number , 5 ] ] , [ " name " , [ : string , " 5 " ] ] , [ " num " , [ : number , 5 ] ] ] , [ : object , [ " id " , [ : number , 6 ] ] , [ " name " , [ : string , " 6 " ] ] , [ " num " , [ : number , 6 ] ] ] , [ : object , [ " id " , [ : number , 7 ] ] , [ " name " , [ : string , " 7 " ] ] , [ " num " , [ : number , 7 ] ] ] , [ : object , [ " id " , [ : number , 8 ] ] , [ " name " , [ : string , " 8 " ] ] , [ " num " , [ : number , 8 ] ] ] , [ : object , [ " id " , [ : number , 9 ] ] , [ " name " , [ : string , " 9 " ] ] , [ " num " , [ : number , 9 ] ] ] , [ : object , [ " id " , [ : number , 0 ] ] , [ " name " , [ : string , " 0 " ] ] , [ " num " , [ : number , 0 ] ] ] , [ : object , [ " id " , [ : number , 1 ] ] , [ " name " , [ : string , " 1 " ] ] , [ " num " , [ : number , 1 ] ] ] , [ : object , [ " id " , [ : number , 2 ] ] , [ " name " , [ : string , " 2 " ] ] , [ " num " , [ : number , 2 ] ] ] , [ : object , [ " id " , [ : number , 3 ] ] , [ " name " , [ : string , " 3 " ] ] , [ " num " , [ : number , 3 ] ] ] , [ : object , [ " id " , [ : number , 4 ] ] , [ " name " , [ : string , " 4 " ] ] , [ " num " , [ : number , 4 ] ] ] , [ : object , [ " id " , [ : number , 5 ] ] , [ " name " , [ : string , " 5 " ] ] , [ " num " , [ : number , 5 ] ] ] , [ : object , [ " id " , [ : number , 6 ] ] , [ " name " , [ : string , " 6 " ] ] , [ " num " , [ : number , 6 ] ] ] , [ : object , [ " id " , [ : number , 7 ] ] , [ " name " , [ : string , " 7 " ] ] , [ " num " , [ : number , 7 ] ] ] , [ : object , [ " id " , [ : number , 8 ] ] , [ " name " , [ : string , " 8 " ] ] , [ " num " , [ : number , 8 ] ] ] , [ : object , [ " id " , [ : number , 9 ] ] , [ " name " , [ : string , " 9 " ] ] , [ " num " , [ : number , 9 ] ] ] ] , true ] <nl> + [ : table , " 877388491839316 " , " 456127199189745 " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] <nl> + [ : insert , [ " 877388491839316 " , " 456127199189745 " ] , [ [ : object , [ " errors " , [ : number , 0 ] ] , [ " broken " , [ : bool , true ] ] , [ " id " , [ : number , 0 ] ] ] ] , true ] <nl> + [ : insert , [ " 877388491839316 " , " 456127199189745 " ] , [ [ : object , [ " errors " , [ : number , 0 ] ] , [ " broken " , [ : bool , true ] ] , [ " id " , [ : number , 1 ] ] ] ] , true ] <nl> + [ : table , " 877388491839316 " , " 456127199189745 " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] <nl> + [ : table , " 877388491839316 " , " 456127199189745 " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] <nl> + [ : table , " 877388491839316 " , " 456127199189745 " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] <nl> + [ : mutate , [ : call , [ : filter , " _var_1001 " , [ : call , [ : compare , : eq ] , [ [ : call , [ : getattr , : id ] , [ [ : implicit_var ] ] ] , [ : number , 0 ] ] ] ] , [ [ : table , " 877388491839316 " , " 456127199189745 " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] , [ " _var_1002 " , [ : object , [ " id " , [ : number , 0 ] ] , [ " name " , [ : string , " 0 " ] ] , [ " num " , [ : number , 0 ] ] ] ] ] <nl> + [ : update , [ : table , " 877388491839316 " , " 456127199189745 " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] , [ " _var_1003 " , [ : if , [ : call , [ : hasattr , : broken ] , [ [ : var , " _var_1003 " ] ] ] , [ : object , [ " id " , [ : number , 1 ] ] , [ " name " , [ : string , " 1 " ] ] , [ " num " , [ : number , 1 ] ] ] , [ : var , " _var_1003 " ] ] ] ] <nl> + [ : mutate , [ : table , " 877388491839316 " , " 456127199189745 " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] , [ " _var_1004 " , [ : object , [ " num " , [ : call , [ : getattr , : num ] , [ [ : var , " _var_1004 " ] ] ] ] , [ " name " , [ : call , [ : getattr , : name ] , [ [ : var , " _var_1004 " ] ] ] ] , [ " id " , [ : call , [ : getattr , : id ] , [ [ : var , " _var_1004 " ] ] ] ] ] ] ] <nl> + [ : table , " 877388491839316 " , " 456127199189745 " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] <nl> + [ : mutate , [ : table , " 877388491839316 " , " 456127199189745 " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] , [ " _var_1005 " , [ : if , [ : call , [ : any ] , [ [ : call , [ : compare , : eq ] , [ [ : call , [ : getattr , : id ] , [ [ : var , " _var_1005 " ] ] ] , [ : number , 4 ] ] ] , [ : call , [ : compare , : eq ] , [ [ : call , [ : getattr , : id ] , [ [ : var , " _var_1005 " ] ] ] , [ : number , 5 ] ] ] ] ] , [ : object , [ " id " , [ : number , - 1 ] ] ] , [ : var , " _var_1005 " ] ] ] ] <nl> + [ : pointupdate , [ " 877388491839316 " , " 456127199189745 " ] , : id , [ : number , 5 ] , [ " _var_1006 " , [ : object , [ " num " , [ : string , " 5 " ] ] ] ] ] <nl> + [ : mutate , [ : table , " 877388491839316 " , " 456127199189745 " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] , [ " _var_1007 " , [ : call , [ : mapmerge ] , [ [ : var , " _var_1007 " ] , [ : object , [ " num " , [ : call , [ : multiply ] , [ [ : call , [ : getattr , : num ] , [ [ : var , " _var_1007 " ] ] ] , [ : number , 2 ] ] ] ] ] ] ] ] ] <nl> + [ : getbykey , [ " 877388491839316 " , " 456127199189745 " ] , : id , [ : number , 5 ] ] <nl> + [ : mutate , [ : table , " 877388491839316 " , " 456127199189745 " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] , [ " _var_1008 " , [ : if , [ : call , [ : compare , : eq ] , [ [ : call , [ : getattr , : id ] , [ [ : var , " _var_1008 " ] ] ] , [ : number , 5 ] ] ] , [ : object , [ " id " , [ : number , 5 ] ] , [ " name " , [ : string , " 5 " ] ] , [ " num " , [ : number , 5 ] ] ] , [ : call , [ : mapmerge ] , [ [ : var , " _var_1008 " ] , [ : object , [ " num " , [ : call , [ : divide ] , [ [ : call , [ : getattr , : num ] , [ [ : var , " _var_1008 " ] ] ] , [ : number , 2 ] ] ] ] ] ] ] ] ] ] <nl> + [ : table , " 877388491839316 " , " 456127199189745 " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] <nl> + [ : pointupdate , [ " 877388491839316 " , " 456127199189745 " ] , : id , [ : number , 0 ] , [ " _var_1009 " , [ : object , [ " num " , [ : number , 2 ] ] ] ] ] <nl> + [ : getbykey , [ " 877388491839316 " , " 456127199189745 " ] , : id , [ : number , 0 ] ] <nl> + [ : pointupdate , [ " 877388491839316 " , " 456127199189745 " ] , : id , [ : number , 0 ] , [ " _var_1010 " , [ : json_null ] ] ] <nl> + [ : pointmutate , [ " 877388491839316 " , " 456127199189745 " ] , : id , [ : number , 0 ] , [ " _var_1011 " , [ : object , [ " id " , [ : number , 0 ] ] , [ " name " , [ : string , " 0 " ] ] , [ " num " , [ : number , 0 ] ] ] ] ] <nl> + [ : table , " 877388491839316 " , " 456127199189745 " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] <nl> + [ : delete , [ : call , [ : filter , " _var_1012 " , [ : call , [ : compare , : lt ] , [ [ : call , [ : getattr , : id ] , [ [ : implicit_var ] ] ] , [ : number , 5 ] ] ] ] , [ [ : table , " 877388491839316 " , " 456127199189745 " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] ] <nl> + [ : table , " 877388491839316 " , " 456127199189745 " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] <nl> + [ : delete , [ : table , " 877388491839316 " , " 456127199189745 " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] <nl> + [ : table , " 877388491839316 " , " 456127199189745 " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] <nl> + [ : insert , [ " 877388491839316 " , " 456127199189745 " ] , [ [ : call , [ : arraytostream ] , [ [ : array , [ : object , [ " id " , [ : number , 0 ] ] , [ " name " , [ : string , " 0 " ] ] , [ " num " , [ : number , 0 ] ] ] , [ : object , [ " id " , [ : number , 1 ] ] , [ " name " , [ : string , " 1 " ] ] , [ " num " , [ : number , 1 ] ] ] , [ : object , [ " id " , [ : number , 2 ] ] , [ " name " , [ : string , " 2 " ] ] , [ " num " , [ : number , 2 ] ] ] , [ : object , [ " id " , [ : number , 3 ] ] , [ " name " , [ : string , " 3 " ] ] , [ " num " , [ : number , 3 ] ] ] , [ : object , [ " id " , [ : number , 4 ] ] , [ " name " , [ : string , " 4 " ] ] , [ " num " , [ : number , 4 ] ] ] , [ : object , [ " id " , [ : number , 5 ] ] , [ " name " , [ : string , " 5 " ] ] , [ " num " , [ : number , 5 ] ] ] , [ : object , [ " id " , [ : number , 6 ] ] , [ " name " , [ : string , " 6 " ] ] , [ " num " , [ : number , 6 ] ] ] , [ : object , [ " id " , [ : number , 7 ] ] , [ " name " , [ : string , " 7 " ] ] , [ " num " , [ : number , 7 ] ] ] , [ : object , [ " id " , [ : number , 8 ] ] , [ " name " , [ : string , " 8 " ] ] , [ " num " , [ : number , 8 ] ] ] , [ : object , [ " id " , [ : number , 9 ] ] , [ " name " , [ : string , " 9 " ] ] , [ " num " , [ : number , 9 ] ] ] ] ] ] ] , true ] <nl> + [ : insert , [ " 877388491839316 " , " 456127199189745 " ] , [ [ : object , [ " id " , [ : number , 0 ] ] , [ " name " , [ : string , " 0 " ] ] , [ " num " , [ : number , 0 ] ] ] , [ : object , [ " id " , [ : number , 1 ] ] , [ " name " , [ : string , " 1 " ] ] , [ " num " , [ : number , 1 ] ] ] , [ : object , [ " id " , [ : number , 2 ] ] , [ " name " , [ : string , " 2 " ] ] , [ " num " , [ : number , 2 ] ] ] , [ : object , [ " id " , [ : number , 3 ] ] , [ " name " , [ : string , " 3 " ] ] , [ " num " , [ : number , 3 ] ] ] , [ : object , [ " id " , [ : number , 4 ] ] , [ " name " , [ : string , " 4 " ] ] , [ " num " , [ : number , 4 ] ] ] , [ : object , [ " id " , [ : number , 5 ] ] , [ " name " , [ : string , " 5 " ] ] , [ " num " , [ : number , 5 ] ] ] , [ : object , [ " id " , [ : number , 6 ] ] , [ " name " , [ : string , " 6 " ] ] , [ " num " , [ : number , 6 ] ] ] , [ : object , [ " id " , [ : number , 7 ] ] , [ " name " , [ : string , " 7 " ] ] , [ " num " , [ : number , 7 ] ] ] , [ : object , [ " id " , [ : number , 8 ] ] , [ " name " , [ : string , " 8 " ] ] , [ " num " , [ : number , 8 ] ] ] , [ : object , [ " id " , [ : number , 9 ] ] , [ " name " , [ : string , " 9 " ] ] , [ " num " , [ : number , 9 ] ] ] ] , true ] <nl> + [ : table , " 877388491839316 " , " 456127199189745 " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] <nl> + [ : mutate , [ : table , " 877388491839316 " , " 456127199189745 " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] , [ " _var_1013 " , [ : var , " _var_1013 " ] ] ] <nl> + [ : table , " 877388491839316 " , " 456127199189745 " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] <nl> + [ : mutate , [ : table , " 877388491839316 " , " 456127199189745 " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] , [ " _var_1014 " , [ : if , [ : call , [ : compare , : lt ] , [ [ : call , [ : getattr , : id ] , [ [ : var , " _var_1014 " ] ] ] , [ : number , 5 ] ] ] , [ : json_null ] , [ : var , " _var_1014 " ] ] ] ] <nl> + [ : table , " 877388491839316 " , " 456127199189745 " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] <nl> + [ : insert , [ " 877388491839316 " , " 456127199189745 " ] , [ [ : object , [ " id " , [ : number , 0 ] ] , [ " name " , [ : string , " 0 " ] ] , [ " num " , [ : number , 0 ] ] ] , [ : object , [ " id " , [ : number , 1 ] ] , [ " name " , [ : string , " 1 " ] ] , [ " num " , [ : number , 1 ] ] ] , [ : object , [ " id " , [ : number , 2 ] ] , [ " name " , [ : string , " 2 " ] ] , [ " num " , [ : number , 2 ] ] ] , [ : object , [ " id " , [ : number , 3 ] ] , [ " name " , [ : string , " 3 " ] ] , [ " num " , [ : number , 3 ] ] ] , [ : object , [ " id " , [ : number , 4 ] ] , [ " name " , [ : string , " 4 " ] ] , [ " num " , [ : number , 4 ] ] ] ] , true ] <nl> + [ : foreach , [ : table , " 877388491839316 " , " 456127199189745 " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] , " _var_1015 " , [ [ : pointdelete , [ " 877388491839316 " , " 456127199189745 " ] , : id , [ : call , [ : getattr , : id ] , [ [ : var , " _var_1015 " ] ] ] ] , [ : insert , [ " 877388491839316 " , " 456127199189745 " ] , [ [ : var , " _var_1015 " ] ] , true ] ] ] <nl> + [ : table , " 877388491839316 " , " 456127199189745 " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] <nl> + [ : foreach , [ : table , " 877388491839316 " , " 456127199189745 " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] , " _var_1016 " , [ [ : pointdelete , [ " 877388491839316 " , " 456127199189745 " ] , : id , [ : call , [ : getattr , : id ] , [ [ : var , " _var_1016 " ] ] ] ] ] ] <nl> + [ : table , " 877388491839316 " , " 456127199189745 " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] <nl> + [ : insert , [ " 877388491839316 " , " 456127199189745 " ] , [ [ : object , [ " id " , [ : number , 0 ] ] , [ " name " , [ : string , " 0 " ] ] , [ " num " , [ : number , 0 ] ] ] , [ : object , [ " id " , [ : number , 1 ] ] , [ " name " , [ : string , " 1 " ] ] , [ " num " , [ : number , 1 ] ] ] , [ : object , [ " id " , [ : number , 2 ] ] , [ " name " , [ : string , " 2 " ] ] , [ " num " , [ : number , 2 ] ] ] , [ : object , [ " id " , [ : number , 3 ] ] , [ " name " , [ : string , " 3 " ] ] , [ " num " , [ : number , 3 ] ] ] , [ : object , [ " id " , [ : number , 4 ] ] , [ " name " , [ : string , " 4 " ] ] , [ " num " , [ : number , 4 ] ] ] , [ : object , [ " id " , [ : number , 5 ] ] , [ " name " , [ : string , " 5 " ] ] , [ " num " , [ : number , 5 ] ] ] , [ : object , [ " id " , [ : number , 6 ] ] , [ " name " , [ : string , " 6 " ] ] , [ " num " , [ : number , 6 ] ] ] , [ : object , [ " id " , [ : number , 7 ] ] , [ " name " , [ : string , " 7 " ] ] , [ " num " , [ : number , 7 ] ] ] , [ : object , [ " id " , [ : number , 8 ] ] , [ " name " , [ : string , " 8 " ] ] , [ " num " , [ : number , 8 ] ] ] , [ : object , [ " id " , [ : number , 9 ] ] , [ " name " , [ : string , " 9 " ] ] , [ " num " , [ : number , 9 ] ] ] ] , true ] <nl> + [ : table , " 877388491839316 " , " 456127199189745 " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] <nl> + [ : pointupdate , [ " 877388491839316 " , " 456127199189745 " ] , : id , [ : number , 0 ] , [ " _var_1017 " , [ : object , [ " broken " , [ : number , 5 ] ] , [ " id " , [ : number , 0 ] ] ] ] ] <nl> + [ : insert , [ " 877388491839316 " , " 456127199189745 " ] , [ [ : object , [ " id " , [ : number , 0 ] ] , [ " name " , [ : string , " 0 " ] ] , [ " num " , [ : number , 0 ] ] ] ] , true ] <nl> + [ : table , " 877388491839316 " , " 456127199189745 " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] <nl> + [ : pointmutate , [ " 877388491839316 " , " 456127199189745 " ] , : id , [ : number , 0 ] , [ " _var_1018 " , [ : json_null ] ] ] <nl> + [ : table , " 877388491839316 " , " 456127199189745 " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] <nl> + [ : pointmutate , [ " 877388491839316 " , " 456127199189745 " ] , : id , [ : number , 1 ] , [ " _var_1019 " , [ : object , [ " id " , [ : number , - 1 ] ] ] ] ] <nl> + [ : pointmutate , [ " 877388491839316 " , " 456127199189745 " ] , : id , [ : number , 1 ] , [ " _var_1020 " , [ : object , [ " name " , [ : call , [ : multiply ] , [ [ : call , [ : getattr , : name ] , [ [ : var , " _var_1020 " ] ] ] , [ : number , 2 ] ] ] ] ] ] ] <nl> + [ : pointmutate , [ " 877388491839316 " , " 456127199189745 " ] , : id , [ : number , 1 ] , [ " _var_1021 " , [ : call , [ : mapmerge ] , [ [ : var , " _var_1021 " ] , [ : object , [ " num " , [ : number , 2 ] ] ] ] ] ] ] <nl> + [ : getbykey , [ " 877388491839316 " , " 456127199189745 " ] , : id , [ : number , 1 ] ] <nl> + [ : insert , [ " 877388491839316 " , " 456127199189745 " ] , [ [ : object , [ " id " , [ : number , 0 ] ] , [ " name " , [ : string , " 0 " ] ] , [ " num " , [ : number , 0 ] ] ] , [ : object , [ " id " , [ : number , 1 ] ] , [ " name " , [ : string , " 1 " ] ] , [ " num " , [ : number , 1 ] ] ] ] , true ] <nl> + [ : table , " 877388491839316 " , " 456127199189745 " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] <nl> + [ : delete , [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] <nl> + [ : insert , [ : default_db , " Welcome_rdb " ] , [ [ : object , [ " id " , [ : number , 1 ] ] , [ " b " , [ : number , 10 ] ] , [ " a " , [ : number , 3 ] ] ] , [ : object , [ " id " , [ : number , 2 ] ] , [ " b " , [ : number , - 5 ] ] , [ " a " , [ : number , 9 ] ] ] , [ : object , [ " id " , [ : number , 3 ] ] , [ " b " , [ : number , 3 ] ] , [ " a " , [ : number , 9 ] ] ] ] , true ] <nl> + [ : getbykey , [ : default_db , " Welcome_rdb " ] , : id , [ : number , 1 ] ] <nl> + [ : getbykey , [ : default_db , " Welcome_rdb " ] , : id , [ : number , 2 ] ] <nl> + [ : getbykey , [ : default_db , " Welcome_rdb " ] , : id , [ : number , 3 ] ] <nl> + [ : call , [ : distinct ] , [ [ : call , [ : map , " _var_1022 " , [ : call , [ : getattr , : a ] , [ [ : var , " _var_1022 " ] ] ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] ] ] <nl> + [ : call , [ : filter , " _var_1023 " , [ : call , [ : all ] , [ [ : call , [ : compare , : eq ] , [ [ : call , [ : getattr , " a " ] , [ [ : var , " _var_1023 " ] ] ] , [ : number , 3 ] ] ] ] ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : call , [ : filter , " _var_1024 " , [ : call , [ : all ] , [ [ : call , [ : compare , : eq ] , [ [ : call , [ : getattr , " a " ] , [ [ : var , " _var_1024 " ] ] ] , [ : call , [ : add ] , [ [ : call , [ : length ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] , [ : string , " " ] ] ] ] ] ] ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : insert , [ : default_db , " Welcome_rdb " ] , [ [ : object , [ " a " , [ : number , 3 ] ] ] ] , true ] <nl> + [ : getbykey , [ : default_db , " Welcome_rdb " ] , : id , [ : number , 0 ] ] <nl> + [ : insert , [ : default_db , " Welcome_rdb " ] , [ [ : object , [ " text " , [ : string , " \ 343 \ 202 \ 260 \ 343 \ 203 \ 253 \ 343 \ 203 \ 241 " ] ] , [ " id " , [ : number , 100 ] ] ] ] , true ] <nl> + [ : call , [ : getattr , : text ] , [ [ : getbykey , [ : default_db , " Welcome_rdb " ] , : id , [ : number , 100 ] ] ] ] <nl> + [ : delete , [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] <nl> + [ : insert , [ : default_db , " Welcome_rdb " ] , [ [ : object , [ " id " , [ : number , 1 ] ] ] , [ : object , [ " id " , [ : number , 2 ] ] ] ] , true ] <nl> + [ : delete , [ : call , [ : slice ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] , [ : number , 0 ] , [ : number , 1 ] ] ] ] <nl> + [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] <nl> + [ : delete , [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] <nl> + [ : insert , [ : default_db , " Welcome_rdb " ] , [ [ : object , [ " b " , [ : number , 0 ] ] , [ " a " , [ : number , 0 ] ] , [ " id " , [ : number , 100 ] ] ] , [ : object , [ " b " , [ : number , 1 ] ] , [ " a " , [ : number , 1 ] ] , [ " id " , [ : number , 101 ] ] ] , [ : object , [ " b " , [ : number , 2 ] ] , [ " a " , [ : number , 2 ] ] , [ " id " , [ : number , 102 ] ] ] , [ : object , [ " b " , [ : number , 0 ] ] , [ " a " , [ : number , 3 ] ] , [ " id " , [ : number , 103 ] ] ] ] , true ] <nl> + [ : insert , [ : default_db , " Welcome_rdb " ] , [ [ : call , [ : arraytostream ] , [ [ : array , [ : object , [ " b " , [ : number , 0 ] ] , [ " a " , [ : number , 0 ] ] , [ " id " , [ : number , 100 ] ] ] , [ : object , [ " b " , [ : number , 1 ] ] , [ " a " , [ : number , 1 ] ] , [ " id " , [ : number , 101 ] ] ] , [ : object , [ " b " , [ : number , 2 ] ] , [ " a " , [ : number , 2 ] ] , [ " id " , [ : number , 102 ] ] ] , [ : object , [ " b " , [ : number , 0 ] ] , [ " a " , [ : number , 3 ] ] , [ " id " , [ : number , 103 ] ] ] ] ] ] ] , true ] <nl> + [ : getbykey , [ : default_db , " Welcome_rdb " ] , : id , [ : number , 100 ] ] <nl> + [ : getbykey , [ : default_db , " Welcome_rdb " ] , : id , [ : number , 101 ] ] <nl> + [ : getbykey , [ : default_db , " Welcome_rdb " ] , : id , [ : number , 102 ] ] <nl> + [ : getbykey , [ : default_db , " Welcome_rdb " ] , : id , [ : number , 103 ] ] <nl> + [ : delete , [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] <nl> + [ : insert , [ : default_db , " Welcome_rdb " ] , [ [ : object , [ " b " , [ : number , 0 ] ] , [ " a " , [ : number , 0 ] ] , [ " id " , [ : number , 100 ] ] ] , [ : object , [ " b " , [ : number , 1 ] ] , [ " a " , [ : number , 1 ] ] , [ " id " , [ : number , 101 ] ] ] , [ : object , [ " b " , [ : number , 2 ] ] , [ " a " , [ : number , 2 ] ] , [ " id " , [ : number , 102 ] ] ] , [ : object , [ " b " , [ : number , 0 ] ] , [ " a " , [ : number , 3 ] ] , [ " id " , [ : number , 103 ] ] ] , [ : object , [ " b " , [ : number , 1 ] ] , [ " a " , [ : number , 4 ] ] , [ " id " , [ : number , 104 ] ] ] , [ : object , [ " b " , [ : number , 2 ] ] , [ " a " , [ : number , 5 ] ] , [ " id " , [ : number , 105 ] ] ] , [ : object , [ " b " , [ : number , 0 ] ] , [ " a " , [ : number , 6 ] ] , [ " id " , [ : number , 106 ] ] ] , [ : object , [ " b " , [ : number , 1 ] ] , [ " a " , [ : number , 7 ] ] , [ " id " , [ : number , 107 ] ] ] , [ : object , [ " b " , [ : number , 2 ] ] , [ " a " , [ : number , 8 ] ] , [ " id " , [ : number , 108 ] ] ] , [ : object , [ " b " , [ : number , 0 ] ] , [ " a " , [ : number , 9 ] ] , [ " id " , [ : number , 109 ] ] ] ] , true ] <nl> + [ : call , [ : filter , " _var_1025 " , [ : call , [ : compare , : lt ] , [ [ : call , [ : getattr , : a ] , [ [ : implicit_var ] ] ] , [ : number , 5 ] ] ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : call , [ : filter , " _var_1026 " , [ : call , [ : compare , : le ] , [ [ : call , [ : getattr , : a ] , [ [ : implicit_var ] ] ] , [ : number , 5 ] ] ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : call , [ : filter , " _var_1027 " , [ : call , [ : compare , : gt ] , [ [ : call , [ : getattr , : a ] , [ [ : implicit_var ] ] ] , [ : number , 5 ] ] ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : call , [ : filter , " _var_1028 " , [ : call , [ : compare , : ge ] , [ [ : call , [ : getattr , : a ] , [ [ : implicit_var ] ] ] , [ : number , 5 ] ] ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : call , [ : filter , " _var_1029 " , [ : call , [ : compare , : eq ] , [ [ : call , [ : getattr , : a ] , [ [ : implicit_var ] ] ] , [ : call , [ : getattr , : b ] , [ [ : implicit_var ] ] ] ] ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : number , 5 ] <nl> + [ : number , - 5 ] <nl> + [ : number , 5 ] <nl> + [ : number , 5 ] <nl> + [ : call , [ : add ] , [ [ : number , 3 ] , [ : number , 4 ] ] ] <nl> + [ : call , [ : subtract ] , [ [ : number , 3 ] , [ : number , 4 ] ] ] <nl> + [ : call , [ : multiply ] , [ [ : number , 3 ] , [ : number , 4 ] ] ] <nl> + [ : call , [ : divide ] , [ [ : number , 3 ] , [ : number , 4 ] ] ] <nl> + [ : call , [ : modulo ] , [ [ : number , 3 ] , [ : number , 2 ] ] ] <nl> + [ : call , [ : multiply ] , [ [ : call , [ : multiply ] , [ [ : call , [ : add ] , [ [ : number , 3 ] , [ : number , 4 ] ] ] , [ : call , [ : subtract ] , [ [ : number , 6 ] ] ] ] ] , [ : call , [ : add ] , [ [ : number , - 5 ] , [ : number , 3 ] ] ] ] ] <nl> + [ : delete , [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] <nl> + [ : insert , [ : default_db , " Welcome_rdb " ] , [ [ : object , [ " b " , [ : number , 0 ] ] , [ " a " , [ : number , 0 ] ] , [ " id " , [ : number , 100 ] ] ] , [ : object , [ " b " , [ : number , 1 ] ] , [ " a " , [ : number , 1 ] ] , [ " id " , [ : number , 101 ] ] ] , [ : object , [ " b " , [ : number , 2 ] ] , [ " a " , [ : number , 2 ] ] , [ " id " , [ : number , 102 ] ] ] , [ : object , [ " b " , [ : number , 0 ] ] , [ " a " , [ : number , 3 ] ] , [ " id " , [ : number , 103 ] ] ] , [ : object , [ " b " , [ : number , 1 ] ] , [ " a " , [ : number , 4 ] ] , [ " id " , [ : number , 104 ] ] ] , [ : object , [ " b " , [ : number , 2 ] ] , [ " a " , [ : number , 5 ] ] , [ " id " , [ : number , 105 ] ] ] , [ : object , [ " b " , [ : number , 0 ] ] , [ " a " , [ : number , 6 ] ] , [ " id " , [ : number , 106 ] ] ] , [ : object , [ " b " , [ : number , 1 ] ] , [ " a " , [ : number , 7 ] ] , [ " id " , [ : number , 107 ] ] ] , [ : object , [ " b " , [ : number , 2 ] ] , [ " a " , [ : number , 8 ] ] , [ " id " , [ : number , 108 ] ] ] , [ : object , [ " b " , [ : number , 0 ] ] , [ " a " , [ : number , 9 ] ] , [ " id " , [ : number , 109 ] ] ] ] , true ] <nl> + [ : mutate , [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] , [ " _var_1030 " , [ : var , " _var_1030 " ] ] ] <nl> + [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] <nl> + [ : update , [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] , [ " _var_1031 " , [ : json_null ] ] ] <nl> + [ : update , [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] , [ " _var_1032 " , [ : number , 1 ] ] ] <nl> + [ : update , [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] , [ " _var_1033 " , [ : call , [ : getattr , : id ] , [ [ : var , " _var_1033 " ] ] ] ] ] <nl> + [ : update , [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] , [ " _var_1034 " , [ : call , [ : getattr , : id ] , [ [ : implicit_var ] ] ] ] ] <nl> + [ : update , [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] , [ " _var_1035 " , [ : if , [ : call , [ : compare , : eq ] , [ [ : call , [ : modulo ] , [ [ : call , [ : getattr , : id ] , [ [ : implicit_var ] ] ] , [ : number , 2 ] ] ] , [ : number , 0 ] ] ] , [ : object , [ " id " , [ : number , - 1 ] ] ] , [ : var , " _var_1035 " ] ] ] ] <nl> + [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] <nl> + [ : delete , [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] <nl> + [ : insert , [ : default_db , " Welcome_rdb " ] , [ [ : object , [ " id " , [ : number , 0 ] ] , [ " name " , [ : string , " 0 " ] ] , [ " num " , [ : number , 0 ] ] ] , [ : object , [ " id " , [ : number , 1 ] ] , [ " name " , [ : string , " 1 " ] ] , [ " num " , [ : number , 1 ] ] ] , [ : object , [ " id " , [ : number , 2 ] ] , [ " name " , [ : string , " 2 " ] ] , [ " num " , [ : number , 2 ] ] ] , [ : object , [ " id " , [ : number , 3 ] ] , [ " name " , [ : string , " 3 " ] ] , [ " num " , [ : number , 3 ] ] ] , [ : object , [ " id " , [ : number , 4 ] ] , [ " name " , [ : string , " 4 " ] ] , [ " num " , [ : number , 4 ] ] ] , [ : object , [ " id " , [ : number , 5 ] ] , [ " name " , [ : string , " 5 " ] ] , [ " num " , [ : number , 5 ] ] ] , [ : object , [ " id " , [ : number , 6 ] ] , [ " name " , [ : string , " 6 " ] ] , [ " num " , [ : number , 6 ] ] ] , [ : object , [ " id " , [ : number , 7 ] ] , [ " name " , [ : string , " 7 " ] ] , [ " num " , [ : number , 7 ] ] ] , [ : object , [ " id " , [ : number , 8 ] ] , [ " name " , [ : string , " 8 " ] ] , [ " num " , [ : number , 8 ] ] ] , [ : object , [ " id " , [ : number , 9 ] ] , [ " name " , [ : string , " 9 " ] ] , [ " num " , [ : number , 9 ] ] ] ] , true ] <nl> + [ : call , [ : compare , : lt ] , [ [ : array , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] ] , [ : array , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 4 ] ] ] ] <nl> + [ : call , [ : compare , : lt ] , [ [ : array , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] ] , [ : array , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] ] ] ] <nl> + [ : array , [ : bool , true ] , [ : bool , false ] , [ : json_null ] ] <nl> + [ : call , [ : arraytostream ] , [ [ : array , [ : bool , true ] , [ : bool , false ] , [ : json_null ] ] ] ] <nl> + [ : call , [ : arraytostream ] , [ [ : array , [ : bool , true ] , [ : bool , false ] , [ : json_null ] ] ] ] <nl> + [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] <nl> + [ : foreach , [ : array , [ : number , 2 ] , [ : number , 3 ] , [ : number , 4 ] ] , " _var_1036 " , [ [ : pointupdate , [ : default_db , " Welcome_rdb " ] , : id , [ : var , " _var_1036 " ] , [ " _var_1037 " , [ : object , [ " num " , [ : number , 0 ] ] ] ] ] , [ : pointupdate , [ : default_db , " Welcome_rdb " ] , : id , [ : call , [ : multiply ] , [ [ : var , " _var_1036 " ] , [ : number , 2 ] ] ] , [ " _var_1038 " , [ : object , [ " num " , [ : number , 0 ] ] ] ] ] ] ] <nl> + [ : foreach , [ : call , [ : streamtoarray ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] , " _var_1039 " , [ [ : update , [ : call , [ : filter , " _var_1040 " , [ : call , [ : compare , : eq ] , [ [ : call , [ : getattr , : id ] , [ [ : implicit_var ] ] ] , [ : call , [ : getattr , : id ] , [ [ : var , " _var_1039 " ] ] ] ] ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] , [ " _var_1041 " , [ : if , [ : call , [ : compare , : eq ] , [ [ : call , [ : getattr , : num ] , [ [ : var , " _var_1041 " ] ] ] , [ : number , 0 ] ] ] , [ : object , [ " num " , [ : call , [ : getattr , : id ] , [ [ : var , " _var_1041 " ] ] ] ] ] , [ : json_null ] ] ] ] ] ] <nl> + [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] <nl> + [ : call , [ : arrayappend ] , [ [ : array ] , [ : number , 2 ] ] ] <nl> + [ : call , [ : arrayappend ] , [ [ : array , [ : number , 1 ] ] , [ : number , 2 ] ] ] <nl> + [ : call , [ : arrayappend ] , [ [ : number , 2 ] , [ : number , 0 ] ] ] <nl> + [ : call , [ : add ] , [ [ : array , [ : number , 1 ] ] , [ : array , [ : number , 2 ] ] ] ] <nl> + [ : call , [ : add ] , [ [ : array , [ : number , 1 ] , [ : number , 2 ] ] , [ : array ] ] ] <nl> + [ : call , [ : add ] , [ [ : number , 1 ] , [ : array , [ : number , 1 ] ] ] ] <nl> + [ : call , [ : add ] , [ [ : array , [ : number , 1 ] ] , [ : number , 1 ] ] ] <nl> + [ : call , [ : slice ] , [ [ : array , [ : number , 0 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 4 ] , [ : number , 5 ] , [ : number , 6 ] , [ : number , 7 ] , [ : number , 8 ] , [ : number , 9 ] ] , [ : number , 0 ] , [ : number , 3 ] ] ] <nl> + [ : call , [ : slice ] , [ [ : array , [ : number , 0 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 4 ] , [ : number , 5 ] , [ : number , 6 ] , [ : number , 7 ] , [ : number , 8 ] , [ : number , 9 ] ] , [ : number , 0 ] , [ : number , 0 ] ] ] <nl> + [ : call , [ : slice ] , [ [ : array , [ : number , 0 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 4 ] , [ : number , 5 ] , [ : number , 6 ] , [ : number , 7 ] , [ : number , 8 ] , [ : number , 9 ] ] , [ : number , 5 ] , [ : number , 15 ] ] ] <nl> + [ : call , [ : slice ] , [ [ : array , [ : number , 0 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 4 ] , [ : number , 5 ] , [ : number , 6 ] , [ : number , 7 ] , [ : number , 8 ] , [ : number , 9 ] ] , [ : number , 5 ] , [ : number , - 3 ] ] ] <nl> + [ : call , [ : slice ] , [ [ : array , [ : number , 0 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 4 ] , [ : number , 5 ] , [ : number , 6 ] , [ : number , 7 ] , [ : number , 8 ] , [ : number , 9 ] ] , [ : number , - 5 ] , [ : number , - 3 ] ] ] <nl> + [ : call , [ : slice ] , [ [ : array , [ : number , 0 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 4 ] , [ : number , 5 ] , [ : number , 6 ] , [ : number , 7 ] , [ : number , 8 ] , [ : number , 9 ] ] , [ : number , 0 ] , [ : number , 4 ] ] ] <nl> + [ : call , [ : slice ] , [ [ : array , [ : number , 0 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 4 ] , [ : number , 5 ] , [ : number , 6 ] , [ : number , 7 ] , [ : number , 8 ] , [ : number , 9 ] ] , [ : number , 0 ] , [ : number , 1 ] ] ] <nl> + [ : call , [ : slice ] , [ [ : array , [ : number , 0 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 4 ] , [ : number , 5 ] , [ : number , 6 ] , [ : number , 7 ] , [ : number , 8 ] , [ : number , 9 ] ] , [ : number , 5 ] , [ : number , 16 ] ] ] <nl> + [ : call , [ : slice ] , [ [ : array , [ : number , 0 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 4 ] , [ : number , 5 ] , [ : number , 6 ] , [ : number , 7 ] , [ : number , 8 ] , [ : number , 9 ] ] , [ : number , 5 ] , [ : number , - 2 ] ] ] <nl> + [ : call , [ : slice ] , [ [ : array , [ : number , 0 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 4 ] , [ : number , 5 ] , [ : number , 6 ] , [ : number , 7 ] , [ : number , 8 ] , [ : number , 9 ] ] , [ : number , - 5 ] , [ : number , - 2 ] ] ] <nl> + [ : call , [ : slice ] , [ [ : number , 1 ] , [ : number , 0 ] , [ : number , 0 ] ] ] <nl> + [ : call , [ : slice ] , [ [ : array , [ : number , 0 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 4 ] , [ : number , 5 ] , [ : number , 6 ] , [ : number , 7 ] , [ : number , 8 ] , [ : number , 9 ] ] , [ : number , 0 . 5 ] , [ : number , 0 ] ] ] <nl> + [ : call , [ : slice ] , [ [ : number , 1 ] , [ : number , 0 ] , [ : number , 1 . 01 ] ] ] <nl> + [ : call , [ : slice ] , [ [ : number , 1 ] , [ : number , 5 ] , [ : number , 3 ] ] ] <nl> + [ : call , [ : slice ] , [ [ : array , [ : number , 0 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 4 ] , [ : number , 5 ] , [ : number , 6 ] , [ : number , 7 ] , [ : number , 8 ] , [ : number , 9 ] ] , [ : number , 5 ] , [ : json_null ] ] ] <nl> + [ : call , [ : slice ] , [ [ : array , [ : number , 0 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 4 ] , [ : number , 5 ] , [ : number , 6 ] , [ : number , 7 ] , [ : number , 8 ] , [ : number , 9 ] ] , [ : number , 0 ] , [ : number , 7 ] ] ] <nl> + [ : call , [ : slice ] , [ [ : array , [ : number , 0 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 4 ] , [ : number , 5 ] , [ : number , 6 ] , [ : number , 7 ] , [ : number , 8 ] , [ : number , 9 ] ] , [ : number , 0 ] , [ : number , - 2 ] ] ] <nl> + [ : call , [ : slice ] , [ [ : array , [ : number , 0 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 4 ] , [ : number , 5 ] , [ : number , 6 ] , [ : number , 7 ] , [ : number , 8 ] , [ : number , 9 ] ] , [ : number , - 2 ] , [ : json_null ] ] ] <nl> + [ : call , [ : slice ] , [ [ : array , [ : number , 0 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 4 ] , [ : number , 5 ] , [ : number , 6 ] , [ : number , 7 ] , [ : number , 8 ] , [ : number , 9 ] ] , [ : number , 0 ] , [ : json_null ] ] ] <nl> + [ : call , [ : nth ] , [ [ : array , [ : number , 0 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 4 ] , [ : number , 5 ] , [ : number , 6 ] , [ : number , 7 ] , [ : number , 8 ] , [ : number , 9 ] ] , [ : number , 3 ] ] ] <nl> + [ : call , [ : nth ] , [ [ : array , [ : number , 0 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 4 ] , [ : number , 5 ] , [ : number , 6 ] , [ : number , 7 ] , [ : number , 8 ] , [ : number , 9 ] ] , [ : number , - 1 ] ] ] <nl> + [ : call , [ : nth ] , [ [ : number , 0 ] , [ : number , 0 ] ] ] <nl> + [ : call , [ : nth ] , [ [ : array , [ : number , 0 ] ] , [ : number , 1 ] ] ] <nl> + [ : call , [ : length ] , [ [ : array ] ] ] <nl> + [ : call , [ : length ] , [ [ : array , [ : number , 0 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 4 ] , [ : number , 5 ] , [ : number , 6 ] , [ : number , 7 ] , [ : number , 8 ] , [ : number , 9 ] ] ] ] <nl> + [ : call , [ : length ] , [ [ : number , 0 ] ] ] <nl> + [ : insert , [ : default_db , " Welcome_rdb " ] , [ [ : object , [ " id " , [ : array ] ] ] ] , true ] <nl> + [ : pointmutate , [ : default_db , " Welcome_rdb " ] , : id , [ : number , 100 ] , [ " _var_1042 " , [ : object , [ " id " , [ : array ] ] ] ] ] <nl> + [ : insert , [ : default_db , " Welcome_rdb " ] , [ [ : object , [ " id " , [ : number , 0 ] ] ] , [ : object , [ " id " , [ : number , 1 ] ] ] , [ : object , [ " id " , [ : number , 2 ] ] ] , [ : object , [ " id " , [ : number , 3 ] ] ] , [ : object , [ " id " , [ : number , 4 ] ] ] , [ : object , [ " id " , [ : number , 5 ] ] ] , [ : object , [ " id " , [ : number , 6 ] ] ] , [ : object , [ " id " , [ : number , 7 ] ] ] , [ : object , [ " id " , [ : number , 8 ] ] ] , [ : object , [ " id " , [ : number , 9 ] ] ] , [ : object , [ " id " , [ : number , 10 ] ] ] , [ : object , [ " id " , [ : number , 11 ] ] ] , [ : object , [ " id " , [ : number , 12 ] ] ] , [ : object , [ " id " , [ : number , 13 ] ] ] , [ : object , [ " id " , [ : number , 14 ] ] ] , [ : object , [ " id " , [ : number , 15 ] ] ] , [ : object , [ " id " , [ : number , 16 ] ] ] , [ : object , [ " id " , [ : number , 17 ] ] ] , [ : object , [ " id " , [ : number , 18 ] ] ] , [ : object , [ " id " , [ : number , 19 ] ] ] , [ : object , [ " id " , [ : number , 20 ] ] ] , [ : object , [ " id " , [ : number , 21 ] ] ] , [ : object , [ " id " , [ : number , 22 ] ] ] , [ : object , [ " id " , [ : number , 23 ] ] ] , [ : object , [ " id " , [ : number , 24 ] ] ] , [ : object , [ " id " , [ : number , 25 ] ] ] , [ : object , [ " id " , [ : number , 26 ] ] ] , [ : object , [ " id " , [ : number , 27 ] ] ] , [ : object , [ " id " , [ : number , 28 ] ] ] , [ : object , [ " id " , [ : number , 29 ] ] ] , [ : object , [ " id " , [ : number , 30 ] ] ] , [ : object , [ " id " , [ : number , 31 ] ] ] , [ : object , [ " id " , [ : number , 32 ] ] ] , [ : object , [ " id " , [ : number , 33 ] ] ] , [ : object , [ " id " , [ : number , 34 ] ] ] , [ : object , [ " id " , [ : number , 35 ] ] ] , [ : object , [ " id " , [ : number , 36 ] ] ] , [ : object , [ " id " , [ : number , 37 ] ] ] , [ : object , [ " id " , [ : number , 38 ] ] ] , [ : object , [ " id " , [ : number , 39 ] ] ] , [ : object , [ " id " , [ : number , 40 ] ] ] , [ : object , [ " id " , [ : number , 41 ] ] ] , [ : object , [ " id " , [ : number , 42 ] ] ] , [ : object , [ " id " , [ : number , 43 ] ] ] , [ : object , [ " id " , [ : number , 44 ] ] ] , [ : object , [ " id " , [ : number , 45 ] ] ] , [ : object , [ " id " , [ : number , 46 ] ] ] , [ : object , [ " id " , [ : number , 47 ] ] ] , [ : object , [ " id " , [ : number , 48 ] ] ] , [ : object , [ " id " , [ : number , 49 ] ] ] , [ : object , [ " id " , [ : number , 50 ] ] ] , [ : object , [ " id " , [ : number , 51 ] ] ] , [ : object , [ " id " , [ : number , 52 ] ] ] , [ : object , [ " id " , [ : number , 53 ] ] ] , [ : object , [ " id " , [ : number , 54 ] ] ] , [ : object , [ " id " , [ : number , 55 ] ] ] , [ : object , [ " id " , [ : number , 56 ] ] ] , [ : object , [ " id " , [ : number , 57 ] ] ] , [ : object , [ " id " , [ : number , 58 ] ] ] , [ : object , [ " id " , [ : number , 59 ] ] ] , [ : object , [ " id " , [ : number , 60 ] ] ] , [ : object , [ " id " , [ : number , 61 ] ] ] , [ : object , [ " id " , [ : number , 62 ] ] ] , [ : object , [ " id " , [ : number , 63 ] ] ] , [ : object , [ " id " , [ : number , 64 ] ] ] , [ : object , [ " id " , [ : number , 65 ] ] ] , [ : object , [ " id " , [ : number , 66 ] ] ] , [ : object , [ " id " , [ : number , 67 ] ] ] , [ : object , [ " id " , [ : number , 68 ] ] ] , [ : object , [ " id " , [ : number , 69 ] ] ] , [ : object , [ " id " , [ : number , 70 ] ] ] , [ : object , [ " id " , [ : number , 71 ] ] ] , [ : object , [ " id " , [ : number , 72 ] ] ] , [ : object , [ " id " , [ : number , 73 ] ] ] , [ : object , [ " id " , [ : number , 74 ] ] ] , [ : object , [ " id " , [ : number , 75 ] ] ] , [ : object , [ " id " , [ : number , 76 ] ] ] , [ : object , [ " id " , [ : number , 77 ] ] ] , [ : object , [ " id " , [ : number , 78 ] ] ] , [ : object , [ " id " , [ : number , 79 ] ] ] , [ : object , [ " id " , [ : number , 80 ] ] ] , [ : object , [ " id " , [ : number , 81 ] ] ] , [ : object , [ " id " , [ : number , 82 ] ] ] , [ : object , [ " id " , [ : number , 83 ] ] ] , [ : object , [ " id " , [ : number , 84 ] ] ] , [ : object , [ " id " , [ : number , 85 ] ] ] , [ : object , [ " id " , [ : number , 86 ] ] ] , [ : object , [ " id " , [ : number , 87 ] ] ] , [ : object , [ " id " , [ : number , 88 ] ] ] , [ : object , [ " id " , [ : number , 89 ] ] ] , [ : object , [ " id " , [ : number , 90 ] ] ] , [ : object , [ " id " , [ : number , 91 ] ] ] , [ : object , [ " id " , [ : number , 92 ] ] ] , [ : object , [ " id " , [ : number , 93 ] ] ] , [ : object , [ " id " , [ : number , 94 ] ] ] , [ : object , [ " id " , [ : number , 95 ] ] ] , [ : object , [ " id " , [ : number , 96 ] ] ] , [ : object , [ " id " , [ : number , 97 ] ] ] , [ : object , [ " id " , [ : number , 98 ] ] ] , [ : object , [ " id " , [ : number , 99 ] ] ] ] , true ] <nl> + [ : call , [ : range , : id , [ : number , 1 ] , [ : number , 2 ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : delete , [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] <nl> + [ : insert , [ : default_db , " Welcome_rdb " ] , [ [ : object , [ " id " , [ : number , 0 ] ] , [ " name " , [ : string , " 0 " ] ] , [ " num " , [ : number , 0 ] ] ] , [ : object , [ " id " , [ : number , 1 ] ] , [ " name " , [ : string , " 1 " ] ] , [ " num " , [ : number , 1 ] ] ] , [ : object , [ " id " , [ : number , 2 ] ] , [ " name " , [ : string , " 2 " ] ] , [ " num " , [ : number , 2 ] ] ] , [ : object , [ " id " , [ : number , 3 ] ] , [ " name " , [ : string , " 3 " ] ] , [ " num " , [ : number , 3 ] ] ] , [ : object , [ " id " , [ : number , 4 ] ] , [ " name " , [ : string , " 4 " ] ] , [ " num " , [ : number , 4 ] ] ] , [ : object , [ " id " , [ : number , 5 ] ] , [ " name " , [ : string , " 5 " ] ] , [ " num " , [ : number , 5 ] ] ] , [ : object , [ " id " , [ : number , 6 ] ] , [ " name " , [ : string , " 6 " ] ] , [ " num " , [ : number , 6 ] ] ] , [ : object , [ " id " , [ : number , 7 ] ] , [ " name " , [ : string , " 7 " ] ] , [ " num " , [ : number , 7 ] ] ] , [ : object , [ " id " , [ : number , 8 ] ] , [ " name " , [ : string , " 8 " ] ] , [ " num " , [ : number , 8 ] ] ] , [ : object , [ " id " , [ : number , 9 ] ] , [ " name " , [ : string , " 9 " ] ] , [ " num " , [ : number , 9 ] ] ] ] , true ] <nl> + [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] <nl> + [ : call , [ : compare , : eq ] , [ [ : number , 3 ] , [ : number , 3 ] ] ] <nl> + [ : call , [ : compare , : eq ] , [ [ : number , 3 ] , [ : number , 4 ] ] ] <nl> + [ : call , [ : compare , : ne ] , [ [ : number , 3 ] , [ : number , 3 ] ] ] <nl> + [ : call , [ : compare , : ne ] , [ [ : number , 3 ] , [ : number , 4 ] ] ] <nl> + [ : call , [ : compare , : gt ] , [ [ : number , 3 ] , [ : number , 2 ] ] ] <nl> + [ : call , [ : compare , : gt ] , [ [ : number , 3 ] , [ : number , 3 ] ] ] <nl> + [ : call , [ : compare , : ge ] , [ [ : number , 3 ] , [ : number , 3 ] ] ] <nl> + [ : call , [ : compare , : ge ] , [ [ : number , 3 ] , [ : number , 4 ] ] ] <nl> + [ : call , [ : compare , : lt ] , [ [ : number , 3 ] , [ : number , 3 ] ] ] <nl> + [ : call , [ : compare , : lt ] , [ [ : number , 3 ] , [ : number , 4 ] ] ] <nl> + [ : call , [ : compare , : le ] , [ [ : number , 3 ] , [ : number , 3 ] ] ] <nl> + [ : call , [ : compare , : le ] , [ [ : number , 3 ] , [ : number , 4 ] ] ] <nl> + [ : call , [ : compare , : le ] , [ [ : number , 3 ] , [ : number , 2 ] ] ] <nl> + [ : call , [ : compare , : eq ] , [ [ : number , 1 ] , [ : number , 1 ] , [ : number , 2 ] ] ] <nl> + [ : call , [ : compare , : eq ] , [ [ : number , 5 ] , [ : number , 5 ] , [ : number , 5 ] ] ] <nl> + [ : call , [ : compare , : lt ] , [ [ : number , 3 ] , [ : number , 4 ] ] ] <nl> + [ : call , [ : compare , : lt ] , [ [ : number , 3 ] , [ : number , 4 ] , [ : number , 5 ] ] ] <nl> + [ : call , [ : compare , : lt ] , [ [ : number , 5 ] , [ : number , 6 ] , [ : number , 7 ] , [ : number , 7 ] ] ] <nl> + [ : call , [ : compare , : eq ] , [ [ : string , " asdf " ] , [ : string , " asdf " ] ] ] <nl> + [ : call , [ : compare , : eq ] , [ [ : string , " asd " ] , [ : string , " asdf " ] ] ] <nl> + [ : call , [ : compare , : lt ] , [ [ : string , " a " ] , [ : string , " b " ] ] ] <nl> + [ : call , [ : compare , : eq ] , [ [ : bool , true ] , [ : bool , true ] ] ] <nl> + [ : call , [ : compare , : lt ] , [ [ : bool , false ] , [ : bool , true ] ] ] <nl> + [ : call , [ : compare , : lt ] , [ [ : array ] , [ : bool , false ] , [ : bool , true ] , [ : json_null ] , [ : number , 1 ] , [ : object ] , [ : string , " " ] ] ] <nl> + [ : call , [ : arraytostream ] , [ [ : call , [ : concatmap , " _var_1043 " , [ : call , [ : arraytostream ] , [ [ : array , [ : number , 1 ] , [ : number , 2 ] ] ] ] ] , [ [ : array , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] ] ] ] ] ] <nl> + [ : call , [ : concatmap , " _var_1044 " , [ : var , " _var_1044 " ] ] , [ [ : array , [ : array , [ : number , 1 ] ] , [ : array , [ : number , 2 ] ] ] ] ] <nl> + [ : call , [ : concatmap , " _var_1045 " , [ : var , " _var_1045 " ] ] , [ [ : array , [ : array , [ : number , 1 ] ] , [ : number , 2 ] ] ] ] <nl> + [ : call , [ : concatmap , " _var_1046 " , [ : var , " _var_1046 " ] ] , [ [ : number , 1 ] ] ] <nl> + [ : call , [ : concatmap , " _var_1047 " , [ : var , " _var_1047 " ] ] , [ [ : array , [ : array , [ : number , 1 ] ] , [ : array , [ : number , 2 ] ] ] ] ] <nl> + [ : call , [ : distinct ] , [ [ : call , [ : concatmap , " _var_1048 " , [ : call , [ : map , " _var_1049 " , [ : call , [ : multiply ] , [ [ : call , [ : getattr , : id ] , [ [ : var , " _var_1049 " ] ] ] , [ : call , [ : getattr , : id ] , [ [ : var , " _var_1048 " ] ] ] ] ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] ] ] <nl> + [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] <nl> + [ : table , " test " , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] <nl> + [ : if , [ : call , [ : compare , : ge ] , [ [ : call , [ : add ] , [ [ : number , 1 ] , [ : number , 2 ] ] ] , [ : number , 3 ] ] ] , [ : json , " [ 1 , 2 , 3 ] " ] , [ : error , " unreachable " ] ] <nl> + [ : if , [ : call , [ : compare , : gt ] , [ [ : call , [ : add ] , [ [ : number , 1 ] , [ : number , 2 ] ] ] , [ : number , 3 ] ] ] , [ : json , " [ 1 , 2 , 3 ] " ] , [ : error , " reachable " ] ] <nl> + [ : create_db , " 460505885200457 " ] <nl> + [ : create_table , : skip_2222ebd4_2c16_485e_8c27_bbe43674a852 , [ " 460505885200457 " , " 138283293422483 " ] , : skip_2222ebd4_2c16_485e_8c27_bbe43674a852 , : skip_2222ebd4_2c16_485e_8c27_bbe43674a852 ] <nl> + [ : insert , [ " 460505885200457 " , " 138283293422483 " ] , [ [ : object , [ " id " , [ : number , 0 ] ] , [ " name " , [ : string , " 0 " ] ] , [ " num " , [ : number , 0 ] ] ] , [ : object , [ " id " , [ : number , 1 ] ] , [ " name " , [ : string , " 1 " ] ] , [ " num " , [ : number , 1 ] ] ] , [ : object , [ " id " , [ : number , 2 ] ] , [ " name " , [ : string , " 2 " ] ] , [ " num " , [ : number , 2 ] ] ] , [ : object , [ " id " , [ : number , 3 ] ] , [ " name " , [ : string , " 3 " ] ] , [ " num " , [ : number , 3 ] ] ] , [ : object , [ " id " , [ : number , 4 ] ] , [ " name " , [ : string , " 4 " ] ] , [ " num " , [ : number , 4 ] ] ] , [ : object , [ " id " , [ : number , 5 ] ] , [ " name " , [ : string , " 5 " ] ] , [ " num " , [ : number , 5 ] ] ] , [ : object , [ " id " , [ : number , 6 ] ] , [ " name " , [ : string , " 6 " ] ] , [ " num " , [ : number , 6 ] ] ] , [ : object , [ " id " , [ : number , 7 ] ] , [ " name " , [ : string , " 7 " ] ] , [ " num " , [ : number , 7 ] ] ] , [ : object , [ " id " , [ : number , 8 ] ] , [ " name " , [ : string , " 8 " ] ] , [ " num " , [ : number , 8 ] ] ] , [ : object , [ " id " , [ : number , 9 ] ] , [ " name " , [ : string , " 9 " ] ] , [ " num " , [ : number , 9 ] ] ] ] , true ] <nl> + [ : insert , [ " 460505885200457 " , " 138283293422483 " ] , [ [ : object , [ " broken " , [ : bool , true ] ] , [ " id " , [ : number , 11 ] ] ] ] , true ] <nl> + [ : insert , [ " 460505885200457 " , " 138283293422483 " ] , [ [ : object , [ " broken " , [ : bool , true ] ] , [ " id " , [ : number , 12 ] ] ] ] , true ] <nl> + [ : insert , [ " 460505885200457 " , " 138283293422483 " ] , [ [ : object , [ " broken " , [ : bool , true ] ] , [ " id " , [ : number , 13 ] ] ] ] , true ] <nl> + [ : foreach , [ : call , [ : orderby , [ : id , true ] ] , [ [ : table , " 460505885200457 " , " 138283293422483 " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] , " _var_1050 " , [ [ : update , [ : table , " 460505885200457 " , " 138283293422483 " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] , [ " _var_1051 " , [ : if , [ : call , [ : compare , : eq ] , [ [ : call , [ : getattr , : id ] , [ [ : var , " _var_1050 " ] ] ] , [ : call , [ : getattr , : id ] , [ [ : var , " _var_1051 " ] ] ] ] ] , [ : object , [ " num " , [ : call , [ : multiply ] , [ [ : call , [ : getattr , : num ] , [ [ : var , " _var_1051 " ] ] ] , [ : number , 2 ] ] ] ] ] , [ : json_null ] ] ] ] , [ : mutate , [ : call , [ : filter , " _var_1052 " , [ : call , [ : compare , : eq ] , [ [ : call , [ : getattr , : id ] , [ [ : implicit_var ] ] ] , [ : call , [ : getattr , : id ] , [ [ : var , " _var_1050 " ] ] ] ] ] ] , [ [ : table , " 460505885200457 " , " 138283293422483 " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] , [ " _var_1053 " , [ : if , [ : call , [ : compare , : eq ] , [ [ : call , [ : modulo ] , [ [ : call , [ : getattr , : id ] , [ [ : implicit_var ] ] ] , [ : number , 2 ] ] ] , [ : number , 1 ] ] ] , [ : json_null ] , [ : var , " _var_1053 " ] ] ] ] , [ : pointdelete , [ " 460505885200457 " , " 138283293422483 " ] , : id , [ : number , 0 ] ] , [ : pointdelete , [ " 460505885200457 " , " 138283293422483 " ] , : id , [ : number , 12 ] ] ] ] <nl> + [ : call , [ : orderby , [ : id , true ] ] , [ [ : table , " 460505885200457 " , " 138283293422483 " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : call , [ : filter , " _var_1054 " , [ : call , [ : compare , : lt ] , [ [ : var , " _var_1054 " ] , [ : number , 3 ] ] ] ] , [ [ : array , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] ] ] ] <nl> + [ : call , [ : filter , " _var_1055 " , [ : bool , true ] ] , [ [ : number , 1 ] ] ] <nl> + [ : call , [ : filter , " _var_1056 " , [ : call , [ : compare , : eq ] , [ [ : call , [ : getattr , : name ] , [ [ : implicit_var ] ] ] , [ : string , " 5 " ] ] ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : call , [ : filter , " _var_1057 " , [ : call , [ : all ] , [ [ : call , [ : compare , : ge ] , [ [ : call , [ : getattr , : id ] , [ [ : var , " _var_1057 " ] ] ] , [ : number , 2 ] ] ] , [ : call , [ : compare , : le ] , [ [ : call , [ : getattr , : id ] , [ [ : var , " _var_1057 " ] ] ] , [ : number , 5 ] ] ] ] ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : call , [ : filter , " _var_1058 " , [ : call , [ : compare , : ne ] , [ [ : call , [ : getattr , : num ] , [ [ : var , " _var_1058 " ] ] ] , [ : number , 5 ] ] ] ] , [ [ : call , [ : filter , " _var_1057 " , [ : call , [ : all ] , [ [ : call , [ : compare , : ge ] , [ [ : call , [ : getattr , : id ] , [ [ : var , " _var_1057 " ] ] ] , [ : number , 2 ] ] ] , [ : call , [ : compare , : le ] , [ [ : call , [ : getattr , : id ] , [ [ : var , " _var_1057 " ] ] ] , [ : number , 5 ] ] ] ] ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] ] ] <nl> + [ : call , [ : filter , " _var_1059 " , [ : call , [ : any ] , [ [ : call , [ : compare , : eq ] , [ [ : call , [ : getattr , : num ] , [ [ : var , " _var_1059 " ] ] ] , [ : number , 2 ] ] ] , [ : call , [ : compare , : eq ] , [ [ : call , [ : getattr , : num ] , [ [ : var , " _var_1059 " ] ] ] , [ : number , 3 ] ] ] ] ] ] , [ [ : call , [ : filter , " _var_1058 " , [ : call , [ : compare , : ne ] , [ [ : call , [ : getattr , : num ] , [ [ : var , " _var_1058 " ] ] ] , [ : number , 5 ] ] ] ] , [ [ : call , [ : filter , " _var_1057 " , [ : call , [ : all ] , [ [ : call , [ : compare , : ge ] , [ [ : call , [ : getattr , : id ] , [ [ : var , " _var_1057 " ] ] ] , [ : number , 2 ] ] ] , [ : call , [ : compare , : le ] , [ [ : call , [ : getattr , : id ] , [ [ : var , " _var_1057 " ] ] ] , [ : number , 5 ] ] ] ] ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] ] ] ] ] <nl> + [ : call , [ : filter , " _var_1060 " , [ : call , [ : compare , : lt ] , [ [ : call , [ : getattr , : id ] , [ [ : implicit_var ] ] ] , [ : number , 5 ] ] ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : call , [ : orderby , [ : id , true ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : foreach , [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] , " _var_1061 " , [ [ : pointupdate , [ : default_db , " Welcome_rdb " ] , : id , [ : call , [ : getattr , : id ] , [ [ : var , " _var_1061 " ] ] ] , [ " _var_1062 " , [ : object , [ " id " , [ : number , 0 ] ] ] ] ] ] ] <nl> + [ : call , [ : orderby , [ : id , true ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : create_db , " foreach_multi827319102807796 " ] <nl> + [ : create_table , : skip_2222ebd4_2c16_485e_8c27_bbe43674a852 , [ " foreach_multi827319102807796 " , " foreach_multi_tbl174684792483577 " ] , : skip_2222ebd4_2c16_485e_8c27_bbe43674a852 , : skip_2222ebd4_2c16_485e_8c27_bbe43674a852 ] <nl> + [ : create_table , : skip_2222ebd4_2c16_485e_8c27_bbe43674a852 , [ " foreach_multi827319102807796 " , " foreach_multi_tbl174684792483577960776793473334 " ] , : skip_2222ebd4_2c16_485e_8c27_bbe43674a852 , : skip_2222ebd4_2c16_485e_8c27_bbe43674a852 ] <nl> + [ : create_table , : skip_2222ebd4_2c16_485e_8c27_bbe43674a852 , [ " foreach_multi827319102807796 " , " foreach_multi_tbl1746847924835779607767934733340 . 3356480973276 " ] , : skip_2222ebd4_2c16_485e_8c27_bbe43674a852 , : skip_2222ebd4_2c16_485e_8c27_bbe43674a852 ] <nl> + [ : create_table , : skip_2222ebd4_2c16_485e_8c27_bbe43674a852 , [ " foreach_multi827319102807796 " , " foreach_multi_tbl1746847924835779607767934733340 . 3356480973276547167779172932 " ] , : skip_2222ebd4_2c16_485e_8c27_bbe43674a852 , : skip_2222ebd4_2c16_485e_8c27_bbe43674a852 ] <nl> + [ : insert , [ " foreach_multi827319102807796 " , " foreach_multi_tbl174684792483577 " ] , [ [ : object , [ " id " , [ : number , 0 ] ] , [ " name " , [ : string , " 0 " ] ] , [ " num " , [ : number , 0 ] ] ] , [ : object , [ " id " , [ : number , 1 ] ] , [ " name " , [ : string , " 1 " ] ] , [ " num " , [ : number , 1 ] ] ] , [ : object , [ " id " , [ : number , 2 ] ] , [ " name " , [ : string , " 2 " ] ] , [ " num " , [ : number , 2 ] ] ] , [ : object , [ " id " , [ : number , 3 ] ] , [ " name " , [ : string , " 3 " ] ] , [ " num " , [ : number , 3 ] ] ] , [ : object , [ " id " , [ : number , 4 ] ] , [ " name " , [ : string , " 4 " ] ] , [ " num " , [ : number , 4 ] ] ] , [ : object , [ " id " , [ : number , 5 ] ] , [ " name " , [ : string , " 5 " ] ] , [ " num " , [ : number , 5 ] ] ] , [ : object , [ " id " , [ : number , 6 ] ] , [ " name " , [ : string , " 6 " ] ] , [ " num " , [ : number , 6 ] ] ] , [ : object , [ " id " , [ : number , 7 ] ] , [ " name " , [ : string , " 7 " ] ] , [ " num " , [ : number , 7 ] ] ] , [ : object , [ " id " , [ : number , 8 ] ] , [ " name " , [ : string , " 8 " ] ] , [ " num " , [ : number , 8 ] ] ] , [ : object , [ " id " , [ : number , 9 ] ] , [ " name " , [ : string , " 9 " ] ] , [ " num " , [ : number , 9 ] ] ] ] , true ] <nl> + [ : insert , [ " foreach_multi827319102807796 " , " foreach_multi_tbl174684792483577960776793473334 " ] , [ [ : object , [ " id " , [ : number , 0 ] ] , [ " name " , [ : string , " 0 " ] ] , [ " num " , [ : number , 0 ] ] ] , [ : object , [ " id " , [ : number , 1 ] ] , [ " name " , [ : string , " 1 " ] ] , [ " num " , [ : number , 1 ] ] ] , [ : object , [ " id " , [ : number , 2 ] ] , [ " name " , [ : string , " 2 " ] ] , [ " num " , [ : number , 2 ] ] ] , [ : object , [ " id " , [ : number , 3 ] ] , [ " name " , [ : string , " 3 " ] ] , [ " num " , [ : number , 3 ] ] ] , [ : object , [ " id " , [ : number , 4 ] ] , [ " name " , [ : string , " 4 " ] ] , [ " num " , [ : number , 4 ] ] ] , [ : object , [ " id " , [ : number , 5 ] ] , [ " name " , [ : string , " 5 " ] ] , [ " num " , [ : number , 5 ] ] ] , [ : object , [ " id " , [ : number , 6 ] ] , [ " name " , [ : string , " 6 " ] ] , [ " num " , [ : number , 6 ] ] ] , [ : object , [ " id " , [ : number , 7 ] ] , [ " name " , [ : string , " 7 " ] ] , [ " num " , [ : number , 7 ] ] ] , [ : object , [ " id " , [ : number , 8 ] ] , [ " name " , [ : string , " 8 " ] ] , [ " num " , [ : number , 8 ] ] ] , [ : object , [ " id " , [ : number , 9 ] ] , [ " name " , [ : string , " 9 " ] ] , [ " num " , [ : number , 9 ] ] ] ] , true ] <nl> + [ : foreach , [ : table , " foreach_multi827319102807796 " , " foreach_multi_tbl174684792483577 " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] , " _var_1063 " , [ [ : foreach , [ : table , " foreach_multi827319102807796 " , " foreach_multi_tbl174684792483577960776793473334 " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] , " _var_1064 " , [ [ : insert , [ " foreach_multi827319102807796 " , " foreach_multi_tbl1746847924835779607767934733340 . 3356480973276 " ] , [ [ : object , [ " id " , [ : call , [ : add ] , [ [ : call , [ : multiply ] , [ [ : call , [ : getattr , : id ] , [ [ : var , " _var_1063 " ] ] ] , [ : number , 1000 ] ] ] , [ : call , [ : getattr , : id ] , [ [ : var , " _var_1064 " ] ] ] ] ] ] ] ] , true ] ] ] ] ] <nl> + [ : foreach , [ : table , " foreach_multi827319102807796 " , " foreach_multi_tbl174684792483577 " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] , " _var_1065 " , [ [ : delete , [ : call , [ : filter , " _var_1066 " , [ : call , [ : compare , : eq ] , [ [ : call , [ : getattr , : id ] , [ [ : implicit_var ] ] ] , [ : call , [ : multiply ] , [ [ : call , [ : getattr , : id ] , [ [ : var , " _var_1065 " ] ] ] , [ : call , [ : getattr , : id ] , [ [ : var , " _var_1065 " ] ] ] ] ] ] ] ] , [ [ : table , " foreach_multi827319102807796 " , " foreach_multi_tbl174684792483577960776793473334 " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] ] ] ] <nl> + [ : foreach , [ : table , " foreach_multi827319102807796 " , " foreach_multi_tbl174684792483577 " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] , " _var_1067 " , [ [ : foreach , [ : table , " foreach_multi827319102807796 " , " foreach_multi_tbl174684792483577960776793473334 " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] , " _var_1068 " , [ [ : delete , [ : call , [ : filter , " _var_1069 " , [ : call , [ : compare , : eq ] , [ [ : call , [ : getattr , : id ] , [ [ : implicit_var ] ] ] , [ : call , [ : add ] , [ [ : call , [ : multiply ] , [ [ : call , [ : getattr , : id ] , [ [ : var , " _var_1067 " ] ] ] , [ : number , 1000 ] ] ] , [ : call , [ : getattr , : id ] , [ [ : var , " _var_1068 " ] ] ] ] ] ] ] ] , [ [ : table , " foreach_multi827319102807796 " , " foreach_multi_tbl1746847924835779607767934733340 . 3356480973276 " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] ] ] ] ] ] <nl> + [ : foreach , [ : table , " foreach_multi827319102807796 " , " foreach_multi_tbl174684792483577 " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] , " _var_1070 " , [ [ : insert , [ " foreach_multi827319102807796 " , " foreach_multi_tbl1746847924835779607767934733340 . 3356480973276547167779172932 " ] , [ [ : var , " _var_1070 " ] ] , true ] ] ] <nl> + [ : foreach , [ : table , " foreach_multi827319102807796 " , " foreach_multi_tbl174684792483577960776793473334 " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] , " _var_1071 " , [ [ : delete , [ : call , [ : filter , " _var_1072 " , [ : call , [ : compare , : eq ] , [ [ : call , [ : getattr , : id ] , [ [ : implicit_var ] ] ] , [ : call , [ : getattr , : id ] , [ [ : var , " _var_1071 " ] ] ] ] ] ] , [ [ : table , " foreach_multi827319102807796 " , " foreach_multi_tbl1746847924835779607767934733340 . 3356480973276547167779172932 " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] ] ] ] <nl> + [ : object , [ " obj " , [ : getbykey , [ : default_db , " Welcome_rdb " ] , : id , [ : number , 0 ] ] ] ] <nl> + [ : object , [ " obj " , [ : getbykey , [ : default_db , " Welcome_rdb " ] , : id , [ : number , 0 ] ] ] ] <nl> + [ : call , [ : slice ] , [ [ : array , [ : number , 0 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 4 ] , [ : number , 5 ] , [ : number , 6 ] , [ : number , 7 ] , [ : number , 8 ] , [ : number , 9 ] ] , [ : number , 0 ] , [ : json_null ] ] ] <nl> + [ : call , [ : slice ] , [ [ : array , [ : number , 0 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 4 ] , [ : number , 5 ] , [ : number , 6 ] , [ : number , 7 ] , [ : number , 8 ] , [ : number , 9 ] ] , [ : number , 2 ] , [ : json_null ] ] ] <nl> + [ : call , [ : slice ] , [ [ : array , [ : number , 0 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 4 ] , [ : number , 5 ] , [ : number , 6 ] , [ : number , 7 ] , [ : number , 8 ] , [ : number , 9 ] ] , [ : number , 0 ] , [ : number , 2 ] ] ] <nl> + [ : call , [ : slice ] , [ [ : array , [ : number , 0 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 4 ] , [ : number , 5 ] , [ : number , 6 ] , [ : number , 7 ] , [ : number , 8 ] , [ : number , 9 ] ] , [ : number , - 1 ] , [ : json_null ] ] ] <nl> + [ : call , [ : slice ] , [ [ : array , [ : number , 0 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 4 ] , [ : number , 5 ] , [ : number , 6 ] , [ : number , 7 ] , [ : number , 8 ] , [ : number , 9 ] ] , [ : number , 0 ] , [ : number , - 1 ] ] ] <nl> + [ : call , [ : slice ] , [ [ : array , [ : number , 0 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 4 ] , [ : number , 5 ] , [ : number , 6 ] , [ : number , 7 ] , [ : number , 8 ] , [ : number , 9 ] ] , [ : number , 3 ] , [ : number , 5 ] ] ] <nl> + [ : call , [ : nth ] , [ [ : array , [ : number , 0 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 4 ] , [ : number , 5 ] , [ : number , 6 ] , [ : number , 7 ] , [ : number , 8 ] , [ : number , 9 ] ] , [ : number , 3 ] ] ] <nl> + [ : call , [ : nth ] , [ [ : array , [ : number , 0 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 4 ] , [ : number , 5 ] , [ : number , 6 ] , [ : number , 7 ] , [ : number , 8 ] , [ : number , 9 ] ] , [ : number , - 1 ] ] ] <nl> + [ : call , [ : getattr , : a ] , [ [ : object , [ " b " , [ : number , 4 ] ] , [ " a " , [ : number , 3 ] ] ] ] ] <nl> + [ : call , [ : getattr , : b ] , [ [ : object , [ " b " , [ : number , 4 ] ] , [ " a " , [ : number , 3 ] ] ] ] ] <nl> + [ : call , [ : getattr , : c ] , [ [ : object , [ " b " , [ : number , 4 ] ] , [ " a " , [ : number , 3 ] ] ] ] ] <nl> + [ : call , [ : orderby , [ : id , true ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : call , [ : orderby , [ : id , true ] ] , [ [ : call , [ : streamtoarray ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] ] ] <nl> + [ : call , [ : orderby , [ : id , true ] ] , [ [ : array , [ : object , [ " id " , [ : number , 1 ] ] ] , [ : object , [ " id " , [ : number , 0 ] ] ] ] ] ] <nl> + [ : call , [ : orderby , [ : id , true ] ] , [ [ : number , 1 ] ] ] <nl> + [ : call , [ : orderby , [ : id , true ] ] , [ [ : call , [ : nth ] , [ [ : array , [ : number , 1 ] ] , [ : number , 0 ] ] ] ] ] <nl> + [ : call , [ : orderby , [ : id , true ] ] , [ [ : array , [ : number , 1 ] ] ] ] <nl> + [ : call , [ : orderby , [ : id , true ] ] , [ [ : array , [ : object , [ " num " , [ : number , 1 ] ] ] ] ] ] <nl> + [ : call , [ : orderby , [ : id , true ] ] , [ [ : array ] ] ] <nl> + [ : call , [ : groupedmapreduce , [ " _var_1073 " , [ : call , [ : modulo ] , [ [ : call , [ : getattr , : id ] , [ [ : var , " _var_1073 " ] ] ] , [ : number , 4 ] ] ] ] , [ " _var_1074 " , [ : call , [ : getattr , : id ] , [ [ : var , " _var_1074 " ] ] ] ] , [ [ : number , 0 ] , " _var_1075 " , " _var_1076 " , [ : call , [ : add ] , [ [ : var , " _var_1075 " ] , [ : var , " _var_1076 " ] ] ] ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : call , [ : groupedmapreduce , [ " _var_1077 " , [ : call , [ : modulo ] , [ [ : call , [ : getattr , : id ] , [ [ : implicit_var ] ] ] , [ : number , 4 ] ] ] ] , [ " _var_1078 " , [ : call , [ : getattr , : id ] , [ [ : implicit_var ] ] ] ] , [ [ : number , 0 ] , " _var_1079 " , " _var_1080 " , [ : call , [ : add ] , [ [ : var , " _var_1079 " ] , [ : var , " _var_1080 " ] ] ] ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : call , [ : groupedmapreduce , [ " _var_1073 " , [ : call , [ : modulo ] , [ [ : call , [ : getattr , : id ] , [ [ : var , " _var_1073 " ] ] ] , [ : number , 4 ] ] ] ] , [ " _var_1074 " , [ : call , [ : getattr , : id ] , [ [ : var , " _var_1074 " ] ] ] ] , [ [ : number , 0 ] , " _var_1075 " , " _var_1076 " , [ : call , [ : add ] , [ [ : var , " _var_1075 " ] , [ : var , " _var_1076 " ] ] ] ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : call , [ : groupedmapreduce , [ " _var_1081 " , [ : call , [ : modulo ] , [ [ : call , [ : getattr , : id ] , [ [ : var , " _var_1081 " ] ] ] , [ : number , 4 ] ] ] ] , [ " _var_1082 " , [ : call , [ : getattr , : id ] , [ [ : var , " _var_1082 " ] ] ] ] , [ [ : number , 0 ] , " _var_1083 " , " _var_1084 " , [ : call , [ : add ] , [ [ : var , " _var_1083 " ] , [ : var , " _var_1084 " ] ] ] ] ] , [ [ : call , [ : streamtoarray ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] ] ] <nl> + [ : call , [ : groupedmapreduce , [ " _var_1073 " , [ : call , [ : modulo ] , [ [ : call , [ : getattr , : id ] , [ [ : var , " _var_1073 " ] ] ] , [ : number , 4 ] ] ] ] , [ " _var_1074 " , [ : call , [ : getattr , : id ] , [ [ : var , " _var_1074 " ] ] ] ] , [ [ : number , 0 ] , " _var_1075 " , " _var_1076 " , [ : call , [ : add ] , [ [ : var , " _var_1075 " ] , [ : var , " _var_1076 " ] ] ] ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : call , [ : groupedmapreduce , [ " _var_1085 " , [ : call , [ : modulo ] , [ [ : call , [ : getattr , : id ] , [ [ : var , " _var_1085 " ] ] ] , [ : number , 4 ] ] ] ] , [ " _var_1086 " , [ : call , [ : getattr , : id ] , [ [ : var , " _var_1086 " ] ] ] ] , [ [ : number , 0 ] , " _var_1087 " , " _var_1088 " , [ : call , [ : add ] , [ [ : var , " _var_1087 " ] , [ : var , " _var_1088 " ] ] ] ] ] , [ [ : array , [ : object , [ " id " , [ : number , 0 ] ] , [ " name " , [ : string , " 0 " ] ] , [ " num " , [ : number , 0 ] ] ] , [ : object , [ " id " , [ : number , 1 ] ] , [ " name " , [ : string , " 1 " ] ] , [ " num " , [ : number , 1 ] ] ] , [ : object , [ " id " , [ : number , 2 ] ] , [ " name " , [ : string , " 2 " ] ] , [ " num " , [ : number , 2 ] ] ] , [ : object , [ " id " , [ : number , 3 ] ] , [ " name " , [ : string , " 3 " ] ] , [ " num " , [ : number , 3 ] ] ] , [ : object , [ " id " , [ : number , 4 ] ] , [ " name " , [ : string , " 4 " ] ] , [ " num " , [ : number , 4 ] ] ] , [ : object , [ " id " , [ : number , 5 ] ] , [ " name " , [ : string , " 5 " ] ] , [ " num " , [ : number , 5 ] ] ] , [ : object , [ " id " , [ : number , 6 ] ] , [ " name " , [ : string , " 6 " ] ] , [ " num " , [ : number , 6 ] ] ] , [ : object , [ " id " , [ : number , 7 ] ] , [ " name " , [ : string , " 7 " ] ] , [ " num " , [ : number , 7 ] ] ] , [ : object , [ " id " , [ : number , 8 ] ] , [ " name " , [ : string , " 8 " ] ] , [ " num " , [ : number , 8 ] ] ] , [ : object , [ " id " , [ : number , 9 ] ] , [ " name " , [ : string , " 9 " ] ] , [ " num " , [ : number , 9 ] ] ] ] ] ] <nl> + [ : call , [ : groupedmapreduce , [ " _var_1089 " , [ : call , [ : modulo ] , [ [ : call , [ : getattr , : id ] , [ [ : var , " _var_1089 " ] ] ] , [ : number , 4 ] ] ] ] , [ " _var_1090 " , [ : call , [ : getattr , : id ] , [ [ : var , " _var_1090 " ] ] ] ] , [ [ : number , 0 ] , " _var_1091 " , " _var_1092 " , [ : call , [ : add ] , [ [ : var , " _var_1091 " ] , [ : var , " _var_1092 " ] ] ] ] ] , [ [ : array , [ : array , [ : object , [ " id " , [ : number , 0 ] ] , [ " name " , [ : string , " 0 " ] ] , [ " num " , [ : number , 0 ] ] ] , [ : object , [ " id " , [ : number , 1 ] ] , [ " name " , [ : string , " 1 " ] ] , [ " num " , [ : number , 1 ] ] ] , [ : object , [ " id " , [ : number , 2 ] ] , [ " name " , [ : string , " 2 " ] ] , [ " num " , [ : number , 2 ] ] ] , [ : object , [ " id " , [ : number , 3 ] ] , [ " name " , [ : string , " 3 " ] ] , [ " num " , [ : number , 3 ] ] ] , [ : object , [ " id " , [ : number , 4 ] ] , [ " name " , [ : string , " 4 " ] ] , [ " num " , [ : number , 4 ] ] ] , [ : object , [ " id " , [ : number , 5 ] ] , [ " name " , [ : string , " 5 " ] ] , [ " num " , [ : number , 5 ] ] ] , [ : object , [ " id " , [ : number , 6 ] ] , [ " name " , [ : string , " 6 " ] ] , [ " num " , [ : number , 6 ] ] ] , [ : object , [ " id " , [ : number , 7 ] ] , [ " name " , [ : string , " 7 " ] ] , [ " num " , [ : number , 7 ] ] ] , [ : object , [ " id " , [ : number , 8 ] ] , [ " name " , [ : string , " 8 " ] ] , [ " num " , [ : number , 8 ] ] ] , [ : object , [ " id " , [ : number , 9 ] ] , [ " name " , [ : string , " 9 " ] ] , [ " num " , [ : number , 9 ] ] ] ] ] ] ] <nl> + [ : call , [ : groupedmapreduce , [ " _var_1093 " , [ : call , [ : modulo ] , [ [ : call , [ : getattr , : id ] , [ [ : var , " _var_1093 " ] ] ] , [ : number , 4 ] ] ] ] , [ " _var_1094 " , [ : call , [ : getattr , : id ] , [ [ : var , " _var_1094 " ] ] ] ] , [ [ : number , 0 ] , " _var_1095 " , " _var_1096 " , [ : call , [ : add ] , [ [ : var , " _var_1095 " ] , [ : var , " _var_1096 " ] ] ] ] ] , [ [ : number , 1 ] ] ] <nl> + [ : call , [ : groupedmapreduce , [ " _var_1073 " , [ : call , [ : modulo ] , [ [ : call , [ : getattr , : id ] , [ [ : var , " _var_1073 " ] ] ] , [ : number , 4 ] ] ] ] , [ " _var_1074 " , [ : call , [ : getattr , : id ] , [ [ : var , " _var_1074 " ] ] ] ] , [ [ : number , 0 ] , " _var_1075 " , " _var_1076 " , [ : call , [ : add ] , [ [ : var , " _var_1075 " ] , [ : var , " _var_1076 " ] ] ] ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : call , [ : orderby , [ : id , true ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : if , [ : bool , true ] , [ : number , 3 ] , [ : number , 4 ] ] <nl> + [ : if , [ : bool , false ] , [ : number , 4 ] , [ : number , 5 ] ] <nl> + [ : if , [ : call , [ : compare , : eq ] , [ [ : number , 3 ] , [ : number , 3 ] ] ] , [ : string , " foo " ] , [ : string , " bar " ] ] <nl> + [ : if , [ : number , 5 ] , [ : number , 1 ] , [ : number , 2 ] ] <nl> + [ : call , [ : filter , " _var_1097 " , [ : call , [ : compare , : eq ] , [ [ : call , [ : streamtoarray ] , [ [ : call , [ : filter , " _var_1098 " , [ : call , [ : getattr , : id ] , [ [ : implicit_var ] ] ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] ] ] , [ : array ] ] ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : call , [ : orderby , [ : id , true ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : insert , [ : default_db , " Welcome_rdb " ] , [ [ : object , [ " id " , [ : number , 0 ] ] , [ " name " , [ : string , " 0 " ] ] , [ " num " , [ : number , 0 ] ] ] , [ : object , [ " id " , [ : number , 1 ] ] , [ " name " , [ : string , " 1 " ] ] , [ " num " , [ : number , 1 ] ] ] , [ : object , [ " id " , [ : number , 2 ] ] , [ " name " , [ : string , " 2 " ] ] , [ " num " , [ : number , 2 ] ] ] , [ : object , [ " id " , [ : number , 3 ] ] , [ " name " , [ : string , " 3 " ] ] , [ " num " , [ : number , 3 ] ] ] , [ : object , [ " id " , [ : number , 4 ] ] , [ " name " , [ : string , " 4 " ] ] , [ " num " , [ : number , 4 ] ] ] , [ : object , [ " id " , [ : number , 5 ] ] , [ " name " , [ : string , " 5 " ] ] , [ " num " , [ : number , 5 ] ] ] , [ : object , [ " id " , [ : number , 6 ] ] , [ " name " , [ : string , " 6 " ] ] , [ " num " , [ : number , 6 ] ] ] , [ : object , [ " id " , [ : number , 7 ] ] , [ " name " , [ : string , " 7 " ] ] , [ " num " , [ : number , 7 ] ] ] , [ : object , [ " id " , [ : number , 8 ] ] , [ " name " , [ : string , " 8 " ] ] , [ " num " , [ : number , 8 ] ] ] , [ : object , [ " id " , [ : number , 9 ] ] , [ " name " , [ : string , " 9 " ] ] , [ " num " , [ : number , 9 ] ] ] , [ : object , [ " id " , [ : number , 10 ] ] ] , [ : object , [ " id " , [ : number , 11 ] ] ] , [ : object , [ " id " , [ : number , 12 ] ] ] , [ : object , [ " id " , [ : number , 13 ] ] ] , [ : object , [ " id " , [ : number , 14 ] ] ] , [ : object , [ " id " , [ : number , 15 ] ] ] , [ : object , [ " id " , [ : number , 16 ] ] ] , [ : object , [ " id " , [ : number , 17 ] ] ] , [ : object , [ " id " , [ : number , 18 ] ] ] , [ : object , [ " id " , [ : number , 19 ] ] ] ] , false ] <nl> + [ : call , [ : orderby , [ : id , true ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : delete , [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] <nl> + [ : insert , [ : default_db , " Welcome_rdb " ] , [ [ : object , [ " id " , [ : number , 0 ] ] , [ " name " , [ : string , " 0 " ] ] , [ " num " , [ : number , 0 ] ] ] , [ : object , [ " id " , [ : number , 1 ] ] , [ " name " , [ : string , " 1 " ] ] , [ " num " , [ : number , 1 ] ] ] , [ : object , [ " id " , [ : number , 2 ] ] , [ " name " , [ : string , " 2 " ] ] , [ " num " , [ : number , 2 ] ] ] , [ : object , [ " id " , [ : number , 3 ] ] , [ " name " , [ : string , " 3 " ] ] , [ " num " , [ : number , 3 ] ] ] , [ : object , [ " id " , [ : number , 4 ] ] , [ " name " , [ : string , " 4 " ] ] , [ " num " , [ : number , 4 ] ] ] , [ : object , [ " id " , [ : number , 5 ] ] , [ " name " , [ : string , " 5 " ] ] , [ " num " , [ : number , 5 ] ] ] , [ : object , [ " id " , [ : number , 6 ] ] , [ " name " , [ : string , " 6 " ] ] , [ " num " , [ : number , 6 ] ] ] , [ : object , [ " id " , [ : number , 7 ] ] , [ " name " , [ : string , " 7 " ] ] , [ " num " , [ : number , 7 ] ] ] , [ : object , [ " id " , [ : number , 8 ] ] , [ " name " , [ : string , " 8 " ] ] , [ " num " , [ : number , 8 ] ] ] , [ : object , [ " id " , [ : number , 9 ] ] , [ " name " , [ : string , " 9 " ] ] , [ " num " , [ : number , 9 ] ] ] ] , false ] <nl> + [ : call , [ : orderby , [ : id , true ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : javascript , " return 1 " ] <nl> + [ : javascript , " return 1 " ] <nl> + [ : call , [ : add ] , [ [ : javascript , " return 1 " ] , [ : javascript , " return 2 " ] ] ] <nl> + [ : javascript , " return 2 + 2 " ] <nl> + [ : javascript , " return \ " cows \ " " ] <nl> + [ : javascript , " return [ 1 , 2 , 3 ] " ] <nl> + [ : javascript , " return { } " ] <nl> + [ : javascript , " return { a : \ " whee \ " } " ] <nl> + [ : javascript , " return this " ] <nl> + [ : javascript , " return 0 ; " ] <nl> + [ : javascript , " return undefined " ] <nl> + [ : javascript , " return return ; " ] <nl> + [ : javascript , " return var x = { } ; x . x = x ; return x ; " ] <nl> + [ : let , [ [ " x " , [ : number , 2 ] ] ] , [ : javascript , " return x " ] ] <nl> + [ : let , [ [ " x " , [ : number , 2 ] ] , [ " y " , [ : number , 3 ] ] ] , [ : javascript , " return x + y " ] ] <nl> + [ : call , [ : map , " _var_1099 " , [ : javascript , " return _var_1099 " ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] <nl> + [ : call , [ : map , " _var_1100 " , [ : javascript , " return this " ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] <nl> + [ : call , [ : map , " _var_1101 " , [ : javascript , " return _var_1101 . num " ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : call , [ : map , " _var_1102 " , [ : call , [ : getattr , : num ] , [ [ : implicit_var ] ] ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : call , [ : map , " _var_1103 " , [ : javascript , " return this . num " ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : call , [ : map , " _var_1104 " , [ : call , [ : getattr , : num ] , [ [ : implicit_var ] ] ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : call , [ : filter , " _var_1105 " , [ : javascript , " return _var_1105 . id < 5 " ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : call , [ : filter , " _var_1106 " , [ : call , [ : compare , : lt ] , [ [ : call , [ : getattr , : id ] , [ [ : implicit_var ] ] ] , [ : number , 5 ] ] ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : call , [ : filter , " _var_1107 " , [ : javascript , " return this . id < 5 " ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : call , [ : filter , " _var_1108 " , [ : call , [ : compare , : lt ] , [ [ : call , [ : getattr , : id ] , [ [ : implicit_var ] ] ] , [ : number , 5 ] ] ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : json , " [ 1 , 2 , 3 ] " ] <nl> + [ : call , [ : any ] , [ [ : bool , false ] ] ] <nl> + [ : call , [ : any ] , [ [ : bool , true ] , [ : bool , false ] ] ] <nl> + [ : call , [ : any ] , [ [ : bool , false ] , [ : bool , true ] ] ] <nl> + [ : call , [ : any ] , [ [ : bool , false ] , [ : bool , false ] , [ : bool , true ] ] ] <nl> + [ : call , [ : all ] , [ [ : bool , false ] ] ] <nl> + [ : call , [ : all ] , [ [ : bool , true ] , [ : bool , false ] ] ] <nl> + [ : call , [ : all ] , [ [ : bool , true ] , [ : bool , true ] ] ] <nl> + [ : call , [ : all ] , [ [ : bool , true ] , [ : bool , true ] , [ : bool , true ] ] ] <nl> + [ : call , [ : all ] , [ [ : bool , true ] , [ : number , 3 ] ] ] <nl> + [ : call , [ : any ] , [ [ : number , 4 ] , [ : bool , true ] ] ] <nl> + [ : let , [ [ " x " , [ : number , 3 ] ] ] , [ : var , " x " ] ] <nl> + [ : let , [ [ " x " , [ : number , 3 ] ] , [ " x " , [ : number , 4 ] ] ] , [ : var , " x " ] ] <nl> + [ : let , [ [ " x " , [ : number , 3 ] ] , [ " y " , [ : number , 4 ] ] ] , [ : var , " x " ] ] <nl> + [ : let , [ [ " a " , [ : number , 2 ] ] , [ " b " , [ : call , [ : add ] , [ [ : var , " a " ] , [ : number , 1 ] ] ] ] ] , [ : call , [ : multiply ] , [ [ : var , " b " ] , [ : number , 2 ] ] ] ] <nl> + [ : let , [ [ " x " , [ : number , 3 ] ] ] , [ : var , " x " ] ] <nl> + [ : let , [ [ " x " , [ : number , 3 ] ] , [ " y " , [ : number , 4 ] ] ] , [ : var , " y " ] ] <nl> + [ : call , [ : map , " _var_1109 " , [ : call , [ : getattr , : id ] , [ [ : var , " _var_1109 " ] ] ] ] , [ [ : array , [ : object , [ " id " , [ : number , 1 ] ] ] , [ : object , [ " id " , [ : number , 2 ] ] ] ] ] ] <nl> + [ : call , [ : map , " _var_1110 " , [ : json_null ] ] , [ [ : number , 1 ] ] ] <nl> + [ : call , [ : filter , " _var_1111 " , [ : call , [ : all ] , [ [ : call , [ : compare , : eq ] , [ [ : call , [ : getattr , " num " ] , [ [ : var , " _var_1111 " ] ] ] , [ : number , 1 ] ] ] ] ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : call , [ : filter , " _var_1112 " , [ : call , [ : all ] , [ [ : call , [ : compare , : eq ] , [ [ : call , [ : getattr , " num " ] , [ [ : var , " _var_1112 " ] ] ] , [ : call , [ : getattr , : num ] , [ [ : implicit_var ] ] ] ] ] ] ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : call , [ : map , " _var_1113 " , [ : call , [ : streamtoarray ] , [ [ : call , [ : filter , " _var_1114 " , [ : call , [ : compare , : lt ] , [ [ : call , [ : getattr , : id ] , [ [ : var , " _var_1114 " ] ] ] , [ : call , [ : getattr , : id ] , [ [ : var , " _var_1113 " ] ] ] ] ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] ] ] ] , [ [ : call , [ : orderby , [ : id , true ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] ] ] <nl> + [ : call , [ : mapmerge ] , [ [ : object , [ " a " , [ : number , 1 ] ] ] , [ : object , [ " b " , [ : number , 2 ] ] ] ] ] <nl> + [ : call , [ : mapmerge ] , [ [ : object , [ " a " , [ : number , 1 ] ] ] , [ : object , [ " a " , [ : number , 2 ] ] ] ] ] <nl> + [ : mutate , [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] , [ " _var_1115 " , [ : number , 1 ] ] ] <nl> + [ : call , [ : orderby , [ : id , true ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : pointmutate , [ : default_db , " Welcome_rdb " ] , : id , [ : number , 0 ] , [ " _var_1116 " , [ : json_null ] ] ] <nl> + [ : call , [ : orderby , [ : id , true ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : pointmutate , [ : default_db , " Welcome_rdb " ] , : id , [ : number , 0 ] , [ " _var_1117 " , [ : json_null ] ] ] <nl> + [ : call , [ : orderby , [ : id , true ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : pointmutate , [ : default_db , " Welcome_rdb " ] , : id , [ : number , 0 ] , [ " _var_1118 " , [ : object , [ " id " , [ : number , 0 ] ] , [ " name " , [ : string , " 0 " ] ] , [ " num " , [ : number , 0 ] ] ] ] ] <nl> + [ : pointmutate , [ : default_db , " Welcome_rdb " ] , : id , [ : number , - 1 ] , [ " _var_1119 " , [ : object , [ " id " , [ : array ] ] ] ] ] <nl> + [ : pointmutate , [ : default_db , " Welcome_rdb " ] , : id , [ : number , - 1 ] , [ " _var_1120 " , [ : object , [ " id " , [ : number , 0 ] ] ] ] ] <nl> + [ : call , [ : orderby , [ : id , true ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : pointmutate , [ : default_db , " Welcome_rdb " ] , : id , [ : number , 0 ] , [ " _var_1121 " , [ : if , [ : call , [ : compare , : eq ] , [ [ : var , " _var_1121 " ] , [ : json_null ] ] ] , [ : object , [ " id " , [ : number , 0 ] ] , [ " name " , [ : string , " 0 " ] ] , [ " num " , [ : number , 0 ] ] ] , [ : object , [ " id " , [ : number , 1 ] ] , [ " name " , [ : string , " 1 " ] ] , [ " num " , [ : number , 1 ] ] ] ] ] ] <nl> + [ : pointmutate , [ : default_db , " Welcome_rdb " ] , : id , [ : number , 0 ] , [ " _var_1122 " , [ : if , [ : call , [ : compare , : eq ] , [ [ : var , " _var_1122 " ] , [ : json_null ] ] ] , [ : object , [ " id " , [ : number , 1 ] ] , [ " name " , [ : string , " 1 " ] ] , [ " num " , [ : number , 1 ] ] ] , [ : object , [ " id " , [ : number , 0 ] ] , [ " name " , [ : string , " 0 " ] ] , [ " num " , [ : number , 0 ] ] ] ] ] ] <nl> + [ : call , [ : orderby , [ : id , true ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : call , [ : not ] , [ [ : bool , true ] ] ] <nl> + [ : call , [ : not ] , [ [ : bool , false ] ] ] <nl> + [ : call , [ : not ] , [ [ : number , 3 ] ] ] <nl> + [ : call , [ : nth ] , [ [ : call , [ : orderby , [ : id , true ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] , [ : number , 2 ] ] ] <nl> + [ : call , [ : divide ] , [ [ : number , 1 ] , [ : number , 0 ] ] ] <nl> + [ : call , [ : divide ] , [ [ : number , 0 ] , [ : number , 0 ] ] ] <nl> + [ : call , [ : multiply ] , [ [ : number , 1 . 0e + 200 ] , [ : number , 1 . 0e + 300 ] ] ] <nl> + [ : call , [ : multiply ] , [ [ : number , 1 . 0e + 100 ] , [ : number , 1 . 0e + 100 ] ] ] <nl> + [ : call , [ : add ] , [ [ : number , 5 ] , [ : number , 3 ] ] ] <nl> + [ : call , [ : add ] , [ [ : number , 5 ] , [ : number , 3 ] ] ] <nl> + [ : call , [ : add ] , [ [ : number , 5 ] , [ : number , 3 ] ] ] <nl> + [ : call , [ : add ] , [ [ : number , 2 ] , [ : number , 3 ] , [ : number , 3 ] ] ] <nl> + [ : call , [ : subtract ] , [ [ : number , 5 ] , [ : number , 3 ] ] ] <nl> + [ : call , [ : subtract ] , [ [ : number , 5 ] , [ : number , 3 ] ] ] <nl> + [ : call , [ : subtract ] , [ [ : number , 5 ] , [ : number , 3 ] ] ] <nl> + [ : call , [ : subtract ] , [ [ : number , 5 ] , [ : number , 3 ] ] ] <nl> + [ : call , [ : subtract ] , [ [ : number , 5 ] , [ : number , 3 ] ] ] <nl> + [ : call , [ : modulo ] , [ [ : number , 5 ] , [ : number , 3 ] ] ] <nl> + [ : call , [ : modulo ] , [ [ : number , 5 ] , [ : number , 3 ] ] ] <nl> + [ : call , [ : modulo ] , [ [ : number , 5 ] , [ : number , 3 ] ] ] <nl> + [ : call , [ : modulo ] , [ [ : number , 5 ] , [ : number , 3 ] ] ] <nl> + [ : call , [ : modulo ] , [ [ : number , 5 ] , [ : number , 3 ] ] ] <nl> + [ : call , [ : multiply ] , [ [ : number , 5 ] , [ : number , 3 ] ] ] <nl> + [ : call , [ : multiply ] , [ [ : number , 5 ] , [ : number , 3 ] ] ] <nl> + [ : call , [ : multiply ] , [ [ : number , 5 ] , [ : number , 3 ] ] ] <nl> + [ : call , [ : multiply ] , [ [ : number , 5 ] , [ : number , 3 ] ] ] <nl> + [ : call , [ : multiply ] , [ [ : number , 5 ] , [ : number , 3 ] ] ] <nl> + [ : call , [ : multiply ] , [ [ : number , 5 ] , [ : number , 3 ] , [ : number , 1 ] ] ] <nl> + [ : call , [ : divide ] , [ [ : number , 15 ] , [ : number , 3 ] ] ] <nl> + [ : call , [ : divide ] , [ [ : number , 15 ] , [ : number , 3 ] ] ] <nl> + [ : call , [ : divide ] , [ [ : number , 15 ] , [ : number , 3 ] ] ] <nl> + [ : call , [ : divide ] , [ [ : number , 15 ] , [ : number , 3 ] ] ] <nl> + [ : call , [ : divide ] , [ [ : number , 15 ] , [ : number , 3 ] ] ] <nl> + [ : call , [ : compare , : lt ] , [ [ : number , 3 ] , [ : number , 2 ] ] ] <nl> + [ : call , [ : compare , : lt ] , [ [ : number , 3 ] , [ : number , 3 ] ] ] <nl> + [ : call , [ : compare , : lt ] , [ [ : number , 3 ] , [ : number , 4 ] ] ] <nl> + [ : call , [ : compare , : lt ] , [ [ : number , 3 ] , [ : number , 2 ] ] ] <nl> + [ : call , [ : compare , : lt ] , [ [ : number , 3 ] , [ : number , 3 ] ] ] <nl> + [ : call , [ : compare , : lt ] , [ [ : number , 3 ] , [ : number , 4 ] ] ] <nl> + [ : call , [ : compare , : lt ] , [ [ : number , 3 ] , [ : number , 2 ] ] ] <nl> + [ : call , [ : compare , : lt ] , [ [ : number , 3 ] , [ : number , 3 ] ] ] <nl> + [ : call , [ : compare , : lt ] , [ [ : number , 3 ] , [ : number , 4 ] ] ] <nl> + [ : call , [ : compare , : le ] , [ [ : number , 3 ] , [ : number , 2 ] ] ] <nl> + [ : call , [ : compare , : le ] , [ [ : number , 3 ] , [ : number , 3 ] ] ] <nl> + [ : call , [ : compare , : le ] , [ [ : number , 3 ] , [ : number , 4 ] ] ] <nl> + [ : call , [ : compare , : le ] , [ [ : number , 3 ] , [ : number , 2 ] ] ] <nl> + [ : call , [ : compare , : le ] , [ [ : number , 3 ] , [ : number , 3 ] ] ] <nl> + [ : call , [ : compare , : le ] , [ [ : number , 3 ] , [ : number , 4 ] ] ] <nl> + [ : call , [ : compare , : le ] , [ [ : number , 3 ] , [ : number , 2 ] ] ] <nl> + [ : call , [ : compare , : le ] , [ [ : number , 3 ] , [ : number , 3 ] ] ] <nl> + [ : call , [ : compare , : le ] , [ [ : number , 3 ] , [ : number , 4 ] ] ] <nl> + [ : call , [ : compare , : gt ] , [ [ : number , 3 ] , [ : number , 2 ] ] ] <nl> + [ : call , [ : compare , : gt ] , [ [ : number , 3 ] , [ : number , 3 ] ] ] <nl> + [ : call , [ : compare , : gt ] , [ [ : number , 3 ] , [ : number , 4 ] ] ] <nl> + [ : call , [ : compare , : gt ] , [ [ : number , 3 ] , [ : number , 2 ] ] ] <nl> + [ : call , [ : compare , : gt ] , [ [ : number , 3 ] , [ : number , 3 ] ] ] <nl> + [ : call , [ : compare , : gt ] , [ [ : number , 3 ] , [ : number , 4 ] ] ] <nl> + [ : call , [ : compare , : gt ] , [ [ : number , 3 ] , [ : number , 2 ] ] ] <nl> + [ : call , [ : compare , : gt ] , [ [ : number , 3 ] , [ : number , 3 ] ] ] <nl> + [ : call , [ : compare , : gt ] , [ [ : number , 3 ] , [ : number , 4 ] ] ] <nl> + [ : call , [ : compare , : ge ] , [ [ : number , 3 ] , [ : number , 2 ] ] ] <nl> + [ : call , [ : compare , : ge ] , [ [ : number , 3 ] , [ : number , 3 ] ] ] <nl> + [ : call , [ : compare , : ge ] , [ [ : number , 3 ] , [ : number , 4 ] ] ] <nl> + [ : call , [ : compare , : ge ] , [ [ : number , 3 ] , [ : number , 2 ] ] ] <nl> + [ : call , [ : compare , : ge ] , [ [ : number , 3 ] , [ : number , 3 ] ] ] <nl> + [ : call , [ : compare , : ge ] , [ [ : number , 3 ] , [ : number , 4 ] ] ] <nl> + [ : call , [ : compare , : ge ] , [ [ : number , 3 ] , [ : number , 2 ] ] ] <nl> + [ : call , [ : compare , : ge ] , [ [ : number , 3 ] , [ : number , 3 ] ] ] <nl> + [ : call , [ : compare , : ge ] , [ [ : number , 3 ] , [ : number , 4 ] ] ] <nl> + [ : call , [ : compare , : eq ] , [ [ : number , 3 ] , [ : number , 2 ] ] ] <nl> + [ : call , [ : compare , : eq ] , [ [ : number , 3 ] , [ : number , 3 ] ] ] <nl> + [ : call , [ : compare , : eq ] , [ [ : number , 3 ] , [ : number , 2 ] ] ] <nl> + [ : call , [ : compare , : eq ] , [ [ : number , 3 ] , [ : number , 3 ] ] ] <nl> + [ : call , [ : compare , : ne ] , [ [ : number , 3 ] , [ : number , 2 ] ] ] <nl> + [ : call , [ : compare , : ne ] , [ [ : number , 3 ] , [ : number , 3 ] ] ] <nl> + [ : call , [ : not ] , [ [ : call , [ : compare , : eq ] , [ [ : number , 3 ] , [ : number , 2 ] ] ] ] ] <nl> + [ : call , [ : not ] , [ [ : call , [ : compare , : eq ] , [ [ : number , 3 ] , [ : number , 3 ] ] ] ] ] <nl> + [ : call , [ : not ] , [ [ : call , [ : compare , : eq ] , [ [ : number , 3 ] , [ : number , 2 ] ] ] ] ] <nl> + [ : call , [ : not ] , [ [ : call , [ : compare , : eq ] , [ [ : number , 3 ] , [ : number , 3 ] ] ] ] ] <nl> + [ : call , [ : all ] , [ [ : bool , true ] , [ : bool , true ] , [ : bool , true ] ] ] <nl> + [ : call , [ : all ] , [ [ : bool , true ] , [ : bool , false ] , [ : bool , true ] ] ] <nl> + [ : call , [ : all ] , [ [ : bool , true ] , [ : bool , true ] , [ : bool , true ] ] ] <nl> + [ : call , [ : all ] , [ [ : bool , true ] , [ : bool , false ] , [ : bool , true ] ] ] <nl> + [ : call , [ : all ] , [ [ : bool , true ] , [ : bool , true ] ] ] <nl> + [ : call , [ : all ] , [ [ : bool , true ] , [ : bool , false ] ] ] <nl> + [ : call , [ : any ] , [ [ : bool , false ] , [ : bool , false ] , [ : bool , false ] ] ] <nl> + [ : call , [ : any ] , [ [ : bool , false ] , [ : bool , true ] , [ : bool , false ] ] ] <nl> + [ : call , [ : any ] , [ [ : bool , false ] , [ : bool , false ] , [ : bool , false ] ] ] <nl> + [ : call , [ : any ] , [ [ : bool , false ] , [ : bool , true ] , [ : bool , false ] ] ] <nl> + [ : call , [ : any ] , [ [ : bool , false ] , [ : bool , false ] ] ] <nl> + [ : call , [ : any ] , [ [ : bool , true ] , [ : bool , false ] ] ] <nl> + [ : call , [ : orderby , [ : id , true ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : call , [ : orderby , [ " id " , true ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : call , [ : orderby , [ : id , true ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : call , [ : orderby , [ : id , false ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : call , [ : orderby , [ : num , true ] , [ : id , false ] ] , [ [ : call , [ : map , " _var_1123 " , [ : object , [ " num " , [ : call , [ : modulo ] , [ [ : call , [ : getattr , : id ] , [ [ : implicit_var ] ] ] , [ : number , 2 ] ] ] ] , [ " id " , [ : call , [ : getattr , : id ] , [ [ : implicit_var ] ] ] ] ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] ] ] <nl> + [ : call , [ : orderby , [ " a " , true ] ] , [ [ : call , [ : arraytostream ] , [ [ : array , [ : object , [ " b " , [ : number , 0 ] ] , [ " a " , [ : number , 0 ] ] , [ " id " , [ : number , 100 ] ] ] , [ : object , [ " b " , [ : number , 1 ] ] , [ " a " , [ : number , 1 ] ] , [ " id " , [ : number , 101 ] ] ] , [ : object , [ " b " , [ : number , 2 ] ] , [ " a " , [ : number , 2 ] ] , [ " id " , [ : number , 102 ] ] ] , [ : object , [ " b " , [ : number , 0 ] ] , [ " a " , [ : number , 3 ] ] , [ " id " , [ : number , 103 ] ] ] , [ : object , [ " b " , [ : number , 1 ] ] , [ " a " , [ : number , 4 ] ] , [ " id " , [ : number , 104 ] ] ] , [ : object , [ " b " , [ : number , 2 ] ] , [ " a " , [ : number , 5 ] ] , [ " id " , [ : number , 105 ] ] ] , [ : object , [ " b " , [ : number , 0 ] ] , [ " a " , [ : number , 6 ] ] , [ " id " , [ : number , 106 ] ] ] , [ : object , [ " b " , [ : number , 1 ] ] , [ " a " , [ : number , 7 ] ] , [ " id " , [ : number , 107 ] ] ] , [ : object , [ " b " , [ : number , 2 ] ] , [ " a " , [ : number , 8 ] ] , [ " id " , [ : number , 108 ] ] ] , [ : object , [ " b " , [ : number , 0 ] ] , [ " a " , [ : number , 9 ] ] , [ " id " , [ : number , 109 ] ] ] ] ] ] ] ] <nl> + [ : call , [ : orderby , [ " a " , false ] ] , [ [ : call , [ : arraytostream ] , [ [ : array , [ : object , [ " b " , [ : number , 0 ] ] , [ " a " , [ : number , 0 ] ] , [ " id " , [ : number , 100 ] ] ] , [ : object , [ " b " , [ : number , 1 ] ] , [ " a " , [ : number , 1 ] ] , [ " id " , [ : number , 101 ] ] ] , [ : object , [ " b " , [ : number , 2 ] ] , [ " a " , [ : number , 2 ] ] , [ " id " , [ : number , 102 ] ] ] , [ : object , [ " b " , [ : number , 0 ] ] , [ " a " , [ : number , 3 ] ] , [ " id " , [ : number , 103 ] ] ] , [ : object , [ " b " , [ : number , 1 ] ] , [ " a " , [ : number , 4 ] ] , [ " id " , [ : number , 104 ] ] ] , [ : object , [ " b " , [ : number , 2 ] ] , [ " a " , [ : number , 5 ] ] , [ " id " , [ : number , 105 ] ] ] , [ : object , [ " b " , [ : number , 0 ] ] , [ " a " , [ : number , 6 ] ] , [ " id " , [ : number , 106 ] ] ] , [ : object , [ " b " , [ : number , 1 ] ] , [ " a " , [ : number , 7 ] ] , [ " id " , [ : number , 107 ] ] ] , [ : object , [ " b " , [ : number , 2 ] ] , [ " a " , [ : number , 8 ] ] , [ " id " , [ : number , 108 ] ] ] , [ : object , [ " b " , [ : number , 0 ] ] , [ " a " , [ : number , 9 ] ] , [ " id " , [ : number , 109 ] ] ] ] ] ] ] ] <nl> + [ : call , [ : orderby , [ : a , true ] ] , [ [ : call , [ : filter , " _var_1124 " , [ : call , [ : all ] , [ [ : call , [ : compare , : eq ] , [ [ : call , [ : getattr , " b " ] , [ [ : var , " _var_1124 " ] ] ] , [ : number , 0 ] ] ] ] ] ] , [ [ : call , [ : arraytostream ] , [ [ : array , [ : object , [ " b " , [ : number , 0 ] ] , [ " a " , [ : number , 0 ] ] , [ " id " , [ : number , 100 ] ] ] , [ : object , [ " b " , [ : number , 1 ] ] , [ " a " , [ : number , 1 ] ] , [ " id " , [ : number , 101 ] ] ] , [ : object , [ " b " , [ : number , 2 ] ] , [ " a " , [ : number , 2 ] ] , [ " id " , [ : number , 102 ] ] ] , [ : object , [ " b " , [ : number , 0 ] ] , [ " a " , [ : number , 3 ] ] , [ " id " , [ : number , 103 ] ] ] , [ : object , [ " b " , [ : number , 1 ] ] , [ " a " , [ : number , 4 ] ] , [ " id " , [ : number , 104 ] ] ] , [ : object , [ " b " , [ : number , 2 ] ] , [ " a " , [ : number , 5 ] ] , [ " id " , [ : number , 105 ] ] ] , [ : object , [ " b " , [ : number , 0 ] ] , [ " a " , [ : number , 6 ] ] , [ " id " , [ : number , 106 ] ] ] , [ : object , [ " b " , [ : number , 1 ] ] , [ " a " , [ : number , 7 ] ] , [ " id " , [ : number , 107 ] ] ] , [ : object , [ " b " , [ : number , 2 ] ] , [ " a " , [ : number , 8 ] ] , [ " id " , [ : number , 108 ] ] ] , [ : object , [ " b " , [ : number , 0 ] ] , [ " a " , [ : number , 9 ] ] , [ " id " , [ : number , 109 ] ] ] ] ] ] ] ] ] ] <nl> + [ : call , [ : union ] , [ [ : call , [ : map , " _var_1128 " , [ : call , [ : pickattrs , : id , : name ] , [ [ : implicit_var ] ] ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] , [ : call , [ : map , " _var_1129 " , [ : call , [ : pickattrs , : id , : num ] , [ [ : var , " _var_1129 " ] ] ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] ] ] <nl> + [ : call , [ : union ] , [ [ : call , [ : map , " _var_1130 " , [ : call , [ : pickattrs , : id , : name ] , [ [ : implicit_var ] ] ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] , [ : call , [ : map , " _var_1131 " , [ : call , [ : pickattrs , : id , : num ] , [ [ : var , " _var_1131 " ] ] ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] ] ] <nl> + [ : call , [ : length ] , [ [ : call , [ : union ] , [ [ : call , [ : map , " _var_1130 " , [ : call , [ : pickattrs , : id , : name ] , [ [ : implicit_var ] ] ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] , [ : call , [ : map , " _var_1131 " , [ : call , [ : pickattrs , : id , : num ] , [ [ : var , " _var_1131 " ] ] ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] ] ] ] ] <nl> + [ : call , [ : map , " _var_1132 " , [ : call , [ : pickattrs ] , [ [ : var , " _var_1132 " ] ] ] ] , [ [ : array , [ : object , [ " c " , [ : number , 3 ] ] , [ " b " , [ : number , 2 ] ] , [ " a " , [ : number , 1 ] ] ] , [ : object , [ " c " , [ : number , 6 ] ] , [ " b " , [ : number , 5 ] ] , [ " a " , [ : number , 4 ] ] ] ] ] ] <nl> + [ : call , [ : map , " _var_1133 " , [ : call , [ : pickattrs , " a " ] , [ [ : var , " _var_1133 " ] ] ] ] , [ [ : array , [ : object , [ " c " , [ : number , 3 ] ] , [ " b " , [ : number , 2 ] ] , [ " a " , [ : number , 1 ] ] ] , [ : object , [ " c " , [ : number , 6 ] ] , [ " b " , [ : number , 5 ] ] , [ " a " , [ : number , 4 ] ] ] ] ] ] <nl> + [ : call , [ : map , " _var_1134 " , [ : call , [ : pickattrs , " a " , " b " ] , [ [ : var , " _var_1134 " ] ] ] ] , [ [ : array , [ : object , [ " c " , [ : number , 3 ] ] , [ " b " , [ : number , 2 ] ] , [ " a " , [ : number , 1 ] ] ] , [ : object , [ " c " , [ : number , 6 ] ] , [ " b " , [ : number , 5 ] ] , [ " a " , [ : number , 4 ] ] ] ] ] ] <nl> + [ : call , [ : orderby , [ : id , true ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : pointdelete , [ : default_db , " Welcome_rdb " ] , : id , [ : number , 0 ] ] <nl> + [ : pointdelete , [ : default_db , " Welcome_rdb " ] , : id , [ : number , 0 ] ] <nl> + [ : call , [ : orderby , [ : id , true ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : insert , [ : default_db , " Welcome_rdb " ] , [ [ : object , [ " id " , [ : number , 0 ] ] , [ " name " , [ : string , " 0 " ] ] , [ " num " , [ : number , 0 ] ] ] ] , true ] <nl> + [ : call , [ : orderby , [ : id , true ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : call , [ : range , : id , [ : number , 1 ] , [ : array , [ : number , 3 ] ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : call , [ : range , : id , [ : number , 2 ] , [ : number , 1 ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : call , [ : range , : id , [ : number , 1 ] , [ : number , 3 ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : call , [ : range , : id , [ : number , 2 ] , : skip_2222ebd4_2c16_485e_8c27_bbe43674a852 ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : call , [ : range , : id , [ : number , 1 ] , [ : number , 3 ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : call , [ : range , : id , : skip_2222ebd4_2c16_485e_8c27_bbe43674a852 , [ : number , 4 ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : call , [ : range , : id , [ : number , 1 ] , [ : number , 3 ] ] , [ [ : call , [ : streamtoarray ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] ] ] <nl> + [ : call , [ : range , : id , [ : number , 2 ] , : skip_2222ebd4_2c16_485e_8c27_bbe43674a852 ] , [ [ : call , [ : streamtoarray ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] ] ] <nl> + [ : call , [ : range , : id , [ : number , 1 ] , [ : number , 3 ] ] , [ [ : call , [ : streamtoarray ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] ] ] <nl> + [ : call , [ : range , : id , : skip_2222ebd4_2c16_485e_8c27_bbe43674a852 , [ : number , 4 ] ] , [ [ : call , [ : streamtoarray ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] ] ] <nl> + [ : call , [ : range , : id , [ : number , 1 ] , [ : number , 3 ] ] , [ [ : array , [ : object , [ " id " , [ : number , 0 ] ] , [ " name " , [ : string , " 0 " ] ] , [ " num " , [ : number , 0 ] ] ] , [ : object , [ " id " , [ : number , 1 ] ] , [ " name " , [ : string , " 1 " ] ] , [ " num " , [ : number , 1 ] ] ] , [ : object , [ " id " , [ : number , 2 ] ] , [ " name " , [ : string , " 2 " ] ] , [ " num " , [ : number , 2 ] ] ] , [ : object , [ " id " , [ : number , 3 ] ] , [ " name " , [ : string , " 3 " ] ] , [ " num " , [ : number , 3 ] ] ] , [ : object , [ " id " , [ : number , 4 ] ] , [ " name " , [ : string , " 4 " ] ] , [ " num " , [ : number , 4 ] ] ] , [ : object , [ " id " , [ : number , 5 ] ] , [ " name " , [ : string , " 5 " ] ] , [ " num " , [ : number , 5 ] ] ] , [ : object , [ " id " , [ : number , 6 ] ] , [ " name " , [ : string , " 6 " ] ] , [ " num " , [ : number , 6 ] ] ] , [ : object , [ " id " , [ : number , 7 ] ] , [ " name " , [ : string , " 7 " ] ] , [ " num " , [ : number , 7 ] ] ] , [ : object , [ " id " , [ : number , 8 ] ] , [ " name " , [ : string , " 8 " ] ] , [ " num " , [ : number , 8 ] ] ] , [ : object , [ " id " , [ : number , 9 ] ] , [ " name " , [ : string , " 9 " ] ] , [ " num " , [ : number , 9 ] ] ] ] ] ] <nl> + [ : call , [ : range , : id , [ : number , 2 ] , : skip_2222ebd4_2c16_485e_8c27_bbe43674a852 ] , [ [ : array , [ : object , [ " id " , [ : number , 0 ] ] , [ " name " , [ : string , " 0 " ] ] , [ " num " , [ : number , 0 ] ] ] , [ : object , [ " id " , [ : number , 1 ] ] , [ " name " , [ : string , " 1 " ] ] , [ " num " , [ : number , 1 ] ] ] , [ : object , [ " id " , [ : number , 2 ] ] , [ " name " , [ : string , " 2 " ] ] , [ " num " , [ : number , 2 ] ] ] , [ : object , [ " id " , [ : number , 3 ] ] , [ " name " , [ : string , " 3 " ] ] , [ " num " , [ : number , 3 ] ] ] , [ : object , [ " id " , [ : number , 4 ] ] , [ " name " , [ : string , " 4 " ] ] , [ " num " , [ : number , 4 ] ] ] , [ : object , [ " id " , [ : number , 5 ] ] , [ " name " , [ : string , " 5 " ] ] , [ " num " , [ : number , 5 ] ] ] , [ : object , [ " id " , [ : number , 6 ] ] , [ " name " , [ : string , " 6 " ] ] , [ " num " , [ : number , 6 ] ] ] , [ : object , [ " id " , [ : number , 7 ] ] , [ " name " , [ : string , " 7 " ] ] , [ " num " , [ : number , 7 ] ] ] , [ : object , [ " id " , [ : number , 8 ] ] , [ " name " , [ : string , " 8 " ] ] , [ " num " , [ : number , 8 ] ] ] , [ : object , [ " id " , [ : number , 9 ] ] , [ " name " , [ : string , " 9 " ] ] , [ " num " , [ : number , 9 ] ] ] ] ] ] <nl> + [ : call , [ : range , : id , [ : number , 1 ] , [ : number , 3 ] ] , [ [ : array , [ : object , [ " id " , [ : number , 0 ] ] , [ " name " , [ : string , " 0 " ] ] , [ " num " , [ : number , 0 ] ] ] , [ : object , [ " id " , [ : number , 1 ] ] , [ " name " , [ : string , " 1 " ] ] , [ " num " , [ : number , 1 ] ] ] , [ : object , [ " id " , [ : number , 2 ] ] , [ " name " , [ : string , " 2 " ] ] , [ " num " , [ : number , 2 ] ] ] , [ : object , [ " id " , [ : number , 3 ] ] , [ " name " , [ : string , " 3 " ] ] , [ " num " , [ : number , 3 ] ] ] , [ : object , [ " id " , [ : number , 4 ] ] , [ " name " , [ : string , " 4 " ] ] , [ " num " , [ : number , 4 ] ] ] , [ : object , [ " id " , [ : number , 5 ] ] , [ " name " , [ : string , " 5 " ] ] , [ " num " , [ : number , 5 ] ] ] , [ : object , [ " id " , [ : number , 6 ] ] , [ " name " , [ : string , " 6 " ] ] , [ " num " , [ : number , 6 ] ] ] , [ : object , [ " id " , [ : number , 7 ] ] , [ " name " , [ : string , " 7 " ] ] , [ " num " , [ : number , 7 ] ] ] , [ : object , [ " id " , [ : number , 8 ] ] , [ " name " , [ : string , " 8 " ] ] , [ " num " , [ : number , 8 ] ] ] , [ : object , [ " id " , [ : number , 9 ] ] , [ " name " , [ : string , " 9 " ] ] , [ " num " , [ : number , 9 ] ] ] ] ] ] <nl> + [ : call , [ : range , : id , : skip_2222ebd4_2c16_485e_8c27_bbe43674a852 , [ : number , 4 ] ] , [ [ : array , [ : object , [ " id " , [ : number , 0 ] ] , [ " name " , [ : string , " 0 " ] ] , [ " num " , [ : number , 0 ] ] ] , [ : object , [ " id " , [ : number , 1 ] ] , [ " name " , [ : string , " 1 " ] ] , [ " num " , [ : number , 1 ] ] ] , [ : object , [ " id " , [ : number , 2 ] ] , [ " name " , [ : string , " 2 " ] ] , [ " num " , [ : number , 2 ] ] ] , [ : object , [ " id " , [ : number , 3 ] ] , [ " name " , [ : string , " 3 " ] ] , [ " num " , [ : number , 3 ] ] ] , [ : object , [ " id " , [ : number , 4 ] ] , [ " name " , [ : string , " 4 " ] ] , [ " num " , [ : number , 4 ] ] ] , [ : object , [ " id " , [ : number , 5 ] ] , [ " name " , [ : string , " 5 " ] ] , [ " num " , [ : number , 5 ] ] ] , [ : object , [ " id " , [ : number , 6 ] ] , [ " name " , [ : string , " 6 " ] ] , [ " num " , [ : number , 6 ] ] ] , [ : object , [ " id " , [ : number , 7 ] ] , [ " name " , [ : string , " 7 " ] ] , [ " num " , [ : number , 7 ] ] ] , [ : object , [ " id " , [ : number , 8 ] ] , [ " name " , [ : string , " 8 " ] ] , [ " num " , [ : number , 8 ] ] ] , [ : object , [ " id " , [ : number , 9 ] ] , [ " name " , [ : string , " 9 " ] ] , [ " num " , [ : number , 9 ] ] ] ] ] ] <nl> + [ : call , [ : range , : id , [ : number , 1 ] , [ : number , 3 ] ] , [ [ : array , [ : number , 1 ] ] ] ] <nl> + [ : call , [ : range , : id , [ : number , 1 ] , [ : number , 3 ] ] , [ [ : array , [ : number , 1 ] , [ : number , 2 ] ] ] ] <nl> + [ : call , [ : reduce , [ : number , 0 ] , " _var_1138 " , " _var_1139 " , [ : call , [ : add ] , [ [ : var , " _var_1138 " ] , [ : var , " _var_1139 " ] ] ] ] , [ [ : array , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] ] ] ] <nl> + [ : call , [ : reduce , [ : number , 0 ] , " _var_1140 " , " _var_1141 " , [ : number , 0 ] ] , [ [ : number , 1 ] ] ] <nl> + [ : call , [ : map , " _var_1142 " , [ : call , [ : hasattr , : id ] , [ [ : implicit_var ] ] ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : call , [ : map , " _var_1143 " , [ : call , [ : not ] , [ [ : call , [ : hasattr , " id " ] , [ [ : var , " _var_1143 " ] ] ] ] ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : call , [ : map , " _var_1144 " , [ : call , [ : not ] , [ [ : call , [ : hasattr , " id " ] , [ [ : var , " _var_1144 " ] ] ] ] ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : call , [ : map , " _var_1145 " , [ : call , [ : not ] , [ [ : call , [ : hasattr , " id " ] , [ [ : var , " _var_1145 " ] ] ] ] ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : call , [ : map , " _var_1146 " , [ : call , [ : hasattr , : id ] , [ [ : implicit_var ] ] ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : call , [ : map , " _var_1147 " , [ : call , [ : not ] , [ [ : call , [ : hasattr , " id " ] , [ [ : implicit_var ] ] ] ] ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : let , [ [ " a " , [ : number , 1 ] ] ] , [ : array , [ : var , " a " ] , [ : var , " a " ] ] ] <nl> + [ : call , [ : nth ] , [ [ : array , [ : number , 0 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 4 ] , [ : number , 5 ] ] , [ : number , 1 ] ] ] <nl> + [ : call , [ : nth ] , [ [ : call , [ : arraytostream ] , [ [ : array , [ : number , 0 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 4 ] , [ : number , 5 ] ] ] ] , [ : number , 1 ] ] ] <nl> + [ : call , [ : slice ] , [ [ : array , [ : number , 0 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 4 ] , [ : number , 5 ] ] , [ : number , 2 ] , [ : number , 6 ] ] ] <nl> + [ : call , [ : slice ] , [ [ : array , [ : number , 0 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 4 ] , [ : number , 5 ] ] , [ : number , 2 ] , [ : json_null ] ] ] <nl> + [ : call , [ : slice ] , [ [ : call , [ : arraytostream ] , [ [ : array , [ : number , 0 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 4 ] , [ : number , 5 ] ] ] ] , [ : number , 2 ] , [ : number , 6 ] ] ] <nl> + [ : call , [ : slice ] , [ [ : call , [ : arraytostream ] , [ [ : array , [ : number , 0 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 4 ] , [ : number , 5 ] ] ] ] , [ : number , 2 ] , [ : json_null ] ] ] <nl> + [ : call , [ : slice ] , [ [ : array , [ : number , 0 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 4 ] , [ : number , 5 ] ] , [ : number , 2 ] , [ : number , 5 ] ] ] <nl> + [ : call , [ : slice ] , [ [ : array , [ : number , 0 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 4 ] , [ : number , 5 ] ] , [ : number , 2 ] , [ : number , 5 ] ] ] <nl> + [ : call , [ : slice ] , [ [ : call , [ : arraytostream ] , [ [ : array , [ : number , 0 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 4 ] , [ : number , 5 ] ] ] ] , [ : number , 2 ] , [ : number , 5 ] ] ] <nl> + [ : call , [ : slice ] , [ [ : call , [ : arraytostream ] , [ [ : array , [ : number , 0 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 4 ] , [ : number , 5 ] ] ] ] , [ : number , 2 ] , [ : number , 5 ] ] ] <nl> + [ : call , [ : slice ] , [ [ : array , [ : number , 0 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 4 ] , [ : number , 5 ] ] , [ : number , 2 ] , [ : number , 0 ] ] ] <nl> + [ : call , [ : slice ] , [ [ : call , [ : arraytostream ] , [ [ : array , [ : number , 0 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 4 ] , [ : number , 5 ] ] ] ] , [ : number , 2 ] , [ : number , - 1 ] ] ] <nl> + [ : call , [ : streamtoarray ] , [ [ : call , [ : arraytostream ] , [ [ : array , [ : number , 0 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 4 ] , [ : number , 5 ] , [ : number , 6 ] , [ : number , 7 ] , [ : number , 8 ] , [ : number , 9 ] ] ] ] ] ] <nl> + [ : call , [ : nth ] , [ [ : call , [ : arraytostream ] , [ [ : array , [ : number , 0 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 4 ] , [ : number , 5 ] , [ : number , 6 ] , [ : number , 7 ] , [ : number , 8 ] , [ : number , 9 ] ] ] ] , [ : number , 0 ] ] ] <nl> + [ : call , [ : nth ] , [ [ : call , [ : arraytostream ] , [ [ : array , [ : number , 0 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 4 ] , [ : number , 5 ] , [ : number , 6 ] , [ : number , 7 ] , [ : number , 8 ] , [ : number , 9 ] ] ] ] , [ : number , 5 ] ] ] <nl> + [ : call , [ : nth ] , [ [ : call , [ : arraytostream ] , [ [ : array , [ : number , 0 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 4 ] , [ : number , 5 ] , [ : number , 6 ] , [ : number , 7 ] , [ : number , 8 ] , [ : number , 9 ] ] ] ] , [ : array ] ] ] <nl> + [ : call , [ : nth ] , [ [ : call , [ : arraytostream ] , [ [ : array , [ : number , 0 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 4 ] , [ : number , 5 ] , [ : number , 6 ] , [ : number , 7 ] , [ : number , 8 ] , [ : number , 9 ] ] ] ] , [ : number , 0 . 4 ] ] ] <nl> + [ : call , [ : nth ] , [ [ : call , [ : arraytostream ] , [ [ : array , [ : number , 0 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 4 ] , [ : number , 5 ] , [ : number , 6 ] , [ : number , 7 ] , [ : number , 8 ] , [ : number , 9 ] ] ] ] , [ : number , - 5 ] ] ] <nl> + [ : call , [ : nth ] , [ [ : call , [ : arraytostream ] , [ [ : array , [ : number , 0 ] ] ] ] , [ : number , 1 ] ] ] <nl> + [ : call , [ : streamtoarray ] , [ [ : call , [ : slice ] , [ [ : call , [ : arraytostream ] , [ [ : array ] ] ] , [ : number , 0 ] , [ : number , 0 ] ] ] ] ] <nl> + [ : call , [ : streamtoarray ] , [ [ : call , [ : slice ] , [ [ : call , [ : arraytostream ] , [ [ : array , [ : number , 1 ] , [ : number , 2 ] ] ] ] , [ : number , 0 ] , [ : number , 0 ] ] ] ] ] <nl> + [ : call , [ : streamtoarray ] , [ [ : call , [ : slice ] , [ [ : call , [ : arraytostream ] , [ [ : array , [ : number , 1 ] , [ : number , 2 ] ] ] ] , [ : number , 0 ] , [ : number , 1 ] ] ] ] ] <nl> + [ : call , [ : streamtoarray ] , [ [ : call , [ : slice ] , [ [ : call , [ : arraytostream ] , [ [ : array , [ : number , 1 ] , [ : number , 2 ] ] ] ] , [ : number , 0 ] , [ : number , 5 ] ] ] ] ] <nl> + [ : call , [ : streamtoarray ] , [ [ : call , [ : slice ] , [ [ : call , [ : arraytostream ] , [ [ : array ] ] ] , [ : number , 0 ] , [ : number , - 1 ] ] ] ] ] <nl> + [ : call , [ : streamtoarray ] , [ [ : call , [ : slice ] , [ [ : call , [ : arraytostream ] , [ [ : array ] ] ] , [ : number , 0 ] , [ : json_null ] ] ] ] ] <nl> + [ : call , [ : streamtoarray ] , [ [ : call , [ : slice ] , [ [ : call , [ : arraytostream ] , [ [ : array , [ : number , 1 ] , [ : number , 2 ] ] ] ] , [ : number , 5 ] , [ : json_null ] ] ] ] ] <nl> + [ : call , [ : streamtoarray ] , [ [ : call , [ : slice ] , [ [ : call , [ : arraytostream ] , [ [ : array , [ : number , 1 ] , [ : number , 2 ] ] ] ] , [ : number , 0 ] , [ : json_null ] ] ] ] ] <nl> + [ : call , [ : streamtoarray ] , [ [ : call , [ : slice ] , [ [ : call , [ : arraytostream ] , [ [ : array , [ : number , 1 ] , [ : number , 2 ] ] ] ] , [ : number , 1 ] , [ : json_null ] ] ] ] ] <nl> + [ : call , [ : distinct ] , [ [ : array ] ] ] <nl> + [ : call , [ : distinct ] , [ [ : array , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] ] ] ] <nl> + [ : call , [ : distinct ] , [ [ : array , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 2 ] ] ] ] <nl> + [ : call , [ : distinct ] , [ [ : array , [ : bool , true ] , [ : number , 2 ] , [ : bool , false ] , [ : number , 2 ] ] ] ] <nl> + [ : call , [ : slice ] , [ [ : call , [ : arraytostream ] , [ [ : array , [ : number , 0 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 4 ] , [ : number , 5 ] , [ : number , 6 ] , [ : number , 7 ] , [ : number , 8 ] , [ : number , 9 ] ] ] ] , [ : number , 0 ] , [ : json_null ] ] ] <nl> + [ : call , [ : slice ] , [ [ : call , [ : arraytostream ] , [ [ : array , [ : number , 0 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 4 ] , [ : number , 5 ] , [ : number , 6 ] , [ : number , 7 ] , [ : number , 8 ] , [ : number , 9 ] ] ] ] , [ : number , 3 ] , [ : json_null ] ] ] <nl> + [ : call , [ : slice ] , [ [ : call , [ : arraytostream ] , [ [ : array , [ : number , 0 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 4 ] , [ : number , 5 ] , [ : number , 6 ] , [ : number , 7 ] , [ : number , 8 ] , [ : number , 9 ] ] ] ] , [ : number , 0 ] , [ : number , 3 ] ] ] <nl> + [ : call , [ : slice ] , [ [ : call , [ : arraytostream ] , [ [ : array , [ : number , 0 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 4 ] , [ : number , 5 ] , [ : number , 6 ] , [ : number , 7 ] , [ : number , 8 ] , [ : number , 9 ] ] ] ] , [ : number , 4 ] , [ : number , 6 ] ] ] <nl> + [ : call , [ : nth ] , [ [ : call , [ : arraytostream ] , [ [ : array , [ : number , 0 ] , [ : number , 1 ] , [ : number , 2 ] , [ : number , 3 ] , [ : number , 4 ] , [ : number , 5 ] , [ : number , 6 ] , [ : number , 7 ] , [ : number , 8 ] , [ : number , 9 ] ] ] ] , [ : number , 3 ] ] ] <nl> + [ : insert , [ : default_db , " Welcome_rdb " ] , [ [ : object , [ " id " , [ : string , " aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa " ] ] ] ] , true ] <nl> + [ : call , [ : orderby , [ : id , true ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : pointupdate , [ : default_db , " Welcome_rdb " ] , : id , [ : number , 0 ] , [ " _var_1148 " , [ : json_null ] ] ] <nl> + [ : pointupdate , [ : default_db , " Welcome_rdb " ] , : id , [ : number , 11 ] , [ " _var_1149 " , [ : json_null ] ] ] <nl> + [ : pointupdate , [ : default_db , " Welcome_rdb " ] , : id , [ : number , 11 ] , [ " _var_1150 " , [ : object ] ] ] <nl> + [ : call , [ : orderby , [ : id , true ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] <nl> + [ : call , [ : without , : a , : c ] , [ [ : object , [ " b " , [ : number , 2 ] ] , [ " c " , [ : number , 3 ] ] , [ " a " , [ : number , 1 ] ] ] ] ] <nl> + [ : call , [ : map , " _var_1151 " , [ : call , [ : without , : name , : num ] , [ [ : implicit_var ] ] ] ] , [ [ : call , [ : orderby , [ : id , true ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] ] ] <nl> + [ : call , [ : map , " _var_1152 " , [ : call , [ : without , : num ] , [ [ : call , [ : without , : name ] , [ [ : var , " _var_1152 " ] ] ] ] ] ] , [ [ : call , [ : orderby , [ : id , true ] ] , [ [ : table , : default_db , " Welcome_rdb " , : conn_outdated_2222ebd4_2c16_485e_8c27_bbe43674a852 ] ] ] ] ] <nl> + [ : call , [ : without , : b ] , [ [ : object , [ " a " , [ : number , 1 ] ] ] ] ] <nl> + [ : call , [ : without , : b ] , [ [ : object ] ] ] <nl> new file mode 100644 <nl> index 00000000000 . . cc4da21d702 <nl> mmm / dev / null <nl> ppp b / drivers / ruby / fuzzer / transformation . rb <nl> <nl> + $ LOAD_PATH . unshift ( ' . . / rethinkdb ' ) <nl> + require ' rethinkdb . rb ' <nl> + <nl> + class Transformation <nl> + attr_accessor : priority , : block <nl> + def initialize ( priority , & block ) ; @ priority = priority ; @ block = block ; end <nl> + def ms ( sexp ) ; sexp ; end <nl> + def mangle_sexp ( sexp ) <nl> + a = sexp . dup <nl> + res = ms ( a ) <nl> + return res . class = = Array ? res : a <nl> + end <nl> + <nl> + def mb ( str ) ; str ; end <nl> + def mangle_bytes ( str ) <nl> + s = str . dup <nl> + res = s = = " " ? s : mb ( s ) <nl> + return res . class = = String ? res : s <nl> + end <nl> + end <nl> + <nl> + class Prob_Transformation < Transformation <nl> + def initialize ( priority , prob , & block ) ; @ prob = prob ; super ( priority , & block ) ; end <nl> + end <nl> + <nl> + # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # <nl> + # # # # # Byte Transformations <nl> + # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # <nl> + class One_Byte_Transformation < Transformation <nl> + def mb ( s ) ; block . call ( s , rand ( s . length ) ) ; end <nl> + end <nl> + <nl> + class Multi_Byte_Transformation < Prob_Transformation <nl> + def mb ( s ) ; s . chars . each_with_index { | _ , i | block . call ( s , i ) if rand < @ prob } ; end <nl> + end <nl> + <nl> + def mangle_byte ( s , i ) ; s [ i ] ^ = rand ( 256 ) ; end <nl> + def zero_byte ( s , i ) ; s [ i ] = 0 ; end <nl> + def swap_byte ( s , i ) f = rand ( s . size ) ; s [ i ] , s [ f ] = s [ f ] , s [ i ] ; end <nl> + # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # <nl> + # # # # # Sexp Transformations <nl> + # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # <nl> + <nl> + class Simple_Sexp_Op < Transformation <nl> + def ms ( sexp ) ; block . call ( sexp ) ; end <nl> + end <nl> + <nl> + class Random_Sexp_Op < Prob_Transformation <nl> + def ms ( sexp ) ; block . call ( sexp , @ prob ) ; end <nl> + end <nl> + <nl> + def rand_sexp ; $ sexps [ rand ( $ sexps . size ) ] ; end <nl> + class Random_Sexp_Pairing < Prob_Transformation <nl> + def ms ( sexp ) ; block . call ( sexp , rand_sexp , @ prob ) ; end <nl> + end <nl> + <nl> + def crossover ( s1 , s2 , prob , ret_immediately = false ) <nl> + return if s1 . class ! = Array <nl> + s1 . each_with_index { | lhs , i | <nl> + if rand < prob <nl> + rhs = s2 [ ( rand < prob | | i > = s2 . size ) ? rand ( s2 . size ) : i ] <nl> + if rhs . class ! = Array | | rand < prob <nl> + s1 [ i ] = rhs <nl> + else <nl> + crossover ( lhs . class = = Array ? lhs : s1 , rhs , ret_immediately ) <nl> + end <nl> + return if ret_immediately <nl> + end <nl> + } <nl> + end <nl> + def single_crossover ( s1 , s2 , prob ) ; crossover ( s1 , s2 , prob , true ) ; end <nl> + <nl> + def code_walk ( sexp , visit_proc = nil , & sub_proc ) <nl> + visit_proc . call ( sexp ) if visit_proc <nl> + ( sexp . class = = Array ? sexp : [ ] ) . each_with_index { | s , i | <nl> + code_walk ( s , visit_proc , & sub_proc ) <nl> + sexp [ i ] = sub_proc [ s , i ] ; <nl> + } <nl> + end <nl> + def code_walk_text ( sexp ) <nl> + code_walk ( sexp ) { | x , i | <nl> + if x . class = = String then yield ( x , i ) <nl> + elsif x . class = = Symbol then yield ( x . to_s , i ) . to_sym <nl> + else x <nl> + end <nl> + } <nl> + end <nl> + def code_walk_numeric ( sexp ) <nl> + code_walk ( sexp ) { | x , i | ( x . kind_of ? Numeric ) ? yield ( x , i ) : x } <nl> + end <nl> + <nl> + def var_collapse_all ( sexp ) <nl> + code_walk_text ( sexp ) { | x , _ | x = ~ / _var_ / ? ' _var_ ' : x } <nl> + end <nl> + <nl> + def var_collapse_positional ( sexp ) <nl> + code_walk ( sexp ) { | x , i | x = ~ / _var_ / ? " _var_ # { i } " : x } <nl> + end <nl> + <nl> + def var_collapse_rand_3 ( sexp ) <nl> + code_walk ( sexp ) { | x , _ | x = ~ / _var_ / ? " _var_ # { rand ( 3 ) } " : x } <nl> + end <nl> + <nl> + $ numeric_edge_cases = { <nl> + Fixnum = > [ 0 , 1 , - 1 ] , <nl> + Bignum = > [ 2 * * 62 , 2 * * 100 ] , <nl> + Float = > [ 0 . 0 , - 1 . 0 , 1 . 0 , - 0 . 1 , 0 . 1 , 2 . 0 * * 1023 , - 2 . 0 * * 1023 ] <nl> + } <nl> + def num_edge_cases ( sexp , prob ) <nl> + code_walk_numeric ( sexp ) { | x , _ | <nl> + return x if not rand < prob <nl> + return rand ( 100 ) if rand < prob * * 3 <nl> + target_class = rand < prob ? [ Fixnum , Bignum , Float ] . choice : x . class <nl> + $ numeric_edge_cases [ target_class ] . choice <nl> + } <nl> + end <nl> + <nl> + # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # <nl> + # # # # # External Interface <nl> + # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # <nl> + class Transformer <nl> + def initialize ( conf ) <nl> + @ transformations = [ ] <nl> + eval ( ` cat # { conf } ` ) . each { | cls , args | <nl> + @ transformations + = args . map { | x | cls . new ( * x [ 0 . . . - 1 ] , & method ( x [ - 1 ] ) ) } <nl> + } <nl> + @ total_priority = @ transformations . map { | x | x . priority } . reduce ( : + ) <nl> + end <nl> + <nl> + def get_transformation <nl> + target = rand ( @ total_priority ) <nl> + @ transformations . each { | t | return t if ( target - = t . priority ) < 0 } <nl> + raise RuntimeError , " Unreachable . " <nl> + end <nl> + <nl> + def continue_with_sexp ( new_sexp , sexp ) <nl> + return new_sexp ! = sexp | | rand < 0 . 1 <nl> + end <nl> + <nl> + def continue_with_payload ( new_payload , payload ) <nl> + return new_payload ! = payload | | rand < 0 . 1 <nl> + end <nl> + <nl> + def [ ] ( sexp , retries = 50 ) <nl> + payload = nil <nl> + ( 0 . . . retries ) . each { | i | <nl> + tr = get_transformation <nl> + begin <nl> + new_sexp = tr . mangle_sexp ( sexp ) <nl> + if continue_with_sexp ( new_sexp , sexp ) <nl> + q = RethinkDB : : RQL_Query . new ( new_sexp ) . query <nl> + payload = q . serialize_to_string <nl> + break <nl> + end <nl> + rescue Exception = > e <nl> + end <nl> + } <nl> + return nil if not payload <nl> + <nl> + final_payload = nil <nl> + ( 0 . . . retries ) . each { | i | <nl> + tr = get_transformation <nl> + begin <nl> + new_payload = tr . mangle_bytes ( payload ) <nl> + if continue_with_payload ( new_payload , payload ) <nl> + final_payload = new_payload <nl> + break <nl> + end <nl> + rescue Exception = > e <nl> + end <nl> + } <nl> + return final_payload <nl> + end <nl> + end <nl> new file mode 100644 <nl> index 00000000000 . . cda82d38cc0 <nl> mmm / dev / null <nl> ppp b / drivers / ruby / fuzzer / transformation_conf . rb <nl> <nl> + { One_Byte_Transformation = > <nl> + # PRIORITY , PROC <nl> + [ [ 100 , : mangle_byte ] , <nl> + [ 100 , : zero_byte ] , <nl> + [ 100 , : swap_byte ] ] , <nl> + <nl> + Multi_Byte_Transformation = > <nl> + # PRIORITY , PROB , PROC <nl> + [ [ 10 , 0 . 01 , : mangle_byte ] , <nl> + [ 100 , 0 . 1 , : mangle_byte ] , <nl> + [ 50 , 0 . 3 , : mangle_byte ] , <nl> + [ 10 , 0 . 95 , : mangle_byte ] , <nl> + <nl> + [ 10 , 0 . 01 , : zero_byte ] , <nl> + [ 100 , 0 . 1 , : zero_byte ] , <nl> + [ 50 , 0 . 3 , : zero_byte ] , <nl> + [ 5 , 0 . 95 , : zero_byte ] , <nl> + <nl> + [ 10 , 0 . 01 , : swap_byte ] , <nl> + [ 100 , 0 . 1 , : swap_byte ] , <nl> + [ 100 , 0 . 3 , : swap_byte ] , <nl> + [ 20 , 0 . 95 , : swap_byte ] ] , <nl> + <nl> + Simple_Sexp_Op = > <nl> + # PRIORITY , PROC <nl> + [ [ 50 , : var_collapse_all ] , <nl> + [ 50 , : var_collapse_positional ] , <nl> + [ 50 , : var_collapse_rand_3 ] ] , <nl> + <nl> + Random_Sexp_Op = > <nl> + # PRIORITY , PROB , PROC <nl> + [ [ 100 , 0 . 1 , : num_edge_cases ] , <nl> + [ 200 , 0 . 5 , : num_edge_cases ] , <nl> + [ 100 , 0 . 95 , : num_edge_cases ] ] , <nl> + <nl> + Random_Sexp_Pairing = > <nl> + # PRIORITY , PROB , PROC <nl> + [ [ 100 , 0 . 1 , : crossover ] , <nl> + [ 200 , 0 . 3 , : crossover ] , <nl> + [ 200 , 0 . 5 , : crossover ] , <nl> + [ 100 , 0 . 9 , : crossover ] , <nl> + <nl> + [ 20 , 0 . 1 , : single_crossover ] , <nl> + [ 20 , 0 . 3 , : single_crossover ] , <nl> + [ 100 , 0 . 5 , : single_crossover ] , <nl> + [ 20 , 0 . 9 , : single_crossover ] ] <nl> + } <nl>
Added new fuzzer stuff
rethinkdb/rethinkdb
537947e7a21480f4f0051723dc3eee11f4766523
2012-10-18T05:07:15Z
mmm a / vendor / init . bat <nl> ppp b / vendor / init . bat <nl> if not defined verbose - output ( set verbose - output = 0 ) <nl> <nl> : : Find root dir <nl> if not defined CMDER_ROOT ( <nl> - for / f " delims = " % % i in ( " % ConEmuDir % \ . . \ . . " ) do set " CMDER_ROOT = % % ~ fi " <nl> + if defined ConEmuDir ( <nl> + for / f " delims = " % % i in ( " % ConEmuDir % \ . . \ . . " ) do set " CMDER_ROOT = % % ~ fi " <nl> + ) else ( <nl> + for / f " delims = " % % i in ( " % ~ dp0 \ . . " ) do set " CMDER_ROOT = % % ~ fi " <nl> + ) <nl> ) <nl> <nl> : : Remove trailing ' \ ' <nl>
Compatible with Visual Studio Code
cmderdev/cmder
25005930badcf3b0ad4f3cc8e7ef8fc4cc9e5318
2017-06-23T09:48:03Z
mmm a / tensorflow / compiler / mlir / tensorflow / tests / tpu_extract_outside_compilation . mlir <nl> ppp b / tensorflow / compiler / mlir / tensorflow / tests / tpu_extract_outside_compilation . mlir <nl> module attributes { tf . versions = { producer = 888 : i32 } , tf . devices = [ " / job : wor <nl> <nl> return % 1 : tensor < ? xi32 > <nl> } <nl> + <nl> + / / Tests extraction of a single outside compiled cluster inside a tf . WhileRegion op body . <nl> + <nl> + / / CHECK - LABEL : func @ outside_compiled_ops_inside_tf_while_body <nl> + func @ outside_compiled_ops_inside_tf_while_body ( % arg0 : tensor < ? xi32 > ) - > tensor < ? xi32 > { <nl> + % 0 = " tf . A " ( % arg0 ) : ( tensor < ? xi32 > ) - > tensor < ? xi32 > <nl> + <nl> + / / CHECK : % [ [ REPLICATE : [ 0 - 9 ] * ] ] : 2 = tf_device . replicate <nl> + / / CHECK : % [ [ PARALLEL_EXECUTE_OUTPUT : [ 0 - 9 ] * ] ] = " tf_device . parallel_execute " <nl> + / / CHECK - NEXT : " tf_device . launch " <nl> + / / CHECK - NEXT : % [ [ PLACEHOLDER_KEY : [ 0 - 9 ] * ] ] = " tf . _TPUCompileMlirPlaceholderProgramKey " ( ) <nl> + / / CHECK - NEXT : tf . WhileRegion " <nl> + / / CHECK - NEXT : % [ [ COND_RECV_OUTPUT : [ 0 - 9 ] * ] ] = " tf . _XlaRecvAtHost " ( % [ [ PLACEHOLDER_KEY ] ] ) <nl> + / / CHECK - SAME : device_ordinal = 0 <nl> + / / CHECK - SAME : key = " while_condition_channel_cluster1_0 " <nl> + / / CHECK : " tf . Yield " ( % [ [ COND_RECV_OUTPUT ] ] ) <nl> + / / CHECK : % [ [ BODY_RECV_OUTPUT : [ 0 - 9 ] * ] ] : 2 = " tf . _XlaRecvAtHost " ( % [ [ PLACEHOLDER_KEY ] ] ) <nl> + / / CHECK : % [ [ D_OUTPUT : [ 0 - 9 ] * ] ] = " tf . D " <nl> + / / CHECK : " tf . _XlaSendFromHost " ( % [ [ D_OUTPUT ] ] , % [ [ PLACEHOLDER_KEY ] ] ) <nl> + / / CHECK_NEXT : " tf . Yield " <nl> + / / CHECK : " tf_device . cluster " <nl> + / / CHECK : % [ [ A_OUTPUT : [ 0 - 9 ] * ] ] = " tf . A " <nl> + / / CHECK : % [ [ B_OUTPUT : [ 0 - 9 ] * ] ] = " tf . B " <nl> + / / CHECK : % [ [ G_OUTPUT : [ 0 - 9 ] * ] ] = " tf . G " <nl> + / / CHECK - NEXT : tf . WhileRegion " ( % [ [ B_OUTPUT ] ] , % [ [ A_OUTPUT ] ] ) <nl> + / / CHECK : % [ [ H_OUTPUT : [ 0 - 9 ] * ] ] = " tf . H " <nl> + / / CHECK - NEXT : " tf . XlaSendToHost " ( % [ [ H_OUTPUT ] ] ) <nl> + / / CHECK - NEXT : " tf . Yield " ( % [ [ H_OUTPUT ] ] ) <nl> + / / CHECK : % [ [ C_OUTPUT : [ 0 - 9 ] * ] ] = " tf . C " <nl> + / / CHECK - NEXT : % [ [ HOST_COMPUTE_OUTPUT : [ 0 - 9 ] * ] ] = " tf . _XlaHostComputeMlir " <nl> + / / CHECK - NEXT " tf . Yield " ( % [ [ C_OUTPUT ] ] , % [ [ HOST_COMPUTE_OUTPUT ] ] ) <nl> + % 1 : 2 = tf_device . replicate ( [ % 0 , % arg0 ] as % ri_0 : tensor < ? xi32 > ) { n = 2 : i32 } { <nl> + % 2 = " tf_device . cluster " ( ) ( { <nl> + % 3 = " tf . A " ( ) : ( ) - > ( tensor < ? xf32 > ) <nl> + % 4 = " tf . B " ( ) : ( ) - > ( tensor < i32 > ) <nl> + % 6 = " tf . G " ( ) : ( ) - > ( tensor < i1 > ) <nl> + <nl> + " tf . WhileRegion " ( % 4 , % 3 ) ( { <nl> + ^ bb0 ( % arg1 : tensor < i32 > , % arg2 : tensor < ? xf32 > ) : <nl> + % 7 = " tf . H " ( % arg1 ) : ( tensor < i32 > ) - > tensor < i1 > <nl> + " tf . Yield " ( % 7 ) : ( tensor < i1 > ) - > ( ) <nl> + } , { <nl> + ^ bb0 ( % arg1 : tensor < i32 > , % arg2 : tensor < ? xf32 > ) : <nl> + % 8 = " tf . C " ( % arg1 ) : ( tensor < i32 > ) - > tensor < i32 > <nl> + % 9 = " tf . D " ( % arg1 , % arg2 ) { _xla_outside_compilation = " cluster1 " } : ( tensor < i32 > , tensor < ? xf32 > ) - > tensor < ? xf32 > <nl> + " tf . Yield " ( % 8 , % 9 ) : ( tensor < i32 > , tensor < ? xf32 > ) - > ( ) <nl> + } ) { is_stateless = false } : ( tensor < i32 > , tensor < ? xf32 > ) - > ( tensor < i32 > , tensor < ? xf32 > ) <nl> + <nl> + % 5 = " tf . E " ( ) : ( ) - > tensor < ? xi32 > <nl> + tf_device . return % 5 : tensor < ? xi32 > <nl> + } ) { num_cores_per_replica = 1 , topology = " " , device_assignment = [ ] } : ( ) - > tensor < ? xi32 > <nl> + tf_device . return % 2 : tensor < ? xi32 > <nl> + } <nl> + <nl> + return % 1 : tensor < ? xi32 > <nl> + } <nl> + <nl> + / / Tests extraction of a single outside compiled cluster inside a tf . WhileRegion op cond . <nl> + <nl> + / / CHECK - LABEL : func @ outside_compiled_ops_inside_tf_while_cond <nl> + func @ outside_compiled_ops_inside_tf_while_cond ( % arg0 : tensor < ? xi32 > ) - > tensor < ? xi32 > { <nl> + % 0 = " tf . A " ( % arg0 ) : ( tensor < ? xi32 > ) - > tensor < ? xi32 > <nl> + <nl> + / / CHECK : % [ [ REPLICATE : [ 0 - 9 ] * ] ] : 2 = tf_device . replicate <nl> + / / CHECK : % [ [ PARALLEL_EXECUTE_OUTPUT : [ 0 - 9 ] * ] ] = " tf_device . parallel_execute " <nl> + / / CHECK - NEXT : " tf_device . launch " <nl> + / / CHECK - NEXT : % [ [ PLACEHOLDER_KEY : [ 0 - 9 ] * ] ] = " tf . _TPUCompileMlirPlaceholderProgramKey " ( ) <nl> + / / CHECK - NEXT : tf . WhileRegion " <nl> + / / CHECK - NEXT : % [ [ COND_RECV_OUTPUT1 : [ 0 - 9 ] * ] ] : 2 = " tf . _XlaRecvAtHost " ( % [ [ PLACEHOLDER_KEY ] ] ) <nl> + / / CHECK - NEXT : % [ [ I_OUTPUT : [ 0 - 9 ] * ] ] = " tf . I " ( % [ [ COND_RECV_OUTPUT1 ] ] # 0 , % [ [ COND_RECV_OUTPUT1 ] ] # 1 ) <nl> + / / CHECK - NEXT : " tf . _XlaSendFromHost " ( % [ [ I_OUTPUT ] ] , % [ [ PLACEHOLDER_KEY ] ] ) <nl> + / / CHECK - NEXT : % [ [ COND_RECV_OUTPUT2 : [ 0 - 9 ] * ] ] = " tf . _XlaRecvAtHost " ( % [ [ PLACEHOLDER_KEY ] ] ) <nl> + / / CHECK - SAME : device_ordinal = 0 <nl> + / / CHECK - SAME : key = " while_condition_channel_cluster1_0 " <nl> + / / CHECK : " tf . Yield " ( % [ [ COND_RECV_OUTPUT2 ] ] ) <nl> + / / CHECK_NEXT : " tf . Yield " <nl> + / / CHECK : " tf_device . cluster " <nl> + / / CHECK : % [ [ A_OUTPUT : [ 0 - 9 ] * ] ] = " tf . A " <nl> + / / CHECK : % [ [ B_OUTPUT : [ 0 - 9 ] * ] ] = " tf . B " <nl> + / / CHECK : % [ [ G_OUTPUT : [ 0 - 9 ] * ] ] = " tf . G " <nl> + / / CHECK - NEXT : tf . WhileRegion " ( % [ [ B_OUTPUT ] ] , % [ [ A_OUTPUT ] ] ) <nl> + / / CHECK " tf . XlaHostCompute " <nl> + / / CHECK : % [ [ H_OUTPUT : [ 0 - 9 ] * ] ] = " tf . H " <nl> + / / CHECK - NEXT : " tf . XlaSendToHost " ( % [ [ H_OUTPUT ] ] ) <nl> + / / CHECK - NEXT : " tf . Yield " ( % [ [ H_OUTPUT ] ] ) <nl> + / / CHECK : % [ [ C_OUTPUT : [ 0 - 9 ] * ] ] = " tf . C " <nl> + / / CHECK - NEXT : " tf . D " <nl> + / / CHECK - NEXT " tf . Yield " ( % [ [ C_OUTPUT ] ] , % [ [ HOST_COMPUTE_OUTPUT ] ] ) <nl> + % 1 : 2 = tf_device . replicate ( [ % 0 , % arg0 ] as % ri_0 : tensor < ? xi32 > ) { n = 2 : i32 } { <nl> + % 2 = " tf_device . cluster " ( ) ( { <nl> + % 3 = " tf . A " ( ) : ( ) - > ( tensor < ? xf32 > ) <nl> + % 4 = " tf . B " ( ) : ( ) - > ( tensor < i32 > ) <nl> + % 6 = " tf . G " ( ) : ( ) - > ( tensor < i1 > ) <nl> + <nl> + " tf . WhileRegion " ( % 4 , % 3 ) ( { <nl> + ^ bb0 ( % arg1 : tensor < i32 > , % arg2 : tensor < ? xf32 > ) : <nl> + % 7 = " tf . I " ( % arg1 , % arg2 ) { _xla_outside_compilation = " cluster1 " } : ( tensor < i32 > , tensor < ? xf32 > ) - > tensor < i32 > <nl> + % 8 = " tf . H " ( % 7 ) : ( tensor < i32 > ) - > tensor < i1 > <nl> + " tf . Yield " ( % 8 ) : ( tensor < i1 > ) - > ( ) <nl> + } , { <nl> + ^ bb0 ( % arg1 : tensor < i32 > , % arg2 : tensor < ? xf32 > ) : <nl> + % 7 = " tf . C " ( % arg1 ) : ( tensor < i32 > ) - > tensor < i32 > <nl> + % 8 = " tf . D " ( % arg1 , % arg2 ) : ( tensor < i32 > , tensor < ? xf32 > ) - > tensor < ? xf32 > <nl> + " tf . Yield " ( % 7 , % 8 ) : ( tensor < i32 > , tensor < ? xf32 > ) - > ( ) <nl> + } ) { is_stateless = false } : ( tensor < i32 > , tensor < ? xf32 > ) - > ( tensor < i32 > , tensor < ? xf32 > ) <nl> + <nl> + % 5 = " tf . E " ( ) : ( ) - > tensor < ? xi32 > <nl> + tf_device . return % 5 : tensor < ? xi32 > <nl> + } ) { num_cores_per_replica = 1 , topology = " " , device_assignment = [ ] } : ( ) - > tensor < ? xi32 > <nl> + tf_device . return % 2 : tensor < ? xi32 > <nl> + } <nl> + <nl> + return % 1 : tensor < ? xi32 > <nl> + } <nl> + <nl> + / / Tests extraction of a single outside compiled cluster inside a tf . WhileRegion op cond and body . <nl> + <nl> + / / CHECK - LABEL : func @ outside_compiled_ops_inside_tf_while_cond_body <nl> + func @ outside_compiled_ops_inside_tf_while_cond_body ( % arg0 : tensor < ? xi32 > ) - > tensor < ? xi32 > { <nl> + % 0 = " tf . A " ( % arg0 ) : ( tensor < ? xi32 > ) - > tensor < ? xi32 > <nl> + <nl> + / / CHECK : % [ [ REPLICATE : [ 0 - 9 ] * ] ] : 2 = tf_device . replicate <nl> + / / CHECK : % [ [ PARALLEL_EXECUTE_OUTPUT : [ 0 - 9 ] * ] ] = " tf_device . parallel_execute " <nl> + / / CHECK - NEXT : " tf_device . launch " <nl> + / / CHECK - NEXT : % [ [ PLACEHOLDER_KEY : [ 0 - 9 ] * ] ] = " tf . _TPUCompileMlirPlaceholderProgramKey " ( ) <nl> + / / CHECK - NEXT : tf . WhileRegion " <nl> + / / CHECK - NEXT : % [ [ COND_RECV_OUTPUT : [ 0 - 9 ] * ] ] = " tf . _XlaRecvAtHost " ( % [ [ PLACEHOLDER_KEY ] ] ) <nl> + / / CHECK - SAME : device_ordinal = 0 <nl> + / / CHECK - SAME : key = " while_condition_channel_cluster2_0 " <nl> + / / CHECK : " tf . Yield " ( % [ [ COND_RECV_OUTPUT ] ] ) <nl> + / / CHECK : % [ [ BODY_RECV_OUTPUT : [ 0 - 9 ] * ] ] : 2 = " tf . _XlaRecvAtHost " ( % [ [ PLACEHOLDER_KEY ] ] ) <nl> + / / CHECK : % [ [ D_OUTPUT : [ 0 - 9 ] * ] ] = " tf . D " <nl> + / / CHECK : " tf . _XlaSendFromHost " ( % [ [ D_OUTPUT ] ] , % [ [ PLACEHOLDER_KEY ] ] ) <nl> + / / CHECK_NEXT : " tf . Yield " <nl> + / / CHECK : " tf_device . launch " <nl> + / / CHECK - NEXT : % [ [ PLACEHOLDER_KEY : [ 0 - 9 ] * ] ] = " tf . _TPUCompileMlirPlaceholderProgramKey " ( ) <nl> + / / CHECK - NEXT : tf . WhileRegion " <nl> + / / CHECK - NEXT : % [ [ COND_RECV_OUTPUT1 : [ 0 - 9 ] * ] ] : 2 = " tf . _XlaRecvAtHost " ( % [ [ PLACEHOLDER_KEY ] ] ) <nl> + / / CHECK - NEXT : % [ [ I_OUTPUT : [ 0 - 9 ] * ] ] = " tf . I " ( % [ [ COND_RECV_OUTPUT1 ] ] # 0 , % [ [ COND_RECV_OUTPUT1 ] ] # 1 ) <nl> + / / CHECK - NEXT : " tf . _XlaSendFromHost " ( % [ [ I_OUTPUT ] ] , % [ [ PLACEHOLDER_KEY ] ] ) <nl> + / / CHECK - NEXT : % [ [ COND_RECV_OUTPUT2 : [ 0 - 9 ] * ] ] = " tf . _XlaRecvAtHost " ( % [ [ PLACEHOLDER_KEY ] ] ) <nl> + / / CHECK - SAME : device_ordinal = 0 <nl> + / / CHECK - SAME : key = " while_condition_channel_cluster1_0 " <nl> + / / CHECK : " tf . Yield " ( % [ [ COND_RECV_OUTPUT2 ] ] ) <nl> + / / CHECK_NEXT : " tf . Yield " <nl> + / / CHECK : " tf_device . cluster " <nl> + / / CHECK : % [ [ A_OUTPUT : [ 0 - 9 ] * ] ] = " tf . A " <nl> + / / CHECK : % [ [ B_OUTPUT : [ 0 - 9 ] * ] ] = " tf . B " <nl> + / / CHECK : % [ [ G_OUTPUT : [ 0 - 9 ] * ] ] = " tf . G " <nl> + / / CHECK - NEXT : tf . WhileRegion " ( % [ [ B_OUTPUT ] ] , % [ [ A_OUTPUT ] ] ) <nl> + / / CHECK " tf . XlaHostCompute " <nl> + / / CHECK : % [ [ H_OUTPUT : [ 0 - 9 ] * ] ] = " tf . H " <nl> + / / CHECK - NEXT : " tf . XlaSendToHost " ( % [ [ H_OUTPUT ] ] ) <nl> + / / CHECK - NEXT : " tf . XlaSendToHost " ( % [ [ H_OUTPUT ] ] ) <nl> + / / CHECK - NEXT : " tf . Yield " ( % [ [ H_OUTPUT ] ] ) <nl> + / / CHECK : % [ [ C_OUTPUT : [ 0 - 9 ] * ] ] = " tf . C " <nl> + / / CHECK - NEXT " tf . Yield " ( % [ [ C_OUTPUT ] ] , % [ [ HOST_COMPUTE_OUTPUT ] ] ) <nl> + % 1 : 2 = tf_device . replicate ( [ % 0 , % arg0 ] as % ri_0 : tensor < ? xi32 > ) { n = 2 : i32 } { <nl> + % 2 = " tf_device . cluster " ( ) ( { <nl> + % 3 = " tf . A " ( ) : ( ) - > ( tensor < ? xf32 > ) <nl> + % 4 = " tf . B " ( ) : ( ) - > ( tensor < i32 > ) <nl> + % 6 = " tf . G " ( ) : ( ) - > ( tensor < i1 > ) <nl> + <nl> + " tf . WhileRegion " ( % 4 , % 3 ) ( { <nl> + ^ bb0 ( % arg1 : tensor < i32 > , % arg2 : tensor < ? xf32 > ) : <nl> + % 7 = " tf . I " ( % arg1 , % arg2 ) { _xla_outside_compilation = " cluster1 " } : ( tensor < i32 > , tensor < ? xf32 > ) - > tensor < i32 > <nl> + % 8 = " tf . H " ( % 7 ) : ( tensor < i32 > ) - > tensor < i1 > <nl> + " tf . Yield " ( % 8 ) : ( tensor < i1 > ) - > ( ) <nl> + } , { <nl> + ^ bb0 ( % arg1 : tensor < i32 > , % arg2 : tensor < ? xf32 > ) : <nl> + % 7 = " tf . C " ( % arg1 ) : ( tensor < i32 > ) - > tensor < i32 > <nl> + % 8 = " tf . D " ( % arg1 , % arg2 ) { _xla_outside_compilation = " cluster2 " } : ( tensor < i32 > , tensor < ? xf32 > ) - > tensor < ? xf32 > <nl> + " tf . Yield " ( % 7 , % 8 ) : ( tensor < i32 > , tensor < ? xf32 > ) - > ( ) <nl> + } ) { is_stateless = false } : ( tensor < i32 > , tensor < ? xf32 > ) - > ( tensor < i32 > , tensor < ? xf32 > ) <nl> + <nl> + % 5 = " tf . E " ( ) : ( ) - > tensor < ? xi32 > <nl> + tf_device . return % 5 : tensor < ? xi32 > <nl> + } ) { num_cores_per_replica = 1 , topology = " " , device_assignment = [ ] } : ( ) - > tensor < ? xi32 > <nl> + tf_device . return % 2 : tensor < ? xi32 > <nl> + } <nl> + <nl> + return % 1 : tensor < ? xi32 > <nl> + } <nl> + <nl> + / / Tests extraction of a single outside compiled cluster inside a tf . IfRegion op <nl> + / / nested in a tf . WhileRegion . <nl> + <nl> + / / CHECK - LABEL : func @ outside_compiled_ops_inside_tf_while_if <nl> + func @ outside_compiled_ops_inside_tf_while_if ( % arg0 : tensor < ? xi32 > ) - > tensor < ? xi32 > { <nl> + % 0 = " tf . A " ( % arg0 ) : ( tensor < ? xi32 > ) - > tensor < ? xi32 > <nl> + <nl> + / / CHECK : % [ [ REPLICATE : [ 0 - 9 ] * ] ] : 2 = tf_device . replicate <nl> + / / CHECK : % [ [ PARALLEL_EXECUTE_OUTPUT : [ 0 - 9 ] * ] ] = " tf_device . parallel_execute " <nl> + / / CHECK - NEXT : " tf_device . launch " <nl> + / / CHECK - NEXT : % [ [ PLACEHOLDER_KEY : [ 0 - 9 ] * ] ] = " tf . _TPUCompileMlirPlaceholderProgramKey " ( ) <nl> + / / CHECK - NEXT : tf . WhileRegion " <nl> + / / CHECK - NEXT : % [ [ COND_RECV_OUTPUT : [ 0 - 9 ] * ] ] = " tf . _XlaRecvAtHost " ( % [ [ PLACEHOLDER_KEY ] ] ) <nl> + / / CHECK - SAME : device_ordinal = 0 <nl> + / / CHECK - SAME : key = " while_condition_channel_cluster1_0 " <nl> + / / CHECK : " tf . Yield " ( % [ [ COND_RECV_OUTPUT ] ] ) <nl> + / / CHECK : % [ [ PREDICATE_RECV_OUTPUT : [ 0 - 9 ] * ] ] = " tf . _XlaRecvAtHost " ( % [ [ PLACEHOLDER_KEY ] ] ) <nl> + / / CHECK - NEXT : tf . IfRegion " ( % [ [ PREDICATE_RECV_OUTPUT ] ] ) <nl> + / / CHECK : " tf . _XlaRecvAtHost " ( % [ [ PLACEHOLDER_KEY ] ] ) <nl> + / / CHECK : % [ [ D_OUTPUT : [ 0 - 9 ] * ] ] = " tf . D " <nl> + / / CHECK : " tf . _XlaSendFromHost " ( % [ [ D_OUTPUT ] ] , % [ [ PLACEHOLDER_KEY ] ] ) <nl> + / / CHECK_NEXT : " tf . Yield " <nl> + / / CHECK : " tf_device . cluster " <nl> + / / CHECK : % [ [ A_OUTPUT : [ 0 - 9 ] * ] ] = " tf . A " <nl> + / / CHECK : % [ [ B_OUTPUT : [ 0 - 9 ] * ] ] = " tf . B " <nl> + / / CHECK : % [ [ G_OUTPUT : [ 0 - 9 ] * ] ] = " tf . G " <nl> + / / CHECK - NEXT : tf . WhileRegion " ( % [ [ B_OUTPUT ] ] , % [ [ A_OUTPUT ] ] ) <nl> + / / CHECK : % [ [ H_OUTPUT : [ 0 - 9 ] * ] ] = " tf . H " <nl> + / / CHECK - NEXT : " tf . XlaSendToHost " ( % [ [ H_OUTPUT ] ] ) <nl> + / / CHECK - NEXT : " tf . Yield " ( % [ [ H_OUTPUT ] ] ) <nl> + / / CHECK : % [ [ C_OUTPUT : [ 0 - 9 ] * ] ] = " tf . C " <nl> + / / CHECK - NEXT : " tf . XlaSendToHost " ( % [ [ G_OUTPUT ] ] ) <nl> + / / CHECK - NEXT : tf . IfRegion " ( % [ [ G_OUTPUT ] ] ) <nl> + / / CHECK - NEXT : % [ [ HOST_COMPUTE_OUTPUT : [ 0 - 9 ] * ] ] = " tf . _XlaHostComputeMlir " <nl> + / / CHECK - NEXT " tf . Yield " ( % [ [ HOST_COMPUTE_OUTPUT ] ] ) <nl> + % 1 : 2 = tf_device . replicate ( [ % 0 , % arg0 ] as % ri_0 : tensor < ? xi32 > ) { n = 2 : i32 } { <nl> + % 2 = " tf_device . cluster " ( ) ( { <nl> + % 3 = " tf . A " ( ) : ( ) - > ( tensor < ? xf32 > ) <nl> + % 4 = " tf . B " ( ) : ( ) - > ( tensor < i32 > ) <nl> + % 6 = " tf . G " ( ) : ( ) - > ( tensor < i1 > ) <nl> + <nl> + " tf . WhileRegion " ( % 4 , % 3 ) ( { <nl> + ^ bb0 ( % arg1 : tensor < i32 > , % arg2 : tensor < ? xf32 > ) : <nl> + % 7 = " tf . H " ( % arg1 ) : ( tensor < i32 > ) - > tensor < i1 > <nl> + " tf . Yield " ( % 7 ) : ( tensor < i1 > ) - > ( ) <nl> + } , { <nl> + ^ bb0 ( % arg1 : tensor < i32 > , % arg2 : tensor < ? xf32 > ) : <nl> + % 8 = " tf . C " ( % arg1 ) : ( tensor < i32 > ) - > tensor < i32 > <nl> + % 10 = " tf . IfRegion " ( % 6 ) ( { <nl> + % 9 = " tf . D " ( ) { _xla_outside_compilation = " cluster1 " } : ( ) - > tensor < ? xf32 > <nl> + " tf . Yield " ( % 9 ) : ( tensor < ? xf32 > ) - > ( ) <nl> + } , { <nl> + " tf . Yield " ( % arg2 ) : ( tensor < ? xf32 > ) - > ( ) <nl> + } ) { is_stateless = false } : ( tensor < i1 > ) - > tensor < ? xf32 > <nl> + " tf . Yield " ( % 8 , % 10 ) : ( tensor < i32 > , tensor < ? xf32 > ) - > ( ) <nl> + } ) { is_stateless = false } : ( tensor < i32 > , tensor < ? xf32 > ) - > ( tensor < i32 > , tensor < ? xf32 > ) <nl> + <nl> + % 5 = " tf . E " ( ) : ( ) - > tensor < ? xi32 > <nl> + tf_device . return % 5 : tensor < ? xi32 > <nl> + } ) { num_cores_per_replica = 1 , topology = " " , device_assignment = [ ] } : ( ) - > tensor < ? xi32 > <nl> + tf_device . return % 2 : tensor < ? xi32 > <nl> + } <nl> + <nl> + return % 1 : tensor < ? xi32 > <nl> + } <nl> } <nl> mmm a / tensorflow / compiler / mlir / tensorflow / transforms / tpu_extract_outside_compilation . cc <nl> ppp b / tensorflow / compiler / mlir / tensorflow / transforms / tpu_extract_outside_compilation . cc <nl> struct TPUExtractOutsideCompilation <nl> } ; <nl> <nl> / / Holds information about control flow operations that wrap outside compiled <nl> - / / op . Currently only tf . If op is supported . <nl> + / / op . Currently only tf . IfRegion and tf . WhileRegion ops are supported . <nl> class ControlFlowStackInfo { <nl> public : <nl> - enum ControlFlowBranchType { kIfThen , kIfElse } ; <nl> + enum ControlFlowBranchType { kIfThen , kIfElse , kWhileCond , kWhileBody } ; <nl> <nl> explicit ControlFlowStackInfo ( Operation * wrapping_op , Operation * nested_op ) <nl> : callsite_op_ ( wrapping_op ) { <nl> - / / Only tf . IfRegion op is supported for now . <nl> - auto control_flow_op = llvm : : cast < TF : : IfRegionOp > ( callsite_op_ ) ; <nl> - assert ( control_flow_op ) ; <nl> - <nl> - auto parent_region = nested_op - > getParentRegion ( ) ; <nl> - if ( & control_flow_op . then_branch ( ) = = parent_region ) { <nl> - type_ = ControlFlowBranchType : : kIfThen ; <nl> + if ( auto control_flow_op = llvm : : dyn_cast < TF : : IfRegionOp > ( callsite_op_ ) ) { <nl> + auto parent_region = nested_op - > getParentRegion ( ) ; <nl> + if ( & control_flow_op . then_branch ( ) = = parent_region ) { <nl> + type_ = ControlFlowBranchType : : kIfThen ; <nl> + } else { <nl> + type_ = ControlFlowBranchType : : kIfElse ; <nl> + } <nl> + } else if ( auto control_flow_op = <nl> + llvm : : dyn_cast < TF : : WhileRegionOp > ( callsite_op_ ) ) { <nl> + auto parent_region = nested_op - > getParentRegion ( ) ; <nl> + if ( & control_flow_op . cond ( ) = = parent_region ) { <nl> + type_ = ControlFlowBranchType : : kWhileCond ; <nl> + } else { <nl> + type_ = ControlFlowBranchType : : kWhileBody ; <nl> + } <nl> } else { <nl> - type_ = ControlFlowBranchType : : kIfElse ; <nl> + assert ( false ) ; <nl> } <nl> } <nl> <nl> llvm : : SmallVector < ControlFlowStackInfo , 4 > GetControlFlowStackForOp ( <nl> Operation * op_in_stack = op ; <nl> while ( op_in_stack ! = tpu_cluster . getOperation ( ) ) { <nl> auto parent_op = op_in_stack - > getParentOp ( ) ; <nl> - if ( llvm : : isa < TF : : IfRegionOp > ( parent_op ) ) { <nl> + if ( llvm : : isa < TF : : IfRegionOp , TF : : WhileRegionOp > ( parent_op ) ) { <nl> controlflow_stack . insert ( controlflow_stack . begin ( ) , <nl> ControlFlowStackInfo ( parent_op , op_in_stack ) ) ; <nl> } <nl> TF : : IfRegionOp CloneEmptyIfWithPredicate ( Value predicate , bool is_stateless , <nl> <nl> / / Replicates tf . IfRegion op to host side computation . <nl> Operation * ReplicateIf ( const ControlFlowStackInfo & controlflow_info , <nl> - llvm : : StringRef outside_cluster_name , ModuleOp module , <nl> + llvm : : StringRef outside_cluster_name , <nl> Value compilation_key , OpBuilder * builder , <nl> int * send_recv_counter ) { <nl> / / Create XlaSendToHostOp to send predicate value from device to host . <nl> Operation * ReplicateIf ( const ControlFlowStackInfo & controlflow_info , <nl> if_callsite_op . getLoc ( ) , builder ) ; <nl> } <nl> <nl> + / / Creates a WhileRegionOp cond and body regions with yield op and <nl> + / / an empty body . <nl> + TF : : WhileRegionOp CloneEmptyWhile ( bool is_stateless , APInt parallel_iterations , <nl> + Location loc , OpBuilder * builder ) { <nl> + auto host_side_while = builder - > create < TF : : WhileRegionOp > ( <nl> + loc , / * output = * / ArrayRef < Type > { } , / * input = * / ArrayRef < Value > { } , <nl> + is_stateless , parallel_iterations ) ; <nl> + <nl> + / / Create empty else branch region . <nl> + auto & body = host_side_while . body ( ) ; <nl> + body . push_back ( new Block ) ; <nl> + builder - > setInsertionPointToEnd ( & body . front ( ) ) ; <nl> + builder - > create < TF : : YieldOp > ( loc , / * operands = * / ArrayRef < Value > { } ) ; <nl> + return host_side_while ; <nl> + } <nl> + <nl> + / / Replicates tf . WhileRegion op to host side computation . <nl> + Operation * ReplicateWhile ( const ControlFlowStackInfo & controlflow_info , <nl> + llvm : : StringRef outside_cluster_name , <nl> + Value compilation_key , OpBuilder * builder , <nl> + int * send_recv_counter ) { <nl> + / / Create XlaSendToHostOp to send cond region output from device to host . <nl> + OpBuilder : : InsertPoint insert_point = builder - > saveInsertionPoint ( ) ; <nl> + auto while_callsite_op = <nl> + llvm : : cast < TF : : WhileRegionOp > ( controlflow_info . GetCallSiteOp ( ) ) ; <nl> + builder - > setInsertionPoint ( while_callsite_op . cond ( ) . front ( ) . getTerminator ( ) ) ; <nl> + <nl> + const auto condition_send_recv_key = <nl> + llvm : : formatv ( " while_condition_channel_ { 0 } _ { 1 } " , outside_cluster_name , <nl> + * send_recv_counter ) <nl> + . str ( ) ; <nl> + * send_recv_counter + = 1 ; <nl> + auto condition = <nl> + while_callsite_op . cond ( ) . front ( ) . getTerminator ( ) - > getOperand ( 0 ) ; <nl> + builder - > create < TF : : XlaSendToHostOp > ( while_callsite_op . getLoc ( ) , condition , <nl> + condition_send_recv_key ) ; <nl> + builder - > restoreInsertionPoint ( insert_point ) ; <nl> + <nl> + auto host_side_while = CloneEmptyWhile ( <nl> + while_callsite_op . is_stateless ( ) , while_callsite_op . parallel_iterations ( ) , <nl> + while_callsite_op . getLoc ( ) , builder ) ; <nl> + <nl> + / / Create cond region and yield the condition from the device . <nl> + auto & cond = host_side_while . cond ( ) ; <nl> + cond . push_back ( new Block ) ; <nl> + builder - > setInsertionPointToEnd ( & cond . front ( ) ) ; <nl> + auto recv_condition_at_host = builder - > create < TF : : _XlaRecvAtHostOp > ( <nl> + while_callsite_op . getLoc ( ) , llvm : : ArrayRef < Type > { condition . getType ( ) } , <nl> + / * dynamic_key = * / compilation_key , <nl> + builder - > getStringAttr ( condition_send_recv_key ) , <nl> + / * device_ordinal = * / builder - > getI64IntegerAttr ( 0 ) ) ; <nl> + builder - > create < TF : : YieldOp > ( while_callsite_op . getLoc ( ) , <nl> + recv_condition_at_host . getResults ( ) ) ; <nl> + <nl> + return host_side_while ; <nl> + } <nl> + <nl> / / TODO ( b / 157054714 ) : Use a better abstraction instead of <nl> / / _TPUCompileMlirOp and _XlaRecvAtHostOp and _XlaSendFromHostOp . <nl> / / Creates a compilation key as placeholder . A placeholder compilation cache key <nl> Value CreateCompilationKeyPlaceholder ( Location loc , OpBuilder * builder ) { <nl> <nl> / / Replicates the control flow operations that wraps outside compiled ops to <nl> / / ` destination_block ` . <nl> - Block * ReplicateControlFlowStack ( <nl> + Operation * ReplicateControlFlowStack ( <nl> llvm : : StringRef outside_cluster_name , <nl> const llvm : : SmallVectorImpl < ControlFlowStackInfo > & stack_info , <nl> tf_device : : ClusterOp tpu_cluster , ModuleOp module , Value compilation_key , <nl> Block * ReplicateControlFlowStack ( <nl> for ( const auto & controlflow_stack_info : stack_info ) { <nl> / / Create control flow op given provided insertion point and <nl> / / ControlFlowStackInfo . <nl> - previous_replicated_controlflow_op = <nl> - ReplicateIf ( controlflow_stack_info , outside_cluster_name , module , <nl> - compilation_key , & builder , send_recv_counter ) ; <nl> - auto if_op = llvm : : cast < TF : : IfRegionOp > ( previous_replicated_controlflow_op ) ; <nl> - auto type = controlflow_stack_info . GetBranchType ( ) ; <nl> - <nl> - / / Update the insertion point to proper region inside the newly created <nl> - / / control flow op . <nl> - if ( type = = ControlFlowStackInfo : : kIfThen ) { <nl> - builder . setInsertionPoint ( & if_op . then_branch ( ) . front ( ) . front ( ) ) ; <nl> - } else { <nl> - builder . setInsertionPoint ( & if_op . else_branch ( ) . front ( ) . front ( ) ) ; <nl> + if ( auto control_flow_op = llvm : : dyn_cast < TF : : IfRegionOp > ( <nl> + controlflow_stack_info . GetCallSiteOp ( ) ) ) { <nl> + previous_replicated_controlflow_op = <nl> + ReplicateIf ( controlflow_stack_info , outside_cluster_name , <nl> + compilation_key , & builder , send_recv_counter ) ; <nl> + auto if_op = <nl> + llvm : : cast < TF : : IfRegionOp > ( previous_replicated_controlflow_op ) ; <nl> + auto type = controlflow_stack_info . GetBranchType ( ) ; <nl> + <nl> + / / Update the insertion point to proper region inside the newly created <nl> + / / control flow op . <nl> + if ( type = = ControlFlowStackInfo : : kIfThen ) { <nl> + builder . setInsertionPoint ( & if_op . then_branch ( ) . front ( ) . front ( ) ) ; <nl> + } else { <nl> + builder . setInsertionPoint ( & if_op . else_branch ( ) . front ( ) . front ( ) ) ; <nl> + } <nl> + } else if ( auto control_flow_op = llvm : : dyn_cast < TF : : WhileRegionOp > ( <nl> + controlflow_stack_info . GetCallSiteOp ( ) ) ) { <nl> + previous_replicated_controlflow_op = <nl> + ReplicateWhile ( controlflow_stack_info , outside_cluster_name , <nl> + compilation_key , & builder , send_recv_counter ) ; <nl> + auto while_op = <nl> + llvm : : cast < TF : : WhileRegionOp > ( previous_replicated_controlflow_op ) ; <nl> + auto type = controlflow_stack_info . GetBranchType ( ) ; <nl> + if ( type = = ControlFlowStackInfo : : kWhileCond ) { <nl> + builder . setInsertionPoint ( & while_op . cond ( ) . front ( ) . front ( ) ) ; <nl> + } else { <nl> + builder . setInsertionPoint ( & while_op . body ( ) . front ( ) . front ( ) ) ; <nl> + } <nl> } <nl> } <nl> <nl> - / / Return the inner most branch at which outside compiled op is located . <nl> - / / This block will later be used as insertion point to create send / recv ops . <nl> - auto inner_most_controlflow_stack = stack_info . back ( ) ; <nl> - auto inner_most_if = <nl> - llvm : : cast < TF : : IfRegionOp > ( previous_replicated_controlflow_op ) ; <nl> - if ( inner_most_controlflow_stack . GetBranchType ( ) = = <nl> - ControlFlowStackInfo : : kIfThen ) { <nl> - return & inner_most_if . then_branch ( ) . front ( ) ; <nl> - } else { <nl> - return & inner_most_if . else_branch ( ) . front ( ) ; <nl> + / / Return operation which should be used to as the insertion point to create <nl> + / / send / recv ops . <nl> + if ( auto inner_most_if = <nl> + llvm : : dyn_cast < TF : : IfRegionOp > ( previous_replicated_controlflow_op ) ) { <nl> + auto inner_most_controlflow_stack = stack_info . back ( ) ; <nl> + if ( inner_most_controlflow_stack . GetBranchType ( ) = = <nl> + ControlFlowStackInfo : : kIfThen ) { <nl> + return inner_most_if . then_branch ( ) . front ( ) . getTerminator ( ) ; <nl> + } else { <nl> + return inner_most_if . else_branch ( ) . front ( ) . getTerminator ( ) ; <nl> + } <nl> + } else if ( auto inner_most_while = llvm : : dyn_cast < TF : : WhileRegionOp > ( <nl> + previous_replicated_controlflow_op ) ) { <nl> + auto inner_most_controlflow_stack = stack_info . back ( ) ; <nl> + if ( inner_most_controlflow_stack . GetBranchType ( ) = = <nl> + ControlFlowStackInfo : : kWhileCond ) { <nl> + return & inner_most_while . cond ( ) . front ( ) . front ( ) ; <nl> + } else { <nl> + return inner_most_while . body ( ) . front ( ) . getTerminator ( ) ; <nl> + } <nl> } <nl> + return destination_block - > getTerminator ( ) ; <nl> } <nl> <nl> / / Collects and clusters ops in ` block ` with the same ` _xla_outside_compilation ` <nl> LogicalResult CollectAndGroupOutsideClusterOps ( Block * block , <nl> return failure ( walk_result . wasInterrupted ( ) ) ; <nl> } <nl> <nl> - / / Moves ` cluster_ops ` to associated ` block ` . <nl> - void MoveOutsideClusterOpsToBlock ( Block & block , <nl> - llvm : : ArrayRef < Operation * > cluster_ops , <nl> - MLIRContext * context ) { <nl> - Operation * terminator = block . getTerminator ( ) ; <nl> + / / Moves ` cluster_ops ` before ` op ` . <nl> + void MoveOutsideClusterOpsBeforeOp ( Operation * op , <nl> + llvm : : ArrayRef < Operation * > cluster_ops , <nl> + MLIRContext * context ) { <nl> for ( Operation * cluster_op : cluster_ops ) { <nl> / / Remove ` _xla_outside_compilation ` and ` device ` attribute from ops in the <nl> / / cluster as that information will be present in the ` launch_op ` . <nl> cluster_op - > removeAttr ( <nl> Identifier : : get ( kXlaOutsideCompilationAttr , context ) ) ; <nl> cluster_op - > removeAttr ( Identifier : : get ( kDeviceAttr , context ) ) ; <nl> - cluster_op - > moveBefore ( terminator ) ; <nl> + cluster_op - > moveBefore ( op ) ; <nl> } <nl> } <nl> <nl> llvm : : SmallSetVector < Value , 4 > GetExternalOperands ( <nl> / / in ` host_cluster_ops ` . <nl> for ( Value v : op - > getOperands ( ) ) { <nl> Operation * defining_op = v . getDefiningOp ( ) ; <nl> - if ( ! defining_op ) continue ; <nl> - bool is_external = llvm : : none_of ( <nl> - host_cluster_ops , <nl> - [ & ] ( Operation * cluster_op ) { return defining_op = = cluster_op ; } ) ; <nl> - <nl> + bool is_external = false ; <nl> + if ( defining_op ) { <nl> + is_external = <nl> + llvm : : none_of ( host_cluster_ops , [ & ] ( Operation * cluster_op ) { <nl> + return defining_op = = cluster_op ; <nl> + } ) ; <nl> + } else { <nl> + if ( auto block_arg = v . dyn_cast < BlockArgument > ( ) ) { <nl> + if ( block_arg . getParentRegion ( ) = = cluster_op_parent_region ) <nl> + is_external = true ; <nl> + } <nl> + } <nl> if ( is_external ) external_values . insert ( v ) ; <nl> } <nl> } else { <nl> void MoveOutsideCompiledOps ( <nl> CreateCompilationKeyPlaceholder ( tpu_cluster . getLoc ( ) , & builder ) ; <nl> } <nl> <nl> - Block * block_to_move_host_cluster = nullptr ; <nl> + Operation * insertion_op = nullptr ; <nl> if ( controlflow_stack . empty ( ) ) { <nl> - block_to_move_host_cluster = & host_launch_op . GetBody ( ) ; <nl> + insertion_op = host_launch_op . GetBody ( ) . getTerminator ( ) ; <nl> } else { <nl> int send_recv_counter = 0 ; <nl> - block_to_move_host_cluster = ReplicateControlFlowStack ( <nl> + insertion_op = ReplicateControlFlowStack ( <nl> outside_cluster_name , controlflow_stack , tpu_cluster , module , <nl> compilation_key , & host_launch_op . GetBody ( ) , & send_recv_counter ) ; <nl> } <nl> <nl> MLIRContext * context = host_launch_op . getContext ( ) ; <nl> if ( external_inputs . empty ( ) & & external_outputs . empty ( ) ) { <nl> - MoveOutsideClusterOpsToBlock ( * block_to_move_host_cluster , cluster_ops , <nl> - context ) ; <nl> + MoveOutsideClusterOpsBeforeOp ( insertion_op , cluster_ops , context ) ; <nl> return ; <nl> } <nl> <nl> - OpBuilder builder ( block_to_move_host_cluster - > getTerminator ( ) ) ; <nl> + OpBuilder builder ( insertion_op ) ; <nl> llvm : : SmallVector < Type , 4 > host_output_types ; <nl> for ( const auto & external_input : external_inputs ) <nl> host_output_types . push_back ( external_input . getType ( ) ) ; <nl> void MoveOutsideCompiledOps ( <nl> auto host_compute = CreateHostCompute ( <nl> & builder , tpu_cluster , cluster_ops , external_inputs , external_outputs , <nl> args_communication_key , retvals_communication_key ) ; <nl> - MoveOutsideClusterOpsToBlock ( * block_to_move_host_cluster , cluster_ops , <nl> - context ) ; <nl> + MoveOutsideClusterOpsBeforeOp ( insertion_op , cluster_ops , context ) ; <nl> <nl> - builder . setInsertionPoint ( block_to_move_host_cluster - > getTerminator ( ) ) ; <nl> + builder . setInsertionPoint ( insertion_op ) ; <nl> builder . create < TF : : _XlaSendFromHostOp > ( <nl> tpu_cluster . getLoc ( ) , external_outputs , <nl> / * dynamic_key = * / compilation_key , <nl>
Handle WhileRegionOp in extract outside compilation .
tensorflow/tensorflow
6e195c5d4e7aa40539bbe6ae878ba94de46a56cf
2020-09-01T16:09:52Z
mmm a / platform / x11 / joystick_linux . cpp <nl> ppp b / platform / x11 / joystick_linux . cpp <nl> <nl> # include " joystick_linux . h " <nl> <nl> # include < linux / input . h > <nl> - # include < libudev . h > <nl> # include < unistd . h > <nl> # include < fcntl . h > <nl> # include < errno . h > <nl> <nl> + # ifdef UDEV_ENABLED <nl> + # include < libudev . h > <nl> + # endif <nl> + <nl> # define LONG_BITS ( sizeof ( long ) * 8 ) <nl> # define test_bit ( nr , addr ) ( ( ( 1UL < < ( ( nr ) % LONG_BITS ) ) & ( ( addr ) [ ( nr ) / LONG_BITS ] ) ) ! = 0 ) <nl> # define NBITS ( x ) ( ( ( ( x ) - 1 ) / LONG_BITS ) + 1 ) <nl>
include libudev only on udev builds
godotengine/godot
306518730078c0e4d8beb6d5d9afb90437de437f
2016-02-15T14:09:48Z
mmm a / dbms / src / Interpreters / Context . cpp <nl> ppp b / dbms / src / Interpreters / Context . cpp <nl> std : : shared_ptr < CompiledExpressionCache > Context : : getCompiledExpressionsCache ( ) <nl> auto lock = getLock ( ) ; <nl> <nl> if ( ! shared - > compiled_expression_cache ) <nl> - { <nl> - std : : cerr < < " Cache size : " < < settings . compiled_expressions_cache_size < < std : : endl ; <nl> shared - > compiled_expression_cache = std : : make_shared < CompiledExpressionCache > ( settings . compiled_expressions_cache_size ) ; <nl> - } <nl> <nl> return shared - > compiled_expression_cache ; <nl> } <nl> mmm a / dbms / src / Interpreters / ExpressionActions . cpp <nl> ppp b / dbms / src / Interpreters / ExpressionActions . cpp <nl> std : : string ExpressionAction : : toString ( ) const <nl> <nl> void ExpressionActions : : checkLimits ( Block & block ) const <nl> { <nl> - if ( context . getSettingsRef ( ) . max_temporary_columns & & block . columns ( ) > context . getSettingsRef ( ) . max_temporary_columns ) <nl> + if ( settings . max_temporary_columns & & block . columns ( ) > settings . max_temporary_columns ) <nl> throw Exception ( " Too many temporary columns : " + block . dumpNames ( ) <nl> - + " . Maximum : " + context . getSettingsRef ( ) . max_temporary_columns . toString ( ) , <nl> + + " . Maximum : " + settings . max_temporary_columns . toString ( ) , <nl> ErrorCodes : : TOO_MANY_TEMPORARY_COLUMNS ) ; <nl> <nl> - if ( context . getSettingsRef ( ) . max_temporary_non_const_columns ) <nl> + if ( settings . max_temporary_non_const_columns ) <nl> { <nl> size_t non_const_columns = 0 ; <nl> for ( size_t i = 0 , size = block . columns ( ) ; i < size ; + + i ) <nl> if ( block . safeGetByPosition ( i ) . column & & ! block . safeGetByPosition ( i ) . column - > isColumnConst ( ) ) <nl> + + non_const_columns ; <nl> <nl> - if ( non_const_columns > context . getSettingsRef ( ) . max_temporary_non_const_columns ) <nl> + if ( non_const_columns > settings . max_temporary_non_const_columns ) <nl> { <nl> std : : stringstream list_of_non_const_columns ; <nl> for ( size_t i = 0 , size = block . columns ( ) ; i < size ; + + i ) <nl> void ExpressionActions : : checkLimits ( Block & block ) const <nl> list_of_non_const_columns < < " \ n " < < block . safeGetByPosition ( i ) . name ; <nl> <nl> throw Exception ( " Too many temporary non - const columns : " + list_of_non_const_columns . str ( ) <nl> - + " . Maximum : " + context . getSettingsRef ( ) . max_temporary_non_const_columns . toString ( ) , <nl> + + " . Maximum : " + settings . max_temporary_non_const_columns . toString ( ) , <nl> ErrorCodes : : TOO_MANY_TEMPORARY_NON_CONST_COLUMNS ) ; <nl> } <nl> } <nl> void ExpressionActions : : finalize ( const Names & output_columns ) <nl> # if USE_EMBEDDED_COMPILER <nl> / / / This has to be done before removing redundant actions and inserting REMOVE_COLUMNs <nl> / / / because inlining may change dependency sets . <nl> - if ( context . getSettingsRef ( ) . compile_expressions ) <nl> - compileFunctions ( actions , output_columns , sample_block , context ) ; <nl> + if ( settings . compile_expressions ) <nl> + compileFunctions ( actions , output_columns , sample_block , compilation_cache ) ; <nl> # endif <nl> <nl> / / / Which columns are needed to perform actions from the current to the last . <nl> mmm a / dbms / src / Interpreters / ExpressionActions . h <nl> ppp b / dbms / src / Interpreters / ExpressionActions . h <nl> <nl> # pragma once <nl> <nl> # include < Interpreters / Context . h > <nl> + # include < Common / config . h > <nl> # include < Common / SipHash . h > <nl> # include < Interpreters / Settings . h > <nl> # include < Core / Names . h > <nl> class ExpressionActions <nl> using Actions = std : : vector < ExpressionAction > ; <nl> <nl> ExpressionActions ( const NamesAndTypesList & input_columns_ , const Context & context_ ) <nl> - : input_columns ( input_columns_ ) , context ( context_ ) <nl> + : input_columns ( input_columns_ ) , settings ( context_ . getSettingsRef ( ) ) <nl> { <nl> for ( const auto & input_elem : input_columns ) <nl> sample_block . insert ( ColumnWithTypeAndName ( nullptr , input_elem . type , input_elem . name ) ) ; <nl> + <nl> + # if USE_EMBEDDED_COMPILER <nl> + if ( settings . compiled_expressions_cache_size > 0 ) <nl> + compilation_cache = context_ . getCompiledExpressionsCache ( ) ; <nl> + # endif <nl> } <nl> <nl> / / / For constant columns the columns themselves can be contained in ` input_columns_ ` . <nl> ExpressionActions ( const ColumnsWithTypeAndName & input_columns_ , const Context & context_ ) <nl> - : context ( context_ ) <nl> + : settings ( context_ . getSettingsRef ( ) ) <nl> { <nl> for ( const auto & input_elem : input_columns_ ) <nl> { <nl> class ExpressionActions <nl> <nl> BlockInputStreamPtr createStreamWithNonJoinedDataIfFullOrRightJoin ( const Block & source_header , size_t max_block_size ) const ; <nl> <nl> - const Settings & getSettings ( ) const { return context . getSettingsRef ( ) ; } <nl> + const Settings & getSettings ( ) const { return settings ; } <nl> <nl> private : <nl> NamesAndTypesList input_columns ; <nl> Actions actions ; <nl> Block sample_block ; <nl> - const Context & context ; <nl> + Settings settings ; <nl> + # if USE_EMBEDDED_COMPILER <nl> + std : : shared_ptr < CompiledExpressionCache > compilation_cache ; <nl> + # endif <nl> <nl> void checkLimits ( Block & block ) const ; <nl> <nl> mmm a / dbms / src / Interpreters / ExpressionJIT . cpp <nl> ppp b / dbms / src / Interpreters / ExpressionJIT . cpp <nl> static bool isCompilable ( llvm : : IRBuilderBase & builder , const IFunctionBase & fu <nl> return function . isCompilable ( ) ; <nl> } <nl> <nl> - void compileFunctions ( ExpressionActions : : Actions & actions , const Names & output_columns , const Block & sample_block , const Context & global_context ) <nl> + void compileFunctions ( ExpressionActions : : Actions & actions , const Names & output_columns , const Block & sample_block , std : : shared_ptr < CompiledExpressionCache > compilation_cache ) <nl> { <nl> struct LLVMTargetInitializer <nl> { <nl> void compileFunctions ( ExpressionActions : : Actions & actions , const Names & output <nl> continue ; <nl> <nl> std : : shared_ptr < LLVMFunction > fn ; <nl> - if ( global_context . getSettingsRef ( ) . compiled_expressions_cache_size > 0 ) <nl> + if ( compilation_cache ) <nl> { <nl> - auto compilation_cache = global_context . getCompiledExpressionsCache ( ) ; <nl> auto set_func = [ & fused , i , context , & sample_block ] ( ) { return std : : make_shared < LLVMFunction > ( fused [ i ] , context , sample_block ) ; } ; <nl> std : : tie ( fn , std : : ignore ) = compilation_cache - > getOrSet ( fused [ i ] , set_func ) ; <nl> } <nl> mmm a / dbms / src / Interpreters / ExpressionJIT . h <nl> ppp b / dbms / src / Interpreters / ExpressionJIT . h <nl> class LLVMFunction : public IFunctionBase <nl> <nl> / / / For each APPLY_FUNCTION action , try to compile the function to native code ; if the only uses of a compilable <nl> / / / function ' s result are as arguments to other compilable functions , inline it and leave the now - redundant action as - is . <nl> - void compileFunctions ( ExpressionActions : : Actions & actions , const Names & output_columns , const Block & sample_block , const Context & global_context ) ; <nl> + void compileFunctions ( ExpressionActions : : Actions & actions , const Names & output_columns , const Block & sample_block , std : : shared_ptr < CompiledExpressionCache > compilation_cache ) ; <nl> <nl> } <nl> <nl>
CLICKHOUSE - 3800 : Remove use after free of context
ClickHouse/ClickHouse
ac6ab62c6f0d302199722af01541ee466b00a1a7
2018-08-31T10:27:08Z
mmm a / include / swift / SIL / SILModule . h <nl> ppp b / include / swift / SIL / SILModule . h <nl> class SILModule { <nl> PGOReader = std : : move ( IPR ) ; <nl> } <nl> <nl> + / / / Can value operations ( copies and destroys ) on the given lowered type <nl> + / / / be performed in this module ? <nl> + bool isTypeABIAccessible ( SILType type ) ; <nl> + <nl> + / / / Can type metadata for the given formal type be fetched in <nl> + / / / the given module ? <nl> + bool isTypeMetadataAccessible ( CanType type ) ; <nl> + <nl> / / / \ brief Run the SIL verifier to make sure that all Functions follow <nl> / / / invariants . <nl> void verify ( ) const ; <nl> mmm a / include / swift / SIL / TypeLowering . h <nl> ppp b / include / swift / SIL / TypeLowering . h <nl> enum IsDependent_t : unsigned { <nl> IsNotDependent = false , <nl> IsDependent = true <nl> } ; <nl> - <nl> + <nl> + / / / Is a lowered SIL type trivial ? That is , are copies ultimately just <nl> + / / / bit - copies , and it takes no work to destroy a value ? <nl> + enum IsTrivial_t : bool { <nl> + IsNotTrivial = false , <nl> + IsTrivial = true <nl> + } ; <nl> + <nl> + / / / Is a lowered SIL type fixed - ABI ? That is , can the current context <nl> + / / / assign it a fixed size and alignment and perform value operations on it <nl> + / / / ( such as copies , destroys , constructions , and projections ) without <nl> + / / / metadata ? <nl> + / / / <nl> + / / / Note that a fully concrete type can be non - fixed - ABI without being <nl> + / / / itself resilient if it contains a subobject which is not fixed - ABI . <nl> + / / / <nl> + / / / Also note that we ' re only concerned with the external value ABI here : <nl> + / / / resilient class types are still fixed - ABI , indirect enum cases do not <nl> + / / / affect the fixed - ABI - ness of the enum , and so on . <nl> + enum IsFixedABI_t : bool { <nl> + IsNotFixedABI = false , <nl> + IsFixedABI = true <nl> + } ; <nl> + <nl> + / / / Is a lowered SIL type address - only ? That is , is the current context <nl> + / / / required to keep the value in memory for some reason ? <nl> + / / / <nl> + / / / A type might be address - only because : <nl> + / / / <nl> + / / / - it is not fixed - size ( e . g . because it is a resilient type ) and <nl> + / / / therefore cannot be loaded into a statically - boundable set of <nl> + / / / registers ; or <nl> + / / / <nl> + / / / - it is semantically bound to memory , either because its storage <nl> + / / / address is used by the language runtime to implement its semantics <nl> + / / / ( as with a weak reference ) or because its representation is somehow <nl> + / / / address - dependent ( as with something like a relative pointer ) . <nl> + / / / <nl> + / / / An address - only type can be fixed - layout and / or trivial . <nl> + / / / A non - fixed - layout type is always address - only . <nl> + enum IsAddressOnly_t : bool { <nl> + IsNotAddressOnly = false , <nl> + IsAddressOnly = true <nl> + } ; <nl> + <nl> + / / / Is this type somewhat like a reference - counted type ? <nl> + enum IsReferenceCounted_t : bool { <nl> + IsNotReferenceCounted = false , <nl> + IsReferenceCounted = true <nl> + } ; <nl> + <nl> / / / Extended type information used by SIL . <nl> class TypeLowering { <nl> public : <nl> - enum IsTrivial_t : bool { IsNotTrivial , IsTrivial } ; <nl> - enum IsAddressOnly_t : bool { IsNotAddressOnly , IsAddressOnly } ; <nl> - enum IsReferenceCounted_t : bool { <nl> - IsNotReferenceCounted , <nl> - IsReferenceCounted <nl> + class RecursiveProperties { <nl> + / / These are chosen so that bitwise - or merges the flags properly . <nl> + enum : unsigned { <nl> + NonTrivialFlag = 1 < < 0 , <nl> + NonFixedABIFlag = 1 < < 1 , <nl> + AddressOnlyFlag = 1 < < 2 , <nl> + } ; <nl> + <nl> + uint8_t Flags ; <nl> + public : <nl> + / / / Construct a default RecursiveProperties , which corresponds to <nl> + / / / a trivial , loadable , fixed - layout type . <nl> + constexpr RecursiveProperties ( ) : Flags ( 0 ) { } <nl> + <nl> + constexpr RecursiveProperties ( IsTrivial_t isTrivial , <nl> + IsFixedABI_t isFixedABI , <nl> + IsAddressOnly_t isAddressOnly ) <nl> + : Flags ( ( isTrivial ? 0U : NonTrivialFlag ) | <nl> + ( isAddressOnly ? AddressOnlyFlag : 0U ) | <nl> + ( isFixedABI ? 0U : NonFixedABIFlag ) ) { } <nl> + <nl> + static constexpr RecursiveProperties forReference ( ) { <nl> + return { IsNotTrivial , IsFixedABI , IsNotAddressOnly } ; <nl> + } <nl> + <nl> + static constexpr RecursiveProperties forOpaque ( ) { <nl> + return { IsNotTrivial , IsNotFixedABI , IsAddressOnly } ; <nl> + } <nl> + <nl> + void addSubobject ( RecursiveProperties other ) { <nl> + Flags | = other . Flags ; <nl> + } <nl> + <nl> + IsTrivial_t isTrivial ( ) const { <nl> + return IsTrivial_t ( ( Flags & NonTrivialFlag ) = = 0 ) ; <nl> + } <nl> + IsFixedABI_t isFixedABI ( ) const { <nl> + return IsFixedABI_t ( ( Flags & NonFixedABIFlag ) = = 0 ) ; <nl> + } <nl> + IsAddressOnly_t isAddressOnly ( ) const { <nl> + return IsAddressOnly_t ( ( Flags & AddressOnlyFlag ) ! = 0 ) ; <nl> + } <nl> + <nl> + void setNonTrivial ( ) { Flags | = NonTrivialFlag ; } <nl> + void setNonFixedABI ( ) { Flags | = NonFixedABIFlag ; } <nl> + void setAddressOnly ( ) { Flags | = AddressOnlyFlag ; } <nl> } ; <nl> <nl> private : <nl> / / / The SIL type of values with this Swift type . <nl> SILType LoweredType ; <nl> <nl> - enum : unsigned { <nl> - IsTrivialFlag = 0x1 , <nl> - IsAddressOnlyFlag = 0x2 , <nl> - IsReferenceCountedFlag = 0x4 , <nl> - } ; <nl> - unsigned Flags ; <nl> + RecursiveProperties Properties ; <nl> + unsigned ReferenceCounted : 1 ; <nl> <nl> protected : <nl> - TypeLowering ( SILType type , IsTrivial_t isTrivial , <nl> - IsAddressOnly_t isAddressOnly , <nl> + TypeLowering ( SILType type , RecursiveProperties properties , <nl> IsReferenceCounted_t isRefCounted ) <nl> - : LoweredType ( type ) , Flags ( ( isTrivial ? IsTrivialFlag : 0U ) | <nl> - ( isAddressOnly ? IsAddressOnlyFlag : 0U ) | <nl> - ( isRefCounted ? IsReferenceCountedFlag : 0U ) ) { } <nl> + : LoweredType ( type ) , Properties ( properties ) , <nl> + ReferenceCounted ( isRefCounted ) { } <nl> <nl> public : <nl> TypeLowering ( const TypeLowering & ) = delete ; <nl> class TypeLowering { <nl> / / / This is independent of whether the SIL result is address type . <nl> bool isFormallyReturnedIndirectly ( ) const { return isAddressOnly ( ) ; } <nl> <nl> + RecursiveProperties getRecursiveProperties ( ) const { <nl> + return Properties ; <nl> + } <nl> + <nl> / / / isAddressOnly - Returns true if the type is an address - only type . A type <nl> / / / is address - only if it is a resilient value type , or if it is a fragile <nl> / / / value type with a resilient member . In either case , the full layout of <nl> / / / values of the type is unavailable to the compiler . <nl> bool isAddressOnly ( ) const { <nl> - return Flags & IsAddressOnlyFlag ; <nl> + return Properties . isAddressOnly ( ) ; <nl> } <nl> / / / isLoadable - Returns true if the type is loadable , in other words , its <nl> / / / full layout is available to the compiler . This is the inverse of <nl> class TypeLowering { <nl> bool isLoadable ( ) const { <nl> return ! isAddressOnly ( ) ; <nl> } <nl> + <nl> + / / / isFixedABI - Returns true if the type has a known fixed layout . <nl> + / / / If this is true , value operations on the type can be performed even if <nl> + / / / the type is inaccessible . <nl> + bool isFixedABI ( ) const { <nl> + return Properties . isFixedABI ( ) ; <nl> + } <nl> <nl> / / / Returns true if the type is trivial , meaning it is a loadable <nl> / / / value type with no reference type members that require releasing . <nl> bool isTrivial ( ) const { <nl> - return Flags & IsTrivialFlag ; <nl> + return Properties . isTrivial ( ) ; <nl> } <nl> <nl> / / / Returns true if the type is a scalar reference - counted reference , which <nl> / / / can be retained and released . <nl> bool isReferenceCounted ( ) const { <nl> - return Flags & IsReferenceCountedFlag ; <nl> + return ReferenceCounted ; <nl> } <nl> <nl> / / / getLoweredType - Get the type used to represent values of the Swift type <nl> mmm a / lib / SIL / SIL . cpp <nl> ppp b / lib / SIL / SIL . cpp <nl> swift : : getLinkageForProtocolConformance ( const NormalProtocolConformance * C , <nl> return ( definition ? SILLinkage : : Public : SILLinkage : : PublicExternal ) ; <nl> } <nl> } <nl> + <nl> + bool SILModule : : isTypeMetadataAccessible ( CanType type ) { <nl> + assert ( type - > isLegalFormalType ( ) ) ; <nl> + <nl> + return ! type . findIf ( [ & ] ( CanType type ) { <nl> + / / Note that this function returns true if the type is * illegal * to use . <nl> + <nl> + / / Ignore non - nominal types . <nl> + auto decl = type . getNominalOrBoundGenericNominal ( ) ; <nl> + if ( ! decl ) <nl> + return false ; <nl> + <nl> + / / Check whether the declaration is inaccessible from the current context . <nl> + switch ( getDeclLinkage ( decl ) ) { <nl> + <nl> + / / Public declarations are accessible from everywhere . <nl> + case FormalLinkage : : PublicUnique : <nl> + case FormalLinkage : : PublicNonUnique : <nl> + return false ; <nl> + <nl> + / / Hidden declarations are inaccessible from different modules . <nl> + case FormalLinkage : : HiddenUnique : <nl> + return ( decl - > getModuleContext ( ) ! = getSwiftModule ( ) ) ; <nl> + <nl> + / / Private declarations are inaccessible from different files unless <nl> + / / this is WMO and we ' re in the same module . <nl> + case FormalLinkage : : Private : { <nl> + / / The only time we don ' t have an associated DC is in the <nl> + / / integrated REPL , where we also don ' t have a concept of other <nl> + / / source files within the current module . <nl> + if ( ! AssociatedDeclContext ) <nl> + return ( decl - > getModuleContext ( ) ! = getSwiftModule ( ) ) ; <nl> + <nl> + / / The associated DC should be either a SourceFile or , in WMO mode , <nl> + / / a ModuleDecl . In the WMO modes , IRGen will ensure that private <nl> + / / declarations are usable throughout the module . Therefore , in <nl> + / / either case we just need to make sure that the declaration comes <nl> + / / from within the associated DC . <nl> + auto declDC = decl - > getDeclContext ( ) ; <nl> + return ! ( declDC = = AssociatedDeclContext | | <nl> + declDC - > isChildContextOf ( AssociatedDeclContext ) ) ; <nl> + } <nl> + } <nl> + llvm_unreachable ( " bad linkage " ) ; <nl> + } ) ; <nl> + } <nl> + <nl> + / / / Answer whether IRGen ' s emitTypeMetadataForLayout can fetch metadata for <nl> + / / / a type , which is the necessary condition for being able to do value <nl> + / / / operations on the type using dynamic metadata . <nl> + static bool isTypeMetadataForLayoutAccessible ( SILModule & M , SILType type ) { <nl> + / / Look through types that aren ' t necessarily legal formal types : <nl> + <nl> + / / - tuples <nl> + if ( auto tupleType = type . getAs < TupleType > ( ) ) { <nl> + for ( auto index : indices ( tupleType . getElementTypes ( ) ) ) { <nl> + if ( ! isTypeMetadataForLayoutAccessible ( M , type . getTupleElementType ( index ) ) ) <nl> + return false ; <nl> + } <nl> + return true ; <nl> + } <nl> + <nl> + / / - optionals <nl> + if ( auto objType = type . getOptionalObjectType ( ) ) { <nl> + return isTypeMetadataForLayoutAccessible ( M , objType ) ; <nl> + } <nl> + <nl> + / / - function types <nl> + if ( type . is < SILFunctionType > ( ) ) <nl> + return true ; <nl> + <nl> + / / - metatypes <nl> + if ( type . is < AnyMetatypeType > ( ) ) <nl> + return true ; <nl> + <nl> + / / Otherwise , check that we can fetch the type metadata . <nl> + return M . isTypeMetadataAccessible ( type . getASTType ( ) ) ; <nl> + <nl> + } <nl> + <nl> + / / / Can we perform value operations on the given type ? We have no way <nl> + / / / of doing value operations on resilient - layout types from other modules <nl> + / / / that are ABI - private to their defining module . But if the type is not <nl> + / / / ABI - private , we can always at least fetch its metadata and use the <nl> + / / / value witness table stored there . <nl> + bool SILModule : : isTypeABIAccessible ( SILType type ) { <nl> + / / Fixed - ABI types can have value operations done without metadata . <nl> + if ( Types . getTypeLowering ( type ) . isFixedABI ( ) ) <nl> + return true ; <nl> + <nl> + assert ( ! type . is < ReferenceStorageType > ( ) & & <nl> + ! type . is < SILFunctionType > ( ) & & <nl> + ! type . is < AnyMetatypeType > ( ) & & <nl> + " unexpected SIL lowered - only type with non - fixed layout " ) ; <nl> + <nl> + / / Otherwise , we need to be able to fetch layout - metadata for the type . <nl> + return isTypeMetadataForLayoutAccessible ( * this , type ) ; <nl> + } <nl> mmm a / lib / SIL / SILVerifier . cpp <nl> ppp b / lib / SIL / SILVerifier . cpp <nl> class SILVerifier : public SILVerifierBase < SILVerifier > { <nl> " Dest address should be lvalue " ) ; <nl> require ( SI - > getDest ( ) - > getType ( ) = = SI - > getSrc ( ) - > getType ( ) , <nl> " Store operand type and dest type mismatch " ) ; <nl> + require ( F . getModule ( ) . isTypeABIAccessible ( SI - > getDest ( ) - > getType ( ) ) , <nl> + " cannot directly copy type with inaccessible ABI " ) ; <nl> } <nl> <nl> void checkRetainValueInst ( RetainValueInst * I ) { <nl> class SILVerifier : public SILVerifierBase < SILVerifier > { <nl> void checkDestroyAddrInst ( DestroyAddrInst * DI ) { <nl> require ( DI - > getOperand ( ) - > getType ( ) . isAddress ( ) , <nl> " Operand of destroy_addr must be address " ) ; <nl> + require ( F . getModule ( ) . isTypeABIAccessible ( DI - > getOperand ( ) - > getType ( ) ) , <nl> + " cannot directly destroy type with inaccessible ABI " ) ; <nl> } <nl> <nl> void checkBindMemoryInst ( BindMemoryInst * BI ) { <nl> mmm a / lib / SIL / TypeLowering . cpp <nl> ppp b / lib / SIL / TypeLowering . cpp <nl> CaptureKind TypeConverter : : getDeclCaptureKind ( CapturedValue capture ) { <nl> llvm_unreachable ( " function - like captures should have been lowered away " ) ; <nl> } <nl> <nl> - enum class LoweredTypeKind { <nl> - / / / Trivial and loadable . <nl> - Trivial , <nl> + using RecursiveProperties = TypeLowering : : RecursiveProperties ; <nl> <nl> - / / / A reference type . <nl> - Reference , <nl> - <nl> - / / / An aggregate type that contains references ( potentially recursively ) . <nl> - AggWithReference , <nl> - <nl> - / / / Non - trivial and not loadable . <nl> - AddressOnly , <nl> - <nl> - / / / Trivial and not loadable . <nl> - TrivialAddressOnly <nl> - } ; <nl> - <nl> - static LoweredTypeKind classifyType ( CanType type , SILModule & M , <nl> - CanGenericSignature sig , <nl> - ResilienceExpansion expansion ) ; <nl> + static RecursiveProperties <nl> + classifyType ( CanType type , SILModule & M , CanGenericSignature sig , <nl> + ResilienceExpansion expansion ) ; <nl> <nl> namespace { <nl> / / / A CRTP helper class for doing things that depends on type <nl> namespace { <nl> <nl> public : <nl> / / The subclass should implement : <nl> - / / RetTy handleAddressOnly ( CanType ) ; <nl> - / / RetTy handleReference ( CanType ) ; <nl> + / / / / Trivial , fixed - layout , and non - address - only . <nl> / / RetTy handleTrivial ( CanType ) ; <nl> - / / RetTy handleTrivialAddressOnly ( CanType ) ; <nl> - / / In addition , if it does not override visitTupleType <nl> - / / and visitAnyStructType , it should also implement : <nl> - / / RetTy handleAggWithReference ( CanType ) ; <nl> + / / / / A reference type . <nl> + / / RetTy handleReference ( CanType ) ; <nl> + / / / / Non - trivial and address - only . <nl> + / / RetTy handleAddressOnly ( CanType , RecursiveProperties properties ) ; <nl> + / / and , if it doesn ' t override handleTupleType , <nl> + / / / / An aggregate type that ' s non - trivial . <nl> + / / RetTy handleNonTrivialAggregate ( CanType , IsFixedABI_t fixed ) ; <nl> + / / <nl> + / / Alternatively , it can just implement : <nl> + / / RetTy handle ( CanType , RecursiveProperties properties ) ; <nl> + <nl> + / / / Handle a trivial , fixed - size , loadable type . <nl> + RetTy handleTrivial ( CanType type ) { <nl> + return asImpl ( ) . handle ( type , RecursiveProperties ( ) ) ; <nl> + } <nl> + <nl> + RetTy handleReference ( CanType type ) { <nl> + return asImpl ( ) . handle ( type , RecursiveProperties : : forReference ( ) ) ; <nl> + } <nl> + <nl> + RetTy handleAddressOnly ( CanType type , RecursiveProperties properties ) { <nl> + return asImpl ( ) . handle ( type , properties ) ; <nl> + } <nl> + <nl> + RetTy handleNonTrivialAggregate ( CanType type , <nl> + RecursiveProperties properties ) { <nl> + return asImpl ( ) . handle ( type , properties ) ; <nl> + } <nl> <nl> # define IMPL ( TYPE , LOWERING ) \ <nl> RetTy visit # # TYPE # # Type ( Can # # TYPE # # Type type ) { \ <nl> namespace { <nl> IMPL ( BuiltinNativeObject , Reference ) <nl> IMPL ( BuiltinBridgeObject , Reference ) <nl> IMPL ( BuiltinUnknownObject , Reference ) <nl> - IMPL ( BuiltinUnsafeValueBuffer , AddressOnly ) <nl> IMPL ( BuiltinVector , Trivial ) <nl> IMPL ( SILToken , Trivial ) <nl> IMPL ( Class , Reference ) <nl> IMPL ( BoundGenericClass , Reference ) <nl> IMPL ( AnyMetatype , Trivial ) <nl> IMPL ( Module , Trivial ) <nl> - <nl> + <nl> + # undef IMPL <nl> + <nl> + RetTy visitBuiltinUnsafeValueBufferType ( <nl> + CanBuiltinUnsafeValueBufferType type ) { <nl> + return asImpl ( ) . handleAddressOnly ( type , { IsNotTrivial , IsFixedABI , <nl> + IsAddressOnly } ) ; <nl> + } <nl> + <nl> RetTy visitAnyFunctionType ( CanAnyFunctionType type ) { <nl> switch ( type - > getRepresentation ( ) ) { <nl> case AnyFunctionType : : Representation : : Swift : <nl> namespace { <nl> return asImpl ( ) . handleTrivial ( type ) ; <nl> } <nl> <nl> - # undef IMPL <nl> - <nl> RetTy visitLValueType ( CanLValueType type ) { <nl> llvm_unreachable ( " shouldn ' t get an l - value type here " ) ; <nl> } <nl> namespace { <nl> return asImpl ( ) . visit ( genericSig - > getConcreteType ( type ) <nl> - > getCanonicalType ( ) ) ; <nl> } else { <nl> - return asImpl ( ) . handleAddressOnly ( type ) ; <nl> + return asImpl ( ) . handleAddressOnly ( type , <nl> + RecursiveProperties : : forOpaque ( ) ) ; <nl> } <nl> } <nl> llvm_unreachable ( " should have substituted dependent type into context " ) ; <nl> namespace { <nl> } <nl> <nl> RetTy visitAddressOnlyUnownedStorageType ( CanUnownedStorageType type ) { <nl> - return asImpl ( ) . handleAddressOnly ( type ) ; <nl> + return asImpl ( ) . handleAddressOnly ( type , { IsNotTrivial , <nl> + IsFixedABI , <nl> + IsAddressOnly } ) ; <nl> } <nl> <nl> RetTy visitWeakStorageType ( CanWeakStorageType type ) { <nl> - return asImpl ( ) . handleAddressOnly ( type ) ; <nl> + return asImpl ( ) . handleAddressOnly ( type , { IsNotTrivial , <nl> + IsFixedABI , <nl> + IsAddressOnly } ) ; <nl> } <nl> <nl> RetTy visitArchetypeType ( CanArchetypeType type ) { <nl> namespace { <nl> } <nl> <nl> if ( LayoutInfo - > isAddressOnlyTrivial ( ) ) { <nl> - return asImpl ( ) . handleTrivialAddressOnly ( type ) ; <nl> + return asImpl ( ) . handleAddressOnly ( type , <nl> + { IsTrivial , IsNotFixedABI , IsAddressOnly } ) ; <nl> } <nl> <nl> if ( LayoutInfo - > isRefCounted ( ) ) <nl> return asImpl ( ) . handleReference ( type ) ; <nl> } <nl> - return asImpl ( ) . handleAddressOnly ( type ) ; <nl> + return asImpl ( ) . handleAddressOnly ( type , RecursiveProperties : : forOpaque ( ) ) ; <nl> } <nl> <nl> RetTy visitExistentialType ( CanType type ) { <nl> namespace { <nl> llvm_unreachable ( " not an existential type ? ! " ) ; <nl> / / Opaque existentials are address - only . <nl> case ExistentialRepresentation : : Opaque : <nl> - return asImpl ( ) . handleAddressOnly ( type ) ; <nl> + return asImpl ( ) . handleAddressOnly ( type , { IsNotTrivial , <nl> + IsFixedABI , <nl> + IsAddressOnly } ) ; <nl> / / Class - constrained and boxed existentials are refcounted . <nl> case ExistentialRepresentation : : Class : <nl> case ExistentialRepresentation : : Boxed : <nl> namespace { <nl> <nl> / / Tuples depend on their elements . <nl> RetTy visitTupleType ( CanTupleType type ) { <nl> - bool hasReference = false ; <nl> + RecursiveProperties props ; <nl> for ( auto eltType : type . getElementTypes ( ) ) { <nl> - switch ( classifyType ( eltType , M , Sig , Expansion ) ) { <nl> - case LoweredTypeKind : : Trivial : <nl> - continue ; <nl> - case LoweredTypeKind : : TrivialAddressOnly : <nl> - return asImpl ( ) . handleTrivialAddressOnly ( type ) ; <nl> - case LoweredTypeKind : : AddressOnly : <nl> - return asImpl ( ) . handleAddressOnly ( type ) ; <nl> - case LoweredTypeKind : : Reference : <nl> - case LoweredTypeKind : : AggWithReference : <nl> - hasReference = true ; <nl> - continue ; <nl> - } <nl> - llvm_unreachable ( " bad type classification " ) ; <nl> + props . addSubobject ( classifyType ( eltType , M , Sig , Expansion ) ) ; <nl> } <nl> - <nl> - if ( hasReference ) <nl> - return asImpl ( ) . handleAggWithReference ( type ) ; <nl> - return asImpl ( ) . handleTrivial ( type ) ; <nl> + return asImpl ( ) . handleAggregateByProperties ( type , props ) ; <nl> } <nl> <nl> RetTy visitDynamicSelfType ( CanDynamicSelfType type ) { <nl> namespace { <nl> <nl> RetTy visitSILBlockStorageType ( CanSILBlockStorageType type ) { <nl> / / Should not be loaded . <nl> - return asImpl ( ) . handleAddressOnly ( type ) ; <nl> + return asImpl ( ) . handleAddressOnly ( type , { IsNotTrivial , IsFixedABI , <nl> + IsAddressOnly } ) ; <nl> } <nl> <nl> RetTy visitSILBoxType ( CanSILBoxType type ) { <nl> / / Should not be loaded . <nl> return asImpl ( ) . handleReference ( type ) ; <nl> } <nl> + <nl> + RetTy handleAggregateByProperties ( CanType type , RecursiveProperties props ) { <nl> + if ( props . isAddressOnly ( ) ) { <nl> + return asImpl ( ) . handleAddressOnly ( type , props ) ; <nl> + } <nl> + assert ( props . isFixedABI ( ) & & " unsupported combination for now " ) ; <nl> + if ( props . isTrivial ( ) ) { <nl> + return asImpl ( ) . handleTrivial ( type ) ; <nl> + } <nl> + return asImpl ( ) . handleNonTrivialAggregate ( type , props ) ; <nl> + } <nl> } ; <nl> <nl> class TypeClassifier : <nl> - public TypeClassifierBase < TypeClassifier , LoweredTypeKind > { <nl> + public TypeClassifierBase < TypeClassifier , RecursiveProperties > { <nl> public : <nl> TypeClassifier ( SILModule & M , CanGenericSignature Sig , <nl> ResilienceExpansion Expansion ) <nl> : TypeClassifierBase ( M , Sig , Expansion ) { } <nl> <nl> - LoweredTypeKind handleReference ( CanType type ) { <nl> - return LoweredTypeKind : : Reference ; <nl> - } <nl> - LoweredTypeKind handleAggWithReference ( CanType type ) { <nl> - return LoweredTypeKind : : AggWithReference ; <nl> - } <nl> - LoweredTypeKind <nl> - handleTrivial ( CanType type ) { <nl> - return LoweredTypeKind : : Trivial ; <nl> - } <nl> - <nl> - LoweredTypeKind <nl> - handleTrivialAddressOnly ( CanType type ) { <nl> - return LoweredTypeKind : : TrivialAddressOnly ; <nl> + RecursiveProperties handle ( CanType type , RecursiveProperties properties ) { <nl> + return properties ; <nl> } <nl> <nl> - LoweredTypeKind handleAddressOnly ( CanType type ) { <nl> - return LoweredTypeKind : : AddressOnly ; <nl> - } <nl> - <nl> - LoweredTypeKind visitAnyEnumType ( CanType type , EnumDecl * D ) { <nl> + RecursiveProperties visitAnyEnumType ( CanType type , EnumDecl * D ) { <nl> / / We have to look through optionals here without grabbing the <nl> / / type lowering because the way that optionals are reabstracted <nl> / / can trip recursion checks if we try to build a lowered type . <nl> namespace { <nl> return handleClassificationFromLowering ( type , lowering ) ; <nl> } <nl> <nl> - LoweredTypeKind visitAnyStructType ( CanType type , StructDecl * D ) { <nl> + RecursiveProperties visitAnyStructType ( CanType type , StructDecl * D ) { <nl> / / Consult the type lowering . <nl> type = getSubstitutedTypeForTypeLowering ( type ) ; <nl> auto & lowering = M . Types . getTypeLowering ( type ) ; <nl> namespace { <nl> return type ; <nl> } <nl> <nl> - LoweredTypeKind handleClassificationFromLowering ( CanType type , <nl> + RecursiveProperties handleClassificationFromLowering ( CanType type , <nl> const TypeLowering & lowering ) { <nl> - if ( lowering . isAddressOnly ( ) ) <nl> - return handleAddressOnly ( type ) ; <nl> - if ( lowering . isTrivial ( ) ) <nl> - return handleTrivial ( type ) ; <nl> - return handleAggWithReference ( type ) ; <nl> + return handle ( type , lowering . getRecursiveProperties ( ) ) ; <nl> } <nl> } ; <nl> } / / end anonymous namespace <nl> <nl> - static LoweredTypeKind classifyType ( CanType type , SILModule & M , <nl> - CanGenericSignature sig , <nl> - ResilienceExpansion expansion ) { <nl> + static RecursiveProperties classifyType ( CanType type , SILModule & M , <nl> + CanGenericSignature sig , <nl> + ResilienceExpansion expansion ) { <nl> assert ( ! type - > hasError ( ) & & <nl> " Error types should not appear in type - checked AST " ) ; <nl> <nl> static LoweredTypeKind classifyType ( CanType type , SILModule & M , <nl> bool SILType : : isAddressOnly ( CanType type , SILModule & M , <nl> CanGenericSignature sig , <nl> ResilienceExpansion expansion ) { <nl> - return classifyType ( type , M , sig , expansion ) <nl> - = = LoweredTypeKind : : AddressOnly ; <nl> + return classifyType ( type , M , sig , expansion ) . isAddressOnly ( ) ; <nl> } <nl> <nl> namespace { <nl> namespace { <nl> / / / opaque values are passed by value . <nl> class LoadableTypeLowering : public TypeLowering { <nl> protected : <nl> - LoadableTypeLowering ( SILType type , IsTrivial_t isTrivial , <nl> - IsAddressOnly_t isAddressOnly , <nl> + LoadableTypeLowering ( SILType type , RecursiveProperties properties , <nl> IsReferenceCounted_t isRefCounted ) <nl> - : TypeLowering ( type , isTrivial , isAddressOnly , isRefCounted ) { } <nl> + : TypeLowering ( type , properties , isRefCounted ) { } <nl> <nl> public : <nl> void emitDestroyAddress ( SILBuilder & B , SILLocation loc , <nl> namespace { <nl> } <nl> } ; <nl> <nl> - / / / A class for trivial , loadable types . <nl> + / / / A class for trivial , fixed - layout , loadable types . <nl> class TrivialTypeLowering final : public LoadableTypeLowering { <nl> public : <nl> TrivialTypeLowering ( SILType type ) <nl> - : LoadableTypeLowering ( type , IsTrivial , IsNotAddressOnly , <nl> + : LoadableTypeLowering ( type , { IsTrivial , IsFixedABI , IsNotAddressOnly } , <nl> IsNotReferenceCounted ) { } <nl> <nl> SILValue emitLoadOfCopy ( SILBuilder & B , SILLocation loc , SILValue addr , <nl> namespace { <nl> class NonTrivialLoadableTypeLowering : public LoadableTypeLowering { <nl> public : <nl> NonTrivialLoadableTypeLowering ( SILType type , <nl> - IsAddressOnly_t isAddressOnly , <nl> IsReferenceCounted_t isRefCounted ) <nl> - : LoadableTypeLowering ( type , IsNotTrivial , isAddressOnly , isRefCounted ) { } <nl> + : NonTrivialLoadableTypeLowering ( type , <nl> + { IsNotTrivial , IsFixedABI , IsNotAddressOnly } , <nl> + isRefCounted ) { } <nl> + <nl> + / / / This constructor is necessary because of opaque - values . <nl> + NonTrivialLoadableTypeLowering ( SILType type , <nl> + RecursiveProperties properties , <nl> + IsReferenceCounted_t isRefCounted ) <nl> + : LoadableTypeLowering ( type , properties , isRefCounted ) { <nl> + assert ( ! properties . isTrivial ( ) ) ; <nl> + } <nl> <nl> SILValue emitLoadOfCopy ( SILBuilder & B , SILLocation loc , <nl> SILValue addr , IsTake_t isTake ) const override { <nl> namespace { <nl> public : <nl> LoadableAggTypeLowering ( CanType type ) <nl> : NonTrivialLoadableTypeLowering ( SILType : : getPrimitiveObjectType ( type ) , <nl> - IsNotAddressOnly , <nl> IsNotReferenceCounted ) { <nl> } <nl> <nl> namespace { <nl> public : <nl> LoadableEnumTypeLowering ( CanType type ) <nl> : NonTrivialLoadableTypeLowering ( SILType : : getPrimitiveObjectType ( type ) , <nl> - IsNotAddressOnly , <nl> IsNotReferenceCounted ) { } <nl> <nl> SILValue emitCopyValue ( SILBuilder & B , SILLocation loc , <nl> namespace { <nl> <nl> class LeafLoadableTypeLowering : public NonTrivialLoadableTypeLowering { <nl> public : <nl> - LeafLoadableTypeLowering ( SILType type , <nl> - IsAddressOnly_t isAddressOnly , <nl> + LeafLoadableTypeLowering ( SILType type , RecursiveProperties properties , <nl> IsReferenceCounted_t isRefCounted ) <nl> - : NonTrivialLoadableTypeLowering ( type , isAddressOnly , isRefCounted ) { } <nl> + : NonTrivialLoadableTypeLowering ( type , properties , isRefCounted ) { } <nl> <nl> SILValue emitLoweredCopyValue ( SILBuilder & B , SILLocation loc , <nl> SILValue value , <nl> namespace { <nl> class ReferenceTypeLowering : public LeafLoadableTypeLowering { <nl> public : <nl> ReferenceTypeLowering ( SILType type ) <nl> - : LeafLoadableTypeLowering ( type , IsNotAddressOnly , IsReferenceCounted ) { } <nl> + : LeafLoadableTypeLowering ( type , RecursiveProperties : : forReference ( ) , <nl> + IsReferenceCounted ) { } <nl> <nl> SILValue emitCopyValue ( SILBuilder & B , SILLocation loc , <nl> SILValue value ) const override { <nl> namespace { <nl> class LoadableUnownedTypeLowering final : public LeafLoadableTypeLowering { <nl> public : <nl> LoadableUnownedTypeLowering ( SILType type ) <nl> - : LeafLoadableTypeLowering ( type , IsNotAddressOnly , IsReferenceCounted ) { } <nl> + : LeafLoadableTypeLowering ( type , RecursiveProperties : : forReference ( ) , <nl> + IsReferenceCounted ) { } <nl> <nl> SILValue emitCopyValue ( SILBuilder & B , SILLocation loc , <nl> SILValue value ) const override { <nl> namespace { <nl> / / / A class for non - trivial , address - only types . <nl> class AddressOnlyTypeLowering : public TypeLowering { <nl> public : <nl> - AddressOnlyTypeLowering ( SILType type ) <nl> - : TypeLowering ( type , IsNotTrivial , IsAddressOnly , IsNotReferenceCounted ) <nl> + AddressOnlyTypeLowering ( SILType type , RecursiveProperties properties ) <nl> + : TypeLowering ( type , properties , IsNotReferenceCounted ) <nl> { } <nl> <nl> void emitCopyInto ( SILBuilder & B , SILLocation loc , <nl> namespace { <nl> <nl> void emitDestroyAddress ( SILBuilder & B , SILLocation loc , <nl> SILValue addr ) const override { <nl> - B . emitDestroyAddrAndFold ( loc , addr ) ; <nl> + if ( ! isTrivial ( ) ) <nl> + B . emitDestroyAddrAndFold ( loc , addr ) ; <nl> } <nl> <nl> void emitDestroyRValue ( SILBuilder & B , SILLocation loc , <nl> SILValue value ) const override { <nl> - B . emitDestroyAddrAndFold ( loc , value ) ; <nl> + if ( ! isTrivial ( ) ) <nl> + B . emitDestroyAddrAndFold ( loc , value ) ; <nl> } <nl> <nl> SILValue emitCopyValue ( SILBuilder & B , SILLocation loc , <nl> namespace { <nl> class UnsafeValueBufferTypeLowering : public AddressOnlyTypeLowering { <nl> public : <nl> UnsafeValueBufferTypeLowering ( SILType type ) <nl> - : AddressOnlyTypeLowering ( type ) { } <nl> + : AddressOnlyTypeLowering ( type , <nl> + { IsNotTrivial , IsFixedABI , IsAddressOnly } ) { } <nl> <nl> void emitCopyInto ( SILBuilder & B , SILLocation loc , <nl> SILValue src , SILValue dest , IsTake_t isTake , <nl> namespace { <nl> / / / FIXME : When you remove an unreachable , just delete the method . <nl> class OpaqueValueTypeLowering : public LeafLoadableTypeLowering { <nl> public : <nl> - OpaqueValueTypeLowering ( SILType type ) <nl> - : LeafLoadableTypeLowering ( type , IsAddressOnly , IsNotReferenceCounted ) { } <nl> + OpaqueValueTypeLowering ( SILType type , RecursiveProperties properties ) <nl> + : LeafLoadableTypeLowering ( type , properties , IsNotReferenceCounted ) { } <nl> <nl> void emitCopyInto ( SILBuilder & B , SILLocation loc , <nl> SILValue src , SILValue dest , IsTake_t isTake , <nl> namespace { <nl> } <nl> } ; <nl> <nl> - / / / A class for trivial , address - only types . <nl> - class AddressOnlyTrivialTypeLowering : public TypeLowering { <nl> - public : <nl> - AddressOnlyTrivialTypeLowering ( SILType type ) <nl> - : TypeLowering ( type , IsTrivial , IsAddressOnly , IsNotReferenceCounted ) <nl> - { } <nl> - <nl> - void emitCopyInto ( SILBuilder & B , SILLocation loc , <nl> - SILValue src , SILValue dest , IsTake_t isTake , <nl> - IsInitialization_t isInit ) const override { <nl> - B . createCopyAddr ( loc , src , dest , isTake , isInit ) ; <nl> - } <nl> - <nl> - SILValue emitLoadOfCopy ( SILBuilder & B , SILLocation loc , <nl> - SILValue addr , IsTake_t isTake ) const override { <nl> - llvm_unreachable ( " calling emitLoadOfCopy on non - loadable type " ) ; <nl> - } <nl> - <nl> - void emitStoreOfCopy ( SILBuilder & B , SILLocation loc , <nl> - SILValue newValue , SILValue addr , <nl> - IsInitialization_t isInit ) const override { <nl> - llvm_unreachable ( " calling emitStoreOfCopy on non - loadable type " ) ; <nl> - } <nl> - <nl> - void emitStore ( SILBuilder & B , SILLocation loc , SILValue value , <nl> - SILValue addr , StoreOwnershipQualifier qual ) const override { <nl> - llvm_unreachable ( " calling emitStore on non - loadable type " ) ; <nl> - } <nl> - <nl> - SILValue emitLoad ( SILBuilder & B , SILLocation loc , SILValue addr , <nl> - LoadOwnershipQualifier qual ) const override { <nl> - llvm_unreachable ( " calling emitLoad on non - loadable type " ) ; <nl> - } <nl> - <nl> - void emitDestroyAddress ( SILBuilder & B , SILLocation loc , <nl> - SILValue addr ) const override { <nl> - } <nl> - <nl> - void emitDestroyRValue ( SILBuilder & B , SILLocation loc , <nl> - SILValue value ) const override { <nl> - } <nl> - <nl> - SILValue emitCopyValue ( SILBuilder & B , SILLocation loc , <nl> - SILValue value ) const override { <nl> - llvm_unreachable ( " type is not loadable ! " ) ; <nl> - } <nl> - <nl> - SILValue emitLoweredCopyValue ( SILBuilder & B , SILLocation loc , <nl> - SILValue value , <nl> - TypeExpansionKind style ) const override { <nl> - llvm_unreachable ( " type is not loadable ! " ) ; <nl> - } <nl> - <nl> - void emitDestroyValue ( SILBuilder & B , SILLocation loc , <nl> - SILValue value ) const override { <nl> - llvm_unreachable ( " type is not loadable ! " ) ; <nl> - } <nl> - <nl> - void emitLoweredDestroyValue ( SILBuilder & B , SILLocation loc , SILValue value , <nl> - TypeExpansionKind style ) const override { <nl> - llvm_unreachable ( " type is not loadable ! " ) ; <nl> - } <nl> - } ; <nl> - <nl> - <nl> / / / Build the appropriate TypeLowering subclass for the given type , <nl> / / / which is assumed to already have been lowered . <nl> class LowerType <nl> namespace { <nl> return new ( TC , Dependent ) TrivialTypeLowering ( silType ) ; <nl> } <nl> <nl> - const TypeLowering * <nl> - handleTrivialAddressOnly ( CanType type ) { <nl> - auto silType = SILType : : getPrimitiveObjectType ( type ) ; <nl> - return new ( TC , Dependent ) AddressOnlyTrivialTypeLowering ( silType ) ; <nl> - } <nl> - <nl> const TypeLowering * handleReference ( CanType type ) { <nl> auto silType = SILType : : getPrimitiveObjectType ( type ) ; <nl> return new ( TC , Dependent ) ReferenceTypeLowering ( silType ) ; <nl> } <nl> <nl> - const TypeLowering * handleAddressOnly ( CanType type ) { <nl> + const TypeLowering * handleAddressOnly ( CanType type , <nl> + RecursiveProperties properties ) { <nl> if ( SILModuleConventions ( M ) . useLoweredAddresses ( ) ) { <nl> auto silType = SILType : : getPrimitiveAddressType ( type ) ; <nl> - return new ( TC , Dependent ) AddressOnlyTypeLowering ( silType ) ; <nl> + return new ( TC , Dependent ) AddressOnlyTypeLowering ( silType , properties ) ; <nl> } <nl> auto silType = SILType : : getPrimitiveObjectType ( type ) ; <nl> - return new ( TC , Dependent ) OpaqueValueTypeLowering ( silType ) ; <nl> + return new ( TC , Dependent ) OpaqueValueTypeLowering ( silType , properties ) ; <nl> } <nl> <nl> const TypeLowering * <nl> namespace { <nl> } <nl> <nl> const TypeLowering * visitTupleType ( CanTupleType tupleType ) { <nl> - bool hasOnlyTrivialChildren = true ; <nl> - <nl> + RecursiveProperties properties ; <nl> for ( auto eltType : tupleType . getElementTypes ( ) ) { <nl> auto & lowering = TC . getTypeLowering ( eltType ) ; <nl> - if ( lowering . isAddressOnly ( ) ) <nl> - return handleAddressOnly ( tupleType ) ; <nl> - hasOnlyTrivialChildren & = lowering . isTrivial ( ) ; <nl> + properties . addSubobject ( lowering . getRecursiveProperties ( ) ) ; <nl> } <nl> <nl> - if ( hasOnlyTrivialChildren ) <nl> - return handleTrivial ( tupleType ) ; <nl> - <nl> - return new ( TC , Dependent ) LoadableTupleTypeLowering ( tupleType ) ; <nl> + return handleAggregateByProperties < LoadableTupleTypeLowering > ( tupleType , <nl> + properties ) ; <nl> } <nl> <nl> const TypeLowering * visitAnyStructType ( CanType structType , StructDecl * D ) { <nl> namespace { <nl> / / For now , if the type does not have a fixed layout in all resilience <nl> / / domains , we will treat it as address - only in SIL . <nl> if ( D - > isResilient ( M . getSwiftModule ( ) , Expansion ) ) <nl> - return handleAddressOnly ( structType ) ; <nl> + return handleAddressOnly ( structType , <nl> + RecursiveProperties : : forOpaque ( ) ) ; <nl> <nl> / / Classify the type according to its stored properties . <nl> - bool trivial = true ; <nl> + RecursiveProperties properties ; <nl> for ( auto field : D - > getStoredProperties ( ) ) { <nl> auto substFieldType = <nl> structType - > getTypeOfMember ( D - > getModuleContext ( ) , field , nullptr ) ; <nl> - switch ( classifyType ( substFieldType - > getCanonicalType ( ) , <nl> - M , Sig , Expansion ) ) { <nl> - case LoweredTypeKind : : TrivialAddressOnly : <nl> - case LoweredTypeKind : : AddressOnly : <nl> - return handleAddressOnly ( structType ) ; <nl> - case LoweredTypeKind : : AggWithReference : <nl> - case LoweredTypeKind : : Reference : <nl> - trivial = false ; <nl> - break ; <nl> - case LoweredTypeKind : : Trivial : <nl> - break ; <nl> - } <nl> + properties . addSubobject ( classifyType ( substFieldType - > getCanonicalType ( ) , <nl> + M , Sig , Expansion ) ) ; <nl> } <nl> <nl> - if ( trivial ) <nl> - return handleTrivial ( structType ) ; <nl> - return new ( TC , Dependent ) LoadableStructTypeLowering ( structType ) ; <nl> + return handleAggregateByProperties < LoadableStructTypeLowering > ( structType , <nl> + properties ) ; <nl> } <nl> <nl> const TypeLowering * visitAnyEnumType ( CanType enumType , EnumDecl * D ) { <nl> / / For now , if the type does not have a fixed layout in all resilience <nl> / / domains , we will treat it as address - only in SIL . <nl> if ( D - > isResilient ( M . getSwiftModule ( ) , Expansion ) ) <nl> - return handleAddressOnly ( enumType ) ; <nl> + return handleAddressOnly ( enumType , RecursiveProperties : : forOpaque ( ) ) ; <nl> <nl> / / If the whole enum is indirect , we lower it as if all payload <nl> / / cases were indirect . This means a fixed - layout indirect enum <nl> namespace { <nl> return new ( TC , Dependent ) LoadableEnumTypeLowering ( enumType ) ; <nl> } <nl> <nl> - / / If any of the enum elements have address - only data , the enum is <nl> - / / address - only . <nl> - bool trivial = true ; <nl> + / / Accumulate the properties of all direct payloads . <nl> + RecursiveProperties properties ; <nl> for ( auto elt : D - > getAllElements ( ) ) { <nl> - / / No - payload elements do not affect address - only - ness . <nl> + / / No - payload elements do not affect any recursive properties . <nl> if ( ! elt - > hasAssociatedValues ( ) ) <nl> continue ; <nl> <nl> - / / Indirect elements make the type nontrivial , but don ' t affect <nl> - / / address - only - ness . <nl> + / / Indirect elements only make the type nontrivial . <nl> if ( elt - > isIndirect ( ) ) { <nl> - trivial = false ; <nl> + properties . setNonTrivial ( ) ; <nl> continue ; <nl> } <nl> <nl> namespace { <nl> elt - > getArgumentInterfaceType ( ) ) <nl> - > getCanonicalType ( ) ; <nl> <nl> - switch ( classifyType ( substEltType , M , Sig , Expansion ) ) { <nl> - case LoweredTypeKind : : TrivialAddressOnly : <nl> - case LoweredTypeKind : : AddressOnly : <nl> - return handleAddressOnly ( enumType ) ; <nl> - case LoweredTypeKind : : AggWithReference : <nl> - case LoweredTypeKind : : Reference : <nl> - trivial = false ; <nl> - break ; <nl> - case LoweredTypeKind : : Trivial : <nl> - break ; <nl> - } <nl> - <nl> + properties . addSubobject ( classifyType ( substEltType , M , Sig , Expansion ) ) ; <nl> + } <nl> + <nl> + return handleAggregateByProperties < LoadableEnumTypeLowering > ( enumType , <nl> + properties ) ; <nl> + } <nl> + <nl> + template < class LoadableLoweringClass > <nl> + const TypeLowering * handleAggregateByProperties ( CanType type , <nl> + RecursiveProperties props ) { <nl> + if ( props . isAddressOnly ( ) ) { <nl> + return handleAddressOnly ( type , props ) ; <nl> + } <nl> + assert ( props . isFixedABI ( ) ) ; <nl> + if ( props . isTrivial ( ) ) { <nl> + return handleTrivial ( type ) ; <nl> } <nl> - if ( trivial ) <nl> - return handleTrivial ( enumType ) ; <nl> - return new ( TC , Dependent ) LoadableEnumTypeLowering ( enumType ) ; <nl> + return new ( TC , Dependent ) LoadableLoweringClass ( type ) ; <nl> } <nl> } ; <nl> } / / end anonymous namespace <nl>
Track whether types are fixed - ABI and ABI - accessible at the SIL level .
apple/swift
30fa1df0fad6626f6f574ce0c5ac2cb71a48db3e
2018-05-15T19:07:32Z