Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 105 for occurrences (0.07 seconds)

  1. guava/src/com/google/common/collect/Multimaps.java

          checkNonnegative(occurrences, "occurrences");
          if (occurrences == 0) {
            return count(element);
          }
    
          Collection<V> values = Maps.safeGet(multimap.asMap(), element);
    
          if (values == null) {
            return 0;
          }
    
          int oldCount = values.size();
          if (occurrences >= oldCount) {
            values.clear();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 86.3K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/sso/saml/SamlAuthenticatorTest.java

            // Verify correct email format
            assertEquals("******@****.***", technicalEmail);
            assertEquals("******@****.***", supportEmail);
    
            // Count @ occurrences - should be exactly 1
            assertEquals(1, technicalEmail.chars().filter(ch -> ch == '@').count());
            assertEquals(1, supportEmail.chars().filter(ch -> ch == '@').count());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 18.4K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/base/Optional.java

       */
      @Override
      public abstract String toString();
    
      /**
       * Returns the value of each present instance from the supplied {@code optionals}, in order,
       * skipping over occurrences of {@link Optional#absent}. Iterators are unmodifiable and are
       * evaluated lazily.
       *
       * <p><b>Comparison to {@code java.util.Optional}:</b> this method has no equivalent in Java 8's
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  4. guava/src/com/google/common/base/Optional.java

       */
      @Override
      public abstract String toString();
    
      /**
       * Returns the value of each present instance from the supplied {@code optionals}, in order,
       * skipping over occurrences of {@link Optional#absent}. Iterators are unmodifiable and are
       * evaluated lazily.
       *
       * <p><b>Comparison to {@code java.util.Optional}:</b> this method has no equivalent in Java 8's
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  5. src/test/java/jcifs/ntlmssp/av/AvPairsTest.java

            assertNull(result, "Should return null for empty list");
        }
    
        /**
         * Test remove method
         */
        @Test
        @DisplayName("Remove should delete all occurrences of type")
        void testRemove() {
            List<AvPair> pairs = new LinkedList<>();
            AvFlags flags1 = new AvFlags(0x11111111);
            AvFlags flags2 = new AvFlags(0x22222222);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/base/Verify.java

     * error message template strings. This only supports the {@code "%s"} specifier, not the full range
     * of {@link java.util.Formatter} specifiers. However, note that if the number of arguments does not
     * match the number of occurrences of {@code "%s"} in the format string, {@code Verify} will still
     * behave as expected, and will still include all argument values in the error message; the message
     * will simply not be formatted exactly as intended.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Dec 29 17:36:00 GMT 2025
    - 18.5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/lang/StringUtil.java

         * @return true if not empty, false otherwise
         */
        public static final boolean isNotEmpty(final String text) {
            return !isEmpty(text);
        }
    
        /**
         * Replaces all occurrences of a substring within a string with another string.
         *
         * @param text
         *            The original string.
         * @param fromText
         *            The substring to be replaced.
         * @param toText
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 21.5K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

            }
            return StringUtil.EMPTY;
        }
    
        /**
         * Replaces all occurrences of a regular expression pattern in the input string.
         *
         * @param input the input object to process
         * @param regex the regular expression pattern to match
         * @param replacement the replacement string
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 25.4K bytes
    - Click Count (1)
  9. guava/src/com/google/common/base/Verify.java

     * error message template strings. This only supports the {@code "%s"} specifier, not the full range
     * of {@link java.util.Formatter} specifiers. However, note that if the number of arguments does not
     * match the number of occurrences of {@code "%s"} in the format string, {@code Verify} will still
     * behave as expected, and will still include all argument values in the error message; the message
     * will simply not be formatted exactly as intended.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Dec 29 17:36:00 GMT 2025
    - 18.5K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/base/Splitter.java

     * splitter.trimResults(); // does nothing!
     * return splitter.split("wrong / wrong / wrong");
     * }
     *
     * <p>For separator-based splitters that do not use {@code omitEmptyStrings}, an input string
     * containing {@code n} occurrences of the separator naturally yields an iterable of size {@code n +
     * 1}. So if the separator does not occur anywhere in the input, a single substring is returned
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 23.8K bytes
    - Click Count (0)
Back to Top