Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 254 for buses (0.15 sec)

  1. guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java

     * strategies.
     *
     * <ul>
     *   <li>SafeAtomicHelper: uses Atomic FieldsUpdaters to implement synchronization
     *   <li>SynchronizedHelper: uses {@code synchronized} blocks for synchronization
     * </ul>
     *
     * To force selection of our fallback strategies we load {@link AggregateFutureState} (and all of
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/TestingWeighers.java

        return new ConstantWeigher(constant);
      }
    
      /** Returns a {@link Weigher} that uses the integer key as the weight. */
      static Weigher<Integer, Object> intKeyWeigher() {
        return new IntKeyWeigher();
      }
    
      /** Returns a {@link Weigher} that uses the integer value as the weight. */
      static Weigher<Object, Integer> intValueWeigher() {
        return new IntValueWeigher();
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/SmallCharMatcher.java

    import com.google.common.annotations.VisibleForTesting;
    import com.google.common.base.CharMatcher.NamedFastMatcher;
    import java.util.BitSet;
    
    /**
     * An immutable version of CharMatcher for smallish sets of characters that uses a hash table with
     * linear probing to check for matches.
     *
     * @author Christopher Swenson
     */
    @GwtIncompatible // no precomputation is done in GWT
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/QuantilesAlgorithm.java

            double positionFrac = (double) remainder / scale;
            return dataset[positionFloor]
                + positionFrac * (dataset[positionFloor + 1] - dataset[positionFloor]);
          }
        }
      },
    
      /**
       * Uses quickselect. When calculating multiple quantiles, each quickselect starts from scratch.
       */
      QUICKSELECT {
    
        @Override
        double singleQuantile(int index, int scale, double[] dataset) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 01 16:30:37 GMT 2022
    - 7.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/QuantilesAlgorithm.java

            double positionFrac = (double) remainder / scale;
            return dataset[positionFloor]
                + positionFrac * (dataset[positionFloor + 1] - dataset[positionFloor]);
          }
        }
      },
    
      /**
       * Uses quickselect. When calculating multiple quantiles, each quickselect starts from scratch.
       */
      QUICKSELECT {
    
        @Override
        double singleQuantile(int index, int scale, double[] dataset) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 01 16:30:37 GMT 2022
    - 7.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/FileBackedOutputStream.java

      }
    
      /** Returns the file holding the data (possibly null). */
      @VisibleForTesting
      @CheckForNull
      synchronized File getFile() {
        return file;
      }
    
      /**
       * Creates a new instance that uses the given file threshold, and does not reset the data when the
       * {@link ByteSource} returned by {@link #asByteSource} is finalized.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  7. maven-compat/src/main/java/org/apache/maven/repository/metadata/GraphConflictResolver.java

        String ROLE = GraphConflictResolver.class.getName();
    
        /**
         * Cleanses the supplied graph by leaving only one directed versioned edge\
         * between any two nodes, if multiple exists. Uses scope relationships, defined
         * in <code>ArtifactScopeEnum</code>
         *
         * @param graph the "dirty" graph to be simplified via conflict resolution
         * @param scope scope for which the graph should be resolved
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/PatternCompiler.java

    package com.google.common.base;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.errorprone.annotations.RestrictedApi;
    
    /**
     * Pluggable interface for compiling a regex pattern. By default this package uses the {@code
     * java.util.regex} library, but an alternate implementation can be supplied using the {@link
     * java.util.ServiceLoader} mechanism.
     */
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        try {
          UnsignedInts.decode("-05");
          fail();
        } catch (NumberFormatException expected) {
        }
      }
    
      public void testToString() {
        int[] bases = {2, 5, 7, 8, 10, 16};
        for (long a : UNSIGNED_INTS) {
          for (int base : bases) {
            assertThat(Long.toString(a, base)).isEqualTo(UnsignedInts.toString((int) a, base));
          }
        }
      }
    
      public void testJoin() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/math/LongMath.java

          }
        }
        throw new AssertionError();
      }
    
      /*
       * If n <= millerRabinBases[i][0], then testing n against bases millerRabinBases[i][1..] suffices
       * to prove its primality. Values from miller-rabin.appspot.com.
       *
       * NOTE: We could get slightly better bases that would be treated as unsigned, but benchmarks
       * showed negligible performance improvements.
       */
    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)
Back to top