Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 301 for setable (0.12 sec)

  1. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

     *
     * <p>It is possible to configure a {@code RateLimiter} to have a warmup period during which time
     * the permits issued each second steadily increases until it hits the stable rate.
     *
     * <p>As an example, imagine that we have a list of tasks to execute, but we don't want to submit
     * more than 2 per second:
     *
     * <pre>{@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/ImmutableGraph.java

        Builder(GraphBuilder<N> graphBuilder) {
          // The incidentEdgeOrder for immutable graphs is always stable. However, we don't want to
          // modify this builder, so we make a copy instead.
          this.mutableGraph = graphBuilder.copy().incidentEdgeOrder(ElementOrder.<N>stable()).build();
        }
    
        /**
         * Adds {@code node} if it is not already present.
         *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 01 16:30:37 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/collect/SortedCopyBenchmark.java

     * suggestions.
     *
     */
    public class SortedCopyBenchmark {
      @Param({"1", "10", "1000", "1000000"})
      int size; // logarithmic triangular
    
      @Param boolean mutable;
    
      @Param InputOrder inputOrder;
    
      enum InputOrder {
        SORTED {
          @Override
          void arrange(List<Integer> list) {
            sort(list);
          }
        },
        ALMOST_SORTED {
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/StandardImmutableGraphAdditionalTest.java

        assertThat(graph.incidentEdgeOrder()).isEqualTo(ElementOrder.stable());
      }
    
      @Test
      public void copyOf_fromUnorderedGraph_incidentEdgeOrder() {
        ImmutableGraph<Object> graph =
            ImmutableGraph.copyOf(
                GraphBuilder.undirected().incidentEdgeOrder(ElementOrder.unordered()).build());
    
        assertThat(graph.incidentEdgeOrder()).isEqualTo(ElementOrder.stable());
      }
    
      @Test
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jan 09 20:24:43 UTC 2020
    - 4.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/graph/StandardImmutableGraphAdditionalTest.java

        assertThat(graph.incidentEdgeOrder()).isEqualTo(ElementOrder.stable());
      }
    
      @Test
      public void copyOf_fromUnorderedGraph_incidentEdgeOrder() {
        ImmutableGraph<Object> graph =
            ImmutableGraph.copyOf(
                GraphBuilder.undirected().incidentEdgeOrder(ElementOrder.unordered()).build());
    
        assertThat(graph.incidentEdgeOrder()).isEqualTo(ElementOrder.stable());
      }
    
      @Test
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jan 09 20:24:43 UTC 2020
    - 4.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/RegularImmutableBiMap.java

          keyTable[keyBucket] = newEntry;
          valueTable[valueBucket] = newEntry;
          entries[i] = newEntry;
          hashCode += keyHash ^ valueHash;
        }
        return new RegularImmutableBiMap<>(keyTable, valueTable, entries, mask, hashCode);
      }
    
      private RegularImmutableBiMap(
          @CheckForNull @Nullable ImmutableMapEntry<K, V>[] keyTable,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  7. SECURITY.md

    # Security Policy
    
    ## Supported Versions
    
    We support the past two Go releases (for example, Go 1.17.x and Go 1.18.x when Go 1.18.x is the latest stable release).
    
    See https://go.dev/wiki/Go-Release-Cycle and in particular the
    [Release Maintenance](https://go.dev/wiki/Go-Release-Cycle#release-maintenance)
    part of that page.
    
    ## Reporting a Vulnerability
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 22 21:17:24 UTC 2023
    - 426 bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

        assertThat(successCalls[0]).isEqualTo(1);
        assertThat(failureCalls[0]).isEqualTo(0);
      }
    
      public void testWildcardFuture() {
        SettableFuture<String> settable = SettableFuture.create();
        ListenableFuture<?> f = settable;
        FutureCallback<Object> callback =
            new FutureCallback<Object>() {
              @Override
              public void onSuccess(Object result) {}
    
              @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.7.md

        - [Action Required](#action-required)
        - [Other notable changes](#other-notable-changes)
    - [v1.7.15](#v1715)
      - [Downloads for v1.7.15](#downloads-for-v1715)
        - [Client Binaries](#client-binaries-1)
        - [Server Binaries](#server-binaries-1)
        - [Node Binaries](#node-binaries-1)
      - [Changelog since v1.7.14](#changelog-since-v1714)
        - [Other notable changes](#other-notable-changes-1)
    - [v1.7.14](#v1714)
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Thu May 05 13:44:43 UTC 2022
    - 308.7K bytes
    - Viewed (1)
  10. guava/src/com/google/common/collect/Ordering.java

      /**
       * Returns an ordering which treats all values as equal, indicating "no ordering." Passing this
       * ordering to any <i>stable</i> sort algorithm results in no change to the order of elements.
       * Note especially that {@link #sortedCopy} and {@link #immutableSortedCopy} are stable, and in
       * the returned instance these are implemented by simply copying the source list.
       *
       * <p>Example:
       *
       * <pre>{@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
Back to top