Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 329 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/test/java/jcifs/util/StringsTest.java

                    byte[] uniBytes = Strings.getUNIBytes(original);
                    String uniRoundTrip = Strings.fromUNIBytes(uniBytes, 0, uniBytes.length);
    
                    // When - round trip through ASCII encoding (for ASCII-safe strings)
                    if (original.chars().allMatch(c -> c < 128)) {
                        byte[] asciiBytes = Strings.getASCIIBytes(original);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  9. cmd/signature-v2.go

    	for key := range headers {
    		lkey := strings.ToLower(key)
    		if !strings.HasPrefix(lkey, "x-amz-") {
    			continue
    		}
    		keys = append(keys, lkey)
    		keyval[lkey] = strings.Join(headers[key], ",")
    	}
    	sort.Strings(keys)
    	var canonicalHeaders []string
    	for _, key := range keys {
    		canonicalHeaders = append(canonicalHeaders, key+":"+keyval[key])
    	}
    	return strings.Join(canonicalHeaders, "\n")
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  10. cmd/handler-utils.go

    				m[v] = strings.Join(value, ",")
    			} else {
    				m[supportedHeader] = strings.Join(value, ",")
    			}
    		}
    	}
    
    	for key := range v {
    		for _, prefix := range userMetadataKeyPrefixes {
    			if !stringsHasPrefixFold(key, prefix) {
    				continue
    			}
    			value, ok := nv[http.CanonicalHeaderKey(key)]
    			if ok {
    				m[key] = strings.Join(value, ",")
    				break
    			}
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.3K bytes
    - Viewed (1)
Back to top