Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 618 for Trune (0.05 sec)

  1. test/convert1.go

    	_ = Tstring(s)
    	_ = Tbyte(s)
    	_ = Trune(s)
    	_ = Tint64(s) // ERROR "cannot convert.*Tint64|invalid type conversion"
    
    	_ = string(sb)
    	_ = []byte(sb)
    	_ = []rune(sb)  // ERROR "cannot convert.*\[\]rune|invalid type conversion"
    	_ = []int64(sb) // ERROR "cannot convert.*\[\]int64|invalid type conversion"
    	_ = Tstring(sb)
    	_ = Tbyte(sb)
    	_ = Trune(sb)  // ERROR "cannot convert.*Trune|invalid type conversion"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 3.4K bytes
    - Viewed (0)
  2. test/convlit.go

    var _ []byte = ss // ERROR "cannot use|incompatible|invalid"
    
    // named slice is now ok
    type Trune []rune
    type Tbyte []byte
    
    var _ = Trune("abc") // ok
    var _ = Tbyte("abc") // ok
    
    // implicit is still not
    var _ Trune = "abc" // ERROR "cannot use|incompatible|invalid|cannot convert"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 23 05:11:09 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/profile/prune.go

    					break
    				}
    			}
    		}
    
    		if i >= 0 {
    			// Found matching entry to prune.
    			pruneBeneath[loc.ID] = true
    
    			// Remove the matching location.
    			if i == len(loc.Line)-1 {
    				// Matched the top entry: prune the whole location.
    				prune[loc.ID] = true
    			} else {
    				loc.Line = loc.Line[i+1:]
    			}
    		}
    	}
    
    	// Prune locs from each Sample
    	for _, sample := range p.Sample {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/defaulting/prune.go

    		if err != nil {
    			return false, fmt.Errorf("failed to prune default value: %v", err)
    		}
    		if err := structuralobjectmeta.Coerce(nil, obj, p.rootSchema, true, true); err != nil {
    			return false, fmt.Errorf("failed to prune default value: %v", err)
    		}
    		pruning.Prune(obj, p.rootSchema, true)
    		s.Default.Object, _, err = acc(obj)
    		if err != nil {
    			return false, fmt.Errorf("failed to prune default value: %v", err)
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 23 20:20:54 UTC 2019
    - 2.6K bytes
    - Viewed (0)
  5. src/internal/profile/prune.go

    					}
    				}
    			}
    		}
    
    		if i >= 0 {
    			// Found matching entry to prune.
    			pruneBeneath[loc.ID] = true
    
    			// Remove the matching location.
    			if i == len(loc.Line)-1 {
    				// Matched the top entry: prune the whole location.
    				prune[loc.ID] = true
    			} else {
    				loc.Line = loc.Line[i+1:]
    			}
    		}
    	}
    
    	// Prune locs from each Sample
    	for _, sample := range p.Sample {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 17 19:35:56 UTC 2020
    - 2.4K bytes
    - Viewed (0)
  6. test/rune.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test rune constants, expressions and types.
    // Compiles but does not run.
    
    package rune
    
    var (
    	r0 = 'a'
    	r1 = 'a'+1
    	r2 = 1+'a'
    	r3 = 'a'*2
    	r4 = 'a'/2
    	r5 = 'a'<<1
    	r6 = 'b'<<2
    	r7 int32
    
    	r = []rune{r0, r1, r2, r3, r4, r5, r6, r7}
    )
    
    var (
    	f0 = 1.2
    	f1 = 1.2/'a'
    
    	f = []float64{f0, f1}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 603 bytes
    - Viewed (0)
  7. operator/pkg/helmreconciler/prune.go

    		{Group: "autoscaling", Version: "v2", Kind: name.HPAStr},
    		gvk.EnvoyFilter.Kubernetes(),
    	}
    	return res
    }
    
    // Prune removes any resources not specified in manifests generated by HelmReconciler h.
    func (h *HelmReconciler) Prune(manifests name.ManifestMap, all bool) error {
    	return h.runForAllTypes(func(labels map[string]string, objects *unstructured.UnstructuredList) error {
    		var errs util.Errors
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/text/unicode/norm/composition.go

    	bn := rb.rune[pos].pos
    	sz := utf8.EncodeRune(rb.byte[bn:], rune(r))
    	rb.rune[pos] = Properties{pos: bn, size: uint8(sz)}
    }
    
    // runeAt returns the rune at position n. It is used for Hangul and recomposition.
    func (rb *reorderBuffer) runeAt(n int) rune {
    	inf := rb.rune[n]
    	r, _ := utf8.DecodeRune(rb.byte[inf.pos : inf.pos+inf.size])
    	return r
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  9. src/vendor/golang.org/x/text/unicode/norm/composition.go

    	bn := rb.rune[pos].pos
    	sz := utf8.EncodeRune(rb.byte[bn:], rune(r))
    	rb.rune[pos] = Properties{pos: bn, size: uint8(sz)}
    }
    
    // runeAt returns the rune at position n. It is used for Hangul and recomposition.
    func (rb *reorderBuffer) runeAt(n int) rune {
    	inf := rb.rune[n]
    	r, _ := utf8.DecodeRune(rb.byte[inf.pos : inf.pos+inf.size])
    	return r
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 19:27:51 UTC 2019
    - 14.1K bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/text/unicode/norm/normalize.go

    			return false
    		}
    		bp, _ = rb.f.quickSpan(rb.src, bp, len(b), true)
    	}
    	return true
    }
    
    func cmpNormalBytes(rb *reorderBuffer) bool {
    	b := rb.out
    	for i := 0; i < rb.nrune; i++ {
    		info := rb.rune[i]
    		if int(info.size) > len(b) {
    			return false
    		}
    		p := info.pos
    		pe := p + info.size
    		for ; p < pe; p++ {
    			if b[0] != rb.byte[p] {
    				return false
    			}
    			b = b[1:]
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 22:26:23 UTC 2022
    - 14.9K bytes
    - Viewed (0)
Back to top