Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for rw (0.01 sec)

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

        }
    
        @Test
        @DisplayName("open(): acquires and releases handle (no I/O)")
        void open_acquiresAndReleasesHandle() throws Exception {
            SmbRandomAccessFile raf = spy(newInstance("rw", false, true, false));
            SmbFileHandleImpl fh = mock(SmbFileHandleImpl.class);
            doReturn(fh).when(raf).ensureOpen();
    
            // Act
            raf.open();
    
    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. docs/bigdata/README.md

    hadoop fs -ls s3a://testbucket/wordcount
    ```
    
    The output should be similar to the following:
    
    ```
    Found 3 items
    -rw-rw-rw-   1 spark spark          0 2019-05-04 01:36 s3a://testbucket/wordcount/_SUCCESS
    -rw-rw-rw-   1 spark spark       4956 2019-05-04 01:36 s3a://testbucket/wordcount/part-00000
    -rw-rw-rw-   1 spark spark       5616 2019-05-04 01:36 s3a://testbucket/wordcount/part-00001
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

        /**
         * Constructs an SmbRandomAccessFile with the specified URL, mode, and share access flags.
         *
         * @param url the SMB URL of the file to access
         * @param mode the access mode ("r" for read-only, "rw" for read-write)
         * @param shareAccess the share access flags for file sharing
         * @throws SmbException if an SMB error occurs
         * @throws MalformedURLException if the URL is malformed
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/lease/Smb2LeaseState.java

        public static final int SMB2_LEASE_WRITE_CACHING = 0x04;
    
        /**
         * Read and Handle caching (RH)
         */
        public static final int SMB2_LEASE_READ_HANDLE = 0x03;
    
        /**
         * Read and Write caching (RW)
         */
        public static final int SMB2_LEASE_READ_WRITE = 0x05;
    
        /**
         * Full caching - Read, Write and Handle (RWH)
         */
        public static final int SMB2_LEASE_FULL = 0x07;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbRandomAccessFile.java

        private final int sharing;
    
        /**
         * Instantiate a random access file from URL
         *
         * @param url the SMB URL of the file to access
         * @param mode the access mode ("r" for read-only, "rw" for read-write)
         * @param sharing the sharing flags for file access
         * @param tc the CIFS context to use for the connection
         * @throws SmbException if an SMB error occurs
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java

            // Mock the open method to do nothing
            doNothing().when(smbFile).open(anyInt(), anyInt(), anyInt(), anyInt());
    
            smbRandomAccessFile = new SmbRandomAccessFile(smbFile, "rw");
        }
    
        @Test
        void testConstructor() throws SmbException {
            assertNotNull(smbRandomAccessFile);
            assertEquals(0, smbRandomAccessFile.getFilePointer());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  7. cmd/storage-rest-server.go

    	if !s.IsValid(w, r) {
    		return
    	}
    	rw := streamHTTPResponse(w)
    	defer func() {
    		if r := recover(); r != nil {
    			debug.PrintStack()
    			rw.CloseWithError(fmt.Errorf("panic: %v", r))
    		}
    	}()
    
    	var req ReadMultipleReq
    	mr := msgpNewReader(r.Body)
    	defer readMsgpReaderPoolPut(mr)
    	err := req.DecodeMsg(mr)
    	if err != nil {
    		rw.CloseWithError(err)
    		return
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 45.7K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache2/Relay.kt

        @Throws(IOException::class)
        fun edit(
          file: File,
          upstream: Source,
          metadata: ByteString,
          bufferMaxSize: Long,
        ): Relay {
          val randomAccessFile = RandomAccessFile(file, "rw")
          val result = Relay(randomAccessFile, upstream, 0L, metadata, bufferMaxSize)
    
          // Write a dirty header. That way if we crash we won't attempt to recover this.
          randomAccessFile.setLength(0L)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 17:15:47 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/SmbResourceTest.java

                // Given
                when(mockResource.openRandomAccess("rw")).thenReturn(mockRandomAccess);
                when(mockResource.openRandomAccess("r", 1)).thenReturn(mockRandomAccess);
    
                // When
                SmbRandomAccess ra1 = mockResource.openRandomAccess("rw");
                SmbRandomAccess ra2 = mockResource.openRandomAccess("r", 1);
    
                // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  10. cmd/erasure-object.go

    					if err == nil {
    						fi, err = fileInfoFromRaw(rfi, bucket, object, readData, opts.InclFreeVersions)
    					}
    				}
    
    				rw.Lock()
    				rawArr[i] = rfi
    				metaArr[i], errs[i] = fi, err
    				rw.Unlock()
    
    				done <- err == nil
    			}(i, disk)
    		}
    
    		wg.Wait()
    		xioutil.SafeClose(done)
    
    		fi, ok := <-mrfCheck
    		if !ok {
    			return
    		}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 80.4K bytes
    - Viewed (0)
Back to top