Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 175 for So (2.81 sec)

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

    import jcifs.smb1.util.LogStream;
    
    /**
     * 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.
     */
    
    public abstract class Transport implements Runnable {
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/kerberos/KerberosTicketTest.java

            // Test with an unrecognized field in the ticket
            // Note: In the actual implementation, field 99 would come after mandatory fields,
            // so decryption happens first. We test with a mocked successful decryption.
            byte[] token = createTestTicketBytes(new BigInteger(KerberosConstants.KERBEROS_VERSION), SERVER_REALM, SERVER_PRINCIPAL_NAME,
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java

            String filename = "\\\\server\\share\\file.txt";
    
            // When
            trans2GetDfsReferral = new Trans2GetDfsReferral(mockConfig, filename);
    
            // Then
            // These fields are protected in parent class, so we can't access them directly
            // We verify the object was created successfully instead
            assertNotNull(trans2GetDfsReferral);
    
            // Verify that request buffer was created with correct parameters
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java

        }
    
        @Test
        @DisplayName("Test hasMoreElements becomes false when all data is sent")
        void testHasMoreElementsBecomeFalse() {
            // Set small amounts so everything fits in one message
            transaction.setParameterBytesWritten(10);
            transaction.setDataBytesWritten(10);
    
            // First call processes all data
            transaction.nextElement();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/SmbResourceLocator.java

         * the root URL <code>smb://</code> is also <code>smb://</code>. If this
         * <code>SmbFile</code> refers to a workgroup, server, share, or directory,
         * the name will include a trailing slash '/' so that composing new
         * <code>SmbFile</code>s will maintain the trailing slash requirement.
         *
         * @return The last component of the URL associated with this SMB
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/MIENameTest.java

                buf = sup.get();
            }
    
            // Act + Assert
            Throwable t = assertThrows(expected, () -> new MIEName(buf));
            // MIEName throws IllegalArgumentException without messages, so we don't assert on message presence
            assertNotNull(t, "Exception should be thrown");
        }
    
        @Nested
        @DisplayName("equals, hashCode, toString")
        class EqualityContract {
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

                SmbFile file = new SmbFile("smb1://server/share/file.txt");
                // Without a real connection, getType relies on path parsing.
                // getUncPath0() will result in a path > 1, so it should be TYPE_FILESYSTEM
                assertEquals(SmbFile.TYPE_FILESYSTEM, file.getType());
            }
    
            @Test
            public void testGetTypeForShare() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/netbios/NbtAddress.java

            return this.hostName.hexCode;
        }
    
        /**
         * Returns a hashcode for this IP address. The hashcode comes from the IP address
         * and is not generated from the string representation. So because NetBIOS nodes
         * can have many names, all names associated with an IP will have the same
         * hashcode.
         */
    
        @Override
        public int hashCode() {
            return this.address;
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            request = new Smb2NegotiateRequest(mockConfig, 0);
            byte[] buffer = new byte[256];
    
            // When
            int bytesRead = request.readBytesWireFormat(buffer, 0);
    
            // Then - This is a request, so it doesn't read from wire
            assertEquals(0, bytesRead);
        }
    
        @ParameterizedTest
        @DisplayName("Should generate correct dialects for version ranges")
        @MethodSource("provideVersionRanges")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/Kerb5Context.java

                    throw new SmbException("Context disposal failed", e);
                }
            }
        }
    
        /*
         * Prepare reflective access to ExtendedGSSContext. The reflective access
         * abstracts the access so far, that Oracle JDK, Open JDK and IBM JDK are
         * supported.
         *
         * At the time of the first implementation only a test on Oracle JDK was
         * done.
         */
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13.5K bytes
    - Viewed (1)
Back to top