Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 135 for stripes (0.04 sec)

  1. guava/src/com/google/common/util/concurrent/Striped.java

       * @param stripes the minimum number of stripes (locks) required
       * @param supplier a {@code Supplier<L>} object to obtain locks from
       * @return a new {@code Striped<L>}
       */
      static <L> Striped<L> lazyWeakCustom(int stripes, Supplier<L> supplier) {
        return stripes < LARGE_LAZY_CUTOFF
            ? new SmallLazyStriped<L>(stripes, supplier)
            : new LargeLazyStriped<L>(stripes, supplier);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Strings.java

    /**
     * Static utility methods pertaining to {@code String} or {@code CharSequence} instances.
     *
     * @author Kevin Bourrillion
     * @since 3.0
     */
    @GwtCompatible
    public final class Strings {
      private Strings() {}
    
      /**
       * Returns the given string if it is non-null; the empty string otherwise.
       *
       * @param string the string to test and possibly return
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 27 17:53:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Ascii.java

    import com.google.common.annotations.GwtCompatible;
    import java.nio.charset.StandardCharsets;
    
    /**
     * Static methods pertaining to ASCII characters (those in the range of values {@code 0x00} through
     * {@code 0x7F}), and to strings containing such characters.
     *
     * <p>ASCII utilities also exist in other classes of this package:
     *
     * <ul>
     *   <!-- TODO(kevinb): how can we make this not produce a warning when building gwt javadoc? -->
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 21.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/StringsTest.java

        assertSame("xx", Strings.padStart("xx", 0, '-'));
        assertSame("xx", Strings.padStart("xx", 2, '-'));
      }
    
      public void testPadStart_somePadding() {
        assertEquals("-", Strings.padStart("", 1, '-'));
        assertEquals("--", Strings.padStart("", 2, '-'));
        assertEquals("-x", Strings.padStart("x", 2, '-'));
        assertEquals("--x", Strings.padStart("x", 3, '-'));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 27 17:53:41 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/escape/UnicodeEscaper.java

       * is guaranteed to be in the range {@code 0 <= cp <= Character#MAX_CODE_POINT}.
       *
       * <p>If an empty array is returned, this effectively strips the input character from the
       * resulting text.
       *
       * <p>If the character does not need to be escaped, this method should return {@code null}, rather
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/escape/UnicodeEscaper.java

       * is guaranteed to be in the range {@code 0 <= cp <= Character#MAX_CODE_POINT}.
       *
       * <p>If an empty array is returned, this effectively strips the input character from the
       * resulting text.
       *
       * <p>If the character does not need to be escaped, this method should return {@code null}, rather
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        String[] strings = NUMBER_NAMES.toArray(new String[0]);
        ImmutableSortedSet<String> set = ImmutableSortedSet.copyOf(strings);
        sort(strings);
        for (int i = 0; i < strings.length; i++) {
          assertThat(set.tailSet(strings[i], true))
              .containsExactlyElementsIn(sortedNumberNames(i, strings.length))
              .inOrder();
        }
      }
    
      public void testTailSetExclusive() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 46.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/PermissionHelper.java

    import jakarta.annotation.Resource;
    import jcifs.SID;
    
    /**
     * Helper class for handling permission-related operations in Fess.
     * Provides functionality to encode/decode permission strings and extract
     * role type information from various file system protocols (SMB, file, FTP).
     */
    public class PermissionHelper {
        /** Logger instance for this class */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/lang/StringUtil.java

            }
            return s1.indexOf(s2) >= 0;
        }
    
        /**
         * Returns whether two strings are equal. If both are null, returns <code>true</code>.
         *
         * @param target1
         *            the first string
         * @param target2
         *            the second string
         * @return true if the strings are equal, false otherwise
         */
        public static boolean equals(final String target1, final String target2) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

    import static com.google.common.collect.testing.SampleElements.Strings.AFTER_LAST;
    import static com.google.common.collect.testing.SampleElements.Strings.AFTER_LAST_2;
    import static com.google.common.collect.testing.SampleElements.Strings.BEFORE_FIRST;
    import static com.google.common.collect.testing.SampleElements.Strings.BEFORE_FIRST_2;
    import static java.lang.Math.max;
    import static java.util.Arrays.asList;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 15.9K bytes
    - Viewed (0)
Back to top