Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 87 for justru (0.04 sec)

  1. src/main/java/jcifs/util/transport/Transport.java

         */
        public synchronized boolean disconnect(boolean hard, final boolean inUse) throws IOException {
            IOException ioe = null;
    
            switch (this.state) {
            case 0: /* not connected - just return */
            case 5:
            case 6:
                return false;
            case 2:
                hard = true;
            case 3: /* connected - go ahead and disconnect */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

                readThreads[i] = new Thread(() -> {
                    for (int j = 0; j < 100; j++) {
                        List<DirectoryCacheEntry.FileInfo> children = entry.getChildren();
                        // Just read, don't assert specific counts due to race conditions
                        assertNotNull(children);
                    }
                });
                readThreads[i].start();
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFile.java

         *
         * @throws IOException thrown by {@code SmbFileInputStream} constructor
         */
        @Override
        public InputStream getInputStream() throws IOException {
            return new SmbFileInputStream(this);
        }
    
        /**
         * This URLConnection method just returns a new {@code SmbFileOutputStream} created with this file.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/builder/RequestDataBuilderTest.java

            assertEquals("https://second.com", data.getUrl());
            assertEquals(2.0f, data.getWeight(), 0.001f);
        }
    
        public void test_minimalUsage() {
            // Test minimal usage (just URL)
            RequestData data = RequestDataBuilder.newRequestData().url("https://example.com").build();
    
            assertNull(data.getMethod());
            assertEquals("https://example.com", data.getUrl());
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

            SMBUtil.writeInt4(ctx.length, base, offsetFieldPos + 4);
    
            // Assemble full body: base (fixed-size fields only), but actual context bytes sit elsewhere in the full packet
            // Return just the base; caller is responsible for placing ctx at the correct absolute offset.
            // We will return a composite buffer from the test when building the full packet.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

            assertEquals(HTTP_UNAUTHORIZED, responseCode);
    
            // In a real scenario, the connection would reconnect and send Type1/Type3 messages
            // This simplified test just verifies the initial handshake detection
        }
    
        /**
         * Test handshake failure when the server does not return an NTLM challenge.
         * @throws IOException
         */
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java

            assertEquals(2, sidArray.sids.length);
            assertNotNull(sidArray.sids[0]);
            assertNotNull(sidArray.sids[1]);
            // Cannot verify decode on non-mock objects - they are created by decode
            // Just verify they were created
            assertNotNull(sidArray.sids[0]);
            assertNotNull(sidArray.sids[1]);
        }
    
        @Test
        void testLsarSidArrayDecodeNullSids() throws NdrException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 60.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

                file.send(new TransWaitNamedPipe("\\pipe" + file.unc), new TransWaitNamedPipeResponse());
            }
            writeDirect(b, off, len, 0);
        }
    
        /**
         * Just bypasses TransWaitNamedPipe - used by DCERPC bind.
         *
         * @param b the byte array containing the data to write
         * @param off the start offset in the data
         * @param len the number of bytes to write
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

                }
    
                // Verify each context was encoded
                assertTrue(offset > 0);
                // The actual encoded size might be different from size() due to padding
                // Just verify that we encoded something for each context
                for (CreateContextRequest context : contexts) {
                    assertNotNull(context.getName());
                }
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/http/NtlmSspTest.java

            verify(mockResponse, never()).setStatus(any(int.class));
        }
    
        /**
         * Test case for the instance method doAuthentication.
         * It should just delegate to the static authenticate method.
         * @throws IOException
         */
        @Test
        public void testDoAuthentication() throws IOException {
            // Setup: No "Authorization" header to follow a simple path
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.4K bytes
    - Viewed (1)
Back to top