Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 857 for Nil$ (0.05 sec)

  1. cmd/storage-rest-common_gen_test.go

    	v := nsScannerOptions{}
    	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: Tue Nov 21 01:09:35 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  2. internal/config/identity/openid/jwks.go

    	switch key.Kty {
    	case "RSA":
    		if key.N == "" || key.E == "" {
    			return nil, errMalformedJWKRSAKey
    		}
    
    		// decode exponent
    		ebuf, err := base64.RawURLEncoding.DecodeString(key.E)
    		if err != nil {
    			return nil, errMalformedJWKRSAKey
    		}
    
    		nbuf, err := base64.RawURLEncoding.DecodeString(key.N)
    		if err != nil {
    			return nil, errMalformedJWKRSAKey
    		}
    
    		var n, e big.Int
    		n.SetBytes(nbuf)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Apr 02 23:02:35 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. cmd/admin-handlers.go

    			isDir:   si.Dir,
    			sys:     nil,
    		})
    		if zerr != nil {
    			bugLogIf(ctx, zerr)
    			return nil
    		}
    		header.Method = zip.Deflate
    		zwriter, zerr := inspectZipW.CreateHeader(header)
    		if zerr != nil {
    			bugLogIf(ctx, zerr)
    			return nil
    		}
    		if _, err := io.Copy(zwriter, r); err != nil {
    			adminLogIf(ctx, err)
    		}
    		return nil
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  4. cmd/mrf_gen.go

    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.VersionID)
    	if err != nil {
    		err = msgp.WrapError(err, "VersionID")
    		return
    	}
    	// write "Versions"
    	err = en.Append(0xa8, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73)
    	if err != nil {
    		return
    	}
    	err = en.WriteBytes(z.Versions)
    	if err != nil {
    		err = msgp.WrapError(err, "Versions")
    		return
    	}
    	// write "SetIndex"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:26:05 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. cmd/common-main.go

    	if !(isFile(getPublicCertFile()) && isFile(getPrivateKeyFile())) {
    		return nil, nil, false, nil
    	}
    
    	if x509Certs, err = config.ParsePublicCertFile(getPublicCertFile()); err != nil {
    		return nil, nil, false, err
    	}
    
    	manager, err = certs.NewManager(GlobalContext, getPublicCertFile(), getPrivateKeyFile(), config.LoadX509KeyPair)
    	if err != nil {
    		return nil, nil, false, err
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  6. cmd/background-newdisks-heal-ops_gen_test.go

    	v := healingTracker{}
    	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: Fri Apr 23 18:58:53 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  7. internal/s3select/select.go

    		return errors.New("ScanRange: Start cannot be after end")
    	}
    	return nil
    }
    
    // StartLen returns start offset plus length from range.
    func (s *ScanRange) StartLen() (start, length int64, err error) {
    	if s == nil {
    		return 0, -1, nil
    	}
    	err = s.Validate()
    	if err != nil {
    		return 0, 0, err
    	}
    
    	if s.End == nil && s.Start == nil {
    		// Not valid, but should be caught above.
    		return 0, -1, nil
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  8. cmd/admin-bucket-handlers.go

    			rpt.SetStatus(bucket, fileName, nil)
    		}
    	}
    
    	enc := func(b []byte) *string {
    		if b == nil {
    			return nil
    		}
    		v := base64.StdEncoding.EncodeToString(b)
    		return &v
    	}
    
    	for bucket, meta := range bucketMap {
    		err := globalBucketMetadataSys.save(ctx, *meta)
    		if err != nil {
    			rpt.SetStatus(bucket, "", err)
    			continue
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  9. cmd/bucket-policy-handlers_test.go

    	nilBucket := "dummy-bucket"
    
    	nilReq, err := newTestSignedRequestV4(http.MethodPut, getPutPolicyURL("", nilBucket),
    		0, nil, "", "", nil)
    	if err != nil {
    		t.Errorf("MinIO %s: Failed to create HTTP request for testing the response when object Layer is set to `nil`.", instanceType)
    	}
    	// execute the object layer set to `nil` test.
    	// `ExecObjectLayerAPINilTest` manages the operation.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  10. internal/event/target/webhook.go

    	}
    	defer conn.Close()
    	return true, nil
    }
    
    // Save - saves the events to the store if queuestore is configured,
    // which will be replayed when the webhook connection is active.
    func (target *WebhookTarget) Save(eventData event.Event) error {
    	if target.store != nil {
    		_, err := target.store.Put(eventData)
    		return err
    	}
    	if err := target.init(); err != nil {
    		return err
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.8K bytes
    - Viewed (0)
Back to top