- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of about 10,000 for String4 (0.39 sec)
-
pilot/pkg/security/authz/model/generator.go
) type generator interface { permission(key, value string, forTCP bool) (*rbacpb.Permission, error) principal(key, value string, forTCP bool, useAuthenticated bool) (*rbacpb.Principal, error) } type extendedGenerator interface { extendedPermission(key string, value []string, forTCP bool) (*rbacpb.Permission, error) extendedPrincipal(key string, value []string, forTCP bool) (*rbacpb.Principal, error) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 03 18:02:42 UTC 2024 - 14.1K bytes - Viewed (0) -
pilot/pkg/security/trustdomain/util.go
if !strings.HasSuffix(pattern, "*") { return false } pattern = strings.TrimSuffix(pattern, "*") return strings.HasPrefix(a, pattern) } // suffixMatch checks if pattern is a suffix match and if string a has the given suffix. func suffixMatch(a string, pattern string) bool { if !strings.HasPrefix(pattern, "*") { return false } pattern = strings.TrimPrefix(pattern, "*") return strings.HasSuffix(a, pattern) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Aug 13 15:27:59 UTC 2021 - 2K bytes - Viewed (0) -
pilot/pkg/model/credentials/resource.go
Cluster cluster.ID } func (sr SecretResource) Key() string { return sr.ResourceType + "/" + sr.Name + "/" + sr.Namespace + "/" + string(sr.Cluster) } func (sr SecretResource) KubernetesResourceName() string { return fmt.Sprintf("%s://%s/%s", sr.ResourceType, sr.Namespace, sr.Name) } func ToKubernetesGatewayResource(namespace, name string) string { if strings.HasPrefix(name, BuiltinGatewaySecretTypeURI) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Feb 28 20:33:15 UTC 2023 - 5.1K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java
import java.util.Random; /** Benchmarks for the hashing of UTF-8 strings. */ public class HashStringBenchmark { static class MaxCodePoint { final int value; /** * Convert the input string to a code point. Accepts regular decimal numerals, hex strings, and * some symbolic names meaningful to humans. */ private static int decode(String userFriendly) { try { return Integer.decode(userFriendly);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 5.3K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/api/internal/cache/StringInternerTest.groovy
} def "should return first instance when multiple strings with similar contents are interned"() { given: def strings = (1..5).collect { new String('hello') } assert strings.collect { System.identityHashCode(it) }.unique().size() == 5 def firstInstance = strings.first() when: def internedStrings = strings.collect { stringInterner.intern(it) } then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 2.1K bytes - Viewed (0) -
src/cmd/go/internal/base/goflags.go
package base import ( "flag" "fmt" "runtime" "strings" "cmd/go/internal/cfg" "cmd/internal/quoted" ) var goflags []string // cached $GOFLAGS list; can be -x or --x form // GOFLAGS returns the flags from $GOFLAGS. // The list can be assumed to contain one string per flag, // with each string either beginning with -name or --name. func GOFLAGS() []string { InitGOFLAGS() return goflags }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 19 14:42:39 UTC 2023 - 4.5K bytes - Viewed (0) -
src/cmd/vet/vet_test.go
var res []string for _, line := range strings.Split(out, "\n") { line = strings.TrimSuffix(line, "\r") // normalize Windows output if strings.HasPrefix(line, "\t") { res[len(res)-1] += "\n" + line } else if strings.HasPrefix(line, "go tool") || strings.HasPrefix(line, "#") || !wantAuto && strings.HasPrefix(line, "<autogenerated>") { continue
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 01:02:40 UTC 2024 - 12.5K bytes - Viewed (0) -
platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/FilteringClassLoaderSpecSerializer.java
private void encodeStrings(Encoder encoder, Set<String> strings) throws Exception { encoder.writeInt(strings.size()); for (String string : strings) { encoder.writeString(string); } } @Override public FilteringClassLoader.Spec read(Decoder decoder) throws Exception { List<String> classNames = decodeStrings(decoder); List<String> disallowedClassNames = decodeStrings(decoder);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 2.7K bytes - Viewed (0) -
src/cmd/go/internal/vcs/discovery.go
} if e, ok := t.(xml.StartElement); ok && strings.EqualFold(e.Name.Local, "body") { break } if e, ok := t.(xml.EndElement); ok && strings.EqualFold(e.Name.Local, "head") { break } e, ok := t.(xml.StartElement) if !ok || !strings.EqualFold(e.Name.Local, "meta") { continue } if attrValue(e.Attr, "name") != "go-import" { continue } if f := strings.Fields(attrValue(e.Attr, "content")); len(f) == 3 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 11 18:14:49 UTC 2020 - 2.6K bytes - Viewed (0) -
pkg/apis/core/validation/names.go
// to the rules documented on the type. func ValidateClusterTrustBundleName(signerName string) func(name string, prefix bool) []string { return func(name string, isPrefix bool) []string { if signerName == "" { if strings.Contains(name, ":") { return []string{"ClusterTrustBundle without signer name must not have \":\" in its name"} }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 03 18:40:48 UTC 2023 - 5.5K bytes - Viewed (0)