Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 28 for Shorten (0.15 sec)

  1. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

                            Item l = left.hasNext() ? left.next() : null;
                            Item r = right.hasNext() ? right.next() : null;
    
                            // if this is shorter, then invert the compare and mul with -1
                            int result = l == null ? (r == null ? 0 : -1 * r.compareTo(l)) : l.compareTo(r);
    
                            if (result != 0) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 26K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

          afe.initCause(t);
          throw afe;
        }
      }
    
      /**
       * Delays, via Thread.sleep, for the given millisecond delay, but if the sleep is shorter than
       * specified, may re-sleep or yield until time elapses.
       */
      static void delay(long millis) throws InterruptedException {
        long startTime = System.nanoTime();
        long ns = millis * 1000 * 1000;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

          afe.initCause(t);
          throw afe;
        }
      }
    
      /**
       * Delays, via Thread.sleep, for the given millisecond delay, but if the sleep is shorter than
       * specified, may re-sleep or yield until time elapses.
       */
      static void delay(long millis) throws InterruptedException {
        long startTime = System.nanoTime();
        long ns = millis * 1000 * 1000;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbSessionImpl.java

                    setNetbiosName(ctx.getNetbiosName());
                    byte[] sk = ctx.getSigningKey();
                    if ( sk != null ) {
                        // session key is truncated to 16 bytes, right padded with 0 if shorter
                        byte[] key = new byte[16];
                        System.arraycopy(sk, 0, key, 0, Math.min(16, sk.length));
                        this.sessionKey = key;
                    }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 14 17:41:04 GMT 2021
    - 49K bytes
    - Viewed (0)
  5. src/main/java/jcifs/netbios/UniAddress.java

                        dots++;
                        i++;
                    }
                }
            }
    
            return false;
        }
    
        /**
         * Perform DNS SRV lookup on successively shorter suffixes of name
         * and return successful suffix or throw an UnknownHostException.
         * import javax.naming.*;
         * import javax.naming.directory.*;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/SignedBytes.java

       * compares, using {@link #compare(byte, byte)}), the first pair of values that follow any common
       * prefix, or when one array is a prefix of the other, treats the shorter array as the lesser. For
       * example, {@code [] < [0x01] < [0x01, 0x80] < [0x01, 0x7F] < [0x02]}. Values are treated as
       * signed.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 22 13:09:25 GMT 2021
    - 7.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/UniAddress.java

                } catch( IOException ioe ) {
                    // Failure
                }
            }
            throw new UnknownHostException( hostname );
        }
    
        /**
         * Perform DNS SRV lookup on successively shorter suffixes of name
         * and return successful suffix or throw an UnknownHostException.
    import javax.naming.*;
    import javax.naming.directory.*;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 16.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Joiner.java

      /*
       * In this file, we use <? extends @Nullable Object> instead of <?> to work around a Kotlin bug
       * (see b/189937072 until we file a bug against Kotlin itself). (The two should be equivalent, so
       * we normally prefer the shorter one.)
       */
    
      /**
       * Appends the string representation of each of {@code parts}, using the previously configured
       * separator between each, to {@code appendable}.
       */
      @CanIgnoreReturnValue
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/UnsignedLongs.java

       * compares, using {@link #compare(long, long)}), the first pair of values that follow any common
       * prefix, or when one array is a prefix of the other, treats the shorter array as the lesser. For
       * example, {@code [] < [1L] < [1L, 2L] < [2L] < [1L << 63]}.
       *
       * <p>The returned comparator is inconsistent with {@link Object#equals(Object)} (since arrays
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Booleans.java

       * compares, using {@link #compare(boolean, boolean)}), the first pair of values that follow any
       * common prefix, or when one array is a prefix of the other, treats the shorter array as the
       * lesser. For example, {@code [] < [false] < [false, true] < [true]}.
       *
       * <p>The returned comparator is inconsistent with {@link Object#equals(Object)} (since arrays
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 19.9K bytes
    - Viewed (0)
Back to top