Search Options

Results per page
Sort
Preferred Languages
Advance

Results 7841 - 7850 of 7,967 for THE (0.04 sec)

  1. src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java

        @Mock
        private SmbResource parent;
    
        @Mock
        private SmbResource resource;
    
        @Mock
        private FileEntry fileEntry;
    
        /**
         * Test implementation that always returns the same mock resource
         */
        private class TestIterator extends FileEntryAdapterIterator {
            TestIterator(ResourceFilter filter) {
                super(parent, delegate, filter);
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/FileEntryTest.java

    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    @ExtendWith(MockitoExtension.class)
    class FileEntryTest {
    
        @Mock
        FileEntry mockEntry;
    
        // Simple fake implementation to exercise the interface without mocks
        private static final class TestFileEntry implements FileEntry {
            private final String name;
            private final int type;
            private final int attributes;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10K bytes
    - Viewed (0)
  3. docs/fr/docs/tutorial/path-params-numeric-validations.md

    Si vous avez une version plus ancienne, vous obtiendrez des erreurs en essayant d'utiliser `Annotated`.
    
    Assurez-vous de [Mettre à jour la version de FastAPI](../deployment/versions.md#upgrading-the-fastapi-versions){.internal-link target=_blank} à la version 0.95.1 à minima avant d'utiliser `Annotated`.
    
    ///
    
    ## Déclarer des métadonnées
    
    Vous pouvez déclarer les mêmes paramètres que pour `Query`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            // When
            int size = request.size();
    
            // Then
            // Size should be aligned to 8 bytes: SMB2_HEADER_LENGTH + 32
            int expectedSize = Smb2Constants.SMB2_HEADER_LENGTH + 32;
            // The size8 method aligns to 8-byte boundary
            int alignedSize = (expectedSize + 7) & ~7;
            assertEquals(alignedSize, size);
        }
    
        @Test
        @DisplayName("Should write correct bytes to wire format")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/ntlmssp/NtlmMessageTest.java

        }
    
        @Test
        void testGetOEMEncoding() {
            // Test getOEMEncoding
            assertEquals("Cp850", NtlmMessage.getOEMEncoding(), "Should return the correct OEM encoding.");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbPipeInputStreamTest.java

            when(tree.isSMB2()).thenReturn(false);
            when(tree.getConfig()).thenReturn(config);
            when(config.getPid()).thenReturn(1234);
    
            // Stub send to populate the provided response instance via reflection
            Mockito.doAnswer(inv -> {
                Object resp = inv.getArgument(1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java

            int encodedLength = request.encode(buffer, 0);
    
            assertEquals(26, encodedLength);
    
            // Verify dialect count
            assertEquals(1, SMBUtil.readInt2(buffer, 22));
    
            // Verify the single dialect
            assertEquals(0x0311, SMBUtil.readInt2(buffer, 24));
        }
    
        @Test
        @DisplayName("Test encode with maximum capabilities value")
        void testEncodeWithMaxCapabilities() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/dfs/ReferralTest.java

        }
    
        // Debug Test
    
        @Test
        public void testSimpleVersion3() {
            ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN);
    
            // Write the header
            bb.putShort((short) 3); // version
            bb.putShort((short) 100); // size
            bb.putShort((short) 1); // serverType
            bb.putShort((short) 0); // rflags
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 22K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/testdata/arm.s

    // Copyright 2015 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This input was created by taking the instruction productions in
    // the old assembler's (5a's) grammar and hand-writing complete
    // instructions for each rule, to guarantee we cover the same space.
    
    #include "../../../../../runtime/textflag.h"
    
    TEXT	foo(SB), DUPOK|NOSPLIT, $0
    
    // ADD
    //
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Dec 15 20:51:01 UTC 2023
    - 69K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java

        }
    
        @Test
        @DisplayName("Test decode ignores length parameter")
        void testDecodeIgnoresLengthParameter() throws SMBProtocolDecodingException {
            // The decode method should always read exactly 8 bytes regardless of len parameter
            byte[] buffer = new byte[20];
            long expectedIndexNumber = 0xCAFEBABEDEADBEEFL;
            SMBUtil.writeInt8(expectedIndexNumber, buffer, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
Back to top