Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 22 of 22 for GetSink (0.11 sec)

  1. src/runtime/chan.go

    	// buf points into the same allocation, elemtype is persistent.
    	// SudoG's are referenced from their owning thread so they can't be collected.
    	// TODO(dvyukov,rlh): Rethink when collector can move allocated objects.
    	var c *hchan
    	switch {
    	case mem == 0:
    		// Queue or element size is zero.
    		c = (*hchan)(mallocgc(hchanSize, nil, true))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/parse.go

    	// ARM only.
    	if !p.arch.InFamily(sys.ARM, sys.ARM64) {
    		return false
    	}
    	// R1<<...
    	if lex.IsRegisterShift(p.peek()) {
    		return true
    	}
    	// R(1)<<...   Ugly check. TODO: Rethink how we handle ARM register shifts to be
    	// less special.
    	if p.peek() != '(' || len(p.input)-p.inputPos < 4 {
    		return false
    	}
    	return p.at('(', scanner.Int, ')') && lex.IsRegisterShift(p.input[p.inputPos+3].ScanToken)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 14:34:57 UTC 2024
    - 36.9K bytes
    - Viewed (0)
Back to top