Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for fail (0.64 sec)

  1. 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
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 11.4K bytes
    - Viewed (0)
  2. 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.
             *
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 17.4K bytes
    - Viewed (0)
  3. 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.
                     *
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Aug 14 14:26:22 UTC 2022
    - 38.2K bytes
    - Viewed (0)
  4. 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;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Nov 14 17:40:50 UTC 2021
    - 17.6K bytes
    - Viewed (0)
  5. 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
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 21.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                    Integer fail1 = SmbTransportPoolImpl.this.failCounts.get(o1.getHostAddress());
                    Integer fail2 = SmbTransportPoolImpl.this.failCounts.get(o2.getHostAddress());
                    if ( fail1 == null ) {
                        fail1 = 0;
                    }
                    if ( fail2 == null ) {
                        fail2 = 0;
                    }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 12.5K bytes
    - Viewed (0)
  7. 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 ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Oct 01 12:01:17 UTC 2023
    - 22.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/netbios/NbtAddress.java

         * nameserver.
         */
    
        public static final int M_NODE = 2;
    
        /**
         * A Hybrid node tries to resolve a name using the nameserver first. If
         * that fails use the broadcast address. This is the default if a nameserver
         * is provided. This is the behavior of Microsoft Windows machines.
         */
    
        public static final int H_NODE = 3;
    
        /**
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 15.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTreeImpl.java

                }
                if ( request == null || ( chainedResponse != null && chainedResponse.isReceived() ) ) {
                    return chainedResponse;
                }
    
                // fall trough if the tree connection is already established
                // and send it as a separate request instead
                String svc = null;
                int t = this.tid;
                request.setTid(t);
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  10. 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;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 13.2K bytes
    - Viewed (0)
Back to top