Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for NameString (0.21 sec)

  1. src/cmd/compile/internal/types/fmt.go

    // implement a type-identity-keyed map.
    func (t *Type) LinkString() string {
    	return tconv(t, 0, fmtTypeID)
    }
    
    // NameString generates a user-readable, mostly unique string
    // description of t. NameString always returns the same description
    // for identical types, even across compilation units.
    //
    // NameString qualifies identifiers by package name, so it has
    // collisions when different packages share the same names and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 15:41:17 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/cel/library/format.go

    		cel.Overload("format-named", []*cel.Type{cel.StringType}, cel.OptionalType(apiservercel.FormatType), cel.UnaryBinding(func(name ref.Val) ref.Val {
    			nameString, ok := name.Value().(string)
    			if !ok {
    				return types.MaybeNoSuchOverloadErr(name)
    			}
    
    			f, ok := ConstantFormats[nameString]
    			if !ok {
    				return types.OptionalNone
    			}
    			return types.OptionalOf(f)
    		})),
    	},
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. pkg/proxy/iptables/proxier.go

    	svcPort.nameString = svcPortName.String()
    	svcPort.clusterPolicyChainName = servicePortPolicyClusterChain(svcPort.nameString, protocol)
    	svcPort.localPolicyChainName = servicePortPolicyLocalChainName(svcPort.nameString, protocol)
    	svcPort.firewallChainName = serviceFirewallChainName(svcPort.nameString, protocol)
    	svcPort.externalChainName = serviceExternalChainName(svcPort.nameString, protocol)
    
    	return svcPort
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 65.1K bytes
    - Viewed (0)
  4. pkg/proxy/nftables/proxier.go

    	return proxier, nil
    }
    
    // internal struct for string service information
    type servicePortInfo struct {
    	*proxy.BaseServicePortInfo
    	// The following fields are computed and stored for performance reasons.
    	nameString             string
    	clusterPolicyChainName string
    	localPolicyChainName   string
    	externalChainName      string
    	firewallChainName      string
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  5. pkg/proxy/ipvs/proxier.go

    }
    
    // internal struct for string service information
    type servicePortInfo struct {
    	*proxy.BaseServicePortInfo
    	// The following fields are computed and stored for performance reasons.
    	nameString string
    }
    
    // returns a new proxy.ServicePort which abstracts a serviceInfo
    func newServiceInfo(port *v1.ServicePort, service *v1.Service, bsvcPortInfo *proxy.BaseServicePortInfo) proxy.ServicePort {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 28 15:51:23 UTC 2024
    - 77.7K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go

    }
    
    func svcCall(fnptr unsafe.Pointer, argv *unsafe.Pointer, dsa *uint64)
    func svcLoad(name *byte) unsafe.Pointer
    func svcUnload(name *byte, fnptr unsafe.Pointer) int64
    
    func (d *Dirent) NameString() string {
    	if d == nil {
    		return ""
    	}
    	s := string(d.Name[:])
    	idx := strings.IndexByte(s, 0)
    	if idx == -1 {
    		return s
    	} else {
    		return s[:idx]
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 84.4K bytes
    - Viewed (0)
Back to top