Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 109 for chancap (0.18 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. src/runtime/chan.go

    }
    
    //go:linkname reflectlite_chanlen internal/reflectlite.chanlen
    func reflectlite_chanlen(c *hchan) int {
    	return chanlen(c)
    }
    
    //go:linkname reflect_chancap reflect.chancap
    func reflect_chancap(c *hchan) int {
    	return chancap(c)
    }
    
    //go:linkname reflect_chanclose reflect.chanclose
    func reflect_chanclose(c *hchan) {
    	closechan(c)
    }
    
    func (q *waitq) enqueue(sgp *sudog) {
    	sgp.next = nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    func chanrecv1(hchan <-chan any, elem *any)
    func chanrecv2(hchan <-chan any, elem *any) bool
    func chansend1(hchan chan<- any, elem *any)
    func closechan(hchan chan<- any)
    func chanlen(hchan any) int
    func chancap(hchan any) int
    
    var writeBarrier struct {
    	enabled bool
    	pad     [3]byte
    	cgo     bool
    	alignme uint64
    }
    
    // *byte is really *runtime.Type
    func typedmemmove(typ *byte, dst *any, src *any)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/typecheck/builtin.go

    	{"makechan64", funcTag, 98},
    	{"makechan", funcTag, 99},
    	{"chanrecv1", funcTag, 101},
    	{"chanrecv2", funcTag, 102},
    	{"chansend1", funcTag, 104},
    	{"closechan", funcTag, 105},
    	{"chanlen", funcTag, 106},
    	{"chancap", funcTag, 106},
    	{"writeBarrier", varTag, 108},
    	{"typedmemmove", funcTag, 109},
    	{"typedmemclr", funcTag, 110},
    	{"typedslicecopy", funcTag, 111},
    	{"selectnbsend", funcTag, 112},
    	{"selectnbrecv", funcTag, 113},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  5. src/reflect/value.go

    	}
    	return v.capNonSlice()
    }
    
    func (v Value) capNonSlice() int {
    	k := v.kind()
    	switch k {
    	case Array:
    		return v.typ().Len()
    	case Chan:
    		return chancap(v.pointer())
    	case Ptr:
    		if v.typ().Elem().Kind() == abi.Array {
    			return v.typ().Elem().Len()
    		}
    		panic("reflect: call of reflect.Value.Cap on ptr to non-array Value")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. pkg/registry/core/service/ipallocator/cidrallocator.go

    	// taking into consideration the number of addresses of each allocator.
    	// Per example, if we have allocator A and B with 256 and 1024 possible
    	// addresses each, the chances to get B has to be 4 times the chances to
    	// get A so we can spread the load of IPs randomly.
    	// However, we need to validate the best strategy before going to Beta.
    	isIPv6 := c.ipFamily == api.IPFamily(v1.IPv6Protocol)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top