Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 39 for diff (0.16 sec)

  1. android/guava/src/com/google/common/math/ToDoubleRounder.java

              }
    
              X deltaToFloor = minus(x, roundFloor);
              X deltaToCeiling = minus(roundCeiling, x);
              int diff = deltaToFloor.compareTo(deltaToCeiling);
              if (diff < 0) { // closer to floor
                return roundFloorAsDouble;
              } else if (diff > 0) { // closer to ceiling
                return roundCeilingAsDouble;
              }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/http/NetworkExplorer.java

            long diff;
    
            if ( f1.isDirectory() != f2.isDirectory() ) {
                return f1.isDirectory() ? -1 : 1;
            }
            if ( f1.isDirectory() ) {
                return f1name.compareToIgnoreCase(f2.getName());
            }
            diff = f1.length() - f2.length();
            if ( diff == 0 ) {
                return f1name.compareToIgnoreCase(f2.getName());
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 21.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/http/NetworkExplorer.java

            long diff;
    
            if( f1.isDirectory() != f2.isDirectory() ) {
                return f1.isDirectory() ? -1 : 1;
            }
            if( f1.isDirectory() ) {
                return f1name.compareToIgnoreCase( f2.getName() );
            }
            diff = f1.length() - f2.length();
            if( diff == 0 ) {
                return f1name.compareToIgnoreCase( f2.getName() );
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 22 03:57:31 GMT 2020
    - 19.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/UnsignedBytes.java

                 * corresponds to the least significant nonzero byte in lw ^ rw, since lw and rw are
                 * little-endian. Long.numberOfTrailingZeros(diff) tells us the least significant
                 * nonzero bit, and zeroing out the first three bits of L.nTZ gives us the shift to get
                 * that least significant nonzero byte.
                 */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 18.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/LongMath.java

                // roundCeiling is 2^63-1.
                deltaToCeiling++;
              }
    
              int diff = Longs.compare(deltaToFloor, deltaToCeiling);
              if (diff < 0) { // closer to floor
                return roundFloorAsDouble;
              } else if (diff > 0) { // closer to ceiling
                return roundCeilingAsDouble;
              }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                throws CIFSException {
            DosFileFilter dff = unwrapDOSFilter(ff);
            if ( dff != null ) {
                if ( dff.wildcard != null )
                    wildcard = dff.wildcard;
                searchAttributes = dff.attributes;
            }
            SmbResourceLocator locator = parent.getLocator();
            if ( locator.getURL().getHost().isEmpty() ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jul 20 08:41:19 GMT 2019
    - 12.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/RegularImmutableSet.java

      @Override
      public int size() {
        return size;
      }
    
      // We're careful to put only E instances into the array in the mainline.
      // (In the backport, we don't need this suppression, but we keep it to minimize diffs.)
      @SuppressWarnings("unchecked")
      @Override
      public UnmodifiableIterator<E> iterator() {
        return asList().iterator();
      }
    
      @Override
      @Nullable
      Object[] internalArray() {
        return elements;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableSortedSet.java

         * ImmutableSortedSet#orderedBy}.
         */
        /*
         * TODO(cpovirk): use Object[] instead of E[] in the mainline? (The backport is different and
         * doesn't need this suppression, but we keep it to minimize diffs.) Generally be more clear
         * about when we have an Object[] vs. a Comparable[] or other array type in internalArray? If we
         * used Object[], we might be able to optimize toArray() to use clone() sometimes. (See
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 38.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/ValueGraph.java

       * @since 27.1
       */
      @CheckForNull
      V edgeValueOrDefault(EndpointPair<N> endpoints, @CheckForNull V defaultValue);
    
      //
      // ValueGraph identity
      //
    
      /**
       * Returns {@code true} iff {@code object} is a {@link ValueGraph} that has the same elements and
       * the same structural relationships as those in this graph.
       *
       * <p>Thus, two value graphs A and B are equal if <b>all</b> of the following are true:
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 15K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/util/RC4.java

        }
        public void update(byte[] src, int soff, int slen, byte[] dst, int doff)
        {
            int slim;
    
            slim = soff + slen;
            while (soff < slim) {
                i = (i + 1) & 0xff;
                j = (j + s[i]) & 0xff;
                byte t = s[i];
                s[i] = s[j];
                s[j] = t;
                dst[doff++] = (byte)(src[soff++] ^ s[(s[i] + s[j]) & 0xff]);
            }
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 1.7K bytes
    - Viewed (0)
Back to top