Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for isTrue (0.17 sec)

  1. src/test/java/jcifs/tests/EnumTest.java

            }
        }
    
    
        @Test
        // BUG #15
        // this cannot be reproduced against samba, samba always subtracts
        // 8 bytes from the output buffer length, probably to mitigate
        // against this issue
        public void testEnumBufferSize () throws IOException {
            CIFSContext ctx = getContext();
            int origBufferSize = ctx.getConfig().getMaximumBufferSize();
            // odd buffer size that does match the alignment
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/netbios/NbtAddress.java

                    localInetAddress = InetAddress.getLocalHost();
                } catch( UnknownHostException uhe ) {
                    /* Java cannot determine the localhost. This is basically a config
                     * issue on the host. There's not much we can do about it. Just
                     * to suppress NPEs that would result we can create a possibly bogus
                     * address. Pretty sure the below cannot actually thrown a UHE tho.
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 30.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/Trans2FindFirst2Response.java

                     * guess most clients only support non-unicode so
                     * they don't run into this.
                     */
        
        /* UPDATE: Maybe not! Could this be a Unicode alignment issue. I hope
         * so. We cannot just comment out this method and use readString of
         * ServerMessageBlock.java because the arguments are different, however
         * one might be able to reduce this.
         */
        
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 8.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            SmbComNegotiateResponse resp = new SmbComNegotiateResponse( server );
            try {
                negotiate( port, resp );
            } catch( ConnectException ce ) {
                // Try an alternate port if there was an issue communicating to the server
                // Only set the alternate port to the port property if it was successful
                int altPort = (port == 0 || port == DEFAULT_PORT) ? 139 : DEFAULT_PORT;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 31.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                }
                catch ( UnknownHostException uhe ) {
                    /*
                     * Java cannot determine the localhost. This is basically a config
                     * issue on the host. There's not much we can do about it. Just
                     * to suppress NPEs that would result we can create a possibly bogus
                     * address. Pretty sure the below cannot actually thrown a UHE tho.
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 14 14:26:22 GMT 2022
    - 38.2K bytes
    - Viewed (0)
Back to top