- Sort Score
- Result 10 results
- Languages All
Results 5051 - 5060 of 5,326 for Returns (0.05 sec)
-
src/test/java/jcifs/internal/smb1/com/SmbComFindClose2Test.java
@Test void testReadParameterWordsReturnsZero() { byte[] buffer = new byte[2]; int rc = instance.readParameterWordsWireFormat(buffer, 0); assertEquals(0, rc, "readParameterWordsWireFormat should return 0 for this SMB"); } @Test void testWriteBytesReturnsZero() { byte[] dst = new byte[1]; int rc = instance.writeBytesWireFormat(dst, 0);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.1K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/DefaultArtifactResolverTest.java
@Override public void setUp() throws Exception { super.setUp(); projectArtifact = createLocalArtifact("project", "3.0"); } @Override protected String component() { return "resolver"; } @Test void testMNG4738() throws Exception { Artifact g = createLocalArtifact("g", "1.0"); createLocalArtifact("h", "1.0"); artifactResolver.resolveTransitively(Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 3.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java
runLatch.countDown(); taskLatch.await(); if (throwException) { throw new IllegalStateException("Fail"); } return 25; } }); @Override protected void setUp() throws Exception { super.setUp(); exec = newCachedThreadPool(); task.addListener( new Runnable() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java
class SMBProtocolDowngradeExceptionTest { /** * Provides messages including edge cases (null and empty) for parameterized testing. */ static Stream<Arguments> messages() { return Stream.of(Arguments.of((String) null), Arguments.of(""), Arguments.of("unexpected downgrade")); } @Test @DisplayName("Default ctor: null message/cause; toString is class name; type hierarchy")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java
@ExtendWith(MockitoExtension.class) class SmbUnsupportedOperationExceptionTest { // Provides a variety of messages including edge cases static Stream<String> messages() { return Stream.of("custom message", "", " ", "αβγ", "x".repeat(1000), null); } @Test @DisplayName("Default constructor sets the expected message and no cause")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt
assertThat(inputStream.read()).isEqualTo('B'.code) assertThat(inputStream.read()).isEqualTo('C'.code) try { inputStream.read() // if Content-Length was accurate, this would return -1 immediately fail<Any>() } catch (expected: SocketTimeoutException) { } val urlConnection2 = server.url("/").toUrl().openConnection() val in2 = urlConnection2.getInputStream()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 03 13:16:34 UTC 2025 - 22.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java
when(mockData.getExpiration()).thenReturn(System.currentTimeMillis() + 60000); when(mockData.getPathConsumed()).thenReturn(0); when(mockData.getDomain()).thenReturn("DOMAIN"); return (DfsReferralDataImpl) base.combine(mockData); } @Nested @DisplayName("Interface Method Contract Tests") class InterfaceMethodTests { @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 28.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt
response }, ).build() private fun configureClientTestRule(): OkHttpClientTestRule { val clientTestRule = OkHttpClientTestRule() clientTestRule.recordTaskRunner = true return clientTestRule } @BeforeEach fun setUp() { platform.assumeNotOpenJSSE() } @AfterEach @Throws(InterruptedException::class) fun tearDown() {Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 35.5K bytes - Viewed (0) -
tensorflow/api_template.__init__.py
_site_packages_dirs = list(set(_site_packages_dirs)) # Find the location of this exact file. _current_file_location = _inspect.getfile(_inspect.currentframe()) def _running_from_pip_package(): return any( _current_file_location.startswith(dir_) for dir_ in _site_packages_dirs) if _running_from_pip_package(): # TODO(gunan): Add sanity checks to loaded modules here. # Load first party dynamic kernels.
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Wed Oct 02 22:16:02 UTC 2024 - 6.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/ClientAuthTest.kt
.addTrustedCertificate(serverRootCa.certificate) if (heldCertificate != null) { builder.heldCertificate(heldCertificate, *intermediates) } val handshakeCertificates = builder.build() return clientTestRule .newClientBuilder() .sslSocketFactory( handshakeCertificates.sslSocketFactory(), handshakeCertificates.trustManager, ).build() }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 12.7K bytes - Viewed (0)