Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Live (0.12 sec)

  1. cmd/peer-rest-server.go

    		n, err := io.CopyN(xioutil.Discard, r.Body, 128*humanize.KiByte)
    		atomic.AddUint64(&globalNetPerfRX.RX, uint64(n))
    		if err != nil && err != io.EOF {
    			// If there is a disconnection before globalNetPerfMinDuration (we give a margin of error of 1 sec)
    			// would mean the network is not stable. Logging here will help in debugging network issues.
    			if time.Since(connectTime) < (globalNetPerfMinDuration - time.Second) {
    				peersLogIf(ctx, err)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  2. cmd/batch-handlers.go

    				skipReplicate = obj.IsDeleteMarker && s3Type
    			}
    			if skipReplicate {
    				continue
    			}
    
    			wk.Take()
    			go func() {
    				defer wk.Give()
    				stopFn := globalBatchJobsMetrics.trace(batchJobMetricReplication, job.ID, attempts)
    				success := true
    				if err := r.ReplicateFromSource(ctx, api, core, oi, retry); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  3. src/cmd/cgo/gcc.go

    		old := *r.Expr
    		*r.Expr = expr
    
    		// Record source-level edit for cgo output.
    		if !r.Done {
    			// Prepend a space in case the earlier code ends
    			// with '/', which would give us a "//" comment.
    			repl := " " + gofmtPos(expr, old.Pos())
    			end := fset.Position(old.End())
    			// Subtract 1 from the column if we are going to
    			// append a close parenthesis. That will set the
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  4. cmd/xl-storage_test.go

    		}
    	}
    }
    
    func TestXLStorageIsDirEmpty(t *testing.T) {
    	tmp := t.TempDir()
    
    	// Should give false on non-existent directory.
    	dir1 := slashpath.Join(tmp, "non-existent-directory")
    	if isDirEmpty(dir1, true) {
    		t.Error("expected false for non-existent directory, got true")
    	}
    
    	// Should give false for not-a-directory.
    	dir2 := slashpath.Join(tmp, "file")
    	err := os.WriteFile(dir2, []byte("hello"), 0o777)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
Back to top