Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 178 for chancap (0.32 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/cmd/compile/internal/walk/builtin.go

    		init.Append(ir.TakeInit(conv)...)
    		_, len := backingArrayPtrLen(cheapExpr(conv.X, init))
    		return len
    	}
    	if isChanLenCap(n) {
    		name := "chanlen"
    		if n.Op() == ir.OCAP {
    			name = "chancap"
    		}
    		// cannot use chanfn - closechan takes any, not chan any,
    		// because it accepts both send-only and recv-only channels.
    		fn := typecheck.LookupRuntime(name, n.X.Type())
    		return mkcall1(fn, n.Type(), init, n.X)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 22:35:22 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. releasenotes/notes/wasm-cache-with-tag-stripped-url.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: extensibility
    issue: []
    releaseNotes:
      - |
        **Improved** Use tag-stripped URL + checksum as a Wasm module cachekey, and the tagged URL is separately cached. 
        This may increase the chance of cache hit (e.g., trying to find the same image with both of the tagged and digest URLs.)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 23 08:37:23 UTC 2024
    - 402 bytes
    - Viewed (0)
  10. 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)
Back to top