Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,124 for nil (0.03 sec)

  1. docs/debugging/inspect/export.go

    		b, e := io.ReadAll(r)
    		if e != nil {
    			return nil, e
    		}
    		b, _, minor, e := checkXL2V1(b)
    		if e != nil {
    			return nil, e
    		}
    
    		buf := bytes.NewBuffer(nil)
    		var data xlMetaInlineData
    		switch minor {
    		case 0:
    			_, e = msgp.CopyToJSON(buf, bytes.NewReader(b))
    			if e != nil {
    				return nil, e
    			}
    		case 1, 2:
    			v, b, e := msgp.ReadBytesZC(b)
    			if e != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 08 15:58:02 UTC 2022
    - 9.1K bytes
    - Viewed (0)
  2. cmd/erasure-healing_test.go

    				errDiskNotFound,
    				nil,
    				nil,
    			},
    			dataErrs:         nil,
    			expectedMeta:     fi,
    			expectedDangling: false,
    		},
    		{
    			name: "FileInfoExists-case2",
    			metaArr: []FileInfo{
    				{},
    				{},
    				fi,
    				fi,
    			},
    			errs: []error{
    				errFileNotFound,
    				errFileNotFound,
    				nil,
    				nil,
    			},
    			dataErrs:         nil,
    			expectedMeta:     fi,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  3. cmd/batch-job-common-types_gen.go

    			return
    		}
    	} else {
    		err = en.WriteBool(*z.Disable)
    		if err != nil {
    			err = msgp.WrapError(err, "Disable")
    			return
    		}
    	}
    	// write "Batch"
    	err = en.Append(0xa5, 0x42, 0x61, 0x74, 0x63, 0x68)
    	if err != nil {
    		return
    	}
    	if z.Batch == nil {
    		err = en.WriteNil()
    		if err != nil {
    			return
    		}
    	} else {
    		err = en.WriteInt(*z.Batch)
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 02 10:51:33 UTC 2023
    - 21.9K bytes
    - Viewed (0)
  4. cmd/bucket-stats_gen.go

    	if err != nil {
    		return
    	}
    	err = en.WriteFloat64(z.CurrentBandwidthInBytesPerSecond)
    	if err != nil {
    		err = msgp.WrapError(err, "CurrentBandwidthInBytesPerSecond")
    		return
    	}
    	// write "lt"
    	err = en.Append(0xa2, 0x6c, 0x74)
    	if err != nil {
    		return
    	}
    	if z.XferRateLrg == nil {
    		err = en.WriteNil()
    		if err != nil {
    			return
    		}
    	} else {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  5. istioctl/pkg/kubeinject/kubeinject.go

    	values, meshConfig, err := getIOPConfigs()
    	if err != nil {
    		return nil, nil, err
    	}
    	if meshConfig == nil {
    		if meshConfigFile != "" {
    			if meshConfig, err = mesh.ReadMeshConfig(meshConfigFile); err != nil {
    				return nil, nil, err
    			}
    		} else {
    			if meshConfig, err = getMeshConfigFromConfigMap(cliContext, "kube-inject", revision); err != nil {
    				return nil, nil, err
    			}
    		}
    	}
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 21K bytes
    - Viewed (0)
  6. cmd/metacache-stream.go

    func (w *metacacheWriter) write(objs ...metaCacheEntry) error {
    	if w == nil {
    		return errors.New("metacacheWriter: nil writer")
    	}
    	if len(objs) == 0 {
    		return nil
    	}
    	if w.creator != nil {
    		err := w.creator()
    		w.creator = nil
    		if err != nil {
    			return fmt.Errorf("metacacheWriter: unable to create writer: %w", err)
    		}
    		if w.mw == nil {
    			return errors.New("metacacheWriter: writer not initialized")
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  7. internal/s3select/sql/record.go

    		v, err := iter.String()
    		if err != nil {
    			return nil, err
    		}
    		return v, nil
    	case simdjson.TypeFloat:
    		v, err := iter.Float()
    		if err != nil {
    			return nil, err
    		}
    		return v, nil
    	case simdjson.TypeInt:
    		v, err := iter.Int()
    		if err != nil {
    			return nil, err
    		}
    		return v, nil
    	case simdjson.TypeUint:
    		v, err := iter.Int()
    		if err != nil {
    			// Can't fit into int, convert to float.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 3.4K bytes
    - Viewed (0)
  8. cmd/erasure-server-pool-decom_gen.go

    	if err != nil {
    		return
    	}
    	err = en.WriteTime(z.LastUpdate)
    	if err != nil {
    		err = msgp.WrapError(err, "LastUpdate")
    		return
    	}
    	// write "dec"
    	err = en.Append(0xa3, 0x64, 0x65, 0x63)
    	if err != nil {
    		return
    	}
    	if z.Decommission == nil {
    		err = en.WriteNil()
    		if err != nil {
    			return
    		}
    	} else {
    		err = z.Decommission.EncodeMsg(en)
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 04 21:02:54 UTC 2022
    - 26.7K bytes
    - Viewed (0)
  9. cmd/batch-expire_gen.go

    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.APIVersion)
    	if err != nil {
    		err = msgp.WrapError(err, "APIVersion")
    		return
    	}
    	// write "Bucket"
    	err = en.Append(0xa6, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74)
    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.Bucket)
    	if err != nil {
    		err = msgp.WrapError(err, "Bucket")
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  10. internal/s3select/sql/statement.go

    			for i, val := range v {
    				tmpRec := input.Clone(nil)
    				if err = tmpRec.Replace(val); err != nil {
    					return nil, err
    				}
    				recs[i] = &tmpRec
    			}
    			return recs, nil
    
    		default:
    			kvs = jstream.KVS{jstream.KV{Key: "_1", Value: v}}
    		}
    
    		if err = input.Replace(kvs); err != nil {
    			return nil, err
    		}
    
    		return []*Record{&input}, nil
    	case simdjson.Object:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top