Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 452 for existent (0.08 sec)

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

            assertNull(result);
        }
    
        @Test
        void testGetByNameWithNonExistentFile() {
            // Test with non-existent file
            when(mockConfig.getLmHostsFileName()).thenReturn("/non/existent/lmhosts");
    
            NbtAddress result = lmhosts.getByName("TEST_HOST", mockContext);
    
            assertNull(result);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/DcerpcBindingTest.java

        }
    
        @Test
        void testGetOptionNonExistent() {
            assertNull(dcerpcBinding.getOption("nonExistent"), "Should return null for a non-existent option.");
        }
    
        @Test
        void testToStringWithoutOptionsAndEndpoint() {
            String expected = PROTO + ":" + SERVER + "[null]";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java

            // Remove the child
            entry.removeChild(childName);
            assertFalse(entry.hasChild(childName));
            assertTrue(entry.hasChanges());
    
            // Remove non-existent child - should not change state
            entry.removeChild("nonexistent.txt");
            assertTrue(entry.hasChanges()); // Still has changes from previous removal
        }
    
        @Test
        public void testGetChildren() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

         * We overload this because we want readAndXWireFormat to
         * read the parameter words and bytes. This is so when
         * commands are batched together we can recursivly call
         * readAndXWireFormat without reading the non-existent header.
         */
    
        @Override
        int decode(final byte[] buffer, int bufferIndex) {
            final int start = headerStart = bufferIndex;
    
            bufferIndex += readHeaderWireFormat(buffer, bufferIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/handling-errors.md

    ```JSON
    {
      "item": "The Foo Wrestlers"
    }
    ```
    
    But if the client requests `http://example.com/items/bar` (a non-existent `item_id` `"bar"`), that client will receive an HTTP status code of 404 (the "not found" error), and a JSON response of:
    
    ```JSON
    {
      "detail": "Item not found"
    }
    ```
    
    /// tip
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java

            Path nonExistentDir = tempDir.resolve("non-existent");
            themeHelper.closeQuietly(nonExistentDir);
            // Should not throw exception
            assertTrue(true);
        }
    
        public void test_closeQuietly_existingDirectory() throws IOException {
            Path existingDir = tempDir.resolve("existing");
            Files.createDirectory(existingDir);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

                entry.updateState(grantedState);
                log.debug("Updated lease {} to state: 0x{}", key, Integer.toHexString(grantedState));
            } else {
                log.warn("Attempted to update non-existent lease: {}", key);
            }
        }
    
        /**
         * Get lease entry by key
         *
         * @param key lease key
         * @return lease entry or null if not found
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/NtlmUtilTest.java

        void testGetPreNTLMResponse_invalidEncoding() {
            // Arrange
            when(cifsContext.getConfig()).thenReturn(configuration);
            when(configuration.getOemEncoding()).thenReturn("X-INVALID-ENCODING-NOT-EXISTENT");
    
            // Act + Assert
            RuntimeException ex = assertThrows(RuntimeException.class, () -> NtlmUtil.getPreNTLMResponse(cifsContext, "password", new byte[8]));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

        }
    
        public void test_updateParams_noSession() {
            final String sessionId = "non-existent-session";
    
            ComponentUtil.register(new CrawlingInfoService() {
                @Override
                public CrawlingInfo getLast(String sessionId) {
                    return null; // No existing session
                }
    
                @Override
                public void store(CrawlingInfo entity) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

         * We overload this because we want readAndXWireFormat to
         * read the parameter words and bytes. This is so when
         * commands are batched together we can recursivly call
         * readAndXWireFormat without reading the non-existent header.
         */
    
        @Override
        public int decode(final byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException {
            final int start = this.headerStart = bufferIndex;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top