Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 14 for padEnd (0.05 seconds)

  1. 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.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 12.2K bytes
    - Click Count (0)
  2. 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.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/base/StringsTest.java

        assertThat(Strings.padEnd("", 2, '-')).isEqualTo("--");
        assertThat(Strings.padEnd("x", 2, '-')).isEqualTo("x-");
        assertThat(Strings.padEnd("x", 3, '-')).isEqualTo("x--");
        assertThat(Strings.padEnd("xx", 3, '-')).isEqualTo("xx-");
      }
    
      public void testPadEnd_negativeMinLength() {
        assertThat(Strings.padEnd("x", -1, '-')).isSameInstanceAs("x");
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 11.4K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/base/StringsTest.java

        assertThat(Strings.padEnd("", 2, '-')).isEqualTo("--");
        assertThat(Strings.padEnd("x", 2, '-')).isEqualTo("x-");
        assertThat(Strings.padEnd("x", 3, '-')).isEqualTo("x--");
        assertThat(Strings.padEnd("xx", 3, '-')).isEqualTo("xx-");
      }
    
      public void testPadEnd_negativeMinLength() {
        assertThat(Strings.padEnd("x", -1, '-')).isSameInstanceAs("x");
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 11.4K bytes
    - Click Count (0)
  5. 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",
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 5.9K bytes
    - Click Count (0)
  6. 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.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  7. 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> ';
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Oct 26 01:49:09 GMT 2024
    - 64.8K bytes
    - Click Count (0)
  8. 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});
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 18:19:59 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  9. 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;
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  10. 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;
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 1.4K bytes
    - Click Count (0)
Back to Top