- Sort Score
- Num 10 results
- Language All
Results 1001 - 1010 of 1,612 for EXPECTED (0.09 seconds)
-
internal/ioutil/ioutil.go
// CopyAligned - copies from reader to writer using the aligned input // buffer, it is expected that input buffer is page aligned to // 4K page boundaries. Without passing aligned buffer may cause // this function to return error. // // This code is similar in spirit to io.Copy but it is only to be // used with DIRECT I/O based file descriptor and it is expected that // input writer *os.File not a generic io.Writer. Make sure to have
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 11.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.java
try { getList().set(0, e3()); fail("set() should throw UnsupportedOperationException or IndexOutOfBoundsException"); } catch (UnsupportedOperationException | IndexOutOfBoundsException expected) { } expectUnchanged(); } @CollectionSize.Require(absent = ZERO) @ListFeature.Require(SUPPORTS_SET) @CollectionFeature.Require(absent = ALLOWS_NULL_VALUES)Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java
assertTrue(set.contains(2)); assertTrue(set.contains(3)); assertFalse(set.contains(4)); } // TODO: https://youtrack.jetbrains.com/issue/KT-71001/ - Enable when Kotlin throws expected CCE. @J2ktIncompatible public void testContains_typeMismatch() { ImmutableSortedSet<Integer> set = ContiguousSet.create(Range.open(0, 4), integers()); assertFalse(set.contains((Object) "blah")); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 08 18:10:02 GMT 2026 - 19.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java
// Expected outputs are from realpath -s. doExtensiveTest("testdata/simplifypathwithabsoluteprefixtests.txt"); } public void testExtensiveNoPrefix() throws IOException { /* * Inputs are <every possible 10-character string of characters "a./"> * * Expected outputs are generated by the code itself, but they've beenCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 11.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java
// Expected outputs are from realpath -s. doExtensiveTest("testdata/simplifypathwithabsoluteprefixtests.txt"); } public void testExtensiveNoPrefix() throws IOException { /* * Inputs are <every possible 10-character string of characters "a./"> * * Expected outputs are generated by the code itself, but they've beenCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 11.9K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java
assertNotNull(avSingleHost); assertEquals(AvPair.MsvAvSingleHost, avSingleHost.getType()); byte[] value = avSingleHost.getRaw(); assertNotNull(value); assertEquals(48, value.length); // Expected size: 8 + 8 + 32 // Verify the machine ID part byte[] actualMachineId = new byte[32]; System.arraycopy(value, 16, actualMachineId, 0, 32);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/NtStatusTest.java
// Pending status is informational (not error) assertTrue((pendingStatus & (int) 0xC0000000L) != (int) 0xC0000000L); } @Test @DisplayName("Should define all expected constants") void testAllExpectedConstants() { // Verify important constants exist assertTrue(NtStatus.NT_STATUS_SUCCESS == 0x00000000); assertTrue(NtStatus.NT_STATUS_ACCESS_DENIED != 0);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTaskIntegrationTest.kt
assertContains(cleanupHint) } } private fun StringWriter.assertContains(text: String) { Assertions.assertTrue(toString().contains(text)) { "Did not find expected error message in $this" } } protected data class Change(val type: String, val member: String) { override fun toString(): String = "Type: '$type', Member: '$member'" }
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Nov 29 14:03:44 GMT 2024 - 6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/EquivalenceTester.java
* * <p>To use, create a new {@link EquivalenceTester} and add equivalence groups where each group * contains objects that are supposed to be equal to each other. Objects of different groups are * expected to be unequal. For example: * * {@snippet : * EquivalenceTester.of(someStringEquivalence) * .addEquivalenceGroup("hello", "h" + "ello") * .addEquivalenceGroup("world", "wor" + "ld") * .test(); * }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 4.1K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/EquivalenceTester.java
* * <p>To use, create a new {@link EquivalenceTester} and add equivalence groups where each group * contains objects that are supposed to be equal to each other. Objects of different groups are * expected to be unequal. For example: * * {@snippet : * EquivalenceTester.of(someStringEquivalence) * .addEquivalenceGroup("hello", "h" + "ello") * .addEquivalenceGroup("world", "wor" + "ld") * .test(); * }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 4.1K bytes - Click Count (0)