Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 551 for starts (0.09 sec)

  1. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

        void testReadAndXWireFormatWithPlainSMB() {
            DummyPlainSMB next = new DummyPlainSMB();
            // The implementation uses andx.wordCount, which starts at 0 by default
            // We need to test the actual behavior where wordCount is 0
            // This means readParameterWordsWireFormat won't be called (line 282-284)
    
            DummyAndXBlock block = new DummyAndXBlock(next);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

            assertEquals(10, offsetBuffer.index);
            assertEquals(0, offsetBuffer.length);
        }
    
        @Test
        void testDerive() {
            ndrBuffer.advance(50); // Advance the original buffer
            NdrBuffer derivedBuffer = ndrBuffer.derive(10);
    
            // Verify derived buffer properties
            assertSame(buffer, derivedBuffer.buf);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/io/FileUtil.java

        /**
         * Validates that a given path is safe and does not attempt path traversal attacks.
         * <p>
         * This method checks if the resolved absolute path starts with the allowed base directory,
         * preventing access to files outside the intended directory through path traversal
         * techniques like "../../../etc/passwd".
         * </p>
         * <p>
         * Example usage:
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbSessionImplTest.java

            assertEquals("server.example", session.getTargetHost());
            assertTrue(session.isInUse(), "New session starts in-use (usageCount=1)");
    
            // Transport and context delegation
            assertSame(cifsContext, session.getContext());
            clearInvocations(transport);
            assertSame(transport, session.getTransport());
            verify(transport, times(1)).acquire();
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

         * objects in the cache before shutdown.
         */
        @PreDestroy
        public void destroy() {
            if (logger.isDebugEnabled()) {
                logger.debug("cache stats: {}", statsCache.stats());
            }
            statsCache.asMap().entrySet().stream().forEach(e -> {
                final StatsObject data = e.getValue();
                final Long begin = data.remove(BEGIN_KEY);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java

                        String value = getValue(USER_AGENT_RECORD, line);
                        if (value != null) {
                            // If we've seen group-member records (Disallow, Allow, etc.),
                            // this starts a new group, so clear the current directive list
                            if (isGroupRecordStarted) {
                                currentDirectiveList.clear();
                                isGroupRecordStarted = false;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 14 12:52:01 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

            }
        }
    
        @Nested
        @DisplayName("Response State Tests")
        class ResponseStateTests {
    
            @BeforeEach
            void setup() {
                testBlock = new TestServerMessageBlock(mockConfig);
            }
    
            @Test
            @DisplayName("Test received state")
            void testReceivedState() {
                assertFalse(testBlock.isReceived());
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

                    }
                }
            });
    
        }
    
        /**
         * Executes a command to generate a thumbnail using the specified command list.
         * <p>
         * This method starts a process with the given command list, manages its execution,
         * handles timeouts, and logs relevant information. It ensures the process is destroyed
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 04 08:02:36 UTC 2025
    - 16K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbTransportImplTest.java

            assertNull(transport.getRemoteHostName(), "tconHostName starts null");
            assertEquals(0, transport.getInflightRequests());
            assertEquals(0, transport.getNumSessions());
        }
    
        @Test
        @DisplayName("isDisconnected / isFailed reflect socket and state")
        void connectionStateChecks() throws Exception {
            // Arrange: simulate connected state and open socket
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

        }
    
        /**
         * Helper method to set status using reflection
         */
        private void setStatus(Smb2ChangeNotifyResponse response, int status) throws Exception {
            Field statusField = ServerMessageBlock2.class.getDeclaredField("status");
            statusField.setAccessible(true);
            statusField.setInt(response, status);
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
Back to top