Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1631 - 1640 of 2,675 for breathe (0.1 seconds)

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

      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      public void testEquals_containingNull() {
        Collection<E> elements = getSampleElements(getNumElements() - 1);
        elements.add(null);
    
        collection = getSubjectGenerator().create(elements.toArray());
        assertTrue(
            "A Set should equal any other Set containing the same elements,"
                + " even if some elements are null.",
            getSet().equals(MinimalSet.from(elements)));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3.6K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java

                        4))
            .expect(1.0, 1.0, 2.0, 3.0);
      }
    
      public void testMultisetsSpliterator() {
        Multiset<String> multiset = TreeMultiset.create();
        multiset.add("a", 3);
        multiset.add("b", 1);
        multiset.add("c", 2);
    
        List<String> actualValues = new ArrayList<>();
        multiset.spliterator().forEachRemaining(actualValues::add);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableEnumMapTest.java

      @J2ktIncompatible
      @AndroidIncompatible // test-suite builders
      public static class ImmutableEnumMapGenerator extends TestEnumMapGenerator {
        @Override
        protected Map<AnEnum, String> create(Entry<AnEnum, String>[] entries) {
          Map<AnEnum, String> map = new HashMap<>();
          for (Entry<AnEnum, String> entry : entries) {
            map.put(entry.getKey(), entry.getValue());
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/ListEqualsTester.java

      public void testEquals_containingNull() {
        ArrayList<E> elements = new ArrayList<>(getSampleElements());
        elements.set(elements.size() / 2, null);
        collection = getSubjectGenerator().create(elements.toArray());
        List<E> other = new ArrayList<>(getSampleElements());
        assertFalse(
            "Two Lists should not be equal if exactly one of them has null at a given index.",
            getList().equals(other));
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3.6K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/SetEqualsTester.java

      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      public void testEquals_containingNull() {
        Collection<E> elements = getSampleElements(getNumElements() - 1);
        elements.add(null);
    
        collection = getSubjectGenerator().create(elements.toArray());
        assertTrue(
            "A Set should equal any other Set containing the same elements,"
                + " even if some elements are null.",
            getSet().equals(MinimalSet.from(elements)));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3.6K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeStrategy.java

     * Each strategy handles a specific aspect of the Maven upgrade process.
     *
     * <p>Strategies work with domtrip Documents for perfect formatting preservation.
     * Individual strategies can create domtrip Editors from Documents as needed:
     * <pre>
     * Editor editor = new Editor(document);
     * // ... perform domtrip operations ...
     * // Document is automatically updated
     * </pre>
     */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java

            assertEquals("input", item.getInputs()[0]);
            assertEquals("output", item.getOutput());
        }
    
        @Test
        public void test_constructor_withIdZero() {
            // Test when id is 0 (create mode)
            String[] inputs = { "x", "y" };
            CharMappingItem item = new CharMappingItem(0L, inputs, "result");
    
            assertEquals(0L, item.getId());
            assertNotNull(item.getNewInputs());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/MapMaker.java

        return MoreObjects.firstNonNull(valueStrength, Strength.STRONG);
      }
    
      /**
       * Builds a thread-safe map. This method does not alter the state of this {@code MapMaker}
       * instance, so it can be invoked again to create multiple independent maps.
       *
       * <p>The bulk operations {@code putAll}, {@code equals}, and {@code clear} are not guaranteed to
       * be performed atomically on the returned map. Additionally, {@code size} and {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/SmbFileTest.java

            when(mockCifsContext.getCredentials()).thenReturn(mockCredentials);
    
            // Create URL handler
            Handler urlHandler = new jcifs.smb.Handler(mockCifsContext);
            when(mockCifsContext.getUrlHandler()).thenReturn(urlHandler);
    
            // Use the URL handler to create the URL
            url = new URL(null, "smb://localhost/share/file.txt", urlHandler);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.8K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/smb1/SmbFile.java

            attrExpiration = 0;
        }
    
        /**
         * Set the create time of the file. The time is specified as milliseconds
         * from Jan 1, 1970 which is the same as that which is returned by the
         * {@code createTime()} method.
         *
         * This method does not apply to workgroups, servers, or shares.
         *
         * @param time the create time as milliseconds since Jan 1, 1970
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 112.2K bytes
    - Click Count (0)
Back to Top