Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 651 for Nil (0.02 sec)

  1. 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)
  2. 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)
  3. internal/config/identity/ldap/ldap.go

    	conn, err := l.LDAP.Connect()
    	if err != nil {
    		return nil, nil, err
    	}
    	defer conn.Close()
    
    	// Bind to the lookup user account
    	if err = l.LDAP.LookupBind(conn); err != nil {
    		return nil, nil, err
    	}
    
    	// Lookup user DN
    	lookupRes, err := l.LDAP.LookupUsername(conn, username)
    	if err != nil {
    		errRet := fmt.Errorf("Unable to find user DN: %w", err)
    		return nil, nil, errRet
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 01:04:53 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. cmd/batch-handlers_gen.go

    					z.KeyRotate = new(BatchJobKeyRotateV1)
    				}
    				err = z.KeyRotate.DecodeMsg(dc)
    				if err != nil {
    					err = msgp.WrapError(err, "KeyRotate")
    					return
    				}
    			}
    		case "Expire":
    			if dc.IsNil() {
    				err = dc.ReadNil()
    				if err != nil {
    					err = msgp.WrapError(err, "Expire")
    					return
    				}
    				z.Expire = nil
    			} else {
    				if z.Expire == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  8. cmd/local-locker_gen.go

    	err = en.Append(0x89, 0xa4, 0x4e, 0x61, 0x6d, 0x65)
    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.Name)
    	if err != nil {
    		err = msgp.WrapError(err, "Name")
    		return
    	}
    	// write "Writer"
    	err = en.Append(0xa6, 0x57, 0x72, 0x69, 0x74, 0x65, 0x72)
    	if err != nil {
    		return
    	}
    	err = en.WriteBool(z.Writer)
    	if err != nil {
    		err = msgp.WrapError(err, "Writer")
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  9. internal/grid/types.go

    func (b *Bytes) UnmarshalMsg(bytes []byte) ([]byte, error) {
    	if b == nil {
    		return bytes, errors.New("Bytes: UnmarshalMsg on nil pointer")
    	}
    	if bytes, err := msgp.ReadNilBytes(bytes); err == nil {
    		if *b != nil {
    			PutByteBuffer(*b)
    		}
    		*b = nil
    		return bytes, nil
    	}
    	val, bytes, err := msgp.ReadBytesZC(bytes)
    	if err != nil {
    		return bytes, err
    	}
    	if cap(*b) >= len(val) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  10. src/archive/tar/writer_test.go

    			t.Errorf("WriteHeader() = got %v, want non-nil error", err)
    		}
    		if _, err := tw.Write(nil); err == nil {
    			t.Errorf("Write() = %v, want non-nil error", err)
    		}
    		if err := tw.Flush(); err == nil {
    			t.Errorf("Flush() = %v, want non-nil error", err)
    		}
    		if err := tw.Close(); err == nil {
    			t.Errorf("Close() = %v, want non-nil error", err)
    		}
    	})
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 39.4K bytes
    - Viewed (0)
Back to top