Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,137 for makeN (0.06 sec)

  1. src/archive/tar/writer_test.go

    		var fw fileWriter
    		switch maker := v.maker.(type) {
    		case makeReg:
    			fw = &regFileWriter{w, maker.size}
    			wantStr = maker.wantStr
    		case makeSparse:
    			if !validateSparseEntries(maker.sph, maker.size) {
    				t.Fatalf("invalid sparse map: %v", maker.sph)
    			}
    			spd := invertSparseEntries(maker.sph, maker.size)
    			fw = &regFileWriter{w, maker.makeReg.size}
    			fw = &sparseFileWriter{fw, spd, 0}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 38.7K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/podtopologyspread/plugin.go

    		// an unschedulable Pod schedulable.
    		// - Delete. An unschedulable Pod may fail due to violating an existing Pod's topology spread constraints,
    		// deleting an existing Pod may make it schedulable.
    		{Event: framework.ClusterEvent{Resource: framework.Pod, ActionType: framework.All}, QueueingHintFn: pl.isSchedulableAfterPodChange},
    		// Node add|delete|update maybe lead an topology key changed,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 14:13:06 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. pkg/kubelet/config/config.go

    		return false
    	}
    	return true
    }
    
    // checkAndUpdatePod updates existing, and:
    //   - if ref makes a meaningful change, returns needUpdate=true
    //   - if ref makes a meaningful change, and this change is graceful deletion, returns needGracefulDelete=true
    //   - if ref makes no meaningful change, but changes the pod status, returns needReconcile=true
    //   - else return all false
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  4. src/archive/tar/reader_test.go

    		var fr fileReader
    		switch maker := v.maker.(type) {
    		case makeReg:
    			r := testNonEmptyReader{strings.NewReader(maker.str)}
    			fr = &regFileReader{r, maker.size}
    		case makeSparse:
    			if !validateSparseEntries(maker.spd, maker.size) {
    				t.Fatalf("invalid sparse map: %v", maker.spd)
    			}
    			sph := invertSparseEntries(maker.spd, maker.size)
    			r := testNonEmptyReader{strings.NewReader(maker.makeReg.str)}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 21 21:14:38 UTC 2022
    - 47.1K bytes
    - Viewed (0)
  5. src/go/internal/gcimporter/iimport.go

    		stringData:  stringData,
    		stringCache: make(map[uint64]string),
    		pkgCache:    make(map[uint64]*types.Package),
    
    		declData: declData,
    		pkgIndex: make(map[*types.Package]map[string]uint64),
    		typCache: make(map[uint64]types.Type),
    		// Separate map for typeparams, keyed by their package and unique
    		// name (name with subscript).
    		tparamIndex: make(map[ident]*types.TypeParam),
    
    		fake: fakeFileSet{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  6. src/internal/types/testdata/check/builtins0.go

    	_ = make(chan<- int, "foo" /* ERROR "cannot convert" */)
    	_ = make(chan int, - /* ERROR "must not be negative" */ 10)
    	_ = make(<-chan float64, 10)
    	_ = make(chan chan int, n)
    	_ = make(chan string, int64(n))
    	_ = make(chan bool, 10.0)
    	_ = make(chan bool, 10.0<<s)
            _ = &make /* ERROR "cannot take address" */ (chan bool)
    
    	make /* ERROR "not used" */ ([]int, 10)
    
    	var t []int
    	_ = make([]int, t[0], t[1])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  7. src/runtime/testdata/testprog/gc.go

    	// unlikely to all be re-allocated by the runtime).
    	const size = 190
    	const count = 8192 / size
    	keep := make([]*byte, 0, (count+1)/2)
    	free := make([]uintptr, 0, (count+1)/2)
    	zombies := make([]*byte, 0, len(free))
    	for i := 0; i < count; i++ {
    		obj := make([]byte, size)
    		p := &obj[0]
    		if i%2 == 0 {
    			keep = append(keep, p)
    		} else {
    			free = append(free, uintptr(unsafe.Pointer(p)))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 02 02:28:27 UTC 2022
    - 12.1K bytes
    - Viewed (0)
  8. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/javadoc/JavadocIntegrationTest.groovy

            """
    
            writeSourceFile()
    
            when:
            run("javadoc")
    
            then:
            file("build/javadoc/Foo.html").exists()
        }
    
        def "changing standard doclet options makes task out-of-date"() {
            buildFile << """
                task javadoc(type: Javadoc) {
                    destinationDir = file("build/javadoc")
                    source "src/main/java"
                    options {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 06:04:19 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  9. src/crypto/tls/conn_test.go

    	clientConn, serverConn := localPipe(t)
    
    	serverConfig := config.Clone()
    	serverConfig.DynamicRecordSizingDisabled = false
    	tlsConn := Server(serverConn, serverConfig)
    
    	handshakeDone := make(chan struct{})
    	recordSizesChan := make(chan []int, 1)
    	defer func() { <-recordSizesChan }() // wait for the goroutine to exit
    	go func() {
    		// This goroutine performs a TLS handshake over clientConn and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 21:35:01 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  10. src/time/sleep_test.go

    )
    
    // newTimerFunc simulates NewTimer using AfterFunc,
    // but this version will not hit the special cases for channels
    // that are used when calling NewTimer.
    // This makes it easy to test both paths.
    func newTimerFunc(d Duration) *Timer {
    	c := make(chan Time, 1)
    	t := AfterFunc(d, func() { c <- Now() })
    	t.C = c
    	return t
    }
    
    // haveHighResSleep is true if the system supports at least ~1ms sleeps.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 16:33:57 UTC 2024
    - 22.5K bytes
    - Viewed (0)
Back to top