Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for padEnd (0.04 sec)

  1. android/guava-tests/test/com/google/common/base/StringsTest.java

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

       * with as many copies of {@code padChar} as are necessary to reach that length. For example,
       *
       * <ul>
       *   <li>{@code padEnd("4.", 5, '0')} returns {@code "4.000"}
       *   <li>{@code padEnd("2010", 3, '!')} returns {@code "2010"}
       * </ul>
       *
       * <p>See {@link java.util.Formatter} for a richer set of formatting capabilities.
       *
    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. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/FrameLogTest.kt

          "00000010",
          "00000011",
          "END_HEADERS",
          "END_STREAM|END_HEADERS",
          "00000110",
          "00000111",
          "PADDED",
          "END_STREAM|PADDED",
          "00001010",
          "00001011",
          "00001100",
          "END_STREAM|END_HEADERS|PADDED",
          "00001110",
          "00001111",
          "00010000",
          "00010001",
          "00010010",
          "00010011",
          "00010100",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2.kt

      init {
        FLAGS[FLAG_NONE] = ""
        FLAGS[FLAG_END_STREAM] = "END_STREAM"
    
        val prefixFlags = intArrayOf(FLAG_END_STREAM)
    
        FLAGS[FLAG_PADDED] = "PADDED"
        for (prefixFlag in prefixFlags) {
          FLAGS[prefixFlag or FLAG_PADDED] = FLAGS[prefixFlag] + "|PADDED"
        }
    
        FLAGS[FLAG_END_HEADERS] = "END_HEADERS" // Same as END_PUSH_PROMISE.
        FLAGS[FLAG_PRIORITY] = "PRIORITY" // Same as FLAG_COMPRESSED.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  5. src/main/webapp/js/admin/plugins/daterangepicker/daterangepicker.js

                        html += '<option value="' + i + '" selected="selected">' + padded + '</option>';
                    } else if (disabled) {
                        html += '<option value="' + i + '" disabled="disabled" class="disabled">' + padded + '</option>';
                    } else {
                        html += '<option value="' + i + '">' + padded + '</option>';
                    }
                }
    
                html += '</select> ';
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 64.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

      }
    
      public void testShort() {
        Sink sink = new Sink(4);
        sink.putShort((short) 0x0201);
        HashCode unused = sink.hash();
        sink.assertInvariants(2);
        sink.assertBytes(new byte[] {1, 2, 0, 0}); // padded with zeros
      }
    
      public void testInt() {
        Sink sink = new Sink(4);
        sink.putInt(0x04030201);
        HashCode unused = sink.hash();
        sink.assertInvariants(4);
        sink.assertBytes(new byte[] {1, 2, 3, 4});
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/exception/BadPaddingRuntimeException.java

     */
    package org.codelibs.core.exception;
    
    import javax.crypto.BadPaddingException;
    
    /**
     * Signals that this exception has been thrown when a particular padding mechanism is expected for the input data but the data is not padded properly.
     * @author shinsuke
     */
    public class BadPaddingRuntimeException extends ClRuntimeException {
    
        private static final long serialVersionUID = 1L;
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/exception/IllegalBlockSizeRuntimeException.java

    import javax.crypto.IllegalBlockSizeException;
    
    /**
     * Signals that this exception has been thrown when a block cipher is supplied with input data whose length is not a multiple of the cipher's block size, or that has been padded to the wrong length.
     * @author shinsuke
     */
    public class IllegalBlockSizeRuntimeException extends ClRuntimeException {
    
        private static final long serialVersionUID = 1L;
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

      }
    
      public void testShort() {
        Sink sink = new Sink(4);
        sink.putShort((short) 0x0201);
        HashCode unused = sink.hash();
        sink.assertInvariants(2);
        sink.assertBytes(new byte[] {1, 2, 0, 0}); // padded with zeros
      }
    
      public void testInt() {
        Sink sink = new Sink(4);
        sink.putInt(0x04030201);
        HashCode unused = sink.hash();
        sink.assertInvariants(4);
        sink.assertBytes(new byte[] {1, 2, 3, 4});
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/Striped64.java

       * Nearly all declarations in this class are package-private,
       * accessed directly by subclasses.
       *
       * Table entries are of class Cell; a variant of AtomicLong padded
       * to reduce cache contention on most processors. Padding is
       * overkill for most Atomics because they are usually irregularly
       * scattered in memory and thus don't interfere much with each
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jan 15 22:17:15 UTC 2025
    - 11.4K bytes
    - Viewed (0)
Back to top