Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for checkedEntry (0.12 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(
          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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:10:29 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 38.6K bytes
    - Viewed (0)
Back to top