Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 712 for correcta (0.06 sec)

  1. src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java

                assertNull(context.getSalt());
            }
        }
    
        @Nested
        @DisplayName("Context Type Tests")
        class ContextTypeTests {
    
            @Test
            @DisplayName("Should return correct context type")
            void testGetContextType() {
                PreauthIntegrityNegotiateContext context = new PreauthIntegrityNegotiateContext();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 34K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

                assertArrayEquals(originalBuffer, buffer);
            }
        }
    
        @Nested
        @DisplayName("ToString Tests")
        class ToStringTests {
    
            @Test
            @DisplayName("Should generate correct string representation")
            void testToString() throws Exception {
                // Set up notification with known values
                byte oplockLevel = 0x02;
                byte[] fileId = new byte[16];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComLogoffAndXTest.java

            String inner = s.substring("SmbComLogoffAndX[".length(), s.length() - 1);
            assertFalse(inner.isEmpty(), "inner part of toString should not be empty");
        }
    
        @Test
        @DisplayName("constructor sets correct command value")
        void constructorSetsCorrectCommand() {
            SmbComLogoffAndX msg = new SmbComLogoffAndX(null);
            assertNotNull(msg, "Message should not be null");
            // SMB_COM_LOGOFF_ANDX = 0x74
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java

                // Then
                assertNotNull(chunk);
            }
        }
    
        @Nested
        @DisplayName("Size Method Tests")
        class SizeTests {
    
            @Test
            @DisplayName("Should return correct size of 24 bytes")
            void testSize() {
                // Given
                SrvCopychunk chunk = new SrvCopychunk(0, 0, 0);
    
                // When
                int size = chunk.size();
    
                // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

            buffer[bufferIndex + 35] = 0x00; // setupCount = 0
            buffer[bufferIndex + 36] = 0x00; // reserved
    
            int bytesRead = response.readParameterWordsWireFormat(buffer, bufferIndex);
    
            // Verify the correct number of bytes were read (37 bytes total)
            assertEquals(37, bytesRead);
    
            // Verify values through reflection
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java

            int written = trans2QueryPathInfo.writeParametersWireFormat(buffer, 0);
    
            // Should write the entire path
            assertTrue(written > longPath.length());
    
            // Check information level is still correct
            int actualInfoLevel = SMBUtil.readInt2(buffer, 0);
            assertEquals(0x0101, actualInfoLevel);
        }
    
        @Test
        void testWriteParametersWithSpecialCharacters() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/fscc/FileInformationTest.java

     */
    @TestInstance(TestInstance.Lifecycle.PER_CLASS)
    class FileInformationTest {
    
        /**
         * Test that interface constants are correctly defined
         */
        @Test
        @DisplayName("Test FileInformation constants are correctly defined")
        void testInterfaceConstants() {
            // Verify all constants have expected values
            assertEquals((byte) 20, FileInformation.FILE_ENDOFFILE_INFO);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java

            void setUp() {
                mockConfig = mock(Configuration.class);
                when(mockConfig.getPid()).thenReturn(12345);
            }
    
            @Test
            @DisplayName("Should initialize with correct command and MID")
            void testConstructorInitialization() throws Exception {
                // Given
                int testMid = 42;
    
                // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/primitives/UnsignedLong.java

        // value. But in the specific case where the bottom two bits of the original number are 01, we
        // want to replace that with 1 in the shifted value for correct rounding.
        return (double) ((value >>> 1) | (value & 1)) * 2.0;
      }
    
      /** Returns the value of this {@code UnsignedLong} as a {@link BigInteger}. */
      public BigInteger bigIntegerValue() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/response-model.md

    If you added the return type annotation, tools and editors would complain with a (correct) error telling you that your function is returning a type (e.g. a dict) that is different from what you declared (e.g. a Pydantic model).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 16K bytes
    - Viewed (0)
Back to top