Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for callsite (0.17 sec)

  1. src/crypto/tls/common.go

    	VersionTLS13,
    	VersionTLS12,
    	VersionTLS11,
    	VersionTLS10,
    }
    
    // roleClient and roleServer are meant to call supportedVersions and parents
    // with more readability at the callsite.
    const roleClient = true
    const roleServer = false
    
    var tls10server = godebug.New("tls10server")
    
    func (c *Config) supportedVersions(isClient bool) []uint16 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 59.1K bytes
    - Viewed (0)
  2. src/go/parser/parser.go

    		// embedded, possibly instantiated type
    		typ = x
    		if p.tok == token.LBRACK {
    			// embedded instantiated interface
    			typ = p.parseTypeInstance(typ)
    		}
    	}
    
    	// Comment is added at the callsite: the field below may joined with
    	// additional type specs using '|'.
    	// TODO(rfindley) this should be refactored.
    	// TODO(rfindley) add more tests for comment handling.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 20:07:50 UTC 2023
    - 72.2K bytes
    - Viewed (0)
  3. src/regexp/syntax/parse.go

    	case OpCapture, OpStar:
    		// star can be 1+ or 2+; assume 2 pessimistically
    		size = 2 + p.calcSize(re.Sub[0], false)
    	case OpPlus, OpQuest:
    		size = 1 + p.calcSize(re.Sub[0], false)
    	case OpConcat:
    		for _, sub := range re.Sub {
    			size += p.calcSize(sub, false)
    		}
    	case OpAlternate:
    		for _, sub := range re.Sub {
    			size += p.calcSize(sub, false)
    		}
    		if len(re.Sub) > 1 {
    			size += int64(len(re.Sub)) - 1
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types/type.go

    }
    
    func (t *Type) Size() int64 {
    	if t.kind == TSSA {
    		if t == TypeInt128 {
    			return 16
    		}
    		return 0
    	}
    	CalcSize(t)
    	return t.width
    }
    
    func (t *Type) Alignment() int64 {
    	CalcSize(t)
    	return int64(t.align)
    }
    
    func (t *Type) SimpleString() string {
    	return t.kind.String()
    }
    
    // Cmp is a comparison between values a and b.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
Back to top