Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 50 for TILDE (4.35 sec)

  1. src/cmd/vendor/golang.org/x/mod/module/module.go

    	// Those usually end in a tilde followed by one or more ASCII digits.
    	if tilde := strings.LastIndexByte(short, '~'); tilde >= 0 && tilde < len(short)-1 {
    		suffix := short[tilde+1:]
    		suffixIsDigits := true
    		for _, r := range suffix {
    			if r < '0' || r > '9' {
    				suffixIsDigits = false
    				break
    			}
    		}
    		if suffixIsDigits {
    			return fmt.Errorf("trailing tilde and digits in path element")
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 20:17:07 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/syntax/tokens.go

    )
    
    type Operator uint
    
    //go:generate stringer -type Operator -linecomment tokens.go
    
    const (
    	_ Operator = iota
    
    	// Def is the : in :=
    	Def   // :
    	Not   // !
    	Recv  // <-
    	Tilde // ~
    
    	// precOrOr
    	OrOr // ||
    
    	// precAndAnd
    	AndAnd // &&
    
    	// precCmp
    	Eql // ==
    	Neq // !=
    	Lss // <
    	Leq // <=
    	Gtr // >
    	Geq // >=
    
    	// precAdd
    	Add // +
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 14:52:38 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/syntax/testdata/typeset.go

    func _[_ t[t] | t[t]]() {}
    
    // Single-expression type parameter lists and those that don't start
    // with a (type parameter) name are considered array sizes.
    // The term must be a valid expression (it could be a type incl. a
    // tilde term) but the type-checker will complain.
    type (
            _[t] t
            _[t|t] t
    
            // These are invalid and the type-checker will complain.
            _[~t] t
            _[~t|t] t
            _[t|~t] t
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 01 17:49:03 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/internal/typeparams/coretype.go

    // type restrictions of a type, if any.
    //
    // For all types other than *types.TypeParam, *types.Interface, and
    // *types.Union, this is just a single term with Tilde() == false and
    // Type() == typ. For *types.TypeParam, *types.Interface, and *types.Union, see
    // below.
    //
    // Structural type restrictions of a type parameter are created via
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. mkdocs.yml

          emoji_generator: !!python/name:materialx.emoji.to_svg
      - pymdownx.inlinehilite
      - pymdownx.magiclink
      - pymdownx.smartsymbols
      - pymdownx.superfences
      - pymdownx.tilde
      - pymdownx.tabbed:
          alternate_style: true
      - tables
    
    plugins:
      - search
      - redirects:
          redirect_maps:
            # Redirect all feature pages to features/*
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Nov 20 15:26:12 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/text/cases/map.go

    						case 0x81: // U+0301 COMBINING ACUTE ACCENT
    							s = "\u00cd" // U+00CD LATIN CAPITAL LETTER I WITH ACUTE
    						case 0x83: // U+0303 COMBINING TILDE
    							s = "\u0128" // U+0128 LATIN CAPITAL LETTER I WITH TILDE
    						case 0x88: // U+0308 COMBINING DIAERESIS
    							s = "\u00cf" // U+00CF LATIN CAPITAL LETTER I WITH DIAERESIS
    						default:
    						}
    						if s != "" {
    							c.pDst = oldPDst
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/typestring.go

    		// in interfaces and syntactically cannot be empty.
    		if t.Len() == 0 {
    			w.error("empty union")
    			break
    		}
    		for i, t := range t.terms {
    			if i > 0 {
    				w.string(termSep)
    			}
    			if t.tilde {
    				w.byte('~')
    			}
    			w.typ(t.typ)
    		}
    
    	case *Interface:
    		if w.ctxt == nil {
    			if t == universeAnyAlias.Type().Underlying() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  8. src/go/types/typestring.go

    		// in interfaces and syntactically cannot be empty.
    		if t.Len() == 0 {
    			w.error("empty union")
    			break
    		}
    		for i, t := range t.terms {
    			if i > 0 {
    				w.string(termSep)
    			}
    			if t.tilde {
    				w.byte('~')
    			}
    			w.typ(t.typ)
    		}
    
    	case *Interface:
    		if w.ctxt == nil {
    			if t == universeAnyAlias.Type().Underlying() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/instantiate.go

    		if !t.includes(V) {
    			// If V ∉ t.typ but V ∈ ~t.typ then remember this type
    			// so we can suggest it as an alternative in the error
    			// message.
    			if alt == nil && !t.tilde && Identical(t.typ, under(t.typ)) {
    				tt := *t
    				tt.tilde = true
    				if tt.includes(V) {
    					alt = t.typ
    				}
    			}
    			return true
    		}
    		return false
    	}) {
    		if cause != nil {
    			var detail string
    			switch {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  10. src/go/types/instantiate.go

    		if !t.includes(V) {
    			// If V ∉ t.typ but V ∈ ~t.typ then remember this type
    			// so we can suggest it as an alternative in the error
    			// message.
    			if alt == nil && !t.tilde && Identical(t.typ, under(t.typ)) {
    				tt := *t
    				tt.tilde = true
    				if tt.includes(V) {
    					alt = t.typ
    				}
    			}
    			return true
    		}
    		return false
    	}) {
    		if cause != nil {
    			var detail string
    			switch {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.8K bytes
    - Viewed (0)
Back to top