Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 401 for Trune (0.08 sec)

  1. test/typeparam/builtins.go

    type M2 interface {
    	map[string]int | map[string]float64
    }
    type M3 interface{ map[string]int | map[rune]int }
    type M4[K comparable, V any] interface{ map[K]V | map[rune]V }
    
    func g1[T M1](m T) {
    	delete(m, "foo")
    }
    
    func g2[T M2](m T) {
    	delete(m, "foo")
    }
    
    func g3[T M4[rune, V], V any](m T) {
    	delete(m, 'k')
    }
    
    // make
    
    func m1[
    	S1 interface{ []int },
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 09:04:48 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types/fmt.go

    	buf.WriteString(s.Name)
    	return InternString(buf.Bytes())
    }
    
    func sconv2(b *bytes.Buffer, s *Sym, verb rune, mode fmtMode) {
    	if verb == 'L' {
    		panic("linksymfmt")
    	}
    	if s == nil {
    		b.WriteString("<S>")
    		return
    	}
    
    	symfmt(b, s, verb, mode)
    }
    
    func symfmt(b *bytes.Buffer, s *Sym, verb rune, mode fmtMode) {
    	name := s.Name
    	if q := pkgqual(s.Pkg, verb, mode); q != "" {
    		b.WriteString(q)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 15:41:17 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  3. src/runtime/string.go

    	}
    	copy(b, s)
    	return b
    }
    
    func stringtoslicerune(buf *[tmpStringBufSize]rune, s string) []rune {
    	// two passes.
    	// unlike slicerunetostring, no race because strings are immutable.
    	n := 0
    	for range s {
    		n++
    	}
    
    	var a []rune
    	if buf != nil && n <= len(buf) {
    		*buf = [tmpStringBufSize]rune{}
    		a = buf[:n]
    	} else {
    		a = rawruneslice(n)
    	}
    
    	n = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. samples/ambient-argo/application/application.yaml

      source:
        path: application
        repoURL: '{repo-placeholder}'
        targetRevision: HEAD
        directory:
          exclude: application.yaml
      project: default
      syncPolicy:
        automated:
          prune: true
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Nov 04 01:54:50 UTC 2023
    - 461 bytes
    - Viewed (0)
  5. src/vendor/golang.org/x/net/idna/trie12.0.0.go

    // license that can be found in the LICENSE file.
    
    //go:build !go1.16
    
    package idna
    
    // appendMapping appends the mapping for the respective rune. isMapped must be
    // true. A mapping is a categorization of a rune as defined in UTS #46.
    func (c info) appendMapping(b []byte, s string) []byte {
    	index := int(c >> indexShift)
    	if c&xorBit == 0 {
    		s := mappings[index:]
    		return append(b, s[1:s[0]+1]...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 852 bytes
    - Viewed (0)
  6. src/fmt/print.go

    	Flag(c int) bool
    }
    
    // Formatter is implemented by any value that has a Format method.
    // The implementation controls how [State] and rune are interpreted,
    // and may call [Sprint] or [Fprint](f) etc. to generate its output.
    type Formatter interface {
    	Format(f State, verb rune)
    }
    
    // Stringer is implemented by any value that has a String method,
    // which defines the “native” format for that value.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:22:43 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  7. src/go/types/object_test.go

    		{NewTypeName(nopos, pkg, "int32", Typ[Int32]), true},              // type name is declared in user-defined package (outside Universe)
    		{NewTypeName(nopos, nil, "rune", Typ[Rune]), true},                // type name refers to basic type rune which is an alias already
    		{t5, false}, // type name refers to type parameter and vice versa
    	} {
    		check(test.name, test.alias)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. samples/ambient-argo/istio/tags.yaml

      namespace: argocd
      finalizers:
        - resources-finalizer.argocd.argoproj.io
    spec:
      project: default
      destination:
        name: ambient-cluster
        namespace: istio-system
      syncPolicy:
        automated:
          prune: true
          selfHeal: true
        syncOptions:
          - CreateNamespace=true
      source:
        path: tag-chart
        repoURL: '{repo-placeholder}'
        targetRevision: HEAD
        helm:
          valuesObject:
            base:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Nov 04 01:54:50 UTC 2023
    - 754 bytes
    - Viewed (0)
  9. src/strconv/doc.go

    //
    //	q := strconv.Quote("Hello, 世界")
    //	q := strconv.QuoteToASCII("Hello, 世界")
    //
    // [QuoteRune] and [QuoteRuneToASCII] are similar but accept runes and
    // return quoted Go rune literals.
    //
    // [Unquote] and [UnquoteChar] unquote Go string and rune literals.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. samples/ambient-argo/istio/extras.yaml

        targetRevision: HEAD
        path: samples/addons
        directory:
          exclude: loki.yaml
      destination:
        name: ambient-cluster
        namespace: istio-system
      syncPolicy:
        automated:
          prune: true
          selfHeal: true
        syncOptions:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Nov 04 01:54:50 UTC 2023
    - 519 bytes
    - Viewed (0)
Back to top