Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 25 of 25 for stringFind (0.15 sec)

  1. staging/src/k8s.io/apiserver/pkg/cel/library/cost.go

    			// of estimating the additional comparison cost.
    			if elNode := l.listElementNode(*target); elNode != nil {
    				k := elNode.Type().Kind()
    				if k == types.StringKind || k == types.BytesKind {
    					sz := l.sizeEstimate(elNode)
    					elCost = elCost.Add(sz.MultiplyByCostFactor(common.StringTraversalCostFactor))
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/windows/security_windows.go

    //sys	ConvertSidToStringSid(sid *SID, stringSid **uint16) (err error) = advapi32.ConvertSidToStringSidW
    //sys	ConvertStringSidToSid(stringSid *uint16, sid **SID) (err error) = advapi32.ConvertStringSidToSidW
    //sys	GetLengthSid(sid *SID) (len uint32) = advapi32.GetLengthSid
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  3. src/net/netip/netip.go

    // prefix before the dotted quad.
    func (ip Addr) String() string {
    	switch ip.z {
    	case z0:
    		return "invalid IP"
    	case z4:
    		return ip.string4()
    	default:
    		if ip.Is4In6() {
    			return ip.string4In6()
    		}
    		return ip.string6()
    	}
    }
    
    // AppendTo appends a text encoding of ip,
    // as generated by [Addr.MarshalText],
    // to b and returns the extended buffer.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  4. src/strings/strings_test.go

    		b.Run(test.name, func(b *testing.B) {
    			for i := 0; i < b.N; i++ {
    				TrimSpace(test.input)
    			}
    		})
    	}
    }
    
    var stringSink string
    
    func BenchmarkReplaceAll(b *testing.B) {
    	b.ReportAllocs()
    	for i := 0; i < b.N; i++ {
    		stringSink = ReplaceAll("banana", "a", "<>")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    	if r1 == 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func ConvertSidToStringSid(sid *SID, stringSid **uint16) (err error) {
    	r1, _, e1 := syscall.Syscall(procConvertSidToStringSidW.Addr(), 2, uintptr(unsafe.Pointer(sid)), uintptr(unsafe.Pointer(stringSid)), 0)
    	if r1 == 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 195.8K bytes
    - Viewed (0)
Back to top