Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 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/site-replication/run-multi-site-ldap.sh

    ./mc admin policy create minio1 rw ./docs/site-replication/rw.json
    
    sleep 5
    ./mc admin policy info minio2 rw >/dev/null 2>&1
    ./mc admin policy info minio3 rw >/dev/null 2>&1
    
    ./mc admin policy remove minio3 rw
    
    sleep 10
    ./mc admin policy info minio1 rw
    if [ $? -eq 0 ]; then
    	echo "expecting the command to fail, exiting.."
    	exit_1
    fi
    
    ./mc admin policy info minio2 rw
    if [ $? -eq 0 ]; then
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  3. docs/site-replication/run-multi-site-minio-idp.sh

    ./mc admin policy create minio1 rw ./docs/site-replication/rw.json
    
    sleep 5
    ./mc admin policy info minio2 rw >/dev/null 2>&1
    
    ./mc admin replicate status minio1
    
    ## Add a new empty site
    ./mc admin replicate add minio1 minio2 minio3
    
    sleep 10
    
    ./mc admin policy info minio3 rw >/dev/null 2>&1
    
    ./mc admin policy remove minio3 rw
    
    ./mc admin replicate status minio3
    
    sleep 10
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  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. android/guava/src/com/google/common/io/TempFileCreator.java

        static {
          Set<String> views = FileSystems.getDefault().supportedFileAttributeViews();
          if (views.contains("posix")) {
            filePermissions = () -> asFileAttribute(PosixFilePermissions.fromString("rw-------"));
            directoryPermissions = () -> asFileAttribute(PosixFilePermissions.fromString("rwx------"));
          } else if (views.contains("acl")) {
            filePermissions = directoryPermissions = userPermissions();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.5K bytes
    - Viewed (0)
Back to top