Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 5,771 for makeID (0.28 sec)

  1. src/cmd/internal/moddeps/moddeps_test.go

    		// so make sure at least these modules are found. See issue 46254. If this list
    		// becomes a nuisance to update, can be replaced with len(goroot.modules) check.
    		knownGOROOTModules := [...]string{
    			"std",
    			"cmd",
    			// The "misc" module sometimes exists, but cmd/distpack intentionally removes it.
    		}
    		var seen = make(map[string]bool) // Key is module path.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  2. src/runtime/mgcscavenge_test.go

    				alloc: []BitRange{{bits + 2, PallocChunkPages - (bits + 2)}},
    				min:   1,
    				max:   3, // Make it so that max would have us try to break the huge page.
    				want:  BitRange{0, bits + 2},
    			}
    			if 3*bits < PallocChunkPages {
    				// We need at least 3 huge pages in a chunk for this test to make sense.
    				tests["PreserveHugePageMiddle"] = test{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/secure_serving.go

    	// use the overridden concurrent streams setting or make the default of 250 explicit so we can size MaxUploadBufferPerConnection appropriately
    	if s.HTTP2MaxStreamsPerConnection > 0 {
    		http2Options.MaxConcurrentStreams = uint32(s.HTTP2MaxStreamsPerConnection)
    	} else {
    		// match http2.initialMaxConcurrentStreams used by clients
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 12 20:54:07 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/aes/aes.go

    const commonSize = 32
    
    const keySizeCounterNonceGCM = commonSize
    
    // NewGCMTransformerWithUniqueKeyUnsafe is the same as NewGCMTransformer but is unsafe for general
    // use because it makes assumptions about the key underlying the block cipher.  Specifically,
    // it uses a 96-bit nonce where the first 32 bits are random data and the remaining 64 bits are
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 21 19:25:52 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  5. src/runtime/tracebuf.go

    }
    
    // end writes the buffer back into the m.
    func (w traceWriter) end() {
    	if w.mp == nil {
    		// Tolerate a nil mp. It makes code that creates traceWriters directly
    		// less error-prone.
    		return
    	}
    	w.mp.trace.buf[w.gen%2] = w.traceBuf
    }
    
    // ensure makes sure that at least maxSize bytes are available to write.
    //
    // Returns whether the buffer was flushed.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. platforms/core-runtime/native/src/test/groovy/org/gradle/internal/nativeintegration/services/NativeServicesTest.groovy

        def setup() {
            services = NativeServices.getInstance()
        }
    
        def "makes a ProcessEnvironment available"() {
            expect:
            services.get(ProcessEnvironment) != null
        }
    
        def "makes an OperatingSystem available"() {
            expect:
            services.get(OperatingSystem) != null
        }
    
        def "makes a FileSystem available"() {
            expect:
            services.get(FileSystem) != null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 10 01:29:49 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/cli-runtime/pkg/printers/tableprinter.go

    		return fmt.Errorf("cannot prepend columns, unmatched value functions")
    	}
    	if len(columns) == 0 {
    		return nil
    	}
    
    	// Compute the new rows
    	newRows := make([][]interface{}, len(table.Rows))
    	for i := range table.Rows {
    		newCells := make([]interface{}, 0, len(columns)+len(table.Rows[i].Cells))
    
    		if pos == end {
    			// If we're appending, start with the existing cells,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Oct 30 15:08:43 UTC 2022
    - 16.7K bytes
    - Viewed (0)
  8. src/internal/trace/internal/testgen/go122/trace.go

    // creating complex traces that are mostly or completely correct.
    func (t *Trace) Generation(gen uint64) *Generation {
    	g := &Generation{
    		trace:   t,
    		gen:     gen,
    		strings: make(map[string]uint64),
    		stacks:  make(map[stack]uint64),
    	}
    	t.gens = append(t.gens, g)
    	return g
    }
    
    // Generate creates a test file for the trace.
    func (t *Trace) Generate() []byte {
    	// Trace file contents.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  9. src/runtime/stack_test.go

    func BenchmarkStackCopyWithStkobj(b *testing.B) {
    	c := make(chan bool)
    	for i := 0; i < b.N; i++ {
    		go func() {
    			var s stkobjT
    			Sum(100000, &s)
    			c <- true
    		}()
    		<-c
    	}
    }
    
    func BenchmarkIssue18138(b *testing.B) {
    	// Channel with N "can run a goroutine" tokens
    	const N = 10
    	c := make(chan []byte, N)
    	for i := 0; i < N; i++ {
    		c <- make([]byte, 1)
    	}
    
    	for i := 0; i < b.N; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 23.1K bytes
    - Viewed (0)
  10. src/runtime/mgcpacer_test.go

    				n := len(c)
    				if n > 4 {
    					// After the 4th GC, the heap will stop growing.
    					// First, let's make sure we're finishing near the goal, with some extra
    					// room because we're probably going to be triggering early.
    					assertInRange(t, "goal ratio", c[n-1].goalRatio(), 0.925, 1.025)
    					// Next, let's make sure there's some minimum distance between the goal
    					// and the trigger. It should be proportional to the runway (hence the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 13:53:21 UTC 2023
    - 39.3K bytes
    - Viewed (0)
Back to top