- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 179 for ensures (0.16 sec)
-
src/test/java/jcifs/dcerpc/ndr/NdrExceptionTest.java
import static org.junit.jupiter.api.Assertions.assertNotNull; import org.junit.jupiter.api.Test; class NdrExceptionTest { /** * Test the constructor with a message. * Ensures that the exception is created with the correct message. */ @Test void testConstructorWithMessage() { String testMessage = "This is a test message for NdrException.";
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/MonotonicClock.java
/** * Returns a monotonically increasing instant. * <p> * The returned instant is calculated by adding the elapsed nanoseconds * since clock creation to the initial wall clock time. This ensures that * the time never goes backwards and maintains a consistent relationship * with the wall clock time. * * @return the current instant using monotonic timing */ @Override
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jan 15 06:28:29 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/ResolverTypeTest.java
@Test void testNumberOfEnumConstants() { // Ensure there are exactly 4 resolver types assertEquals(4, ResolverType.values().length, "There should be exactly 4 resolver types."); } /** * Tests the names of the enum constants. */ @Test void testEnumNames() { // Verify the names of the enum constants to ensure they are not accidentally changed
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.1K bytes - Viewed (0) -
docs/en/docs/deployment/cloud.md
## Cloud Providers - Sponsors { #cloud-providers-sponsors } Some cloud providers ✨ [**sponsor FastAPI**](../help-fastapi.md#sponsor-the-author){.internal-link target=_blank} ✨, this ensures the continued and healthy **development** of FastAPI and its **ecosystem**.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 15:19:49 UTC 2025 - 1.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeHandleInternal.java
SmbPipeOutputStream getOutput() throws CIFSException; /** * Ensures that the tree connection is established and returns it. * * @return tree connection * @throws CIFSException if an error occurs connecting to the tree */ SmbTreeHandleInternal ensureTreeConnected() throws CIFSException; /** * Ensures that the file handle is open and returns it. * * @return file handle
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SecurityBlobTest.java
// Act String actual = blob.toString(); // Assert assertEquals(expected, actual, "Hex string should match expected format"); } // Ensures a default-constructed blob starts empty and stable across APIs @Test @DisplayName("Default constructor yields empty state") void defaultConstructor_initialState() { // Arrange & Act
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/Lockable.kt
/** * Marker interface for objects that use the JVM's `synchronized` mechanism and the related * `wait()` and `notify()` functions. * * The Lockable interface is particularly handy because it ensures we lock the right `this` when * there are multiple `this` objects in scope. */ interface Lockable internal inline fun Lockable.wait() = (this as Object).wait()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 23:28:25 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbEndOfFileExceptionTest.java
assertNull(ex.getRootCause(), "Root cause should be null by default"); assertTrue(ex instanceof SmbException, "Should be an SmbException subtype"); } /** * Ensures the exception is thrown and captured via assertThrows with the right message. */ @Test void assertThrowsCapturesExceptionAndMessage() { // Act & Assert
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeHandleInternal.java
* @author mbechler */ public interface SmbTreeHandleInternal extends SmbTreeHandle { /** * Releases this tree handle back to the pool for reuse */ void release(); /** * Ensures that DFS referrals have been resolved for this tree * @throws SmbException if an SMB-specific error occurs * @throws CIFSException if a general CIFS error occurs */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3K bytes - Viewed (0) -
api/maven-api-annotations/src/main/java/org/apache/maven/api/annotations/Immutable.java
import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * The {@code Immutable} annotation indicates that the object is immutable, i.e. * none of its field can be changed. This also ensures that the type is * {@link ThreadSafe}. * * @see ThreadSafe * @since 4.0.0 */ @Experimental @Documented @Retention(RetentionPolicy.CLASS) @ThreadSafe @Target(ElementType.TYPE)
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Tue Dec 10 21:43:27 UTC 2024 - 1.4K bytes - Viewed (0)