Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 857 for Nil$ (0.04 sec)

  1. internal/dsync/dsync-server_test.go

    	args, err := getLockArgs(r)
    	if err != nil {
    		lh.writeErrorResponse(w, err)
    		return
    	}
    
    	if _, err = lh.lsrv.ForceUnlock(&args); err != nil {
    		lh.writeErrorResponse(w, err)
    		return
    	}
    }
    
    func (lh *lockServerHandler) RefreshHandler(w http.ResponseWriter, r *http.Request) {
    	args, err := getLockArgs(r)
    	if err != nil {
    		lh.writeErrorResponse(w, err)
    		return
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jan 23 16:46:37 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  2. cmd/site-replication-metrics_gen.go

    	err = en.Append(0xa2, 0x6c, 0x74)
    	if err != nil {
    		return
    	}
    	if z.XferRateLrg == nil {
    		err = en.WriteNil()
    		if err != nil {
    			return
    		}
    	} else {
    		err = z.XferRateLrg.EncodeMsg(en)
    		if err != nil {
    			err = msgp.WrapError(err, "XferRateLrg")
    			return
    		}
    	}
    	// write "st"
    	err = en.Append(0xa2, 0x73, 0x74)
    	if err != nil {
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 40.6K bytes
    - Viewed (0)
  3. cmd/update_test.go

    		tmpfile, err := os.CreateTemp("", "helm-testfile-")
    		if err != nil {
    			t.Fatalf("Unable to create temporary file. %s", err)
    		}
    		if _, err = tmpfile.WriteString(content); err != nil {
    			t.Fatalf("Unable to create temporary file. %s", err)
    		}
    		if err = tmpfile.Close(); err != nil {
    			t.Fatalf("Unable to create temporary file. %s", err)
    		}
    		return tmpfile.Name()
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. cmd/xl-storage-format-v2_gen.go

    	if err != nil {
    		return
    	}
    	err = en.WriteInt64(z.ModTime)
    	if err != nil {
    		err = msgp.WrapError(err, "ModTime")
    		return
    	}
    	// write "MetaSys"
    	err = en.Append(0xa7, 0x4d, 0x65, 0x74, 0x61, 0x53, 0x79, 0x73)
    	if err != nil {
    		return
    	}
    	if z.MetaSys == nil { // allownil: if nil
    		err = en.WriteNil()
    		if err != nil {
    			return
    		}
    	} else {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  5. cmd/erasure-healing.go

    	if !opts.Remove || opts.DryRun {
    		return nil
    	}
    
    	if globalTrace.NumSubscribers(madmin.TraceHealing) > 0 {
    		startTime := time.Now()
    		defer func() {
    			healTrace(healingMetricCheckAbandonedParts, startTime, bucket, object, nil, err, nil)
    		}()
    	}
    	if !opts.NoLock {
    		lk := er.NewNSLock(bucket, object)
    		lkctx, err := lk.GetLock(ctx, globalOperationTimeout)
    		if err != nil {
    			return err
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 02 17:50:41 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  6. cmd/erasure-healing-common_test.go

    			errs: []error{
    				nil, nil, nil, nil, nil, nil, nil, nil,
    				nil, nil, nil, nil, nil, nil, nil, nil,
    			},
    			_tamperBackend: noTamper,
    		},
    		{
    			modTimes:     modTimesThreeNone,
    			expectedTime: threeNanoSecs,
    			errs: []error{
    				// Disks that have a valid xl.meta.
    				nil, nil, nil, nil, nil, nil, nil, nil,
    				nil, nil, nil, nil, nil,
    				// Some disks can't access xl.meta.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 15:19:10 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  7. cmd/global-heal.go

    	}()
    
    	for _, bucket := range healBuckets {
    		if err := bgSeq.healBucket(objAPI, bucket, true); err != nil {
    			// Log bucket healing error if any, we shall retry again.
    			healingLogIf(ctx, err)
    		}
    	}
    
    	info, err := tracker.disk.DiskInfo(ctx, DiskInfoOptions{})
    	if err != nil {
    		return fmt.Errorf("unable to get disk information before healing it: %w", err)
    	}
    
    	var numHealers uint64
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  8. internal/grid/msg.go

    			return nil, nil, fmt.Errorf("want crc len 4, got %v", len(h))
    		}
    		got := uint32(xxh3.Hash(b[:len(b)-hashLen]))
    		want := binary.LittleEndian.Uint32(h[len(h)-hashLen:])
    		if got != want {
    			return nil, nil, fmt.Errorf("crc mismatch: 0x%08x (given) != 0x%08x (bytes)", want, got)
    		}
    		h = h[:len(h)-hashLen]
    	}
    	// Extract subroute if any.
    	if m.Flags&FlagSubroute != 0 {
    		if len(h) < 32 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jul 25 21:07:21 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. cmd/bucket-versioning-handler.go

    	if _, err := objectAPI.GetBucketInfo(ctx, bucket, BucketOptions{}); err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	config, err := globalBucketVersioningSys.Get(bucket)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	configData, err := xml.Marshal(config)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. cmd/storage-datatypes_gen.go

    	if err != nil {
    		return
    	}
    	err = en.WriteBool(z.Recursive)
    	if err != nil {
    		err = msgp.WrapError(err, "Recursive")
    		return
    	}
    	// write "i"
    	err = en.Append(0xa1, 0x69)
    	if err != nil {
    		return
    	}
    	err = en.WriteBool(z.Immediate)
    	if err != nil {
    		err = msgp.WrapError(err, "Immediate")
    		return
    	}
    	// write "u"
    	err = en.Append(0xa1, 0x75)
    	if err != nil {
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 150.2K bytes
    - Viewed (0)
Back to top