- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 242 for healing (0.09 sec)
-
android/guava-tests/test/com/google/common/hash/BloomFilterTest.java
double fpp = 0.03; for (int i = 1; i < 10000; i++) { long numBits = BloomFilter.optimalNumOfBits(i, fpp); int arraySize = Ints.checkedCast(LongMath.divide(numBits, 64, RoundingMode.CEILING)); assertEquals( arraySize * Long.SIZE, BloomFilter.create(Funnels.unencodedCharsFunnel(), i, fpp).bitSize()); } } public void testApproximateElementCount() {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 22K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/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.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Aug 04 07:38:48 UTC 2025 - 69.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java
assertEquals("\"", result[1]); assertEquals("\"\"", result[2]); } public void test_parse_whitespace() { String value; String[] result; // Leading and trailing spaces value = " value1 , value2 , value3 "; result = KuromojiCSVUtil.parse(value); assertEquals(3, result.length); assertEquals(" value1 ", result[0]);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 18.7K bytes - Viewed (0) -
src/bufio/scan.go
// license that can be found in the LICENSE file. package bufio import ( "bytes" "errors" "io" "unicode/utf8" ) // Scanner provides a convenient interface for reading data such as // a file of newline-delimited lines of text. Successive calls to // the [Scanner.Scan] method will step through the 'tokens' of a file, skipping // the bytes between the tokens. The specification of a token is
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed May 21 18:05:26 UTC 2025 - 14.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/Multiset.java
* {@link Collections#frequency} (which would presumably perform more poorly). * * <p><b>Note:</b> the utility method {@link Iterables#frequency} generalizes this operation; it * correctly delegates to this method when dealing with a multiset, but it can also accept any * other iterable type. * * @param element the element to count occurrences ofRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 20.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/BloomFilterTest.java
double fpp = 0.03; for (int i = 1; i < 10000; i++) { long numBits = BloomFilter.optimalNumOfBits(i, fpp); int arraySize = Ints.checkedCast(LongMath.divide(numBits, 64, RoundingMode.CEILING)); assertEquals( arraySize * Long.SIZE, BloomFilter.create(Funnels.unencodedCharsFunnel(), i, fpp).bitSize()); } } public void testApproximateElementCount() {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 22K bytes - Viewed (0) -
cmd/generic-handlers.go
// such as ".." and "." func hasBadPathComponent(path string) bool { n := len(path) if n > 32<<10 { // At 32K we are beyond reasonable. return true } i := 0 // Skip leading slashes (for sake of Windows \ is included as well) for i < n && (path[i] == SlashSeparatorChar || path[i] == '\\') { i++ } for i < n { // Find the next segment start := i
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 20.7K bytes - Viewed (1) -
android/guava/src/com/google/common/io/ByteSource.java
* than would be returned by reading all of the bytes (for example, some special files may return * a size of 0 despite actually having content when read). * * <p>In either case, for mutable sources such as files, a subsequent read may return a different * number of bytes if the contents are changed. * * @throws IOException if an I/O error occurs while reading the size of this source */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Mar 20 20:55:20 UTC 2025 - 25.7K bytes - Viewed (0) -
guava/src/com/google/common/net/InetAddresses.java
* possible over their JDK equivalents whenever you are expecting to handle only IP address string * literals -- there is no blocking DNS penalty for a malformed string. * * <p>When dealing with {@link Inet4Address} and {@link Inet6Address} objects as byte arrays (vis. * {@code InetAddress.getAddress()}) they are 4 and 16 bytes in length, respectively, and represent * the address in network byte order. *Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 47.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/ExecJobTest.java
String testSuffix = "test suffix"; ExecJob result = execJob.logSuffix(testSuffix); assertEquals("test_suffix", execJob.logSuffix); assertSame(execJob, result); // Test with leading/trailing spaces result = execJob.logSuffix(" another suffix "); assertEquals("another_suffix", execJob.logSuffix); // Test with multiple spaces
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 24.5K bytes - Viewed (0)