Search Options

Results per page
Sort
Preferred Languages
Advance

Results 661 - 670 of 1,026 for implementation (0.15 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java

    import java.util.HashSet;
    import java.util.List;
    import java.util.Set;
    import junit.framework.TestSuite;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a {@code
     * SortedMultiset} implementation.
     *
     * <p><b>Warning:</b> expects that {@code E} is a String.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible
    public class SortedMultisetTestSuiteBuilder<E> extends MultisetTestSuiteBuilder<E> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/ThrowablesTest.java

        assertThrows(UnsupportedOperationException.class, () -> lazyStackTrace(e).set(0, null));
    
        // Now we test a property that holds only for the lazy implementation.
    
        if (!lazyStackTraceIsLazy()) {
          return;
        }
    
        e.setStackTrace(new StackTraceElement[0]);
        assertThat(lazyStackTrace(e)).containsExactly((Object[]) originalStackTrace).inOrder();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

      /**
       * Prevents the given methods from being run as part of the test suite.
       *
       * <p>Note: in principle this should never need to be used, but it might be useful if the
       * semantics of an implementation disagree in unforeseen ways with the semantics expected by a
       * test, or to keep dependent builds clean in spite of an erroneous test.
       */
      @CanIgnoreReturnValue
      public B suppressing(Method... methods) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/GeneralRange.java

    /**
     * A generalized interval on any ordering, for internal use. Supports {@code null}. Unlike {@link
     * Range}, this allows the use of an arbitrary comparator. This is designed for use in the
     * implementation of subcollections of sorted collection types.
     *
     * <p>Whenever possible, use {@code Range} instead, which is better supported.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible(serializable = true)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/DenseImmutableTable.java

        }
        this.cellRowIndices = cellRowIndices;
        this.cellColumnIndices = cellColumnIndices;
        this.rowMap = new RowMap();
        this.columnMap = new ColumnMap();
      }
    
      /** An immutable map implementation backed by an indexed nullable array. */
      private abstract static class ImmutableArrayMap<K, V> extends IteratorBasedImmutableMap<K, V> {
        private final int size;
    
        ImmutableArrayMap(int size) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/policy/v1/generated.proto

      // +optional
      optional k8s.io.apimachinery.pkg.util.intstr.IntOrString maxUnavailable = 3;
    
      // UnhealthyPodEvictionPolicy defines the criteria for when unhealthy pods
      // should be considered for eviction. Current implementation considers healthy pods,
      // as pods that have status.conditions item with type="Ready",status="True".
      //
      // Valid policies are IfHealthyBudget and AlwaysAllow.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/MoreFiles.java

          } catch (IOException e) {
            // Failed to get attributes; we don't know the size.
            return Optional.absent();
          }
    
          // Don't return a size for directories or symbolic links; their sizes are implementation
          // specific and they can't be read as bytes using the read methods anyway.
          if (attrs.isDirectory() || attrs.isSymbolicLink()) {
            return Optional.absent();
          }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 35K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/MoreFiles.java

          } catch (IOException e) {
            // Failed to get attributes; we don't know the size.
            return Optional.absent();
          }
    
          // Don't return a size for directories or symbolic links; their sizes are implementation
          // specific and they can't be read as bytes using the read methods anyway.
          if (attrs.isDirectory() || attrs.isSymbolicLink()) {
            return Optional.absent();
          }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  9. tensorflow/c/c_api.h

                                                  TF_Operation* input);
    
    // Request that `desc` be co-located on the device where `op`
    // is placed.
    //
    // Use of this is discouraged since the implementation of device placement is
    // subject to change. Primarily intended for internal libraries
    TF_CAPI_EXPORT extern void TF_ColocateWith(TF_OperationDescription* desc,
                                               TF_Operation* op);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        /*
         * We'd use assertThrows here, but that causes no exception to be thrown under Java 8,
         * presumably because the ThrowingRunnable lambda triggers some kind of bug in Java 8's
         * reflection implementation.
         */
        try {
          new TypeToken<T>() {};
          fail();
        } catch (IllegalStateException expected) {
          // Type variables aren't allowed.
        }
      }
    
      public void testRawTypeIsCorrect() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
Back to top