Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for chanclose (0.11 sec)

  1. src/runtime/chan.go

    	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
    	x := q.last
    	if x == nil {
    		sgp.prev = nil
    		q.first = sgp
    		q.last = sgp
    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/vendor/rsc.io/markdown/inline.go

    			dst = append(dst, src[i])
    			continue
    		}
    		if p.canClose {
    			stk := &stack[stackOf(p.Text[0])]
    		Loop:
    			for p.Text != "" {
    				// Looking for same symbol and compatible with p.Text.
    				for i := len(*stk) - 1; i >= 0; i-- {
    					start := (*stk)[i]
    					if (p.Text[0] == '*' || p.Text[0] == '_') && (p.canOpen && p.canClose || start.canOpen && start.canClose) && (p.n+start.n)%3 == 0 && (p.n%3 != 0 || start.n%3 != 0) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  3. src/net/http/transfer.go

    	if major < 1 {
    		return true
    	}
    
    	conv := header["Connection"]
    	hasClose := httpguts.HeaderValuesContainsToken(conv, "close")
    	if major == 1 && minor == 0 {
    		return hasClose || !httpguts.HeaderValuesContainsToken(conv, "keep-alive")
    	}
    
    	if hasClose && removeCloseHeader {
    		header.Del("Connection")
    	}
    
    	return hasClose
    }
    
    // Parse the trailer header.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 22:14:00 UTC 2024
    - 31.1K bytes
    - Viewed (0)
Back to top