- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 68 for LEADING (0.27 sec)
-
android/guava/src/com/google/common/primitives/Doubles.java
* <p>Unlike {@link Double#parseDouble(String)}, this method returns {@code null} instead of * throwing an exception if parsing fails. Valid inputs are exactly those accepted by {@link * Double#valueOf(String)}, except that leading and trailing whitespace is not permitted. * * <p>This implementation is likely to be faster than {@code Double.parseDouble} if many failures * are expected. *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 29 15:43:06 GMT 2024 - 27.1K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt
assertThat(header.constructed).isFalse() assertThat(header.length).isEqualTo(201) } assertThat(derReader.hasNext()).isFalse() } @Test fun `decode length encoded with leading zero byte`() { val buffer = Buffer() .writeByte(0b00000010) .writeByte(0b10000010) .writeByte(0b00000000) .writeByte(0b01111111) val derReader = DerReader(buffer)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 31.7K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Floats.java
* <p>Unlike {@link Float#parseFloat(String)}, this method returns {@code null} instead of * throwing an exception if parsing fails. Valid inputs are exactly those accepted by {@link * Float#valueOf(String)}, except that leading and trailing whitespace is not permitted. * * <p>This implementation is likely to be faster than {@code Float.parseFloat} if many failures * are expected. *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 29 15:43:06 GMT 2024 - 25.2K bytes - Viewed (0) -
android/guava/src/com/google/common/math/IntMath.java
} } private static int log10Floor(int x) { /* * Based on Hacker's Delight Fig. 11-5, the two-table-lookup, branch-free implementation. * * The key idea is that based on the number of leading zeros (equivalently, floor(log2(x))), we * can narrow the possible floor(log10(x)) values to two. For example, if floor(log2(x)) is 6, * then 64 <= x < 128, so floor(log10(x)) is either 1 or 2. */
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 07 17:50:39 GMT 2024 - 23.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HttpUrlTest.kt
if (exceptionMessage != null) { assertThat(iae).hasMessage(exceptionMessage) } } } @Test fun parseTrimsAsciiWhitespace() { val expected = parse("http://host/") // Leading. assertThat(parse("http://host/\u000c\n\t \r")).isEqualTo(expected) // Trailing. assertThat(parse("\r\n\u000c \thttp://host/")).isEqualTo(expected) // Both.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 67.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Cookie.kt
replaceWith = ReplaceWith(expression = "secure"), level = DeprecationLevel.ERROR, ) fun secure(): Boolean = secure /** * @param forObsoleteRfc2965 true to include a leading `.` on the domain pattern. This is * necessary for `example.com` to match `www.example.com` under RFC 2965. This extra dot is * ignored by more recent specifications. */
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 04:12:05 GMT 2024 - 23.1K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InternetDomainName.java
ImmutableList<String> ancestorParts = parts.subList(levels, parts.size()); // levels equals the number of dots that are getting clipped away, then add the length of each // clipped part to get the length of the leading substring that is being removed. int substringFrom = levels; for (int i = 0; i < levels; i++) { substringFrom += parts.get(i).length(); } String ancestorName = name.substring(substringFrom);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 05 20:47:23 GMT 2024 - 28K bytes - Viewed (0) -
docs/changelogs/changelog_4x.md
_2020-04-06_ **This release fixes a severe bug where OkHttp incorrectly detected and recovered from unhealthy connections.** Stale or canceled connections were incorrectly attempted when they shouldn't have been, leading to rare cases of infinite retries. Please upgrade to this release! * Fix: don't return stale DNS entries in `DnsOverHttps`. We were caching DNS results indefinitely
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 17 13:25:31 GMT 2024 - 25.2K bytes - Viewed (0) -
cmd/metacache-set.go
case metacacheSharePrefix: return case o.Prefix == o.BaseDir: // No additional prefix return } // Remove basedir. o.FilterPrefix = strings.TrimPrefix(o.Prefix, o.BaseDir) // Remove leading and trailing slashes. o.FilterPrefix = strings.Trim(o.FilterPrefix, slashSeparator) if strings.Contains(o.FilterPrefix, slashSeparator) { // Sanity check, should not happen. o.FilterPrefix = "" } }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 17:59:08 GMT 2024 - 30.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CookieTest.kt
assertThat(cookie.matches("http://www.example.com".toHttpUrl())).isFalse() assertThat(cookie.matches("http://square.com".toHttpUrl())).isFalse() } /** Ignore an optional leading `.` in the domain. */ @Test fun domainMatchesIgnoresLeadingDot() { val cookie = parse(url, "a=b; domain=.example.com") assertThat(cookie!!.matches("http://example.com".toHttpUrl())).isTrue()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 24.3K bytes - Viewed (0)