- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 411 for ensures (0.41 sec)
-
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/PlatformInitializer.kt
* limitations under the License. */ package okhttp3.internal.platform import android.content.Context import androidx.startup.Initializer /** * Androidx Startup initializer to ensure that the AndroidPlatform has access to the application context. */ class PlatformInitializer : Initializer<Platform> { override fun create(context: Context): Platform { PlatformRegistry.applicationContext = context
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Dec 31 14:50:53 UTC 2024 - 1K bytes - Viewed (1) -
src/test/java/jcifs/dcerpc/msrpc/SamrDomainHandleTest.java
assertEquals(mockPolicyHandle, capturedRpc.handle); assertEquals(access, capturedRpc.access_mask); assertEquals(mockSid, capturedRpc.sid); assertEquals(handle, capturedRpc.domain_handle); // Ensure the handle itself is passed for output } @Test void constructor_shouldThrowSmbExceptionOnRpcError() throws IOException { // Arrange int access = 0x01;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NbtExceptionTest.java
assertTrue(exception instanceof CIFSException, "NbtException should be an instance of CIFSException"); } /** * Test the getErrorString method with various error classes and codes to ensure all branches are covered. */ @ParameterizedTest @MethodSource("provideErrorClassAndCodeForGetErrorString") @DisplayName("getErrorString should return correct messages for all defined error classes and codes")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbFilenameFilterTest.java
import org.junit.jupiter.api.Test; import org.mockito.Mockito; /** * Tests for {@link SmbFilenameFilter}. Since the interface only defines * a single method, the tests simply ensure that the lambda expression * correctly implements the method and that any exception is propagated. */ class SmbFilenameFilterTest { @Test void acceptReturnsTrueWhenNameMatches() throws Exception {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallback.java
* * @return the execution time in milliseconds */ long getExecuteTime(); /** * Commits all pending index update operations to ensure data persistence. * This method should be called after all documents have been stored. */ void commit();Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.8K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ServiceManager.java
* } * }, * MoreExecutors.directExecutor()); * * Runtime.getRuntime().addShutdownHook(new Thread() { * public void run() { * // Give the services 5 seconds to stop to ensure that we are responsive to shutdown * // requests. * try { * manager.stopAsync().awaitStopped(5, TimeUnit.SECONDS); * } catch (TimeoutException timeout) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 17:49:12 UTC 2025 - 32.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ServiceManager.java
* } * }, * MoreExecutors.directExecutor()); * * Runtime.getRuntime().addShutdownHook(new Thread() { * public void run() { * // Give the services 5 seconds to stop to ensure that we are responsive to shutdown * // requests. * try { * manager.stopAsync().awaitStopped(5, TimeUnit.SECONDS); * } catch (TimeoutException timeout) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 17:49:12 UTC 2025 - 33.2K bytes - Viewed (1) -
src/test/java/jcifs/BaseTest.java
import org.mockito.junit.jupiter.MockitoExtension; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * Base test class providing common test infrastructure and utilities. * All test classes should extend this to ensure consistent test setup. */ @ExtendWith(MockitoExtension.class) public abstract class BaseTest { protected final Logger logger = LoggerFactory.getLogger(getClass()); @BeforeEach void baseSetUp() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.2K bytes - Viewed (0) -
src/test/java/jcifs/NetbiosAddressTest.java
assertNotNull(NbtAddress.UNKNOWN_MAC_ADDRESS); assertEquals(6, NbtAddress.UNKNOWN_MAC_ADDRESS.length); } @Test void testConstantsAreImmutable() { // Ensure constants are properly defined as final // This test just verifies the constants exist and are accessible String anyHosts = NbtAddress.ANY_HOSTS_NAME; String masterBrowser = NbtAddress.MASTER_BROWSER_NAME;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ServiceManagerBridge.java
import com.google.common.collect.ImmutableMultimap; import com.google.common.util.concurrent.Service.State; /** * Superinterface of {@link ServiceManager} to introduce a bridge method for {@code * servicesByState()}, to ensure binary compatibility with older Guava versions that specified * {@code servicesByState()} to return {@code ImmutableMultimap}. */ @J2ktIncompatible @GwtIncompatible interface ServiceManagerBridge {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 1.2K bytes - Viewed (0)