Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for checkedEntry (0.08 sec)

  1. android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java

      }
    
      /**
       * Wraps the {@code setValue} implementation of an {@code Entry} to enforce the class constraint.
       */
      private static <B extends @Nullable Object> Entry<Class<? extends @NonNull B>, B> checkedEntry(
          final Entry<Class<? extends @NonNull B>, B> entry) {
        return new ForwardingMapEntry<Class<? extends @NonNull B>, B>() {
          @Override
          protected Entry<Class<? extends @NonNull B>, B> delegate() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt

        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() {
        val headerBlock =
          headerEntries(
            "custom-foo",
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 38.2K bytes
    - Viewed (0)
Back to top