Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 454 for stripes (0.03 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-tests/test/com/google/common/util/concurrent/StripedTest.java

      public void testBasicInvariants() {
        for (Striped<?> striped : allImplementations()) {
          assertBasicInvariants(striped);
        }
      }
    
      private static void assertBasicInvariants(Striped<?> striped) {
        Set<Object> observed = Sets.newIdentityHashSet(); // for the sake of weakly referenced locks.
        // this gets the stripes with #getAt(index)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

      public void testBasicInvariants() {
        for (Striped<?> striped : allImplementations()) {
          assertBasicInvariants(striped);
        }
      }
    
      private static void assertBasicInvariants(Striped<?> striped) {
        Set<Object> observed = Sets.newIdentityHashSet(); // for the sake of weakly referenced locks.
        // this gets the stripes with #getAt(index)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/Strings.java

    /**
     * Utility class for string manipulation and conversion operations in the jCIFS library.
     * Provides methods for encoding, decoding, and manipulating strings in SMB operations.
     *
     * @author mbechler
     */
    public final class Strings {
    
        private static final Logger log = LoggerFactory.getLogger(Strings.class);
    
        private static final Charset UNI_ENCODING = Charset.forName("UTF-16LE");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  5. 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)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java

     * strip invalid XML characters, and parse XML content into a map of data.
     *
     * <p>
     * The class is final and cannot be instantiated.
     * </p>
     *
     * <h2>Methods:</h2>
     * <ul>
     *   <li>{@link #escapeXml(String)}: Escapes special characters in an XML string.</li>
     *   <li>{@link #stripInvalidXMLCharacters(String)}: Strips invalid XML characters from a string.</li>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  7. cmd/metacache-walk.go

    		defer func() {
    			sb.Reset()
    			bytebufferpool.Put(sb)
    		}()
    
    		forward := ""
    		if len(opts.ForwardTo) > 0 && strings.HasPrefix(opts.ForwardTo, current) {
    			forward = strings.TrimPrefix(opts.ForwardTo, current)
    			// Trim further directories and trailing slash.
    			if idx := strings.IndexByte(forward, '/'); idx > 0 {
    				forward = forward[:idx]
    			}
    		}
    
    		if s.walkMu != nil {
    			s.walkMu.Lock()
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon May 26 07:06:43 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

            // Write short name length and short name
            byte[] shortNameBytes = Strings.getUNIBytes(shortName);
            buffer[68] = (byte) shortNameBytes.length; // shortNameLength
            System.arraycopy(shortNameBytes, 0, buffer, 70, Math.min(shortNameBytes.length, 24));
    
            // Write filename
            if (unicode) {
                byte[] filenameBytes = Strings.getUNIBytes(filename);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  9. docs/en/docs/environment-variables.md

    * `/bin`
    * `/usr/sbin`
    * `/sbin`
    
    ////
    
    //// tab | Windows
    
    ```plaintext
    C:\Program Files\Python312\Scripts;C:\Program Files\Python312;C:\Windows\System32
    ```
    
    This means that the system should look for programs in the directories:
    
    * `C:\Program Files\Python312\Scripts`
    * `C:\Program Files\Python312`
    * `C:\Windows\System32`
    
    ////
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/job/JobExecutorTest.java

            assertEquals("Executed: type null", result);
    
            result = jobExecutor.execute(null, null);
            assertEquals("Executed: null null", result);
    
            // Test with empty strings
            result = jobExecutor.execute("", "");
            assertEquals("Executed:  ", result);
        }
    
        public void test_addShutdownListener() {
            // Test adding shutdown listener
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
Back to top