- Sort Score
- Result 10 results
- Languages All
Results 301 - 310 of 697 for behaviour (0.07 sec)
-
src/bytes/reader_test.go
} wg.Wait() } func TestEmptyReaderConcurrent(t *testing.T) { // Test for the race detector, to verify a Read that doesn't yield any bytes // is okay to use from multiple goroutines. This was our historic behavior. // See golang.org/issue/7856 r := NewReader([]byte{}) var wg sync.WaitGroup for i := 0; i < 5; i++ { wg.Add(2) go func() { defer wg.Done() var buf [1]byte r.Read(buf[:]) }()
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ParametricNullness.java
* String}. * <li>{@code getElement} on a {@code Multiset.Entry<@Nullable String>} returns {@code @Nullable * String}. * </ul> * * This is the same behavior as type-variable usages have to Kotlin and to the Checker Framework. * Contrast the method above to: * * <ul> * <li>methods whose return type is a type variable but which can never return {@code null},
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 16:20:21 UTC 2024 - 3.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketWriterTest.kt
assertThat(data.readByteString().hex(), "Data not empty") .isEqualTo("") } // Mutually exclusive. Use the one corresponding to the peer whose behavior you wish to test. private val serverWriter = WebSocketWriter( isClient = false, sink = data, random = random, perMessageDeflate = false, noContextTakeover = false,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 9.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/JAASAuthenticator.java
this.cachedSubject = s; return this.cachedSubject; } catch (LoginException e) { log.error("Failed to create login context", e); // Cache null to ensure consistent behavior across calls this.cachedSubject = null; return null; } } /** * {@inheritDoc} * * @see jcifs.smb.SmbRenewableCredentials#renew() */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java
assertTrue(e instanceof TransportException); } }); } @Test @DisplayName("Should preserve IOException behavior") void testIOExceptionBehavior() { String message = "IO operation failed"; TransportException exception = new TransportException(message);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/WebAuthenticationService.java
*/ public class WebAuthenticationService { /** * Default constructor. */ public WebAuthenticationService() { // Default constructor } /** * Behavior class for web authentication operations. */ @Resource protected WebAuthenticationBhv webAuthenticationBhv; /** * Fess configuration settings. */ @Resource
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileIntegrationTest.java
} catch (SmbException e) { // This is the expected behavior per SMB specification deletionFailed = true; log.info("Non-empty directory deletion properly failed as expected: {}", e.getMessage()); } // Directory behavior depends on whether deletion failed or succeeded
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 56K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/BytesTest.java
} @GwtIncompatible // different overflow behavior; could probably be made to work by using ~~ public void testConcat_overflow_negative() { int dim1 = 1 << 16; int dim2 = 1 << 15; assertThat(dim1 * dim2).isLessThan(0); testConcatOverflow(dim1, dim2); } @GwtIncompatible // different overflow behavior; could probably be made to work by using ~~
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 17.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CloseablesTest.java
import java.io.InputStream; import java.io.Reader; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Unit tests for {@link Closeables}. * * <p>Checks proper closing behavior, and ensures that IOExceptions on Closeable.close() are not * propagated out from the {@link Closeables#close} method if {@code swallowException} is true. * * @author Michael Lancaster */ @NullUnmarked
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/HashMultisetTest.java
Multiset<MultisetHolder> copy = SerializableTester.reserialize(multiset); assertEquals(2, copy.size()); assertSame(copy, copy.iterator().next().member); } /* * The behavior of toString() and iteration is tested by LinkedHashMultiset, * which shares a lot of code with HashMultiset and has deterministic * iteration order. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4.5K bytes - Viewed (0)