Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for badmode (0.04 sec)

  1. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

        void constructor_invalidMode_throws() {
            SmbFile file = mock(SmbFile.class);
            assertThrows(IllegalArgumentException.class, () -> new SmbRandomAccessFile(file, "badmode"));
        }
    
        @Test
        @DisplayName("open(): acquires and releases handle (no I/O)")
        void open_acquiresAndReleasesHandle() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/nio/ChannelUtil.java

    import java.io.IOException;
    import java.nio.ByteBuffer;
    import java.nio.channels.Channel;
    import java.nio.channels.FileChannel;
    import java.nio.channels.FileChannel.MapMode;
    
    import org.codelibs.core.exception.IORuntimeException;
    
    /**
     * Utility for {@link Channel}.
     *
     * Author: koichik
     */
    public abstract class ChannelUtil {
    
        /**
         * Do not instantiate.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. cmd/object-handlers_test.go

    					req.Header.Set("authorization", req.Header.Get("authorization")+"a")
    					// Setting an invalid Content-MD5 to force a Md5 Mismatch error.
    					// Used in tesr case 7.
    				case BadMD5:
    					req.Header.Set("Content-MD5", "badmd5")
    				}
    
    				// invoke the PutObjectPart HTTP handler.
    				apiRouter.ServeHTTP(rec, req)
    
    				// validate the error response.
    				want := getAPIError(test.expectedAPIError)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 163.1K bytes
    - Viewed (0)
Back to top