Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2001 - 2010 of 2,898 for SET (0.01 sec)

  1. android/guava/src/com/google/common/collect/Iterables.java

      public static int frequency(Iterable<?> iterable, @Nullable Object element) {
        if ((iterable instanceof Multiset)) {
          return ((Multiset<?>) iterable).count(element);
        } else if ((iterable instanceof Set)) {
          return ((Set<?>) iterable).contains(element) ? 1 : 0;
        }
        return Iterators.frequency(iterable.iterator(), element);
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 16 18:35:28 UTC 2025
    - 43.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/index/SuggestIndexerTest.java

            assertFalse(response.hasError());
    
            settings.set(SuggestSettings.DefaultKeys.PARALLEL_PROCESSING, "false");
        }
    
        @Test
        @SuppressWarnings("unchecked")
        public void test_indexFromDocumentWithParallel() throws Exception {
            SuggestSettings settings = suggester.settings();
            settings.set(SuggestSettings.DefaultKeys.PARALLEL_PROCESSING, "true");
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 28.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/HashTestUtils.java

          return actions[random.nextInt(actions.length)];
        }
      }
    
      /**
       * Test that the hash function contains no funnels. A funnel is a situation where a set of input
       * (key) bits 'affects' a strictly smaller set of output bits. Funneling is bad because it can
       * result in more-than-ideal collisions for a non-uniformly distributed key space. In practice,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/TreeRangeMap.java

    import java.util.Collection;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.NavigableMap;
    import java.util.NoSuchElementException;
    import java.util.Set;
    import java.util.function.BiFunction;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An implementation of {@code RangeMap} based on a {@code TreeMap}, supporting all optional
     * operations.
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapFile.java

         */
        @Override
        public String getLoc() {
            return loc;
        }
    
        /**
         * Sets the location of the sitemap.
         * @param loc the location URL to set
         */
        public void setLoc(final String loc) {
            this.loc = loc;
        }
    
        /*
         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.entity.Sitemap#getLastmod()
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.4K bytes
    - Viewed (1)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/ReflectionFreeAssertThrows.java

                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
          if (predicate.apply(t)) {
            // We are careful to set up INSTANCE_OF to match each Predicate to its target Class.
            @SuppressWarnings("unchecked")
            T caught = (T) t;
            return caught;
          }
          throw new AssertionError(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

     * </ol>
     *
     * <p>This particular order of operations may be unrealistic, and testing all 3^5 of them may be
     * thought of as overkill; however, it's difficult to determine which proper subset of this massive
     * set would be sufficient to expose any possible bug. Brute force is simpler.
     *
     * <p>To use this class the concrete subclass must implement the {@link
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 20:54:16 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/LookupInvokerLoggingTest.java

            }
    
            // Verify that setRootLoggerLevel was not called
            assertEquals(0, slf4jConfiguration.setRootLoggerLevelCallCount);
    
            // Verify that system property was not set
            assertNull(System.getProperty(Constants.MAVEN_LOGGER_DEFAULT_LOG_LEVEL));
        }
    
        @Test
        void testVerboseOptionSetsSystemProperty() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Oct 08 21:10:33 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  9. scripts/mkdocs_hooks.py

    
    def on_pre_page(page: Page, *, config: MkDocsConfig, files: Files) -> Page:
        return page
    
    
    def on_page_markdown(
        markdown: str, *, page: Page, config: MkDocsConfig, files: Files
    ) -> str:
        # Set metadata["social"]["cards_layout_options"]["title"] to clean title (without
        # permalink)
        title = page.title
        clean_title = title.split("{ #")[0]
        if clean_title:
            page.meta.setdefault("social", {})
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/netbios/NameServicePacketTest.java

            byte[] dst = new byte[20];
            packet.recordName = packet.questionName; // Set recordName to be the same as questionName
            packet.recordType = NameServicePacket.A;
            packet.recordClass = NameServicePacket.IN;
            packet.ttl = 100;
            packet.rDataLength = 0; // Will be set by writeRDataWireFormat
    
            // TestNameServicePacket.writeRDataWireFormat returns 0
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
Back to top