Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 1,702 for contain (0.12 sec)

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

        E[] expectedSubArray = createSamplesArray();
        for (int i = 0; i < getNumElements(); i++) {
          assertTrue(
              "toArray(overSizedE[]) should contain element " + expectedSubArray[i],
              subArray.contains(expectedSubArray[i]));
        }
        assertNull(
            "The array element immediately following the end of the collection should be nulled",
            array[getNumElements()]);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/Dfs.java

            DfsReferral dr = null;
            final long now = System.currentTimeMillis();
    
            if (DISABLED || root.equals("IPC$")) {
                return null;
            }
            /* domains that can contain DFS points to maps of roots for each
             */
            final HashMap domains = getTrustedDomains(auth);
            if (domains != null) {
                domain = domain.toLowerCase();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/schema-extra-example.md

    * `Form()`
    * `File()`
    
    The keys of the `dict` identify each example, and each value is another `dict`.
    
    Each specific example `dict` in the `examples` can contain:
    
    * `summary`: Short description for the example.
    * `description`: A long description that can contain Markdown text.
    * `value`: This is the actual example shown, e.g. a `dict`.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java

            Multiset<String> multiset2 = LinkedHashMultiset.create();
            for (int i = 0; i < elements.length; i++) {
              String element = elements[i];
              if (multiset1.contains(element) || multiset2.contains(element)) {
                // add to both; the one already containing it will have more
                multiset1.add(element);
                multiset2.add(element);
              } else if (i % 2 == 0) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            List<String> nameList = List.of(names);
            assertTrue(nameList.contains("file1.txt"), "Should contain file1.txt");
            assertTrue(nameList.contains("file2.txt"), "Should contain file2.txt");
            assertTrue(nameList.contains("subdir") || nameList.contains("subdir/"), "Should contain subdir");
        }
    
        @Test
        void testDirectoryDeletion() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  6. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6K bytes
    - Viewed (0)
  8. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

        }
      }
    
      /**
       * Returns {@code true} if this queue contains the specified element. More formally, returns
       * {@code true} if and only if this queue contains at least one element {@code e} such that {@code
       * o.equals(e)}.
       *
       * @param o object to be checked for containment in this queue
       * @return {@code true} if this queue contains the specified element
       */
      @CanIgnoreReturnValue
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Multimap.java

       */
      int size();
    
      /**
       * Returns {@code true} if this multimap contains no key-value pairs. Equivalent to {@code size()
       * == 0}, but can in some cases be more efficient.
       */
      boolean isEmpty();
    
      /**
       * Returns {@code true} if this multimap contains at least one key-value pair with the key {@code
       * key}.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 15.7K bytes
    - Viewed (0)
Back to top