- Sort Score
- Result 10 results
- Languages All
Results 521 - 530 of 1,132 for Expected (0.29 sec)
-
android/guava/src/com/google/common/collect/HashBasedTable.java
} /** * Creates an empty {@code HashBasedTable} with the specified map sizes. * * @param expectedRows the expected number of distinct row keys * @param expectedCellsPerRow the expected number of column key / value mappings in each row * @throws IllegalArgumentException if {@code expectedRows} or {@code expectedCellsPerRow} is * negative */Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java
byte[] buffer = new byte[50]; int used = cmd.writeBytesWireFormat(buffer, 0); // Calculate expected size: 1 byte for command + string bytes + 1 null terminator byte[] expectedString = "testfile.txt".getBytes("windows-1252"); assertEquals(1 + expectedString.length + 1, used, "Expected exactly one command byte plus OEM string and NUL terminator");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileFilterTest.java
@MethodSource("nameCases") @DisplayName("accept: name-based filter handles normal, empty, and null names") void accept_nameBasedFilter_handlesEdgeNames(String name, boolean expected) throws Exception { // Arrange: filter that accepts non-empty names ending with .txt SmbFileFilter filter = f -> { String n = f.getName();Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/HashBasedTable.java
} /** * Creates an empty {@code HashBasedTable} with the specified map sizes. * * @param expectedRows the expected number of distinct row keys * @param expectedCellsPerRow the expected number of column key / value mappings in each row * @throws IllegalArgumentException if {@code expectedRows} or {@code expectedCellsPerRow} is * negative */Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 4.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/keymatch/AdminKeymatchAction.java
// ============ /** * Verifies that the CRUD mode matches the expected mode. * * @param crudMode the actual CRUD mode * @param expectedMode the expected CRUD mode */ protected void verifyCrudMode(final int crudMode, final int expectedMode) { if (crudMode != expectedMode) {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 16.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java
assertThrows(SMBProtocolDecodingException.class, () -> { response.readBytesWireFormat(buffer, 0); }, "Expected structureSize = 17"); } @ParameterizedTest @DisplayName("Should read various count values") @ValueSource(ints = { 0, 1, 100, 1024, 65536, Integer.MAX_VALUE })Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt
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. assertThat(parse(" http://host/ ")).isEqualTo(expected) // Both. assertThat(parse(" http://host/ ")).isEqualTo(expected)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Aug 04 07:38:48 UTC 2025 - 69.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/GcFinalization.java
* specified the JVM flag {@code -XX:+DisableExplicitGC}. But in practice, it works very well for * ordinary tests. * * <p>Failure of the expected event to occur within an implementation-defined "reasonable" time * period or an interrupt while waiting for the expected event will result in a {@link * RuntimeException}. * * <p>Here's an example that tests a {@code finalize} method: * * {@snippet :Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 11.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/QuantilesTest.java
@Override public boolean apply(@Nullable Double actual, @Nullable Double expected) { // Test for equality to allow non-finite values to match; otherwise, use the finite // test. return actual.equals(expected) || FINITE_QUANTILE_CORRESPONDENCE.compare(actual, expected); } }, "is identical to or " + FINITE_QUANTILE_CORRESPONDENCE);Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 29.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/QuantilesTest.java
@Override public boolean apply(@Nullable Double actual, @Nullable Double expected) { // Test for equality to allow non-finite values to match; otherwise, use the finite // test. return actual.equals(expected) || FINITE_QUANTILE_CORRESPONDENCE.compare(actual, expected); } }, "is identical to or " + FINITE_QUANTILE_CORRESPONDENCE);Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 29.8K bytes - Viewed (0)