Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for dstReg (0.14 sec)

  1. internal/s3select/json/reader.go

    		// i.e. a map with `_1` as key and value as the
    		// non-object.
    		kvs = jstream.KVS{jstream.KV{Key: "_1", Value: v.Value}}
    	}
    
    	dstRec, ok := dst.(*Record)
    	if !ok {
    		dstRec = &Record{}
    	}
    	dstRec.KVS = kvs
    	dstRec.SelectFormat = sql.SelectFmtJSON
    	return dstRec, nil
    }
    
    // Close - closes underlying reader.
    func (r *Reader) Close() error {
    	// Close the input.
    	err := r.readCloser.Close()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Mar 24 03:58:53 UTC 2022
    - 3K bytes
    - Viewed (0)
  2. pkg/proto/merge/merge.go

    	for _, opt := range opts {
    		mo = opt(mo)
    	}
    	dstMsg, srcMsg := dst.ProtoReflect(), src.ProtoReflect()
    	if dstMsg.Descriptor() != srcMsg.Descriptor() {
    		if got, want := dstMsg.Descriptor().FullName(), srcMsg.Descriptor().FullName(); got != want {
    			panic(fmt.Sprintf("descriptor mismatch: %v != %v", got, want))
    		}
    		panic("descriptor mismatch")
    	}
    	mo.mergeMessage(dstMsg, srcMsg)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 21 17:31:22 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  3. internal/s3select/parquet/reader.go

    			}
    		}
    		kvs = append(kvs, jstream.KV{Key: col.FlatName(), Value: value})
    	}
    
    	// Reuse destination if we can.
    	dstRec, ok := dst.(*jsonfmt.Record)
    	if !ok {
    		dstRec = &jsonfmt.Record{}
    	}
    	dstRec.SelectFormat = sql.SelectFmtParquet
    	dstRec.KVS = kvs
    	return dstRec, nil
    }
    
    // convertFromAnnotation - converts values based on the Parquet column's type
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 14 13:54:47 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  4. internal/s3select/simdj/reader.go

    	v, ok := <-r.decoded
    	if !ok {
    		if r.err != nil && *r.err != nil {
    			return nil, errJSONParsingError(*r.err)
    		}
    		return nil, io.EOF
    	}
    	dstRec, ok := dst.(*Record)
    	if !ok {
    		dstRec = &Record{}
    	}
    	dstRec.object = v
    	return dstRec, nil
    }
    
    // Close - closes underlying reader.
    func (r *Reader) Close() error {
    	// Close the input.
    	// Potentially racy if the stream decoder is still reading.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 30 17:02:22 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  5. internal/s3select/csv/reader.go

    		for i := range r.columnNames {
    			r.nameIndexMap[r.columnNames[i]] = int64(i)
    		}
    	}
    	dstRec, ok := dst.(*Record)
    	if !ok {
    		dstRec = &Record{}
    	}
    	dstRec.columnNames = r.columnNames
    	dstRec.csvRecord = csvRecord
    	dstRec.nameIndexMap = r.nameIndexMap
    
    	return dstRec, nil
    }
    
    // Close - closes underlying reader.
    func (r *Reader) Close() error {
    	if r.close != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  6. internal/s3select/json/preader.go

    		r.current = <-item.dst
    		r.err = item.err
    		r.recordsRead = 0
    	}
    	kvRecord := r.current[r.recordsRead]
    	r.recordsRead++
    
    	dstRec, ok := dst.(*Record)
    	if !ok {
    		dstRec = &Record{}
    	}
    	dstRec.KVS = kvRecord
    	dstRec.SelectFormat = sql.SelectFmtJSON
    	return dstRec, nil
    }
    
    // Close - closes underlying reader.
    func (r *PReader) Close() error {
    	if r.close != nil {
    		close(r.close)
    		r.readerWg.Wait()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Mar 05 04:57:35 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  7. src/internal/bytealg/count_s390x.s

    	VSUMQF V_VAL, V_ZERO, V_CNT // [4]uint32{x0, x1, x2, x3} → [1]uint128{x0+x1+x2+x3}
    
    	// Return rightmost (lowest) 64-bit part of accumulator.
    	VSTEG $1, V_CNT, (R_RET)
    	RET
    
    vxchunks:
    	// Load 0x01 into every byte element in the 16-byte mask vector.
    	VREPIB $1, V_MASK // V_MASK = [16]byte{1, 1, ..., 1, 1}
    	VZERO  V_CNT      // initial uint128 count of 0
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 15 21:04:43 UTC 2019
    - 5.4K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/s390x/anames.go

    	"VSCEG",
    	"VSEL",
    	"VSL",
    	"VSLB",
    	"VSLDB",
    	"VSRA",
    	"VSRAB",
    	"VSRL",
    	"VSRLB",
    	"VSEG",
    	"VSEGB",
    	"VSEGH",
    	"VSEGF",
    	"VST",
    	"VSTEH",
    	"VSTEF",
    	"VSTEG",
    	"VSTEB",
    	"VSTM",
    	"VSTL",
    	"VSTRC",
    	"VSTRCB",
    	"VSTRCH",
    	"VSTRCF",
    	"VSTRCBS",
    	"VSTRCHS",
    	"VSTRCFS",
    	"VSTRCZB",
    	"VSTRCZH",
    	"VSTRCZF",
    	"VSTRCZBS",
    	"VSTRCZHS",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 16:41:03 UTC 2023
    - 7.1K bytes
    - Viewed (0)
Back to top