Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 56 for triggered (0.49 sec)

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

            block.headerStart = 0;
    
            byte[] buf = new byte[64];
            buf[0] = 4; // wordCount
            buf[1] = 0x42; // andxCommand
            // andxOffset = 0 triggers workaround -> treat as no andx
            ServerMessageBlock.writeInt2(0, buf, 3);
            ServerMessageBlock.writeInt2(10, buf, 9); // byteCount
    
            int n = block.readAndXWireFormat(buf, 0);
    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/smb/SmbTransportImplTest.java

            assertNotNull(s2);
            assertEquals(1, transport.getNumSessions(), "Should reuse existing session");
            s2.close();
        }
    
        @Test
        @DisplayName("DFS referrals: invalid double-slash prefix triggers exception")
        void dfsReferrals_invalidPath() {
            CIFSException ex = assertThrows(CIFSException.class, () -> transport.getDfsReferrals(ctx, "\\\\server\\share", null, null, 1));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTreeImpl.java

                    svc = this.service;
                    if (svc == null) {
                        // there still is some kind of race condition, where?
                        // this used to trigger "invalid operation..."
                        throw new SmbException("Service is null in state " + this.connectionState.get());
                    }
                    checkRequest(transport, req, svc);
    
                }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbEnumerationUtilTest.java

                SmbResourceLocator locator = mock(SmbResourceLocator.class);
                when(parent.getLocator()).thenReturn(locator);
                // Host is empty -> triggers master browser path
                URL anyUrlWithEmptyHost = new URL("file:/");
                when(locator.getURL()).thenReturn(anyUrlWithEmptyHost);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbSessionImplTest.java

            assertSame(session, session.unwrap(SmbSessionInternal.class));
            assertSame(session, session.unwrap(jcifs.SmbSession.class));
    
            // Edge: force incompatible class via raw type to trigger ClassCastException
            assertThrows(ClassCastException.class, () -> session.unwrap((Class) String.class));
        }
    
        @Test
        @DisplayName("toString contains key identifiers")
        void testToString() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/http/NetworkExplorerTest.java

            networkExplorer = new NetworkExplorer() {
                @Override
                public void init(ServletConfig config) throws ServletException {
                    // Read the parameters to trigger verification
                    config.getInitParameter("jcifs.smb.client.domain");
                    config.getInitParameter("jcifs.http.enableBasic");
    
                    // Set required fields
                    try {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            byte[] data = new byte[] { 1, 2, 3, 4 };
            InputStream in = new ByteArrayInputStream(concat(messageHeader(4), data));
            SocketInputStream sis = new SocketInputStream(in);
    
            // Read one byte to trigger message header processing
            assertEquals(1, sis.read());
    
            // 3 bytes should remain available in current message
            assertEquals(3, sis.available());
    
            // Read another byte
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

                assertTrue(rateLimiter.checkAttempt("user2", "192.168.1." + i));
            }
        }
    
        @Test
        public void testGlobalRateLimit() throws Exception {
            // Make many attempts to trigger global rate limit
            for (int i = 1; i <= 20; i++) {
                assertTrue(rateLimiter.checkAttempt("user" + i, "192.168.1." + i), "Attempt " + i + " should be allowed");
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  9. fess-crawler-lasta/src/main/resources/crawler/extractor.xml

    				"application/spirits-event+xml",
    				"application/srgs",
    				"application/srgs+xml",
    				"application/ssml+xml",
    				"application/timestamp-query",
    				"application/timestamp-reply",
    				"application/tve-trigger",
    				"application/ulpfec",
    				"application/vemmi",
    				"application/vividence.scriptfile",
    				"application/vnd.3gpp.bsf+xml",
    				"application/vnd.3gpp.pic-bw-large",
    				"application/vnd.3gpp.pic-bw-small",
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 03:46:53 UTC 2025
    - 50.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java

            testBlock.headerStart = 0;
            buffer[0] = 4; // wordCount at position 0
            buffer[1] = (byte) 0x42; // andxCommand
            SMBUtil.writeInt2(0, buffer, 3); // andxOffset = 0 (triggers Snap workaround)
            SMBUtil.writeInt2(20, buffer, 9); // byteCount
    
            int length = testBlock.readAndXWireFormat(buffer, 0);
    
            assertTrue(length > 0);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
Back to top