- Sort Score
- Num 10 results
- Language All
Results 371 - 380 of 623 for EXPECTED (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava-tests/test/com/google/common/collect/OrderingTest.java
IncomparableValueException expected = assertThrows(IncomparableValueException.class, () -> c.compare(0, 0)); assertEquals(0, expected.value); reserializeAndAssert(c); } public void testExplicit_one() { Comparator<Integer> c = Ordering.explicit(0); assertEquals(0, c.compare(0, 0)); IncomparableValueException expected =Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 43.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java
assertBitEquals(VALUES[i], aa.get(i)); aa.lazySet(i, -3.0); assertBitEquals(-3.0, aa.get(i)); } } /** compareAndSet succeeds in changing value if equal to expected else fails */ public void testCompareAndSet() { AtomicDoubleArray aa = new AtomicDoubleArray(SIZE); for (int i : new int[] {0, SIZE - 1}) { double prev = 0.0; double unused = Math.E + Math.PI;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 10.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/SourceSinkTester.java
protected final F factory; protected final T data; protected final T expected; private final String suiteName; private final String caseDesc; SourceSinkTester(F factory, T data, String suiteName, String caseDesc, Method method) { super(method.getName()); this.factory = checkNotNull(factory); this.data = checkNotNull(data); this.expected = checkNotNull(factory.getExpected(data));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 4.9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt
if (response.code != 101) { throw ProtocolException( "Expected HTTP 101 response but was '${response.code} ${response.message}'", ) } val headerConnection = response.header("Connection") if (!"Upgrade".equals(headerConnection, ignoreCase = true)) { throw ProtocolException( "Expected 'Connection' header value 'Upgrade' but was '$headerConnection'", ) }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 21.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java
public void testCreation_arrayOfArray() { String[] array = new String[] {"a"}; Multiset<String[]> multiset = ImmutableMultiset.<String[]>of(array); Multiset<String[]> expected = HashMultiset.create(); expected.add(array); assertEquals(expected, multiset); } public void testCreation_arrayContainingOnlyNull() { @Nullable String[] array = new @Nullable String[] {null};
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 20.8K bytes - Click Count (0) -
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) -
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) -
guava-tests/test/com/google/common/collect/QueuesTest.java
Future<?> possiblyIgnoredError = threadPool.submit(new Interrupter(currentThread())); try { Queues.drain(q, ImmutableList.of(), 100, MAX_VALUE, NANOSECONDS); fail(); } catch (InterruptedException expected) { } } public void testDrainUninterruptibly_doesNotThrow() throws Exception { for (BlockingQueue<Object> q : blockingQueues()) { testDrainUninterruptiblyDoesNotThrow(q); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Nov 04 17:24:58 GMT 2025 - 12.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/CompactLinkedHashMap.java
* remove) are supported. Null keys and values are supported. * * <p>{@code containsKey(k)}, {@code put(k, v)} and {@code remove(k)} 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 farCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 10.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/tomcat/webresources/FessWebResourceRootTest.java
} catch (final NoSuchMethodException e) { fail("processWebInfLib method should exist"); } } @Test public void test_packageStructure() { // Verify the class is in the expected package structure final Package pkg = FessWebResourceRoot.class.getPackage(); assertNotNull(pkg, "Package should not be null");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 4.4K bytes - Click Count (0)