- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 215 for constructions (0.22 sec)
-
guava/src/com/google/common/util/concurrent/ListenableFutureTask.java
* * @param runnable the runnable task * @param result the result to return on successful completion. If you don't need a particular * result, consider using constructions of the form: {@code ListenableFuture<?> f = * ListenableFutureTask.create(runnable, null)} * @since 10.0 */ public static <V extends @Nullable Object> ListenableFutureTask<V> create(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 4.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ListenableFutureTask.java
* * @param runnable the runnable task * @param result the result to return on successful completion. If you don't need a particular * result, consider using constructions of the form: {@code ListenableFuture<?> f = * ListenableFutureTask.create(runnable, null)} * @since 10.0 */ public static <V extends @Nullable Object> ListenableFutureTask<V> create(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 4.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/TrustedListenableFutureTask.java
* * @param runnable the runnable task * @param result the result to return on successful completion. If you don't need a particular * result, consider using constructions of the form: {@code ListenableFuture<?> f = * ListenableFutureTask.create(runnable, null)} */ static <V extends @Nullable Object> TrustedListenableFutureTask<V> create(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java
assertEquals(128, new NdrShort(-128).value); // -128 & 0xFF = 128 } @Test @DisplayName("Should maintain value consistency after multiple constructions") void testValueConsistency() { // Given: Same input value int inputValue = 1000; int expectedMasked = inputValue & 0xFF; // 232
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MapMakerInternalMap.java
* empty at any point. (The sum ensures accuracy up through at least 1<<31 per-segment * modifications before recheck.) Method containsValue() uses similar constructions for * stability checks. */ long sum = 0L; Segment<K, V, E, S>[] segments = this.segments; for (int i = 0; i < segments.length; ++i) { if (segments[i].count != 0) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 90K bytes - Viewed (0) -
src/test/java/jcifs/internal/SMBProtocolDecodingExceptionTest.java
assertNotNull(ex.toString(), "toString should be non-null"); ex.getMessage(); // don't assert content to avoid implementation assumptions // Verify no interactions happened with the mocked cause during construction/access verifyNoInteractions(mockCause); } @Test @DisplayName("Cause-only constructor with null: null cause maintained") void causeOnlyConstructor_acceptsNull() { // Arrange & Act
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbAuthExceptionTest.java
return Stream.of(Arguments.of((String) null), Arguments.of("")); } /** * Validate message+cause constructor and that no interaction with cause occurs during construction. */ @Test @DisplayName("String+Throwable ctor: sets message, cause and unsuccessful status") void messageAndCauseConstructor_setsFields(@Mock Throwable mockCause) { // Arrange
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/HandlerTest.java
// Act & Assert assertThrows(NullPointerException.class, () -> handler.openConnection(null), "Null URL should throw NPE"); verify(mockCtx, never()).getConfig(); // no interaction expected on failure before construction } @Test @DisplayName("openConnection uses SingletonContext when no context provided") void testOpenConnection_UsesSingletonContext() throws Exception { // Arrange
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/ShareEnumIteratorTest.java
} @Nested @DisplayName("Invalid constructor inputs") class InvalidInputs { @Test @DisplayName("Null delegate causes NullPointerException during construction") void nullDelegate_throwsNPE() throws Exception { SmbFile parent = newParent(); assertThrows(NullPointerException.class, () -> new ShareEnumIterator(parent, null, null)); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
* that accepts zero or more arguments, all of type {@code String} or {@code Throwable} * (preferring constructors with at least one {@code String}, then preferring constructors with at * least one {@code Throwable}) and calling the constructor via reflection. If the exception did
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 64.3K bytes - Viewed (0)