Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for AdvanceIter (0.12 sec)

  1. internal/s3select/simdj/reader_amd64_test.go

    			}
    			if false {
    				t.Log(string(b))
    			}
    			// _ = os.WriteFile(filepath.Join("testdata", tt.name+".json"), b, os.ModePerm)
    
    		parser:
    			for {
    				var next simdjson.Iter
    				typ, err := i.AdvanceIter(&next)
    				if err != nil {
    					t.Fatal(err)
    				}
    				switch typ {
    				case simdjson.TypeNone:
    					close(dst)
    					break parser
    				case simdjson.TypeRoot:
    					typ, obj, err := next.Root(nil)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  2. internal/s3select/sql/record.go

    	case simdjson.TypeArray:
    		arr, err := iter.Array(nil)
    		if err != nil {
    			return nil, err
    		}
    		iter := arr.Iter()
    		var dst []interface{}
    		var next simdjson.Iter
    		for {
    			typ, err := iter.AdvanceIter(&next)
    			if err != nil {
    				return nil, err
    			}
    			if typ == simdjson.TypeNone {
    				break
    			}
    			v, err := IterToValue(next)
    			if err != nil {
    				return nil, err
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 3.4K bytes
    - Viewed (0)
  3. internal/s3select/simdj/reader.go

    			return
    		}
    		if in.Value == nil {
    			if in.Error == io.EOF {
    				return
    			}
    			continue
    		}
    		i := in.Value.Iter()
    	readloop:
    		for {
    			var next simdjson.Iter
    			typ, err := i.AdvanceIter(&next)
    			if err != nil {
    				r.err = &err
    				return
    			}
    			switch typ {
    			case simdjson.TypeNone:
    				break readloop
    			case simdjson.TypeRoot:
    				typ, obj, err := next.Root(nil)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 30 17:02:22 UTC 2023
    - 4.9K bytes
    - Viewed (0)
Back to top