Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 144 for Updated (0.17 sec)

  1. guava-tests/test/com/google/common/graph/InvalidatableSetTest.java

        assertThat(setToTest).isEqualTo(wrappedSet);
        assertThat(setToTest).isEqualTo(copyOfWrappedSet);
    
        // invalidate setToTest
        wrappedSet.remove(1);
        // sanity check on update of wrappedSet
        assertThat(wrappedSet).isNotEqualTo(copyOfWrappedSet);
    
        ImmutableSet<Integer> copyOfModifiedSet = ImmutableSet.copyOf(wrappedSet); // {2,3}
        // sanity check on construction of copyOfModifiedSet
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/InvalidatableSetTest.java

        assertThat(setToTest).isEqualTo(wrappedSet);
        assertThat(setToTest).isEqualTo(copyOfWrappedSet);
    
        // invalidate setToTest
        wrappedSet.remove(1);
        // sanity check on update of wrappedSet
        assertThat(wrappedSet).isNotEqualTo(copyOfWrappedSet);
    
        ImmutableSet<Integer> copyOfModifiedSet = ImmutableSet.copyOf(wrappedSet); // {2,3}
        // sanity check on construction of copyOfModifiedSet
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/TreeMultimap.java

     * support them). All optional multimap methods are supported, and all returned views are
     * modifiable.
     *
     * <p>This class is not threadsafe when any concurrent operations update the multimap. Concurrent
     * read operations will work correctly. To allow concurrent update operations, wrap your multimap
     * with a call to {@link Multimaps#synchronizedSortedSetMultimap}.
     *
     * <p>See the Guava User Guide article on <a href=
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Mar 09 00:21:17 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/hash/ChecksumHashFunctionTest.java

      }
    
      private static void assertChecksum(ImmutableSupplier<Checksum> supplier, String input) {
        byte[] bytes = HashTestUtils.ascii(input);
    
        Checksum checksum = supplier.get();
        checksum.update(bytes, 0, bytes.length);
        long value = checksum.getValue();
    
        String toString = "name";
        HashFunction func = new ChecksumHashFunction(supplier, 32, toString);
        assertEquals(toString, func.toString());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 30 14:33:12 GMT 2018
    - 3.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/graph/StandardImmutableGraphAdditionalTest.java

            GraphBuilder.directed()
                .allowsSelfLoops(true)
                .<String>nodeOrder(ElementOrder.<String>natural());
        ImmutableGraph.Builder<String> immutableGraphBuilder = graphBuilder.immutable();
    
        // Update GraphBuilder, but this shouldn't impact immutableGraphBuilder
        graphBuilder.allowsSelfLoops(false).nodeOrder(ElementOrder.<String>unordered());
    
        ImmutableGraph<String> emptyGraph = immutableGraphBuilder.build();
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Jan 09 20:24:43 GMT 2020
    - 4.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

       * to calling it exactly once.
       *
       * @since 10.0 (present in 1.0 as {@code run})
       */
      public void execute() {
        // Lock while we update our state so the add method above will finish adding any listeners
        // before we start to run them.
        RunnableExecutorPair list;
        synchronized (this) {
          if (executed) {
            return;
          }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/Graphs.java

       *
       * <p>This is a "snapshot" based on the current topology of {@code graph}, rather than a live view
       * of the transitive closure of {@code graph}. In other words, the returned {@link Graph} will not
       * be updated after modifications to {@code graph}.
       *
       * @since 33.1.0 (present with return type {@code Graph} since 20.0)
       */
      // TODO(b/31438252): Consider potential optimizations for this algorithm.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Strings.java

        if (count <= 1) {
          checkArgument(count >= 0, "invalid count: %s", count);
          return (count == 0) ? "" : string;
        }
    
        // IF YOU MODIFY THE CODE HERE, you must update StringsRepeatBenchmark
        final int len = string.length();
        final long longSize = (long) len * (long) count;
        final int size = (int) longSize;
        if (size != longSize) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 09 00:49:18 GMT 2021
    - 12.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/math/StatsAccumulator.java

       */
      static double calculateNewMeanNonFinite(double previousMean, double value) {
        /*
         * Desired behaviour is to match the results of applying the naive mean formula. In particular,
         * the update formula can subtract infinities in cases where the naive formula would add them.
         *
         * Consequently:
         * 1. If the previous mean is finite and the new value is non-finite then the new mean is that
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

      /**
       * Returns the number of microseconds during cool down that we have to wait to get a new permit.
       */
      abstract double coolDownIntervalMicros();
    
      /** Updates {@code storedPermits} and {@code nextFreeTicketMicros} based on the current time. */
      void resync(long nowMicros) {
        // if nextFreeTicket is in the past, resync to now
        if (nowMicros > nextFreeTicketMicros) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 19.3K bytes
    - Viewed (0)
Back to top