- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 6,457 for stringa (0.17 sec)
-
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);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 5.3K bytes - Viewed (0) -
utils/utils.go
// NestedRelationName nested relationships like `Manager__Company` func NestedRelationName(prefix, name string) string { return prefix + nestedRelationSplit + name } // SplitNestedRelationName Split nested relationships to `[]string{"Manager","Company"}` func SplitNestedRelationName(name string) []string { return strings.Split(name, nestedRelationSplit) } // JoinNestedRelationNames nested relationships like `Manager__Company`
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Mon Apr 22 06:43:02 GMT 2024 - 3.8K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/cluster.go
return false } if c.Subset != "" && !strings.Contains(name, c.Subset) { return false } if c.Port != 0 { p := fmt.Sprintf("|%v|", c.Port) if !strings.Contains(name, p) { return false } } return true } // PrintClusterSummary prints a summary of the relevant clusters in the config dump to the ConfigWriter stdout
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu May 11 05:38:17 GMT 2023 - 5.9K bytes - Viewed (0) -
src/archive/tar/reader_test.go
} func TestParsePAX(t *testing.T) { vectors := []struct { in string want map[string]string ok bool }{ {"", nil, true}, {"6 k=1\n", map[string]string{"k": "1"}, true}, {"10 a=name\n", map[string]string{"a": "name"}, true}, {"9 a=name\n", map[string]string{"a": "name"}, true}, {"30 mtime=1350244992.023960108\n", map[string]string{"mtime": "1350244992.023960108"}, true}, {"3 somelongkey=\n", nil, false},
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Nov 21 21:14:38 GMT 2022 - 47.1K bytes - Viewed (0) -
internal/s3select/sql/stringfuncs.go
} if hasLeadingPercent { return strings.HasSuffix(text, string(s)), nil } return string(s) == text, nil } // matcher - Finds `pat` in `text`, and returns the part remainder of // `text`, after the match. If leadingPercent is false, `pat` must be // the prefix of `text`, otherwise it must be a substring. func matcher(text, pat string, leadingPercent bool) (res string, match bool) { if !leadingPercent {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 4.2K bytes - Viewed (0) -
internal/config/lambda/event/targetid.go
import ( "encoding/json" "fmt" "strings" ) // TargetID - holds identification and name strings of notification target. type TargetID struct { ID string Name string } // String - returns string representation. func (tid TargetID) String() string { return tid.ID + ":" + tid.Name } // ToARN - converts to ARN. func (tid TargetID) ToARN(region string) ARN { return ARN{TargetID: tid, region: region}
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Mar 07 16:12:41 GMT 2023 - 1.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt
@Throws(IOException::class) internal fun setLengths(strings: List<String>) { if (strings.size != valueCount) { invalidLengths(strings) } try { for (i in strings.indices) { lengths[i] = strings[i].toLong() } } catch (_: NumberFormatException) { invalidLengths(strings) } }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 34.7K bytes - Viewed (0) -
istioctl/pkg/wait/wait_test.go
fErr := cmd.Execute() output := out.String() if c.expectedOutput != "" && !strings.Contains(output, c.expectedOutput) { t.Fatalf("Unexpected output for 'istioctl %s'\n got: %q\nwant: %q", strings.Join(c.args, " "), output, c.expectedOutput) } if c.wantException { if fErr == nil { t.Fatalf("Wanted an exception for 'istioctl %s', didn't get one, output was %q", strings.Join(c.args, " "), output) } } else {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 08:28:50 GMT 2024 - 6.8K bytes - Viewed (1) -
src/archive/tar/common.go
func (h Header) allowedFormats() (format Format, paxHdrs map[string]string, err error) { format = FormatUSTAR | FormatPAX | FormatGNU paxHdrs = make(map[string]string) var whyNoUSTAR, whyNoPAX, whyNoGNU string var preferPAX bool // Prefer PAX over USTAR verifyString := func(s string, size int, name, paxKey string) { // NUL-terminator is optional for path and linkpath.
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Mar 15 16:01:50 GMT 2024 - 24.7K bytes - Viewed (2) -
cni/pkg/install/cniconfig.go
cniNetDir string kubeconfigFilename string logLevel string k8sServiceHost string k8sServicePort string k8sNodeName string logUDSAddress string cniEventAddress string } func getPluginConfig(cfg *config.InstallConfig) pluginConfig { return pluginConfig{ mountedCNINetDir: cfg.MountedCNINetDir, cniConfName: cfg.CNIConfName, chainedCNIPlugin: cfg.ChainedCNIPlugin,
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 10.4K bytes - Viewed (0)