Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 34 for Mounts (0.27 sec)

  1. src/time/time_test.go

    	if testing.Short() {
    		t.Skip("skipping malloc count in short mode")
    	}
    	if runtime.GOMAXPROCS(0) > 1 {
    		t.Skip("skipping; GOMAXPROCS>1")
    	}
    	for _, mt := range mallocTest {
    		allocs := int(testing.AllocsPerRun(100, mt.fn))
    		if allocs > mt.count {
    			t.Errorf("%s: %d allocs, want %d", mt.desc, allocs, mt.count)
    		}
    	}
    }
    
    func TestLoadFixed(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test.go

    // apiextensions-apiserver has discovery disabled, so hardcode this mapping
    var fakeRESTMapper map[schema.GroupVersionResource]string = map[schema.GroupVersionResource]string{
    	myCRDV1Beta1: "MyCoolCRD",
    }
    
    // FixTabsOrDie counts the number of tab characters preceding the first
    // line in the given yaml object. It removes that many tabs from every
    // line. It panics (it's a test function) if some line has fewer tabs
    // than the first line.
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 59.5K bytes
    - Viewed (0)
  3. src/runtime/mprof.go

    			bp := b.bp()
    			r := profilerecord.BlockProfileRecord{
    				Count:  int64(bp.count),
    				Cycles: bp.cycles,
    				Stack:  b.stk(),
    			}
    			// Prevent callers from having to worry about division by zero errors.
    			// See discussion on http://golang.org/cl/299991.
    			if r.Count == 0 {
    				r.Count = 1
    			}
    			copyFn(r)
    		}
    	}
    	unlock(&profBlockLock)
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  4. .bazelrc

    build:linux --copt="-Wno-all"
    build:linux --copt="-Wno-extra"
    build:linux --copt="-Wno-deprecated"
    build:linux --copt="-Wno-deprecated-declarations"
    build:linux --copt="-Wno-ignored-attributes"
    build:linux --copt="-Wno-array-bounds"
    
    # Add unused-result as an error on Linux.
    build:linux --copt="-Wunused-result"
    build:linux --copt="-Werror=unused-result"
    # Add switch as an error on Linux.
    build:linux --copt="-Wswitch"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 17:12:54 UTC 2024
    - 52.9K bytes
    - Viewed (0)
  5. src/runtime/mgc.go

    	releasem(mp)
    
    	// Make sure we block instead of returning to user code
    	// in STW mode.
    	if mode != gcBackgroundMode {
    		Gosched()
    	}
    
    	semrelease(&work.startSema)
    }
    
    // gcMarkDoneFlushed counts the number of P's with flushed work.
    //
    // Ideally this would be a captured local in gcMarkDone, but forEachP
    // escapes its callback closure, so it can't capture anything.
    //
    // This is protected by markDoneSema.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ppc64/ssa.go

    			p.From.Type = obj.TYPE_CONST
    			p.From.Offset = 16
    			p.To.Type = obj.TYPE_REG
    			p.To.Reg = ppc64.REGTMP
    
    			// Don't adding padding for
    			// alignment with small iteration
    			// counts.
    			if ctr > 3 {
    				p = s.Prog(obj.APCALIGN)
    				p.From.Type = obj.TYPE_CONST
    				p.From.Offset = 16
    			}
    
    			// Generate 16 byte loads and stores.
    			// Use temp register for index (16)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  7. cmd/bucket-handlers.go

    		// https://en.wikipedia.org/wiki/Copy_protection so the incoming stream
    		// is always going to be in-memory as we cannot re-read from what we
    		// wrote to disk - since that amounts to "copying" from a "copy"
    		// instead of "copying" from source, we need the stream to be seekable
    		// to ensure that we can make fan-out calls concurrently.
    		buf := bytebufferpool.Get()
    		defer func() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 61.2K bytes
    - Viewed (0)
  8. src/crypto/tls/handshake_client_test.go

    		if err != brokenConnErr {
    			t.Errorf("#%d: expected error from brokenConn but got %q", breakAfter, err)
    		}
    		brokenC.Close()
    
    		<-done
    	}
    }
    
    // writeCountingConn wraps a net.Conn and counts the number of Write calls.
    type writeCountingConn struct {
    	net.Conn
    
    	// numWrites is the number of writes that have been done.
    	numWrites int
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  9. pkg/controller/job/job_controller.go

    	}
    
    	var terminating int32 = 0
    	if onlyReplaceFailedPods(jobCtx.job) {
    		// For PodFailurePolicy specified but PodReplacementPolicy disabled
    		// we still need to count terminating pods for replica counts
    		// But we will not allow updates to status.
    		if jobCtx.terminating == nil {
    			terminating = controller.CountTerminatingPods(jobCtx.pods)
    		} else {
    			terminating = *jobCtx.terminating
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
  10. src/cmd/go/go_test.go

    	tg.setenv("GOPATH", tg.path("."))
    	tg.run("install", "-x", "a")
    	tg.run("install", "-x", "a")
    	// The second install should have printed only a WORK= line,
    	// nothing else.
    	if bytes.Count(tg.stdout.Bytes(), []byte{'\n'})+bytes.Count(tg.stderr.Bytes(), []byte{'\n'}) > 1 {
    		t.Error("unnecessary output when installing installed package")
    	}
    }
    
    // Issue 24704.
    func TestLinkerTmpDirIsDeleted(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
Back to top