Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 287 for insertion (3.2 sec)

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

        return Arrays.asList(
            new Object[][] {
              {false, false, ElementOrder.insertion(), ElementOrder.insertion()},
              {true, false, ElementOrder.insertion(), ElementOrder.insertion()},
              {false, false, naturalElementOrder, naturalElementOrder},
              {true, true, ElementOrder.insertion(), ElementOrder.insertion()},
            });
      }
    
      private final boolean allowsSelfLoops;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Apr 09 17:01:22 GMT 2020
    - 2.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/StandardImmutableDirectedNetworkTest.java

        return Arrays.asList(
            new Object[][] {
              {false, false, ElementOrder.insertion(), ElementOrder.insertion()},
              {true, false, ElementOrder.insertion(), ElementOrder.insertion()},
              {false, false, naturalElementOrder, naturalElementOrder},
              {true, true, ElementOrder.insertion(), ElementOrder.insertion()},
            });
      }
    
      private final boolean allowsSelfLoops;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 09 17:01:22 GMT 2020
    - 2.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/NetworkBuilder.java

        return this;
      }
    
      /**
       * Specifies the order of iteration for the elements of {@link Network#nodes()}.
       *
       * <p>The default value is {@link ElementOrder#insertion() insertion order}.
       */
      public <N1 extends N> NetworkBuilder<N1, E> nodeOrder(ElementOrder<N1> nodeOrder) {
        NetworkBuilder<N1, E> newBuilder = cast();
        newBuilder.nodeOrder = checkNotNull(nodeOrder);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jun 03 01:21:31 GMT 2022
    - 7.4K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache_test.cc

      cache.Insert(key, 41);
      env->SetNowSeconds(2);
      cache.Insert(key, 42);
      // 1 second after the most recent insertion, the entry is still valid.
      env->SetNowSeconds(3);
      int value = 0;
      EXPECT_TRUE(cache.Lookup(key, &value));
      EXPECT_EQ(value, 42);
      // 2 seconds after the most recent insertion, the entry is no longer valid.
      env->SetNowSeconds(4);
      EXPECT_FALSE(cache.Lookup(key, &value));
      // Re-insert the entry.
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 19:31:22 GMT 2020
    - 7.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/CompactLinkedHashSet.java

      /**
       * Pointer to the predecessor of an entry in insertion order. ENDPOINT indicates a node is the
       * first node in insertion order; all values at indices ≥ {@link #size()} are UNSET.
       */
      @CheckForNull private transient int[] predecessor;
    
      /**
       * Pointer to the successor of an entry in insertion order. ENDPOINT indicates a node is the last
       * node in insertion order; all values at indices ≥ {@link #size()} are UNSET.
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/TestStringSetGenerator.java

       * containers with a known order other than insertion order must override this method.
       *
       * <p>Note: This default implementation is overkill (but valid) for an unordered container. An
       * equally valid implementation for an unordered container is to throw an exception. The chosen
       * implementation, however, has the advantage of working for insertion-ordered containers, as
       * well.
       */
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/TestIntegerSetGenerator.java

       * containers with a known order other than insertion order must override this method.
       *
       * <p>Note: This default implementation is overkill (but valid) for an unordered container. An
       * equally valid implementation for an unordered container is to throw an exception. The chosen
       * implementation, however, has the advantage of working for insertion-ordered containers, as
       * well.
       */
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java

      /**
       * Returns the platform preferred map implementation that preserves insertion order when used only
       * for insertions.
       */
      static <K, V> Map<K, V> preservesInsertionOrderOnPutsMap() {
        return Maps.newLinkedHashMap();
      }
    
      /**
       * Returns the platform preferred set implementation that preserves insertion order when used only
       * for insertions.
       */
      static <E> Set<E> preservesInsertionOrderOnAddsSet() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jun 29 18:16:45 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/AbstractListMultimap.java

      }
    
      // Following Javadoc copied from ListMultimap.
    
      /**
       * {@inheritDoc}
       *
       * <p>Because the values for a given key may have duplicates and follow the insertion ordering,
       * this method returns a {@link List}, instead of the {@link Collection} specified in the {@link
       * Multimap} interface.
       */
      @Override
      public List<V> get(@ParametricNullness K key) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 4.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/AbstractListMultimap.java

      }
    
      // Following Javadoc copied from ListMultimap.
    
      /**
       * {@inheritDoc}
       *
       * <p>Because the values for a given key may have duplicates and follow the insertion ordering,
       * this method returns a {@link List}, instead of the {@link Collection} specified in the {@link
       * Multimap} interface.
       */
      @Override
      public List<V> get(@ParametricNullness K key) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 4.4K bytes
    - Viewed (0)
Back to top