Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for KindString (0.42 sec)

  1. src/log/slog/value.go

    // The zero Value corresponds to nil.
    type Value struct {
    	_ [0]func() // disallow ==
    	// num holds the value for Kinds Int64, Uint64, Float64, Bool and Duration,
    	// the string length for KindString, and nanoseconds since the epoch for KindTime.
    	num uint64
    	// If any is of type Kind, then the value is in num as described above.
    	// If any is of type *time.Location, then the Kind is Time and time.Time value
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:12:08 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. src/go/types/expr.go

    	case *Slice, *Signature, *Map:
    		return check.kindString(typ) + " can only be compared to nil"
    	}
    	// see if we can extract a more specific error
    	var cause string
    	comparable(typ, true, nil, func(format string, args ...interface{}) {
    		cause = check.sprintf(format, args...)
    	})
    	return cause
    }
    
    // kindString returns the type kind as a string.
    func (check *Checker) kindString(typ Type) string {
    	switch under(typ).(type) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/expr.go

    	case *Slice, *Signature, *Map:
    		return check.kindString(typ) + " can only be compared to nil"
    	}
    	// see if we can extract a more specific error
    	var cause string
    	comparable(typ, true, nil, func(format string, args ...interface{}) {
    		cause = check.sprintf(format, args...)
    	})
    	return cause
    }
    
    // kindString returns the type kind as a string.
    func (check *Checker) kindString(typ Type) string {
    	switch under(typ).(type) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  4. src/cmd/go/internal/work/security.go

    		arg := list[i]
    		if disallow != nil && disallow.FindString(arg) == arg {
    			goto Bad
    		}
    		if allow != nil && allow.FindString(arg) == arg {
    			continue Args
    		}
    		for _, re := range invalid {
    			if re.FindString(arg) == arg { // must be complete match
    				goto Bad
    			}
    		}
    		for _, re := range valid {
    			if re.FindString(arg) == arg { // must be complete match
    				continue Args
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:47:34 UTC 2024
    - 10K bytes
    - Viewed (0)
  5. Makefile.core.mk

    # Our build tools, post jammy, breaks old versions of docker.
    # These old versions are surprisingly common, so build in a check here
    define warning
    Docker version is too old, please upgrade to a newer version.
    endef
    ifneq ($(findstring google,$(HOSTNAME)),)
    warning+=Googlers: go/installdocker\#the-version-of-docker-thats-installed-is-old-eg-1126
    endif
    # The old docker issue manifests as not being able to run *any* binary. So we can test
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Jun 02 19:53:04 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  6. pilot/pkg/model/context.go

    // ParseIstioVersion parses a version string and returns IstioVersion struct
    func ParseIstioVersion(ver string) *IstioVersion {
    	// strip the release- prefix if any and extract the version string
    	ver = istioVersionRegexp.FindString(strings.TrimPrefix(ver, "release-"))
    
    	if ver == "" {
    		// return very large values assuming latest version
    		return MaxIstioVersion
    	}
    
    	parts := strings.Split(ver, ".")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 08:29:05 UTC 2024
    - 33.6K bytes
    - Viewed (1)
  7. docs/debugging/xl-meta/main.go

    								b2 = b3
    							}
    						}
    						toPrint = append(toPrint, fmt.Sprintf("\t%s: %s", string(b), string(b2)))
    					} else if c.Bool("combine") && isPart.MatchString(file.Name) {
    						// name := isPart.FindString(file.Name)
    						name := strings.ReplaceAll(file.Name, ":", "_")
    						r, err := file.Open()
    						if err != nil {
    							return err
    						}
    						all, err := io.ReadAll(r)
    						if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 31 14:49:23 UTC 2024
    - 38.5K bytes
    - Viewed (0)
Back to top