Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 59 of 59 for Raw (5.66 sec)

  1. internal/s3select/sql/statement.go

    func (e *SelectStatement) EvalFrom(format string, input Record) ([]*Record, error) {
    	if !e.selectAST.From.HasKeypath() {
    		return []*Record{&input}, nil
    	}
    	_, rawVal := input.Raw()
    
    	if format != "json" {
    		return nil, errDataSource(errors.New("path not supported"))
    	}
    	switch rec := rawVal.(type) {
    	case jstream.KVS:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 09 17:19:11 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  2. internal/s3select/sql/evaluate.go

    }
    
    func (e *JSONPath) evalNode(r Record, tableAlias string) (*Value, error) {
    	alias := tableAlias
    	if tableAlias == "" {
    		alias = baseTableName
    	}
    	pathExpr := e.StripTableAlias(alias)
    	_, rawVal := r.Raw()
    	switch rowVal := rawVal.(type) {
    	case jstream.KVS, simdjson.Object:
    		if len(pathExpr) == 0 {
    			pathExpr = []*JSONPathElement{{Key: &ObjectKey{ID: e.BaseKey}}}
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 12K bytes
    - Viewed (0)
  3. src/archive/tar/reader.go

    	}
    	return paxHdrs, nil
    }
    
    // readHeader reads the next block header and assumes that the underlying reader
    // is already aligned to a block boundary. It returns the raw block of the
    // header in case further processing is required.
    //
    // The err will be set to io.EOF only when one of the following occurs:
    //   - Exactly 0 bytes are read and EOF is hit.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  4. cmd/metrics-v2.go

    	s3MetricNamespace        MetricNamespace = "minio_s3"
    )
    
    const (
    	cacheSubsystem            MetricSubsystem = "cache"
    	capacityRawSubsystem      MetricSubsystem = "capacity_raw"
    	capacityUsableSubsystem   MetricSubsystem = "capacity_usable"
    	driveSubsystem            MetricSubsystem = "drive"
    	interfaceSubsystem        MetricSubsystem = "if"
    	memSubsystem              MetricSubsystem = "mem"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  5. src/archive/zip/reader_test.go

    			readTestZip(t, zt)
    		})
    	}
    }
    
    func readTestZip(t *testing.T, zt ZipTest) {
    	var z *Reader
    	var err error
    	var raw []byte
    	if zt.Source != nil {
    		rat, size := zt.Source()
    		z, err = NewReader(rat, size)
    		raw = make([]byte, size)
    		if _, err := rat.ReadAt(raw, 0); err != nil {
    			t.Errorf("ReadAt error=%v", err)
    			return
    		}
    	} else {
    		path := filepath.Join("testdata", zt.Name)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  6. src/archive/tar/common.go

    // no holes in it). On the other hand, the zero value of sparseDatas implies
    // that the file has no data in it, which is rather odd.
    //
    // As an example, if the underlying raw file contains the 10-byte data:
    //
    //	var compactFile = "abcdefgh"
    //
    // And the sparse map has the following entries:
    //
    //	var spd sparseDatas = []sparseEntry{
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  7. cmd/erasure-multipart.go

    			cs := hash.NewChecksumString(checksumType.String(), crc)
    			if !cs.Valid() {
    				return oi, InvalidPart{
    					PartNumber: part.PartNumber,
    				}
    			}
    			checksumCombined = append(checksumCombined, cs.Raw...)
    		}
    
    		// All parts except the last part has to be at least 5MB.
    		if (i < len(parts)-1) && !isMinAllowedPartSize(currentFI.Parts[partIdx].ActualSize) {
    			return oi, PartTooSmall{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  8. cmd/admin-handlers.go

    		pub = block.Bytes
    	}
    	key, err := x509.ParsePKCS1PublicKey(pub)
    	if err != nil {
    		return nil, err
    	}
    	return key, nil
    }
    
    // getRawDataer provides an interface for getting raw FS files.
    type getRawDataer interface {
    	GetRawData(ctx context.Context, volume, file string, fn func(r io.Reader, host string, disk string, filename string, info StatInfo) error) error
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  9. cmd/xl-storage-format-v2.go

    	header xlMetaV2VersionHeader
    	meta   []byte
    }
    
    //msgp:ignore xlMetaV2 xlMetaV2ShallowVersion
    
    type xlMetaV2 struct {
    	versions []xlMetaV2ShallowVersion
    
    	// data will contain raw data if any.
    	// data will be one or more versions indexed by versionID.
    	// To remove all data set to nil.
    	data xlMetaInlineData
    
    	// metadata version.
    	metaV uint8
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
Back to top