Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for allFormattedFlagsWithValidBits (0.77 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/FrameLogTest.kt

      }
    
      /**
       * Ensures that valid flag combinations appear visually correct, and invalid show in hex.  This
       * also demonstrates how sparse the lookup table is.
       */
      @Test
      fun allFormattedFlagsWithValidBits() {
        val formattedFlags = mutableListOf<String>() // Highest valid flag is 0x20.
        for (i in 0..0x3f) formattedFlags.add(formatFlags(TYPE_HEADERS, i))
        assertThat(formattedFlags).containsExactly(
          "",
    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)
Back to Top