Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for correctly (0.22 sec)

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

                        // there seems to be some random factor (adding one second)
                        int diff = Math.abs((int) ( ( time / 1000 ) - ( f.lastModified() / 1000 ) ));
                        Assert.assertTrue("Have set time correctly", diff < 2);
                    }
                    else {
                        assertEquals(time, f.lastModified());
                    }
                }
                catch ( SmbUnsupportedOperationException e ) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/WatchTest.java

            }
        }
    
    
        @Test
        public void testWatchModified () throws InterruptedException, ExecutionException, IOException {
            // samba 4 starting with some version does not seem to handle this correctly :(
            try ( SmbWatchHandle w = this.base
                    .watch(FileNotifyInformation.FILE_NOTIFY_CHANGE_ATTRIBUTES | FileNotifyInformation.FILE_NOTIFY_CHANGE_LAST_WRITE, false) ) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

        public int decode ( byte[] buffer, int bufferIndex ) throws SMBProtocolDecodingException {
            int len = super.decode(buffer, bufferIndex);
            if ( this.byteCount == 0 ) {
                // otherwise hasMore may not be correctly set
                readBytesWireFormat(buffer, len + bufferIndex);
            }
            nextElement();
            return len;
        }
    
    
        @Override
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 9.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                    }
                }
    
                /* Verification fails (w/ W2K3 server at least) if status is not 0. This
                 * suggests MS doesn't compute the signature (correctly) for error responses
                 * (perhaps for DOS reasons).
                 */
                if (digest != null && resp.errorCode == 0) {
                    digest.verify( BUF, 4, resp );
                }
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 31.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

        public boolean verifySignature ( byte[] buffer, int i, int size ) {
            /*
             * Verification fails (w/ W2K3 server at least) if status is not 0. This
             * suggests MS doesn't compute the signature (correctly) for error responses
             * (perhaps for DOS reasons).
             */
            /*
             * Looks like the failure case also is just reflecting back the signature we sent
             */
    
            /**
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 32.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFile.java

     * be URL encoded if it contains reserved characters. According to RFC 2396
     * these characters are non US-ASCII characters and most meta characters
     * however jCIFS will work correctly with anything but '@' which is used
     * to delimit the userinfo component from the server and '%' which is the
     * URL escape character itself.
     * <p>
     * The server
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/dtyp/ACE.java

                sb.append(' ');
            }
        }
    
    
        /**
         * Return a string represeting this ACE.
         * <p>
         * Note: This function should probably be changed to return SDDL
         * fragments but currently it does not.
         */
        @Override
        public String toString () {
            StringBuffer sb = new StringBuffer();
            sb.append(isAllow() ? "Allow " : "Deny  ");
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbFile.java

     * be URL encoded if it contains reserved characters. According to RFC 2396
     * these characters are non US-ASCII characters and most meta characters
     * however jCIFS will work correctly with anything but '@' which is used
     * to delimit the userinfo component from the server and '%' which is the
     * URL escape character itself.
     * <p>
     * The server
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  9. src/main/java/jcifs/NetbiosAddress.java

     * <p>
     * <b>About NetBIOS:</b> The NetBIOS name
     * service is a dynamic distributed service that allows hosts to resolve
     * names by broadcasting a query, directing queries to a server such as
     * Samba or WINS. NetBIOS is currently the primary networking layer for
     * providing name service, datagram service, and session service to the
     * Microsoft Windows platform. A NetBIOS name can be 15 characters long
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/DcerpcHandle.java

                msg.decode_header(fragBuf);
                int stub_frag_len = msg.length - 24;
                if ( ( off + stub_frag_len ) > in.length ) {
                    // shouldn't happen if alloc_hint is correct or greater
                    byte[] tmp = new byte[off + stub_frag_len];
                    System.arraycopy(in, 0, tmp, 0, off);
                    in = tmp;
                }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jun 30 10:11:57 GMT 2019
    - 12.9K bytes
    - Viewed (0)
Back to top