- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 980 for called (0.03 sec)
-
android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java
/* * requireNonNull is safe because we don't null out `sequencer` except: * * - after the requireNonNull call below. (And this object has its Runnable.run override * called only once, just as it has its Executor.execute override called only once.) * * - if we return immediately from `execute` (in which case we never get here) *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 01:35:55 UTC 2025 - 22.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/IteratorTester.java
* * <p>If your iterator supports modification through {@code remove()}, you may wish to override the * verify() method, which is called after each sequence and is guaranteed to be called * using the latest values obtained from {@link IteratorTester#newTargetIterator()}. * * <p>The value you pass to the parameter {@code steps} should be greater than the length of yourRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 20:54:16 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenDomainTest.java
// Since SamrOpenDomain's constructor is called, we implicitly test that the arguments // are passed up. Mockito cannot directly verify super() calls without PowerMock, // which is not ideal for simple constructor tests. // The primary responsibility of this constructor is setting ptype and flags,Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java
// Due to the implementation of the two services we know that both are now failed. So the // following awaitHealthy call is just to get the exception. manager.startAsync(); assertThat(manager.servicesByState().get(State.FAILED)).hasSize(2); IllegalStateException e = assertThrows(IllegalStateException.class, () -> manager.awaitHealthy()); assertThat(e)Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 17:49:12 UTC 2025 - 25.5K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java
* * <p>If a code point has no mapped replacement then it is checked against the safe range. If it * lies outside that, then {@link #escapeUnsafe} is called, otherwise no escaping is performed. * * @param replacementMap a map of characters to their escaped representations * @param safeMin the lowest character value in the safe rangeRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 15:45:16 UTC 2025 - 8.5K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/ArchetypeGraph.java
* this graph. * * <p>This is equal to the union of {@link #predecessors(Object)} and {@link #successors(Object)}. * * <p>If {@code node} is removed from the graph after this method is called, the {@code Set} * {@code view} returned by this method will be invalidated, and will throw {@code * IllegalStateException} if it is accessed in any way, with the following exceptions: * * <ul>Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Nov 11 17:11:16 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/jcifs/context/AbstractCIFSContextTest.java
super.close(); // Call original close to set closeCalled throw new CIFSException("Test exception during close"); } }; // Simulate the shutdown hook being run spyContext.run(); assertTrue(spyContext.isCloseCalled()); // Verify close() was called // We can't directly assert on log.warn, but we've covered the path
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TransTransactNamedPipeResponseTest.java
int bufferIndex = 0; int len = 10; // Call the method to be tested int result = response.readDataWireFormat(buffer, bufferIndex, len); // Verify the result assertEquals(len, result, "readDataWireFormat should return the length of data read."); // Verify that the receive method on the input stream was called exactly onceRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
android/guava/src/com/google/common/io/ByteSource.java
* * <p>{@code ByteSource} provides two kinds of methods: * * <ul> * <li><b>Methods that return a stream:</b> These methods should return a <i>new</i>, independent * instance each time they are called. The caller is responsible for ensuring that the * returned stream is closed. * <li><b>Convenience methods:</b> These are implementations of common operations that areRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 08 18:35:13 UTC 2025 - 25.7K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/RequestTest.java
verify(mockRequest, times(1)).getCreditCost(); // Verify method was called once } @Test void testSetRequestCredits() { // Test case for setRequestCredits method int credits = 5; mockRequest.setRequestCredits(credits); // Verify that setRequestCredits was called with the correct argument verify(mockRequest, times(1)).setRequestCredits(credits); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.6K bytes - Viewed (0)