Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 857 for NIL (0.06 sec)

  1. cmd/bucket-replication-utils_gen_test.go

    	v := BucketReplicationResyncStatus{}
    	bts, err := v.MarshalMsg(nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    	left, err := v.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left)
    	}
    
    	left, err = msgp.Skip(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Aug 22 23:53:06 UTC 2022
    - 23K bytes
    - Viewed (0)
  2. cmd/sts-handlers.go

    func (c stsClaims) populateSessionPolicy(form url.Values) error {
    	if len(form) == 0 {
    		return nil
    	}
    
    	sessionPolicyStr := form.Get(stsPolicy)
    	if len(sessionPolicyStr) == 0 {
    		return nil
    	}
    
    	sessionPolicy, err := policy.ParseConfig(bytes.NewReader([]byte(sessionPolicyStr)))
    	if err != nil {
    		return err
    	}
    
    	// Version in policy must not be empty
    	if sessionPolicy.Version == "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 01:29:20 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  3. cmd/xl-storage-format-utils_test.go

    		Mode:             0,
    		Metadata:         nil,
    		Parts:            nil,
    		Erasure: ErasureInfo{
    			Algorithm:    ReedSolomon.String(),
    			DataBlocks:   4,
    			ParityBlocks: 2,
    			BlockSize:    10000,
    			Index:        1,
    			Distribution: []int{1, 2, 3, 4, 5, 6, 7, 8},
    			Checksums: []ChecksumInfo{{
    				PartNumber: 1,
    				Algorithm:  HighwayHash256S,
    				Hash:       nil,
    			}},
    		},
    		MarkDeleted:      false,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  4. tests/joins_test.go

    		if users2[idx].Manager == nil {
    			t.Fatalf("Failed to load Manager")
    		}
    		// manager
    		CheckUser(t, *user.Manager, *users2[idx].Manager)
    		// user pet
    		if users2[idx].NamedPet == nil {
    			t.Fatalf("Failed to load NamedPet")
    		}
    		CheckPet(t, *user.NamedPet, *users2[idx].NamedPet)
    		// manager pet
    		if users2[idx].Manager.NamedPet == nil {
    			t.Fatalf("Failed to load NamedPet")
    		}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 17 03:58:13 UTC 2024
    - 15K bytes
    - Viewed (0)
  5. cmd/site-replication.go

    	objAPI := newObjectLayerFn()
    	if objAPI == nil {
    		return errServerNotInitialized
    	}
    
    	if globalDNSConfig != nil {
    		if err := globalDNSConfig.Delete(bucket); err != nil {
    			return err
    		}
    	}
    	err := objAPI.DeleteBucket(ctx, bucket, opts)
    	if err != nil {
    		if globalDNSConfig != nil {
    			if err2 := globalDNSConfig.Put(bucket); err2 != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
  6. internal/bucket/lifecycle/expiration.go

    	var exp expirationWrapper
    	err := d.DecodeElement(&exp, &startElement)
    	if err != nil {
    		return err
    	}
    	*e = Expiration(exp)
    	e.set = true
    	return nil
    }
    
    // Validate - validates the "Expiration" element
    func (e Expiration) Validate() error {
    	if !e.set {
    		return nil
    	}
    
    	// DeleteMarker cannot be specified if date or dates are specified.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Feb 21 20:28:34 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. internal/dsync/dsync-client_test.go

    	buf, err := args.MarshalMsg(nil)
    	if err != nil {
    		return false, err
    	}
    	body := bytes.NewReader(buf)
    	respBody, err := restClient.rest.Call(context.Background(), method,
    		url.Values{}, body, body.Size())
    	defer xhttp.DrainBody(respBody)
    
    	switch toLockError(err) {
    	case nil:
    		return true, nil
    	case errLockConflict, errLockNotFound:
    		return false, nil
    	default:
    		return false, err
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 20 17:36:09 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  8. internal/logger/target/testlogger/testlogger.go

    	return nil
    }
    
    func (t *testLogger) IsOnline(ctx context.Context) bool {
    	return t.current.Load() != nil
    }
    
    func (t *testLogger) Cancel() {
    	t.current.Store(nil)
    }
    
    func (t *testLogger) Send(ctx context.Context, entry interface{}) error {
    	tb := t.current.Load()
    	var logf func(format string, args ...any)
    	if tb != nil {
    		tbb := *tb
    		tbb.Helper()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. cmd/erasure-server-pool-decom_gen_test.go

    	v := PoolDecommissionInfo{}
    	bts, err := v.MarshalMsg(nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    	left, err := v.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left)
    	}
    
    	left, err = msgp.Skip(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jan 12 02:48:43 UTC 2022
    - 11K bytes
    - Viewed (0)
  10. cmd/batch-job-common-types_gen_test.go

    	v := BatchJobKV{}
    	bts, err := v.MarshalMsg(nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    	left, err := v.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left)
    	}
    
    	left, err = msgp.Skip(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 02 10:51:33 UTC 2023
    - 11.3K bytes
    - Viewed (0)
Back to top