Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 2,280 for contain (0.18 sec)

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

     * </pre>
     *
     * <p>This tests {@code foo.equals(foo)}, {@code foo.equals(null)}, and a few other operations.
     *
     * <p>For more extensive testing, add multiple equality groups. Each group should contain objects
     * that are equal to each other but unequal to the objects in any other group. For example:
     *
     * <pre>
     * new EqualsTester()
     *     .addEqualityGroup(new User("page"), new User("page"))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 31 19:11:50 UTC 2023
    - 6K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/Result.java

                    hasErrors = true;
                }
            }
            return new Result<>(hasErrors, (Iterable<T>) modelsList, problemsList);
        }
    
        // helper to determine if problems contain error
        private static boolean hasErrors(Iterable<? extends ModelProblem> problems) {
            for (ModelProblem input : problems) {
                if (input.getSeverity().equals(ERROR) || input.getSeverity().equals(FATAL)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_unified_experimental.h

    // type of eager and graph tensors. It is also the result of executing an
    // operation.
    typedef struct TF_AbstractTensor TF_AbstractTensor;
    
    // A TF_AbstractOp is the metadata we need to execute an operation. E.g. this
    // could contain the op type and other attributes.
    typedef struct TF_AbstractOp TF_AbstractOp;
    
    // Stores a function representation that can be used for execution or for
    // setting functional attributes of other composite ops e.g. control flow.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sun Oct 24 11:27:00 UTC 2021
    - 7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/escape/CharEscaperBuilder.java

    /**
     * Simple helper class to build a "sparse" array of objects based on the indexes that were added to
     * it. The array will be from 0 to the maximum index given. All non-set indexes will contain null
     * (so it's not really a sparse array, just a pseudo sparse array). The builder can also return a
     * CharEscaper based on the generated array.
     *
     * @author Sven Mawson
     * @since 15.0
     */
    @GwtCompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 4K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java

      public void testAddAtIndex_nullUnsupported() {
        assertThrows(NullPointerException.class, () -> getList().add(0, null));
        expectUnchanged();
        expectNullMissingWhenNullUnsupported("Should not contain null after unsupported add(n, null)");
      }
    
      @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX)
      public void testAddAtIndex_negative() {
        assertThrows(IndexOutOfBoundsException.class, () -> getList().add(-1, e3()));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/connection/RoutePlanner.kt

       * non-null, it should be reported to the user should all further attempts fail.
       *
       * The two values are independent: results can contain both (recoverable error), neither
       * (success), just an exception (permanent failure), or just a plan (non-exceptional retry).
       */
      data class ConnectResult(
        val plan: Plan,
        val nextPlan: Plan? = null,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java

      public void testAdd_nullUnsupported() {
        assertThrows(NullPointerException.class, () -> collection.add(null));
        expectUnchanged();
        expectNullMissingWhenNullUnsupported("Should not contain null after unsupported add(null)");
      }
    
      @CollectionFeature.Require({SUPPORTS_ADD, FAILS_FAST_ON_CONCURRENT_MODIFICATION})
      @CollectionSize.Require(absent = ZERO)
      public void testAddConcurrentWithIteration() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java

      public void testAdd_nullUnsupported() {
        assertThrows(NullPointerException.class, () -> collection.add(null));
        expectUnchanged();
        expectNullMissingWhenNullUnsupported("Should not contain null after unsupported add(null)");
      }
    
      @CollectionFeature.Require({SUPPORTS_ADD, FAILS_FAST_ON_CONCURRENT_MODIFICATION})
      @CollectionSize.Require(absent = ZERO)
      public void testAddConcurrentWithIteration() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java

        List<E> containsNull = singletonList(null);
        assertThrows(NullPointerException.class, () -> getList().addAll(0, containsNull));
        expectUnchanged();
        expectNullMissingWhenNullUnsupported(
            "Should not contain null after unsupported addAll(n, containsNull)");
      }
    
      @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX)
      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testAddAllAtIndex_middle() {
        assertTrue(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. cmd/leak-detect_test.go

    		// Again split on a new line, the first line of the second half contains the info about the go routine.
    		sl := strings.SplitN(g, "\n", 2)
    		if len(sl) != 2 {
    			continue
    		}
    		stack := strings.TrimSpace(sl[1])
    		// ignore the testing go routine.
    		// since the tests will be invoking the leaktest it would contain the test go routine.
    		if strings.HasPrefix(stack, "testing.RunTests") {
    			continue
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top