Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for subscript (0.19 sec)

  1. src/cmd/compile/internal/types2/typestring.go

    		w.typ(sig.results.vars[0].typ)
    		return
    	}
    
    	// multiple or named result(s)
    	w.tuple(sig.results, false)
    }
    
    // subscript returns the decimal (utf8) representation of x using subscript digits.
    func subscript(x uint64) string {
    	const w = len("₀") // all digits 0...9 have the same utf8 width
    	var buf [32 * w]byte
    	i := len(buf)
    	for {
    		i -= w
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. src/go/types/typestring.go

    		w.typ(sig.results.vars[0].typ)
    		return
    	}
    
    	// multiple or named result(s)
    	w.tuple(sig.results, false)
    }
    
    // subscript returns the decimal (utf8) representation of x using subscript digits.
    func subscript(x uint64) string {
    	const w = len("₀") // all digits 0...9 have the same utf8 width
    	var buf [32 * w]byte
    	i := len(buf)
    	for {
    		i -= w
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  3. src/go/types/format.go

    		check.markImports(imp)
    	}
    }
    
    // stripAnnotations removes internal (type) annotations from s.
    func stripAnnotations(s string) string {
    	var buf strings.Builder
    	for _, r := range s {
    		// strip #'s and subscript digits
    		if r < '₀' || '₀'+10 <= r { // '₀' == U+2080
    			buf.WriteRune(r)
    		}
    	}
    	if buf.Len() < len(s) {
    		return buf.String()
    	}
    	return s
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/format.go

    		check.markImports(imp)
    	}
    }
    
    // stripAnnotations removes internal (type) annotations from s.
    func stripAnnotations(s string) string {
    	var buf strings.Builder
    	for _, r := range s {
    		// strip #'s and subscript digits
    		if r < '₀' || '₀'+10 <= r { // '₀' == U+2080
    			buf.WriteRune(r)
    		}
    	}
    	if buf.Len() < len(s) {
    		return buf.String()
    	}
    	return s
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. okhttp-idna-mapping-table/src/main/resources/okhttp3/internal/idna/IdnaMappingTable.txt

    2080          ; mapped                 ; 0030          # 1.1  SUBSCRIPT ZERO
    2081          ; mapped                 ; 0031          # 1.1  SUBSCRIPT ONE
    2082          ; mapped                 ; 0032          # 1.1  SUBSCRIPT TWO
    2083          ; mapped                 ; 0033          # 1.1  SUBSCRIPT THREE
    2084          ; mapped                 ; 0034          # 1.1  SUBSCRIPT FOUR
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Feb 10 11:25:47 UTC 2024
    - 854.1K bytes
    - Viewed (0)
  6. src/go/types/instantiate_test.go

    		t.Errorf("instantiated %q, want %q", got, want)
    	}
    }
    
    // Copied from errors.go.
    func stripAnnotations(s string) string {
    	var buf strings.Builder
    	for _, r := range s {
    		// strip #'s and subscript digits
    		if r < '₀' || '₀'+10 <= r { // '₀' == U+2080
    			buf.WriteRune(r)
    		}
    	}
    	if buf.Len() < len(s) {
    		return buf.String()
    	}
    	return s
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/api.go

    func (err Error) Error() string {
    	return fmt.Sprintf("%s: %s", err.Pos, err.Msg)
    }
    
    // FullError returns an error string like Error, buy it may contain
    // type-checker internal details such as subscript indices for type
    // parameters and more. Useful for debugging.
    func (err Error) FullError() string {
    	return fmt.Sprintf("%s: %s", err.Pos, err.Full)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 13:48:53 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  8. src/go/internal/gcimporter/iimport.go

    		declData: declData,
    		pkgIndex: make(map[*types.Package]map[string]uint64),
    		typCache: make(map[uint64]types.Type),
    		// Separate map for typeparams, keyed by their package and unique
    		// name (name with subscript).
    		tparamIndex: make(map[ident]*types.TypeParam),
    
    		fake: fakeFileSet{
    			fset:  fset,
    			files: make(map[string]*fileInfo),
    		},
    	}
    	defer p.fake.setLines() // set lines for files in fset
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/text/cases/map.go

    		c.writeBytes(b[:sz])
    		i = len(b[sz:]) / 2 // Greek modifiers are always of length 2.
    	}
    
    	for ; i < maxIgnorable && c.next(); i++ {
    		switch r, _ := utf8.DecodeRune(c.src[c.pSrc:]); r {
    		// Above and Iota Subscript
    		case 0x0300, // U+0300 COMBINING GRAVE ACCENT
    			0x0301, // U+0301 COMBINING ACUTE ACCENT
    			0x0304, // U+0304 COMBINING MACRON
    			0x0306, // U+0306 COMBINING BREVE
    			0x0308, // U+0308 COMBINING DIAERESIS
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  10. pkg/apis/core/validation/validation_test.go

    								APIVersion: "v1",
    								FieldPath:  "metadata.labels",
    							},
    						}, {
    							Path: "labels with subscript",
    							FieldRef: &core.ObjectFieldSelector{
    								APIVersion: "v1",
    								FieldPath:  "metadata.labels['key']",
    							},
    						}, {
    							Path: "labels with complex subscript",
    							FieldRef: &core.ObjectFieldSelector{
    								APIVersion: "v1",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
Back to top