Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 6,658 for makeID (1.13 sec)

  1. staging/src/k8s.io/cli-runtime/pkg/printers/typesetter.go

    	if obj == nil {
    		return p.Delegate.PrintObj(obj, w)
    	}
    	if !obj.GetObjectKind().GroupVersionKind().Empty() {
    		return p.Delegate.PrintObj(obj, w)
    	}
    
    	// we were empty coming in, make sure we're empty going out.  This makes the call thread-unsafe
    	defer func() {
    		obj.GetObjectKind().SetGroupVersionKind(schema.GroupVersionKind{})
    	}()
    
    	gvks, _, err := p.Typer.ObjectKinds(obj)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 23:00:24 UTC 2019
    - 2.6K bytes
    - Viewed (0)
  2. test/typeparam/chans.go

    	close(r.done)
    }
    
    func TestReadAll() {
    	c := make(chan int)
    	go func() {
    		c <- 4
    		c <- 2
    		c <- 5
    		close(c)
    	}()
    	got := _ReadAll(context.Background(), c)
    	want := []int{4, 2, 5}
    	if !_SliceEqual(got, want) {
    		panic(fmt.Sprintf("_ReadAll returned %v, want %v", got, want))
    	}
    }
    
    func TestMerge() {
    	c1 := make(chan int)
    	c2 := make(chan int)
    	go func() {
    		c1 <- 1
    		c1 <- 3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 8.4K bytes
    - Viewed (0)
  3. 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)
  4. platforms/documentation/docs/src/docs/userguide/dep-man/01-core-dependency-management/library_vs_application.adoc

    A lot of problems with traditional build systems is that they don't make the difference between a producer and a consumer.
    
    A _consumer_ needs to be understood in the large sense:
    
    - a project that depends on another project is a _consumer_
    - a _task_ that depends on an artifact is a finer grained consumer
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/tainttoleration/taint_toleration.go

    		// So, it's enough to just check the length of tolerations to notice the update.
    		// And, any updates in tolerations could make Pod schedulable.
    		logger.V(5).Info("a new toleration is added for the Pod, and it may make it schedulable", "pod", klog.KObj(modifiedPod))
    		return framework.Queue, nil
    	}
    
    	return framework.QueueSkip, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. 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)
  7. platforms/documentation/docs/src/docs/userguide/jvm/toolchain_plugins.adoc

    <3> Resolver plugins must apply the `jvm-toolchain-management` base plugin. This dynamically adds the `jvm` block to `toolchainManagement`, which makes registered toolchain repositories usable from the build....
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 29 17:38:38 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  8. 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)
  9. pilot/pkg/serviceregistry/mock/discovery_test.go

    	})
    	HelloInstanceV0 := MakeIP(HelloService, 0)
    
    	if HelloInstanceV0 != "10.1.1.0" {
    		t.Fatalf("MakeIP() can not handle ip4 address.")
    	}
    
    	HelloService1 := MakeService(ServiceArgs{
    		Hostname:        "hello.default.svc.cluster.local",
    		Address:         "asa",
    		ServiceAccounts: []string{},
    		ClusterID:       "cluster-1",
    	})
    	HelloInstanceV1 := MakeIP(HelloService1, 0)
    	if HelloInstanceV1 != "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jan 09 17:33:49 UTC 2023
    - 1.6K 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