- Sort Score
- Result 10 results
- Languages All
Results 271 - 280 of 3,060 for SHOULD (0.03 sec)
-
src/cmd/asm/internal/asm/testdata/amd64error.s
VPGATHERDQ X2, 664(X2*8), X7 // ERROR "mask, index, and destination registers should be distinct" VPGATHERDQ X2, 664(X7*8), X2 // ERROR "mask, index, and destination registers should be distinct" VPGATHERDQ X7, 664(X2*8), X2 // ERROR "mask, index, and destination registers should be distinct" // Non-X0 for Yxr0 should produce an error BLENDVPD X1, (BX), X2 // ERROR "invalid instruction"
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jun 14 00:03:57 UTC 2023 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java
// Should match with same values assertTrue(fileInfo.matches(1024L, 1000L, 0x20)); // Should not match with different size assertFalse(fileInfo.matches(2048L, 1000L, 0x20)); // Should not match with different last modified assertFalse(fileInfo.matches(1024L, 2000L, 0x20)); // Should not match with different attributesRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 8.4K bytes - Viewed (0) -
tests/upsert_test.go
} if err := DB.Find(&langs, "code = ?", lang.Code).Error; err != nil { t.Errorf("no error should happen when find languages with code, but got %v", err) } else if len(langs) != 1 { t.Errorf("should only find only 1 languages, but got %+v", langs) } else if langs[0].Name != "upsert-new" { t.Errorf("should update name on conflict, but got name %+v", langs[0].Name) }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Jul 29 11:06:13 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/SmbConstantsTest.java
assertEquals(0, attributes[i] & attributes[j], "Attributes should not overlap in bit patterns"); } } } @Test @DisplayName("Should have resource types with power-of-2 values") void testResourceTypeBitPatterns() { // Resource types should be powers of 2 for bit flag usage
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/SmbTransportPoolTest.java
@BeforeEach void setUp() { // Common setup for all tests } @Nested @DisplayName("GetSmbTransport Methods") class GetSmbTransportTests { @Test @DisplayName("Should get transport by name with default parameters") void testGetSmbTransportByName() throws UnknownHostException, IOException { // GivenRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.6K bytes - Viewed (0) -
src/test/java/jcifs/util/EncdecTest.java
long decoded = Encdec.dec_uint64le(buffer, 0); // Then assertEquals(currentDate.getTime(), decoded, "Encoded and decoded time should match"); } @Test @DisplayName("Should encode and decode UUIDs") void testUUIDOperations() { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/BufferCacheImplTest.java
byte[] first = impl.getBuffer(); // should return slot 0 -> a byte[] second = impl.getBuffer(); // then slot 1 -> c byte[] third = impl.getBuffer(); // cache empty -> new with size 3 assertSame(a, first, "First get should return first cached buffer"); assertSame(c, second, "Second get should return second cached buffer"); assertNotSame(d, third, "Third get should allocate a new buffer (not the dropped one)");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/EventBusTest.java
assertEquals("Cause should be available.", exception, handler.exception); assertEquals("EventBus should be available.", eventBus, handler.context.getEventBus()); assertEquals("Event should be available.", EVENT, handler.context.getEvent()); assertEquals("Subscriber should be available.", subscriber, handler.context.getSubscriber()); assertEquals( "Method should be available.",Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java
@Test @DisplayName("Should calculate size for null hash algorithms and salt") void testSizeWithNullHashAlgosAndSalt() { PreauthIntegrityNegotiateContext context = new PreauthIntegrityNegotiateContext(mockConfig, null, null); assertEquals(4, context.size()); } @Test @DisplayName("Should calculate size for empty arrays")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 34K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/Base64Test.java
// Assert assertArrayEquals(expected, actual, "Base64.decode should return original bytes"); } @Test @DisplayName("encode should throw NPE on null input") void testEncodeNull() { assertThrows(NullPointerException.class, () -> Base64.encode(null)); } @Test @DisplayName("decode should throw NPE on null input") void testDecodeNull() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0)