Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 29 for onClosing (1.98 sec)

  1. guava-tests/test/com/google/common/collect/RangeTest.java

        // equal
        assertEquals(range, range.intersection(range));
    
        // enclosing with same start
        assertEquals(range, range.intersection(Range.closed(4, 10)));
    
        // enclosing with same end
        assertEquals(range, range.intersection(Range.closed(2, 8)));
    
        // enclosing, exterior
        assertEquals(range, range.intersection(Range.closed(2, 10)));
    
        // overlap above
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/RangeTest.java

        // equal
        assertEquals(range, range.intersection(range));
    
        // enclosing with same start
        assertEquals(range, range.intersection(Range.closed(4, 10)));
    
        // enclosing with same end
        assertEquals(range, range.intersection(Range.closed(2, 8)));
    
        // enclosing, exterior
        assertEquals(range, range.intersection(Range.closed(2, 10)));
    
        // overlap above
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerWriter.kt

        constructed = false // The enclosed object written in block() is not constructed.
        path += name
        try {
          block(content)
          constructedBit = if (constructed) 0b0010_0000 else 0
          constructed = true // The enclosing object is constructed.
        } finally {
          stack.removeAt(stack.size - 1)
          path.removeAt(path.size - 1)
        }
    
        val sink = sink()
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt

        result = 31 * result + (if (typeHint) 1 else 0)
        return result
      }
    
      override fun toString(): String = "$name [$tagClass/$tag]"
    
      /** Reads and writes values without knowledge of the enclosing tag, length, or defaults. */
      interface Codec<T> {
        fun decode(reader: DerReader): T
    
        fun encode(
          writer: DerWriter,
          value: T,
        )
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/RangeMap.java

       * the range map, or {@code null} otherwise.
       */
      @Nullable Entry<Range<K>, V> getEntry(K key);
    
      /**
       * Returns the minimal range {@linkplain Range#encloses(Range) enclosing} the ranges in this
       * {@code RangeMap}.
       *
       * @throws NoSuchElementException if this range map is empty
       */
      Range<K> span();
    
      /**
       * Maps a range to a specified value (optional operation).
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/MoreCollectors.java

              extras.subList(MAX_EXTRAS, extras.size()).clear();
              throw multiples(true);
            }
            return this;
          }
        }
    
        @IgnoreJRERequirement // see enclosing class (whose annotation Animal Sniffer ignores here...)
        Optional<Object> getOptional() {
          if (extras.isEmpty()) {
            return Optional.ofNullable(element);
          } else {
            throw multiples(false);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:07:06 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/TempFileCreator.java

                  /* prefix= */ prefix,
                  /* suffix= */ null,
                  filePermissions.get())
              .toFile();
        }
    
        @IgnoreJRERequirement // see enclosing class (whose annotation Animal Sniffer ignores here...)
        private interface PermissionSupplier {
          FileAttribute<?> get() throws IOException;
        }
    
        private static final PermissionSupplier filePermissions;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 29 18:50:14 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/reflect/Invokable.java

       * Returns all declared parameters of this {@code Invokable}. Note that if this is a constructor
       * of a non-static inner class, unlike {@link Constructor#getParameterTypes}, the hidden {@code
       * this} parameter of the enclosing class is excluded from the returned parameters.
       */
      @IgnoreJRERequirement
      public final ImmutableList<Parameter> getParameters() {
        Type[] parameterTypes = getGenericParameterTypes();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  9. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

          constructed = pushedConstructed
          if (name != null) path.removeAt(path.size - 1)
        }
      }
    
      /**
       * Execute [block] with a new namespace for type hints. Type hints from the enclosing type are no
       * longer usable by the current type's members.
       */
      fun <T> withTypeHint(block: () -> T): T {
        typeHintStack.add(null)
        try {
          return block()
        } finally {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  10. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

          )
        }.also { expected ->
          assertThat(expected).hasMessage("indefinite length not permitted for DER")
        }
      }
    
      @Test fun `cannot decode constructed octet string in enclosing sequence`() {
        val buffer =
          Buffer()
            .write("3A0904034A6F6E04026573".decodeHex())
        val derReader = DerReader(buffer)
        assertFailsWith<Exception> {
          derReader.read("test") {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 31.7K bytes
    - Viewed (0)
Back to top