Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 454 for atual (0.08 sec)

  1. src/test/java/jcifs/netbios/NameQueryResponseTest.java

            String expectedContains = ",addrEntry=[";
            String actual = nameQueryResponse.toString();
            assertTrue(actual.startsWith("NameQueryResponse["), "toString should start with expected prefix");
            assertTrue(actual.contains(expectedContains), "toString should contain the 'addrEntry' part");
            assertTrue(actual.contains("192.168.1.1"), "toString should contain the first NbtAddress string representation");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/DosErrorTest.java

        void testKnownMapping() {
            final int dosErr = 0x00010001;
            final int expectedNt = 0xc0000002;
            Optional<Integer> actual = findNtStatus(dosErr);
            assertTrue(actual.isPresent(), String.format("Mapping for %08x should exist", dosErr));
            assertEquals(expectedNt, actual.get(), String.format("NTSTATUS for %08x should be %08x", dosErr, expectedNt));
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepository.java

         */
        List<String> findVersions(Artifact artifact);
    
        /**
         * Indicates whether this repository is backed by actual projects. For instance, the build reactor or IDE workspace
         * are examples of such repositories.
         *
         * @return {@code true} if the repository is backed by actual projects, {@code false} otherwise.
         * @since 3.0-beta-1
         */
        boolean isProjectAware();
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 4.3K bytes
    - Viewed (1)
  4. src/test/java/jcifs/smb/DosErrorTest.java

            // Act
            int actual = findNtStatusOrMinusOne(dosCode);
    
            // Assert
            assertEquals(expectedNtStatus, actual, "Mapping must match table entry");
        }
    
        @Test
        @DisplayName("Edge: zero DOS code maps to zero NTSTATUS")
        void zeroCodeMapsToZero() {
            // Act
            int actual = findNtStatusOrMinusOne(0x00000000);
    
            // Assert
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Request.java

            final int actual = getLength();
            if (exp != actual) {
                // Log the size mismatch for debugging but don't throw exception
                // This can occur due to padding alignment differences between size8() and pad8()
                if (log.isDebugEnabled()) {
                    log.debug("Size calculation mismatch: expected {} but got {} (difference: {})", exp, actual, actual - exp);
                }
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/NtlmUtilTest.java

            byte[] actual = NtlmUtil.getNTLMv2Response(key, server, clientChallenge, nanos1601, avPairs);
    
            // Assert
            assertArrayEquals(expected, actual, "Computed response must match manual construction");
            // Also verify client challenge sits at mac(16) + blob offset 16
            assertArrayEquals(clientChallenge, Arrays.copyOfRange(actual, 16 + 16, 16 + 16 + 8));
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12K bytes
    - Viewed (1)
  7. src/test/java/jcifs/smb/FileEntryTest.java

        void name_edgeCases(String name, String caseDesc) {
            // Arrange
            FileEntry e = new TestFileEntry(name, 0, 0, 0L, 0L, 0L, 0L, 0);
            // Act
            String actual = e.getName();
            // Assert
            assertEquals(name, actual);
        }
    
        // Parameterized tests for numeric getters with edge values
        static Stream<Arguments> intGetterProvider() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/persistent/HandleReconnector.java

                        throw new RuntimeException("Retry failed", retryException);
                    }
                }
            });
        }
    
        /**
         * Perform the actual reconnection logic.
         * This method should be overridden by subclasses to provide the actual
         * SMB reconnection implementation.
         *
         * @param info the handle information
         * @return true if reconnection was successful
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 8.5K bytes
    - Viewed (1)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformer.java

                    return Files.newInputStream(actual);
                }
    
                @Override
                public String getLocation() {
                    return actual.toString();
                }
    
                @Override
                public Source resolve(String relative) {
                    return Sources.buildSource(actual.resolve(relative));
                }
    
                @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 06 18:32:25 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComCreateDirectoryTest.java

            byte[] actual = new byte[bytesWritten];
            System.arraycopy(dst, 0, actual, 0, bytesWritten);
    
            // Use assertArrayEquals for byte array comparison
            org.junit.jupiter.api.Assertions.assertArrayEquals(expected, actual, "Byte array content should match the expected format.");
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
Back to top