Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for tableLength (0.07 sec)

  1. okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt

        assertThat(bytesOut).isEqualTo(bytesIn)
        assertThat(writer.headerCount).isEqualTo(2)
        val tableLength = writer.dynamicTable.size
        var entry = writer.dynamicTable[tableLength - 1]!!
        checkEntry(entry, "custom-bar", "custom-header", 55)
        entry = writer.dynamicTable[tableLength - 2]!!
        checkEntry(entry, "custom-baz", "custom-header", 55)
      }
    
      @Test
      fun readerEviction() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/CharMatcher.java

                : new BitSetMatcher(table, description);
        }
      }
    
      @GwtIncompatible // SmallCharMatcher
      private static boolean isSmall(int totalCharacters, int tableLength) {
        return totalCharacters <= SmallCharMatcher.MAX_SIZE
            && tableLength > (totalCharacters * 4 * Character.SIZE);
        // err on the side of BitSetMatcher
      }
    
      /** Sets bits in {@code table} matched by this matcher. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 53.9K bytes
    - Viewed (0)
Back to top