Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for EXPECTED (0.17 sec)

  1. src/main/java/jcifs/internal/smb2/io/Smb2WriteResponse.java

            int start = bufferIndex;
            int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if ( structureSize != 17 ) {
                throw new SMBProtocolDecodingException("Expected structureSize = 17");
            }
            bufferIndex += 4;
    
            this.count = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            this.remaining = SMBUtil.readInt4(buffer, bufferIndex);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java

            int start = bufferIndex;
    
            int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if ( structureSize != 9 ) {
                throw new SMBProtocolDecodingException("Expected structureSize = 9");
            }
    
            int bufferOffset = SMBUtil.readInt2(buffer, bufferIndex + 2) + getHeaderStart();
            bufferIndex += 4;
            int bufferLength = SMBUtil.readInt4(buffer, bufferIndex);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:13:49 GMT 2021
    - 6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/NamingTest.java

                        try ( SmbResource tf = new SmbFile(d, name) ) {
                            tf.createNewFile();
                        }
                    }
    
                    // check that the expected name is returned from listing
    
                    String[] found = d.list();
                    String[] expect = names;
    
                    Arrays.sort(found);
                    Arrays.sort(expect);
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jun 06 10:48:05 GMT 2020
    - 7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/lock/Smb2LockResponse.java

            int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if ( structureSize != 4 ) {
                throw new SMBProtocolDecodingException("Expected structureSize = 4");
            }
            return 4;
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/OplockTests.java

                    try {
                        tree.send(create2);
                    }
                    catch ( Exception e ) {
                        // timeout is expected for now as we do not ack the break
                        if ( ! ( e.getCause() instanceof RequestTimeoutException ) ) {
                            throw e;
                        }
                    }
                }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/NtlmNtHashAuthenticator.java

            super(domain, username, null, AuthenticationType.USER);
            if ( passwordHash == null || passwordHash.length != 16 ) {
                throw new IllegalArgumentException("Password hash must be provided, expected length 16 byte");
            }
            this.ntHash = passwordHash;
        }
    
    
        /**
         * Create username/password credentials with specified domain
         * 
         * @param domain
         * @param username
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 2.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/FileOperationsTest.java

                    // guest share not accessible
                }
                catch ( SmbException e) {
                    if ("Cannot rename between different trees".equals(e.getMessage())) {
                        // expected
                        return;
                    }
                    throw e;
                }
                finally {
                    if ( !renamed && f.exists() ) {
                        f.delete();
                    }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:17:59 GMT 2023
    - 16.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/NtlmContext.java

                if ( log.isDebugEnabled() ) {
                    log.debug(String.format("Seq = %d ver = %d encrypted = %s", seq, ver, encrypted));
                    log.debug(String.format("Expected MIC %s != %s", Hexdump.toHexString(trunc), Hexdump.toHexString(verify)));
                }
                throw new CIFSException("Invalid MIC");
            }
    
        }
    
    
        /**
         * {@inheritDoc}
         *
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 15.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/pac/PacUnicodeString.java

            if ( this.pointer == 0 && string != null )
                throw new PACDecodingException("Non-empty string");
    
            int expected = this.length / 2;
            if ( string.length() != expected ) {
                throw new PACDecodingException("Invalid string length, expected " + expected + ", have " + string.length());
            }
    
            return string;
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/FileLocationTest.java

                    // this intentionally sticks to the old name
                    assertEquals("/share/foo/bar/", fl2.getURLPath());
                }
            }
        }
    
    
        // test case for #30
        @Test ( expected = MalformedURLException.class )
        public void testInvalid () throws MalformedURLException, CIFSException {
            try ( SmbResource p = new SmbFile("smb:a", getContext()) ) {
                p.getType();
            }
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 08 13:16:07 GMT 2020
    - 23K bytes
    - Viewed (0)
Back to top