Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 857 for Nil$ (0.04 sec)

  1. cmd/object_api_suite_test.go

    	err := obj.MakeBucket(context.Background(), "string", MakeBucketOptions{})
    	if err != nil {
    		t.Fatalf("%s: <ERROR> %s", instanceType, err)
    	}
    	err = obj.MakeBucket(context.Background(), "string", MakeBucketOptions{})
    	if err == nil {
    		t.Fatalf("%s: Expected error but found nil.", instanceType)
    	}
    
    	if err.Error() != "Bucket exists: string" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 02 15:13:05 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  2. cmd/healthcheck-handler.go

    	objLayer := newObjectLayerFn()
    	if objLayer == nil {
    		w.Header().Set(xhttp.MinIOServerStatus, unavailable)
    		writeResponse(w, http.StatusServiceUnavailable, nil, mimeNone)
    		return nil
    	}
    
    	if !globalBucketMetadataSys.Initialized() {
    		w.Header().Set(xhttp.MinIOServerStatus, "bucket-metadata-offline")
    		writeResponse(w, http.StatusServiceUnavailable, nil, mimeNone)
    		return nil
    	}
    
    	if !globalIAMSys.Initialized() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 26 07:44:34 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. cmd/metrics.go

    			"Total number of MinIO nodes online",
    			nil, nil),
    		prometheus.GaugeValue,
    		float64(nodesUp),
    	)
    	ch <- prometheus.MustNewConstMetric(
    		prometheus.NewDesc(
    			prometheus.BuildFQName(minioNamespace, "nodes", "offline"),
    			"Total number of MinIO nodes offline",
    			nil, nil),
    		prometheus.GaugeValue,
    		float64(nodesDown),
    	)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  4. tests/create_test.go

    	var result2 User
    	DB.Preload(clause.Associations).First(&result2, user2.ID)
    
    	user2.Account = Account{}
    	user2.Toys = nil
    	user2.Manager = nil
    	user2.Company = Company{}
    	user2.Pets = nil
    	user2.Team = nil
    	user2.Languages = nil
    	user2.Friends = nil
    
    	CheckUser(t, result2, user2)
    }
    
    func TestFirstOrCreateNotExistsTable(t *testing.T) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Mar 19 03:50:28 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  5. cmd/httprange.go

    		if offsetBegin > offsetEnd {
    			return nil, errInvalidRange
    		}
    		return &HTTPRangeSpec{false, offsetBegin, offsetEnd}, nil
    	case offsetBegin > -1:
    		return &HTTPRangeSpec{false, offsetBegin, -1}, nil
    	case offsetEnd > -1:
    		if offsetEnd == 0 {
    			return nil, errInvalidRange
    		}
    		return &HTTPRangeSpec{true, -offsetEnd, -1}, nil
    	default:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 09 08:44:07 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. tests/preload_suits_test.go

    		t.Error(err)
    	}
    
    	lvl := &Level3{}
    	if err := DB.Save(lvl).Error; err != nil {
    		t.Error(err)
    	}
    
    	sublvl1 := &Level4{Level3ID: lvl.ID}
    	if err := DB.Save(sublvl1).Error; err != nil {
    		t.Error(err)
    	}
    	sublvl2 := &Level4{Level3ID: lvl.ID}
    	if err := DB.Save(sublvl2).Error; err != nil {
    		t.Error(err)
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Mar 18 05:38:46 UTC 2022
    - 30.3K bytes
    - Viewed (0)
  7. cmd/data-usage.go

    						}
    					}
    				}
    			}
    			return m, nil
    		},
    	)
    
    	return prefixUsageCache.GetWithCtx(ctx)
    }
    
    func loadDataUsageFromBackend(ctx context.Context, objAPI ObjectLayer) (DataUsageInfo, error) {
    	buf, err := readConfig(ctx, objAPI, dataUsageObjNamePath)
    	if err != nil {
    		buf, err = readConfig(ctx, objAPI, dataUsageObjNamePath+".bkp")
    		if err != nil {
    			if errors.Is(err, errConfigNotFound) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 09 00:51:34 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. cmd/jwt.go

    // Check if the request is authenticated.
    // Returns nil if the request is authenticated. errNoAuthToken if token missing.
    // Returns errAuthentication for all other errors.
    func metricsRequestAuthenticate(req *http.Request) (*xjwt.MapClaims, []string, bool, error) {
    	token, err := jwtreq.AuthorizationHeaderExtractor.ExtractToken(req)
    	if err != nil {
    		if err == jwtreq.ErrNoTokenInRequest {
    			return nil, nil, false, errNoAuthToken
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 22 07:04:48 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. cmd/erasure-decode.go

    		if !readTrigger {
    			continue
    		}
    		wg.Add(1)
    		go func(i int) {
    			defer wg.Done()
    			rr := p.readers[i]
    			if rr == nil {
    				// Since reader is nil, trigger another read.
    				readTriggerCh <- true
    				return
    			}
    			bufIdx := p.readerToBuf[i]
    			if p.buf[bufIdx] == nil {
    				// Reading first time on this disk, hence the buffer needs to be allocated.
    				// Subsequent reads will reuse this buffer.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 29 01:40:52 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  10. internal/lock/lock_windows.go

    	f, err := Open(path, flag, perm)
    	if err != nil {
    		return nil, err
    	}
    
    	if err = lockFile(syscall.Handle(f.Fd()), lockType); err != nil {
    		f.Close()
    		return nil, err
    	}
    
    	st, err := os.Stat(path)
    	if err != nil {
    		f.Close()
    		return nil, err
    	}
    
    	if st.IsDir() {
    		f.Close()
    		return nil, &os.PathError{
    			Op:   "open",
    			Path: path,
    			Err:  syscall.EISDIR,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 18 18:08:15 UTC 2023
    - 7.9K bytes
    - Viewed (0)
Back to top