Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 797 for characters (0.16 sec)

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

     * @author Louis Wasserman
     */
    class BenchmarkHelpers {
      private static final String WHITESPACE_CHARACTERS =
          "\u00a0\u180e\u202f\t\n\013\f\r \u0085"
              + "\u1680\u2028\u2029\u205f\u3000\u2000\u2001\u2002\u2003\u2004\u2005"
              + "\u2006\u2007\u2008\u2009\u200a";
      private static final String ASCII_CHARACTERS;
    
      static {
        int spaceInAscii = 32;
        int sevenBitAsciiMax = 128;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/-CacheControlCommon.kt

    }
    
    /**
     * Returns the next index in this at or after [startIndex] that is a character from
     * [characters]. Returns the input length if none of the requested characters can be found.
     */
    private fun String.indexOfElement(
      characters: String,
      startIndex: Int = 0,
    ): Int {
      for (i in startIndex until length) {
        if (this[i] in characters) {
          return i
        }
      }
      return length
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/xml/XmlEscapersTest.java

        assertEquals("&lt;tab&gt;", xmlEscaper.escape("<tab>"));
    
        // Test all non-escaped ASCII characters.
        String s =
            "!@#$%^*()_+=-/?\\|]}[{,.;:"
                + "abcdefghijklmnopqrstuvwxyz"
                + "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
                + "1234567890";
        assertEquals(s, xmlEscaper.escape(s));
    
        // Test ASCII control characters.
        for (char ch = 0; ch < 0x20; ch++) {
          if (ch == '\t' || ch == '\n' || ch == '\r') {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/escape/Escaper.java

       *       for well formed characters. A {@code CharEscaper} should not be used in situations where
       *       input is not guaranteed to be restricted to the Basic Multilingual Plane (BMP).
       * </ul>
       *
       * @param string the literal string to be escaped
       * @return the escaped form of {@code string}
       * @throws NullPointerException if {@code string} is null
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 01 16:02:17 GMT 2021
    - 4.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/HashCode.java

        private static final long serialVersionUID = 0;
      }
    
      /**
       * Creates a {@code HashCode} from a hexadecimal ({@code base 16}) encoded string. The string must
       * be at least 2 characters long, and contain only valid, lower-cased hexadecimal characters.
       *
       * <p>This method accepts the exact format generated by {@link #toString}. If you require more
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 12.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/net/PercentEscaperTest.java

        } catch (NullPointerException expected) {
          // pass
        }
      }
    
      /**
       * Tests that specifying any alphanumeric characters as 'safe' causes an {@link
       * IllegalArgumentException}.
       */
      public void testBadArguments_badchars() {
        String msg =
            "Alphanumeric characters are always 'safe' " + "and should not be explicitly specified";
        try {
          new PercentEscaper("-+#abc.!", false);
          fail(msg);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/events/v1beta1/generated.proto

      // This field cannot be empty for new Events and it can have at most 128 characters.
      // +optional
      optional string reportingInstance = 5;
    
      // action is what action was taken/failed regarding to the regarding object. It is machine-readable.
      // This field can have at most 128 characters.
      // +optional
      optional string action = 6;
    
      // reason is why the action was taken. It is human-readable.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

      @BeforeExperiment
      public void setUp() {
        // precalculate some random strings of ascii characters.
        StringBuilder sb = new StringBuilder();
        Random random = new Random(0xdeadbeef); // for unpredictable but reproducible behavior
        sb.ensureCapacity(size);
        for (int k = 0; k < size; k++) {
          // [9-127) includes all ascii non-control characters
          sb.append((char) (random.nextInt(127 - 9) + 9));
        }
        data = sb.toString();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 23 18:59:54 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

      @BeforeExperiment
      public void setUp() {
        // precalculate some random strings of ascii characters.
        StringBuilder sb = new StringBuilder();
        Random random = new Random(0xdeadbeef); // for unpredictable but reproducible behavior
        sb.ensureCapacity(size);
        for (int k = 0; k < size; k++) {
          // [9-127) includes all ascii non-control characters
          sb.append((char) (random.nextInt(127 - 9) + 9));
        }
        data = sb.toString();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 23 18:59:54 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/BaseEncoding.java

       *     separator
       */
      public abstract BaseEncoding withPadChar(char padChar);
    
      /**
       * Returns an encoding that behaves equivalently to this encoding, but adds a separator string
       * after every {@code n} characters. Any occurrences of any characters that occur in the separator
       * are skipped over in decoding.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Mar 15 16:33:32 GMT 2024
    - 41.7K bytes
    - Viewed (0)
Back to top