Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 175 for So (0.32 sec)

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

            assertEquals(123456789, serverData.sessionKey);
            assertEquals(SmbConstants.CAP_UNICODE | SmbConstants.CAP_NT_SMBS, serverData.capabilities);
            // readInt2 returns unsigned value, so -480 becomes 65056
            assertEquals(65056, serverData.serverTimeZone);
            assertEquals(8, serverData.encryptionKeyLength);
        }
    
        @Test
        void testReadParameterWordsWireFormat_InvalidDialect() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

            // Verify time was read correctly (accounting for UTime conversion)
            long readTime = (Long) getFieldValue(response, "lastWriteTime");
            // UTime is seconds since 1970, so we need to compare at second precision
            assertEquals(lastWriteTime / 1000, readTime / 1000);
        }
    
        @Test
        void testReadParameterWordsWireFormatWithZeroWordCount() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/util/Hexdump.java

            ps.println(c);
        }
    
        /**
         * This is an alternative to the <code>java.lang.Integer.toHexString</code>
         * method. It is an efficient relative that also will pad the left side so
         * that the result is <code>size</code> digits.
         *
         * @param val the integer value to convert to hexadecimal
         * @param size the desired length of the resulting hex string (will be left-padded with zeros)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/transport/Transport.java

    import jcifs.smb.RequestParam;
    
    /**
     * This class simplifies communication for protocols that support
     * multiplexing requests. It encapsulates a stream and some protocol
     * knowledge (provided by a concrete subclass) so that connecting,
     * disconnecting, sending, and receiving can be syncronized
     * properly. Apparatus is provided to send and receive requests
     * concurrently.
     */
    
    /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

        void closeInternalThrowsButReleases() throws Exception {
            // Arrange
            stubAcquireReturnsSelf();
            FileEntry initial = entry("first");
            // Provide a page with no valid items so that advance returns null and triggers close in next()
            TestIterator it = TestIterator.create(tree, parent, "*", null, 0, initial, List.of(new FileEntry[][] { new FileEntry[] {} }))
                    .throwOnCloseInternal();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbFileOutputStreamTest.java

                    SmbConstants.DEFAULT_SHARING);
    
            // Close the stream
            outputStream.close();
    
            // When & Then - after close, tmp is null so write(int) will throw NullPointerException
            // This is the actual behavior of the implementation
            assertThrows(NullPointerException.class, () -> outputStream.write(65));
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            // When: Get transport by name
            SmbTransportImpl result = poolSpy.getSmbTransport(ctx, "test.server", 445, false, false);
    
            // Then: Should use trans1 (addr2 failed, so tried addr1 next)
            assertSame(trans1, result);
    
            // Verify fail count incremented for addr2 (was 1, now 2)
            assertEquals(2, poolSpy.failCounts.get("10.0.0.2"));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

                dr.server = arr[1];
                dr.share = arr[2];
                dr.path = arr[3];
                dr.pathConsumed = consumed;
    
                /*
                 * Samba has a tendency to return pathConsumed values so that they consume a trailing slash of the
                 * requested path. Normalize this here.
                 */
                if (reqPath.charAt(consumed - 1) == '\\') {
                    if (log.isDebugEnabled()) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                final ResourceNameFilter fnf, final ResourceFilter ff) throws CIFSException {
            // clone the locator so that the address index is not modified
            final SmbResourceLocatorImpl locator = parent.fileLocator.clone();
            final CIFSContext tc = parent.getContext();
            final URL u = locator.getURL();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

        }
    
        @Test
        void decodesErrorStructureThroughReadBytesWireFormat() throws Exception {
            // For STATUS_INVALID_PARAMETER the override makes isErrorResponseStatus() return false,
            // so readBytesWireFormat() is invoked and must delegate back to readErrorResponse() when it sees size=9.
            byte[] header = buildHeader(NtStatus.NT_STATUS_INVALID_PARAMETER);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top