Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 65 for Updated (0.29 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. guava/src/com/google/common/cache/LongAdder.java

      public void decrement() {
        add(-1L);
      }
    
      /**
       * Returns the current sum. The returned value is NOT an atomic snapshot; invocation in
       * the absence of concurrent updates returns an accurate result, but concurrent updates that occur
       * while the sum is being calculated might not be incorporated.
       *
       * @return the sum
       */
      @Override
      public long sum() {
        long sum = base;
        Cell[] as = cells;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 5.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/MacHashFunction.java

          checkNotDone();
          mac.update(b);
        }
    
        @Override
        protected void update(byte[] b, int off, int len) {
          checkNotDone();
          mac.update(b, off, len);
        }
    
        @Override
        protected void update(ByteBuffer bytes) {
          checkNotDone();
          checkNotNull(bytes);
          mac.update(bytes);
        }
    
        private void checkNotDone() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 15 22:31:55 GMT 2022
    - 3.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

        }
    
        @Override
        void compareAndSetSeenExceptions(
            AggregateFutureState<?> state, @CheckForNull Set<Throwable> expect, Set<Throwable> update) {
          seenExceptionsUpdater.compareAndSet(state, expect, update);
        }
    
        @Override
        int decrementAndGetRemainingCount(AggregateFutureState<?> state) {
          return remainingCountUpdater.decrementAndGet(state);
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/FileBackedOutputStream.java

      @Override
      public synchronized void write(int b) throws IOException {
        update(1);
        out.write(b);
      }
    
      @Override
      public synchronized void write(byte[] b) throws IOException {
        write(b, 0, b.length);
      }
    
      @Override
      public synchronized void write(byte[] b, int off, int len) throws IOException {
        update(len);
        out.write(b, off, len);
      }
    
      @Override
    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)
Back to top