Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for _fail (0.22 sec)

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

            return new KerberosKey(null, keybytes, etype, 0);
        }
    
    
        private static void checkBytes ( byte[] expect, byte[] have ) {
            if ( !Arrays.equals(expect, have) ) {
                Assert.fail(String.format("Expect: %s Have: %s", Hexdump.toHexString(expect), Hexdump.toHexString(have)));
            }
        }
    
    
        private static void verifyNfold ( int n, String string, String expect ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Oct 01 12:01:17 GMT 2023
    - 22.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/RandomAccessFileTest.java

                int r = is.read(offBuf, pos, offBuf.length - pos);
                if ( r < 0 ) {
                    fail("EOF while reading");
                }
                pos += r;
            }
    
            for ( int i = 0; i < offBuf.length; i++ ) {
                if ( offBuf[ i ] != 0 ) {
                    fail("Not zero @ " + i);
                }
            }
        }
    
    
        /**
         * @param bufSize
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 11.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/ConcurrencyTest.java

     */
    package jcifs.tests;
    
    
    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.assertTrue;
    import static org.junit.Assert.fail;
    
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.net.MalformedURLException;
    import java.net.UnknownHostException;
    import java.util.ArrayList;
    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)
  4. src/test/java/jcifs/tests/ReadWriteTest.java

     */
    package jcifs.tests;
    
    
    import static org.junit.Assert.assertArrayEquals;
    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.fail;
    
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.net.MalformedURLException;
    import java.net.UnknownHostException;
    import java.util.Collection;
    import java.util.Map;
    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)
  5. src/main/java/jcifs/SmbResource.java

         *         1970 as a <code>long</code> value
         * @throws CIFSException
         */
        long createTime () throws CIFSException;
    
    
        /**
         * Create a new file but fail if it already exists. The check for
         * existence of the file and it's creation are an atomic operation with
         * respect to other filesystem activities.
         * 
         * @throws CIFSException
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Dec 20 14:09:34 GMT 2020
    - 26K bytes
    - Viewed (0)
  6. src/main/java/jcifs/Configuration.java

         */
        boolean isDfsDisabled ();
    
    
        /**
         * Enable hack to make kerberos auth work with DFS sending short names
         * 
         * This works by appending the domain name to the netbios short name and will fail horribly if this mapping is not
         * correct for your domain.
         * 
         * Property <tt>jcifs.smb.client.dfs.convertToFQDN</tt> (boolean, default false)
         * 
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 18K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

             * for the addresses hostname or failed lookups for one type will
             * be cached and cause other types to fail even though they may
             * not be the authority for the name. For example, if a WINS lookup
             * for FOO fails and caches unknownAddress for FOO, a subsequent
             * lookup for FOO using BCAST should not fail because of that
             * name cached from WINS.
             *
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 17.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                     * be cached and cause other types to fail even though they may
                     * not be the authority for the name. For example, if a WINS lookup
                     * for FOO fails and caches unknownAddress for FOO, a subsequent
                     * lookup for FOO using BCAST should not fail because of that
                     * name cached from WINS.
                     *
    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)
  9. src/main/java/jcifs/smb1/util/DES.java

    // DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES.
    //
    // THIS SOFTWARE IS NOT DESIGNED OR INTENDED FOR USE OR RESALE AS ON-LINE
    // CONTROL EQUIPMENT IN HAZARDOUS ENVIRONMENTS REQUIRING FAIL-SAFE
    // PERFORMANCE, SUCH AS IN THE OPERATION OF NUCLEAR FACILITIES, AIRCRAFT
    // NAVIGATION OR COMMUNICATION SYSTEMS, AIR TRAFFIC CONTROL, DIRECT LIFE
    // SUPPORT MACHINES, OR WEAPONS SYSTEMS, IN WHICH THE FAILURE OF THE
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 21.4K bytes
    - Viewed (0)
Back to top