- Sort Score
- Result 10 results
- Languages All
Results 431 - 440 of 6,333 for strings (0.12 sec)
-
src/archive/zip/writer_test.go
} } // TestWriterComment is test for EOCD comment read/write. func TestWriterComment(t *testing.T) { tests := []struct { comment string ok bool }{ {"hi, hello", true}, {"hi, こんにちわ", true}, {strings.Repeat("a", uint16max), true}, {strings.Repeat("a", uint16max+1), false}, } for _, test := range tests { // write a zip file buf := new(bytes.Buffer) w := NewWriter(buf)
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Sep 23 14:32:33 UTC 2024 - 14.4K bytes - Viewed (0) -
guava/src/com/google/common/net/HostAndPort.java
} /** * Parses a bracketed host-port string, throwing IllegalArgumentException if parsing fails. * * @param hostPortString the full bracketed host-port specification. Port might not be specified. * @return an array with 2 strings: host and port, in that order. * @throws IllegalArgumentException if parsing the bracketed host-port string fails. */ private static String[] getHostAndPortFromBracketedHost(String hostPortString) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jul 22 22:02:22 UTC 2024 - 11.3K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Hashing.java
* Comparisons between the two should take this into account. * * <p>Fingerprint2011() is a form of Murmur2 on strings up to 32 bytes and a form of CityHash for * longer strings. It could have been one or the other throughout. The main advantage of the * combination is that CityHash has a bunch of special cases for short strings that don't need to * be replicated here. The result will never be 0 or 1. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jul 19 16:02:36 UTC 2024 - 29.3K bytes - Viewed (0) -
ci/official/envs/installer_wheel_tensorflow
TFCI_INSTALLER_WHL_ENABLE=1 TFCI_INSTALLER_WHL_PROJECT_NAME="tensorflow" TFCI_INSTALLER_WHL_NIGHTLY_PROJECT_NAME="tf_nightly" # Supported wheel tags are stored as strings in TFCI_INSTALLER_WHL_TAGS # separated by spaces. TFCI_INSTALLER_WHL_TAGS="cp39-cp39-win_amd64 cp310-cp310-win_amd64 cp311-cp311-win_amd64 cp312-cp312-win_amd64"
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Fri Jul 26 14:26:18 UTC 2024 - 1K bytes - Viewed (0) -
cmd/utils_test.go
} } func TestLCP(t *testing.T) { testCases := []struct { prefixes []string commonPrefix string }{ {[]string{"", ""}, ""}, {[]string{"a", "b"}, ""}, {[]string{"a", "a"}, "a"}, {[]string{"a/", "a/"}, "a/"}, {[]string{"abcd/", ""}, ""}, {[]string{"abcd/foo/", "abcd/bar/"}, "abcd/"}, {[]string{"abcd/foo/bar/", "abcd/foo/bar/zoo"}, "abcd/foo/bar/"}, }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Feb 23 21:28:14 UTC 2024 - 10.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java
public class TreeMultimapExplicitTest extends TestCase { /** * Compare strings lengths, and if the lengths are equal compare the strings. A {@code null} is * less than any non-null value. */ private enum StringLength implements Comparator<@Nullable String> { COMPARATOR; @Override public int compare(@Nullable String first, @Nullable String second) { if (first == second) { return 0;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 8.4K bytes - Viewed (0) -
cmd/erasure-multipart.go
crc := expPart.Checksums[checksumType.String()] if crc == "" { return oi, InvalidPart{ PartNumber: part.PartNumber, } } wantCS := map[string]string{ hash.ChecksumCRC32.String(): part.ChecksumCRC32, hash.ChecksumCRC32C.String(): part.ChecksumCRC32C, hash.ChecksumSHA1.String(): part.ChecksumSHA1, hash.ChecksumSHA256.String(): part.ChecksumSHA256, }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Sep 29 22:40:36 UTC 2024 - 44.7K bytes - Viewed (0) -
cmd/os-instrumented.go
defer updateOSMetrics(osMetricMkdirAll, dirPath)(err) return osMkdirAll(dirPath, mode, baseDir) } // Rename captures time taken to call os.Rename func Rename(src, dst string) (err error) { defer updateOSMetrics(osMetricRename, src, dst)(err) return RenameSys(src, dst) } // OpenFile captures time taken to call os.OpenFile
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Feb 15 01:09:38 UTC 2024 - 6.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestStringSortedMapGenerator.java
public Entry<String, String> belowSamplesGreater() { return mapEntry("!! b", "below view"); } @Override public Entry<String, String> aboveSamplesLesser() { return mapEntry("~~ a", "above view"); } @Override public Entry<String, String> aboveSamplesGreater() { return mapEntry("~~ b", "above view"); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestStringSortedMapGenerator.java
public Entry<String, String> belowSamplesGreater() { return mapEntry("!! b", "below view"); } @Override public Entry<String, String> aboveSamplesLesser() { return mapEntry("~~ a", "above view"); } @Override public Entry<String, String> aboveSamplesGreater() { return mapEntry("~~ b", "above view"); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2K bytes - Viewed (0)