Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 461 - 470 of 785 for EXPECTED (0.04 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/Tags.kt

     * returns a new instance.
     *
     * This collection is optimized for safe concurrent access over a very small number of elements.
     *
     * This collection and is expected to hold fewer than 10 elements. Each operation is _O(N)_, and so
     * building an instance with _N_ elements is _O(N**2)_.
     */
    internal sealed class Tags {
      /**
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt

            .callTimeout(1_000, TimeUnit.MILLISECONDS)
            .build()
        val call = client.newCall(Request(url))
        assertFailsWith<IOException> {
          call.execute()
        }.also { expected ->
          assertThat(expected).hasMessage("timeout")
        }
      }
    
      /**
       * This test reproduces a crash where OkHttp attempted to use a deferred connection when the call
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/CompactLinkedHashSet.java

     * elements, including {@code null}, are permitted.
     *
     * <p>{@code contains(x)}, {@code add(x)} and {@code remove(x)}, are all (expected and amortized)
     * constant time operations. Expected in the hashtable sense (depends on the hash function doing a
     * good job of distributing the elements to the buckets to a distribution not far from uniform), and
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 14:59:07 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/io/CloserTest.java

       * each such exception was suppressed because of the given thrown exception.
       */
      private void assertSuppressed(Suppression... expected) {
        assertEquals(ImmutableList.copyOf(expected), suppressor.suppressions);
      }
    
      // TODO(cpovirk): Just use addSuppressed+getSuppressed now that we can rely on it.
      /** Suppressor that records suppressions. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/CompactLinkedHashSet.java

     * elements, including {@code null}, are permitted.
     *
     * <p>{@code contains(x)}, {@code add(x)} and {@code remove(x)}, are all (expected and amortized)
     * constant time operations. Expected in the hashtable sense (depends on the hash function doing a
     * good job of distributing the elements to the buckets to a distribution not far from uniform), and
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 14:59:07 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java

                            final Map<String, Object> params = new HashMap<>();
                            final int expected = threadId * 100 + i;
                            final Object result = engine.evaluate("return " + expected, params);
                            if (result == null || !result.equals(expected)) {
                                errors.incrementAndGet();
                            }
                        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:03:38 GMT 2026
    - 29.1K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java

                    expectedBuilder.put(entry.getKey().intersection(subRange), entry.getValue());
                  }
                }
    
                ImmutableRangeMap<Integer, Integer> expected = expectedBuilder.build();
                assertEquals(expected, rangeMap.subRangeMap(subRange));
              }
            }
          }
        }
      }
    
      public void testSerialization() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/validation/FessActionValidatorTest.java

        }
    
        @Test
        public void test_constructorExists() {
            // Verify constructor exists with expected parameters
            try {
                FessActionValidator.class.getConstructor(RequestManager.class, UserMessagesCreator.class, Class[].class);
                assertTrue("Constructor with required parameters exists", true);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  9. 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)
  10. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts

            )
        }.reduce { acc, next ->
            acc.zip(next) { left, right ->
                when {
                    left.isPresent -> {
                        require(!right.isPresent) {
                            "Expected at most one provider to be present"
                        }
                        left
                    }
                    else -> right
                }
            }
        }.map { it.orElse(null) }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 11 22:46:35 GMT 2026
    - 5.8K bytes
    - Click Count (0)
Back to Top