Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for callwrite (0.08 sec)

  1. cmd/storage-rest-server.go

    	bodyDoneCh := make(chan struct{})
    	doneCh := make(chan error)
    	ctx := r.Context()
    	go func() {
    		canWrite := true
    		write := func(b []byte) {
    			if canWrite {
    				n, err := w.Write(b)
    				if err != nil || n != len(b) {
    					canWrite = false
    				}
    			}
    		}
    		// Wait for body to be read.
    		select {
    		case <-ctx.Done():
    		case <-bodyDoneCh:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/SmbResource.java

         * will be read-only.
         *
         * @return <code>true</code> if the resource exists is not marked
         *         read-only
         * @throws CIFSException
         */
        boolean canWrite () throws CIFSException;
    
    
        /**
         * Tests to see if the file this <code>SmbResource</code> represents can be
         * read. Because any file, directory, or other resource can be read if it
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 26K bytes
    - Viewed (0)
Back to top