Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for content2 (0.16 sec)

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

    import jcifs.SmbResource;
    import jcifs.SmbWatchHandle;
    import jcifs.smb.SmbFile;
    
    
    /**
     * 
     * 
     * Compatability notes:
     * - windows 2k12 will not trigger with FILE_NOTIFY_CHANGE_ATTRIBUTES if the file contents are modified (modtime
     * changes)
     * 
     * @author mbechler
     *
     */
    @RunWith ( Parameterized.class )
    @SuppressWarnings ( "javadoc" )
    public class WatchTest extends BaseCIFSTest {
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java

         * aka OPEN_ALWAYS
         */
    
        static final int FILE_OPEN_IF      = 0x3;
    
        /* Open the file and overwrite it's contents or fail if it does not exist
         * aka TRUNCATE_EXISTING
         */
    
        static final int FILE_OVERWRITE    = 0x4;
    
        /* Open the file and overwrite it's contents or create it if it does not exist
         * aka CREATE_ALWAYS (according to the wire when calling CreateFile)
         */
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 6.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/NtlmPasswordAuthentication.java

        }
    
    
        /**
         * @param to
         * @param from
         */
        protected static void cloneInternal ( NtlmPasswordAuthentication to, NtlmPasswordAuthentication from ) {
            to.context = from.context;
            if ( from.hashesExternal ) {
                to.hashesExternal = true;
                to.ansiHash = from.ansiHash != null ? Arrays.copyOf(from.ansiHash, from.ansiHash.length) : null;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:50:16 GMT 2020
    - 8.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/context/CIFSContextCredentialWrapper.java

     */
    package jcifs.context;
    
    
    import jcifs.CIFSContext;
    import jcifs.Credentials;
    import jcifs.smb.CredentialsInternal;
    import jcifs.smb.NtlmAuthenticator;
    import jcifs.smb.NtlmPasswordAuthenticator;
    import jcifs.smb.SmbAuthException;
    import jcifs.smb.SmbRenewableCredentials;
    
    
    /**
     * Context wrapper supplying alternate credentials
     * 
     * @author mbechler
     *
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Aug 02 08:32:29 GMT 2018
    - 2.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbNamedPipe.java

     * </pre>
     * 
     * </td>
     * <td>
     * Open the Named Pipe foo for reading and writing. The pipe will behave like the <code>CallNamedPipe</code> interface.
     * </td>
     * </tr>
     * <tr>
     * <td width="20%">
     * 
     * <pre>
     * new SmbNamedPipe("smb://server/IPC$/foo", SmbNamedPipe.PIPE_TYPE_RDWR | SmbNamedPipe.PIPE_TYPE_TRANSACT, context);
     * </pre>
     * 
     * </td>
     * <td>
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/ntlmssp/Type1Message.java

         * 
         * @param tc
         *            context to use
         */
        public Type1Message ( CIFSContext tc ) {
            this(tc, getDefaultFlags(tc), tc.getConfig().getDefaultDomain(), tc.getNameServiceClient().getLocalHost().getHostName());
        }
    
    
        /**
         * Creates a Type-1 message with the specified parameters.
         * 
         * @param tc
         *            context to use
         * @param flags
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Sep 02 12:55:08 GMT 2018
    - 7.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/DcerpcBind.java

            buf.enc_ndr_short(this.max_recv);
            buf.enc_ndr_long(0); /* assoc. group */
            buf.enc_ndr_small(1); /* num context items */
            buf.enc_ndr_small(0); /* reserved */
            buf.enc_ndr_short(0); /* reserved2 */
            buf.enc_ndr_short(0); /* context id */
            buf.enc_ndr_small(1); /* number of items */
            buf.enc_ndr_small(0); /* reserved */
            this.binding.getUuid().encode(buf);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/nego/NegotiateContextRequest.java

    package jcifs.internal.smb2.nego;
    
    
    import jcifs.Encodable;
    
    
    /**
     * @author mbechler
     *
     */
    public interface NegotiateContextRequest extends Encodable {
    
        /**
         * 
         * @return context type
         */
        int getContextType ();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1016 bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

                        buf.start = off;
                        buf.reset();
                        msg.encode_header(buf);
                        buf.enc_ndr_long(msg.alloc_hint);
                        buf.enc_ndr_short(0); /* context id */
                        buf.enc_ndr_short(msg.getOpnum());
                    }
    
                    doSendFragment(stub, off, msg.length, isDirect);
                    off += n;
                }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 8.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/pac/ASN1Util.java

            if ( tag != expectTag ) {
                throw new IOException("Unexpected tag " + tag);
            }
            int length = readLength(in, limit, false);
            byte[] content = new byte[length];
            in.read(content);
            return content;
        }
    
        // shamelessly stolen from BC ASN1InputStream
        static int readTagNumber(InputStream s, int tag)
                throws IOException
        {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Oct 02 12:02:06 GMT 2023
    - 6.5K bytes
    - Viewed (0)
Back to top