Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for MaxDepth (0.07 sec)

  1. internal/s3select/jstream/decoder_test.go

    		// Arrays:
    		{input: `[[[[[[[[[[[[[[[[[[[[[["ok"]]]]]]]]]]]]]]]]]]]]]]`, maxDepth: 2, mustFail: true},
    		{input: `[[[[[[[[[[[[[[[[[[[[[["ok"]]]]]]]]]]]]]]]]]]]]]]`, maxDepth: 10, mustFail: true},
    		{input: `[[[[[[[[[[[[[[[[[[[[[["ok"]]]]]]]]]]]]]]]]]]]]]]`, maxDepth: 100, mustFail: false},
    		// Objects:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerContext.java

            this.maxThreadCheckCount = maxThreadCheckCount;
        }
    
        public int getMaxDepth() {
            return maxDepth;
        }
    
        public void setMaxDepth(final int maxDepth) {
            this.maxDepth = maxDepth;
        }
    
        public long getMaxAccessCount() {
            return maxAccessCount;
        }
    
        public void setMaxAccessCount(final long maxAccessCount) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java

        }
    
        public void setMaxThreadCheckCount(final int maxThreadCheckCount) {
            crawlerContext.maxThreadCheckCount = maxThreadCheckCount;
        }
    
        public void setMaxDepth(final int maxDepth) {
            crawlerContext.maxDepth = maxDepth;
        }
    
        public void setMaxAccessCount(final long maxAccessCount) {
            crawlerContext.maxAccessCount = maxAccessCount;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. internal/s3select/sql/jsonpath_test.go

    	"github.com/alecthomas/participle"
    	"github.com/minio/minio/internal/s3select/jstream"
    )
    
    func getJSONStructs(b []byte) ([]interface{}, error) {
    	dec := jstream.NewDecoder(bytes.NewBuffer(b), 0).ObjectAsKVS().MaxDepth(100)
    	var result []interface{}
    	for parsedVal := range dec.Stream() {
    		result = append(result, parsedVal.Value)
    	}
    	if err := dec.Err(); err != nil {
    		return nil, err
    	}
    	return result, nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. internal/s3select/json/reader.go

    func NewReader(readCloser io.ReadCloser, args *ReaderArgs) *Reader {
    	readCloser = &syncReadCloser{rc: readCloser}
    	d := jstream.NewDecoder(io.LimitReader(readCloser, maxDocumentSize), 0).ObjectAsKVS().MaxDepth(100)
    	return &Reader{
    		args:       args,
    		decoder:    d,
    		valueCh:    d.Stream(),
    		readCloser: readCloser,
    	}
    }
    
    // syncReadCloser will wrap a readcloser and make it safe to call Close while
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. internal/s3select/json/preader.go

    					continue
    				}
    				dst, ok := r.kvDstPool.Get().([]jstream.KVS)
    				if !ok {
    					dst = make([]jstream.KVS, 0, 1000)
    				}
    
    				d := jstream.NewDecoder(bytes.NewBuffer(in.input), 0).ObjectAsKVS().MaxDepth(100)
    				stream := d.Stream()
    				all := dst[:0]
    				for mv := range stream {
    					var kvs jstream.KVS
    					if mv.ValueType == jstream.Object {
    						// This is a JSON object type (that preserves key
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top