Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 691 - 700 of 1,153 for EXPECTED (0.08 seconds)

  1. guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

        try {
          getDone(future);
          fail();
        } catch (CancellationException expected) {
        }
    
        try {
          getDoneFromTimeoutOverload(future);
          fail();
        } catch (CancellationException expected) {
        }
    
        assertThrows(IllegalStateException.class, future::resultNow);
        assertThrows(IllegalStateException.class, future::exceptionNow);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/Comparators.java

       * {@snippet :
       * Stream.of("foo", "quux", "banana", "elephant").collect(least(2, comparingInt(String::length)))
       * // returns {"foo", "quux"}
       * }
       *
       * <p>This {@code Collector} uses O(k) memory and takes expected time O(n) (worst-case O(n log
       * k)), as opposed to e.g. {@code Stream.sorted(comparator).limit(k)}, which currently takes O(n
       * log n) time and O(n) space.
       *
       * @throws IllegalArgumentException if {@code k < 0}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/artifact/MavenArtifactProperties.java

         * of a processor, this property records the derived processor type ID.
         *
         * @since 4.0.0
         */
        public static final String PROCESSOR_TYPE = "maven.processor.type";
    
        /**
         * The (expected) path to the artifact on the local filesystem. An artifact which has this property set is assumed
         * to be not present in any regular repository and likewise has no artifact descriptor. Artifact resolution will
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Mar 28 11:22:05 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  4. docs/en/docs/tutorial/header-param-models.md

    The same way as with regular header parameters, when you have underscore characters in the parameter names, they are **automatically converted to hyphens**.
    
    For example, if you have a header parameter `save_data` in the code, the expected HTTP header will be `save-data`, and it will show up like that in the docs.
    
    If for some reason you need to disable this automatic conversion, you can do it as well for Pydantic models for header parameters.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt

          source: Buffer,
          byteCount: Long,
        ) {
          check(!closed) { "closed" }
          if (contentLength != -1L && bytesReceived + byteCount > contentLength) {
            throw ProtocolException(
              "expected $contentLength bytes but received ${bytesReceived + byteCount}",
            )
          }
          try {
            if (invokeStartEvent) {
              invokeStartEvent = false
              call.eventListener.requestBodyStart(call)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Nov 05 18:28:35 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/io/SourceSinkFactory.java

    import java.io.IOException;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * A test factory for byte or char sources or sinks. In addition to creating sources or sinks, the
     * factory specifies what content should be expected to be read from a source or contained in a sink
     * given the content data that was used to create the source or that was written to the sink.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 30 16:59:10 GMT 2025
    - 3K bytes
    - Click Count (0)
  7. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/ListenableFuture.java

     */
    public interface ListenableFuture<V extends @Nullable Object> extends Future<V>, IThenable<V> {
      void addListener(Runnable listener, Executor executor);
    
      /** Note that this method is not expected to be overridden. */
      @JsMethod
      @Override
      default <R extends @Nullable Object> IThenable<R> then(
          @JsOptional @Nullable IThenOnFulfilledCallbackFn<? super V, ? extends R> onFulfilled,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.8K bytes
    - Click Count (0)
  8. src/test/java/jcifs/dcerpc/msrpc/MsrpcQueryInformationPolicyTest.java

            queryPolicy = new MsrpcQueryInformationPolicy(mockPolicyHandle, level, mockNdrObject);
    
            // Act
            int opnum = queryPolicy.getOpnum();
    
            // Assert
            assertEquals(0x07, opnum); // Expected opnum for LsarQueryInformationPolicy
        }
    
        @Test
        void multipleInstances_shouldBeIndependent() {
            // Arrange
            short level1 = 1;
            short level2 = 2;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/Multiset.java

       * #setCount(Object, int)}, provided that the element has the expected current count. If the
       * current count is not {@code oldCount}, no change is made.
       *
       * @param element the element to conditionally set the count of; may be null only if explicitly
       *     allowed by the implementation
       * @param oldCount the expected present count of the element in this multiset
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 19.5K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/primitives/IntsTest.java

      }
    
      /**
       * Applies {@link Ints#tryParse(String)} to the given string and asserts that the result is as
       * expected.
       */
      private static void tryParseAndAssertEquals(Integer expected, String value) {
        assertThat(Ints.tryParse(value)).isEqualTo(expected);
      }
    
      public void testTryParse_radix() {
        for (int radix = Character.MIN_RADIX; radix <= Character.MAX_RADIX; radix++) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 29.4K bytes
    - Click Count (0)
Back to Top