Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for Updated (0.29 sec)

  1. guava/src/com/google/common/cache/Striped64.java

      /**
       * Computes the function of current and new value. Subclasses should open-code this update
       * function for most uses, but the virtualized form is needed within retryUpdate.
       *
       * @param currentValue the current value (of either base or a cell)
       * @param newValue the argument from a user update call
       * @return result of the update function
       */
      abstract long fn(long currentValue, long newValue);
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/Striped64.java

      /**
       * Computes the function of current and new value. Subclasses should open-code this update
       * function for most uses, but the virtualized form is needed within retryUpdate.
       *
       * @param currentValue the current value (of either base or a cell)
       * @param newValue the argument from a user update call
       * @return result of the update function
       */
      abstract long fn(long currentValue, long newValue);
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  3. .github/workflows/scorecard.yml

    on:
      # For Branch-Protection check. Only the default branch is supported. See
      # https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection
      branch_protection_rule:
      # To guarantee Maintained check is occasionally updated. See
      # https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained
      schedule:
        - cron: '45 9 * * 0'
      push:
        branches: [ "master" ]
    
    # Declare default permissions as read only.
    Others
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 29 23:37:56 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/HashBiMapTest.java

        entry.setValue("two"); // changes the iterator's current entry value
        assertEquals("two", map.get(1));
        assertEquals(Integer.valueOf(1), map.inverse().get("two"));
        iterator.remove(); // removes the updated entry
        assertTrue(map.isEmpty());
      }
    
      public void testInsertionOrder() {
        BiMap<String, Integer> map = HashBiMap.create();
        map.put("foo", 1);
        map.put("bar", 2);
        map.put("quux", 3);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/HashBiMapTest.java

        entry.setValue("two"); // changes the iterator's current entry value
        assertEquals("two", map.get(1));
        assertEquals(Integer.valueOf(1), map.inverse().get("two"));
        iterator.remove(); // removes the updated entry
        assertTrue(map.isEmpty());
      }
    
      public void testInsertionOrder() {
        BiMap<String, Integer> map = HashBiMap.create();
        map.put("foo", 1);
        map.put("bar", 2);
        map.put("quux", 3);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/Striped64.java

      /**
       * Computes the function of current and new value. Subclasses should open-code this update
       * function for most uses, but the virtualized form is needed within retryUpdate.
       *
       * @param currentValue the current value (of either base or a cell)
       * @param newValue the argument from a user update call
       * @return result of the update function
       */
      abstract long fn(long currentValue, long newValue);
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/StandardValueGraph.java

      private final boolean isDirected;
      private final boolean allowsSelfLoops;
      private final ElementOrder<N> nodeOrder;
    
      final MapIteratorCache<N, GraphConnections<N, V>> nodeConnections;
    
      long edgeCount; // must be updated when edges are added or removed
    
      /** Constructs a graph with the properties specified in {@code builder}. */
      StandardValueGraph(AbstractGraphBuilder<? super N> builder) {
        this(
            builder,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/AbstractBaseGraph.java

       * This implementation requires O(|N|) time. Classes extending this one may manually keep track of
       * the number of edges as the graph is updated, and override this method for better performance.
       */
      protected long edgeCount() {
        long degreeSum = 0L;
        for (N node : nodes()) {
          degreeSum += degree(node);
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Multimaps.java

       * {@code factory}, and the multimap contents are all serializable.
       *
       * <p>The multimap is not threadsafe when any concurrent operations update the multimap, even if
       * {@code map} and the instances generated by {@code factory} are. Concurrent read operations will
       * work correctly. To allow concurrent update operations, wrap the multimap with a call to {@link
       * #synchronizedMultimap}.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

            // may have scheduled more operations on another thread, and if those operations then
            // trigger reentrant calls that thread will have updated the latestTaskQueue field, and
            // we'd be interfering with their operation.
            executingTaskQueue.thread = null;
          }
        }
    
        private boolean trySetStarted() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 22.1K bytes
    - Viewed (0)
Back to top