Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 29 for exits (0.3 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java

                    // create it if necessary
                    if(( flags & SmbFile.O_EXCL ) == SmbFile.O_EXCL ) {
                        // fail if already exists
                        openFunction = OPEN_FN_CREATE | OPEN_FN_FAIL_IF_EXISTS;
                    } else {
                        openFunction = OPEN_FN_CREATE | OPEN_FN_OPEN;
                    }
                } else {
                    openFunction = OPEN_FN_OPEN;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 5.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/Config.java

         * 
         * <blockquote>
         */
        public static void registerSmbURLHandler () {
            SingletonContext.registerSmbURLHandler();
        }
    
    
        /**
         * Retrieve an <code>int</code>. If the key does not exist or
         * cannot be converted to an <code>int</code>, the provided default
         * argument will be returned.
         */
        public static int getInt ( Properties props, String key, int def ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        static final int FLAGS_TREE_COPY                   = 0x0020; 
    
        // open function
        static final int OPEN_FUNCTION_FAIL_IF_EXISTS      = 0x0000;
        static final int OPEN_FUNCTION_OVERWRITE_IF_EXISTS = 0x0020;
    
        static final int PID = (int)( Math.random() * 65536d );
    
        static final int SECURITY_SHARE = 0x00;
        static final int SECURITY_USER  = 0x01;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 8.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/SmbResource.java

         * @throws CIFSException
         */
        int getType () throws CIFSException;
    
    
        /**
         * Tests to see if the SMB resource exists. If the resource refers
         * only to a server, this method determines if the server exists on the
         * network and is advertising SMB services. If this resource refers to
         * a workgroup, this method determines if the workgroup name is valid on
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Dec 20 14:09:34 GMT 2020
    - 26K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFile.java

                return true;
            }
            return exists(); // try opening and catch sharing violation?
        }
    
    
        @Override
        public boolean canWrite () throws SmbException {
            if ( getType() == TYPE_NAMED_PIPE ) { // try opening the pipe for writing?
                return true;
            }
            return exists() && ( this.attributes & ATTR_READONLY ) == 0;
        }
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/KerberosTest.java

                  SmbSessionInternal session = (SmbSessionInternal) th.getSession() ) {
                Assume.assumeTrue("Not SMB2", th.isSMB2());
                f.exists();
                session.reauthenticate();
                f.exists();
            }
        }
    
    
        @Test
        public void testSessionExpiration () throws Exception {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Mar 01 09:46:04 GMT 2020
    - 11.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/ReadWriteTest.java

                    }
                }
                catch ( SmbException e ) {
                    if ( e.getNtStatus() == 0xC00000BB ) {
                        Assume.assumeTrue("Server does not support pipes or it does not exist", false);
                    }
                    throw e;
                }
            }
        }
    
    
        @Test
        public void testCallPipe () throws IOException {
            try ( SmbNamedPipe f = new SmbNamedPipe(
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 13.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/ConcurrencyTest.java

    
            @Override
            public void run () {
    
                try {
                    try ( SmbResource f = createTestFile() ) {
                        try {
                            // f.exists();
                            // try ( OutputStream os = f.openOutputStream(false, SmbConstants.FILE_NO_SHARE) ) {
                            // os.write(new byte[] {
                            // 1, 2, 3, 4, 5, 6, 7, 8
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 14 17:40:50 GMT 2021
    - 17.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/NtStatus.java

            "There are currently no logon servers available to service the logon request.", "The specified user already exists.",
            "The specified user does not exist.", "The specified network password is not correct.", "Logon failure: unknown user name or bad password.",
            "Logon failure: user account restriction.", "Logon failure: account logon time restriction violation.",
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jun 01 10:09:29 GMT 2019
    - 11.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/NtStatus.java

            "Access is denied.",
            "There are currently no logon servers available to service the logon request.",
            "The specified user already exists.",
            "The specified user does not exist.",
            "The specified network password is not correct.",
            "Logon failure: unknown user name or bad password.",
            "Logon failure: user account restriction.",
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 11.1K bytes
    - Viewed (0)
Back to top