Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for chancap (0.37 sec)

  1. src/cmd/internal/goobj/builtinlist.go

    	{"runtime.makechan64", 1},
    	{"runtime.makechan", 1},
    	{"runtime.chanrecv1", 1},
    	{"runtime.chanrecv2", 1},
    	{"runtime.chansend1", 1},
    	{"runtime.closechan", 1},
    	{"runtime.chanlen", 1},
    	{"runtime.chancap", 1},
    	{"runtime.writeBarrier", 0},
    	{"runtime.typedmemmove", 1},
    	{"runtime.typedmemclr", 1},
    	{"runtime.typedslicecopy", 1},
    	{"runtime.selectnbsend", 1},
    	{"runtime.selectnbrecv", 1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/Cast.java

         * when it fails. All this method does is provide a better, consistent, error message.
         *
         * This should be used whenever there is a chance the cast could fail. If in doubt, use this.
         *
         * @param outputType The type to cast the input to
         * @param object The object to be cast (must not be {@code null})
         * @param <O> The type to be cast to
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. src/internal/fmtsort/sort_test.go

    		"(NaN+0i):nan (-3+0i):foo (7+1i):bar (7+2i):bar2 (+Inf+0i):inf",
    	},
    	{
    		map[bool]string{true: "true", false: "false"},
    		"false:false true:true",
    	},
    	{
    		chanMap(),
    		"CHAN0:0 CHAN1:1 CHAN2:2",
    	},
    	{
    		pointerMap(),
    		"PTR0:0 PTR1:1 PTR2:2",
    	},
    	{
    		unsafePointerMap(),
    		"UNSAFEPTR0:0 UNSAFEPTR1:1 UNSAFEPTR2:2",
    	},
    	{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. cmd/kube-apiserver/app/options/globalflags.go

    limitations under the License.
    */
    
    package options
    
    import (
    	"github.com/spf13/pflag"
    
    	"k8s.io/component-base/cli/globalflag"
    
    	// ensure libs have a chance to globally register their flags
    	_ "k8s.io/apiserver/pkg/admission"
    )
    
    // AddCustomGlobalFlags explicitly registers flags that internal packages register
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 07:44:58 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. src/internal/trace/testdata/testprog/gc-stress.go

    	}
    
    	procs := runtime.GOMAXPROCS(-1)
    	sink = make([][]byte, procs)
    
    	for i := 0; i < procs; i++ {
    		i := i
    		go func() {
    			for {
    				sink[i] = make([]byte, 4<<10)
    			}
    		}()
    	}
    	// Increase the chance that we end up starting and stopping
    	// mid-GC by only starting to trace after a few milliseconds.
    	time.Sleep(5 * time.Millisecond)
    
    	// Start tracing.
    	if err := trace.Start(os.Stdout); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. src/internal/trace/testdata/testprog/wait-on-pipe.go

    	go func() {
    		var data [1]byte
    		_, err := syscall.Read(rfd, data[:])
    		if err != nil {
    			log.Fatalf("failed to read from pipe: %v", err)
    		}
    		done <- struct{}{}
    	}()
    
    	// Give the goroutine ample chance to block on the pipe.
    	time.Sleep(10 * time.Millisecond)
    
    	// Start tracing.
    	if err := trace.Start(os.Stdout); err != nil {
    		log.Fatalf("failed to start tracing: %v", err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. src/internal/trace/testdata/testprog/annotations-stress.go

    					trace.Logf(ctx, "log", "fanout region%d", i)
    					if i == 2 {
    						do(ctx, 0)
    						return
    					}
    				})
    			}(i)
    		}
    	})
    
    	// Sleep to let things happen, but also increase the chance that we
    	// advance a generation.
    	time.Sleep(10 * time.Millisecond)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. src/os/exec_unix_test.go

    		t.Errorf("got %v want %v", got, ErrProcessDone)
    	}
    }
    
    // Lookup of a process that does not exist at time of lookup.
    func TestProcessAlreadyDone(t *testing.T) {
    	// Theoretically MaxInt32 is a valid PID, but the chance of it actually
    	// being used is extremely unlikely.
    	pid := math.MaxInt32
    	if runtime.GOOS == "solaris" || runtime.GOOS == "illumos" {
    		// Solaris/Illumos have a lower limit, above which wait returns
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 18:08:44 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. subprojects/build-events/src/integTest/groovy/org/gradle/build/event/BuildEventsParallelIntegrationTest.groovy

            server.expect("handle:b")
            server.expect("serviceClosed")
    
            def build = executer.withTasks("b").start()
    
            handleA.waitForAllPendingCalls()
            // Increase the chance of the test to detect a broken implementation that doesn't wait for events to be processed before closing the service.
            sleep(1000)
            handleA.releaseAll()
    
            result = build.waitForFinish()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 19:15:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. src/internal/trace/testdata/testprog/stacks.go

    		var data [1]byte
    		rp.Read(data[:])
    		pipeReadDone <- true
    	}()
    
    	time.Sleep(100 * time.Millisecond)
    	runtime.GC()
    	runtime.Gosched()
    	time.Sleep(100 * time.Millisecond) // the last chance for the goroutines above to block
    	done1 <- true
    	<-done2
    	select {
    	case c1 <- 0:
    	case c2 <- 0:
    	}
    	mu.Unlock()
    	wg.Done()
    	cv.Signal()
    	c, err := net.Dial("tcp", ln.Addr().String())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top