Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for rw (0.02 sec)

  1. src/bufio/bufio_test.go

    	{0, 1, io.EOF, nil, nil},
    }
    
    func TestReaderWriteToErrors(t *testing.T) {
    	for i, rw := range errorWriterToTests {
    		r := NewReader(rw)
    		if _, err := r.WriteTo(rw); err != rw.expected {
    			t.Errorf("r.WriteTo(errorWriterToTests[%d]) = _, %v, want _,%v", i, err, rw.expected)
    		}
    	}
    }
    
    func TestWriterReadFrom(t *testing.T) {
    	ws := []func(io.Writer) io.Writer{
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  2. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  3. src/archive/zip/reader_test.go

    	}
    
    	// Check that OpenRaw returns the correct byte segment
    	rw, err := f.OpenRaw()
    	if err != nil {
    		t.Errorf("%v: OpenRaw error=%v", f.Name, err)
    		return
    	}
    	start, err := f.DataOffset()
    	if err != nil {
    		t.Errorf("%v: DataOffset error=%v", f.Name, err)
    		return
    	}
    	got, err := io.ReadAll(rw)
    	if err != nil {
    		t.Errorf("%v: OpenRaw ReadAll error=%v", f.Name, err)
    		return
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 55.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFile.java

         * <p>
         * Wildcard expressions will not filter workgroup names or server names.
         *
         * <blockquote>
         * 
         * <pre>
         * winnt&gt; ls c?o*
         * clock.avi                  -rw--      82944 Mon Oct 14 1996 1:38 AM
         * Cookies                    drw--          0 Fri Nov 13 1998 9:42 PM
         * 2 items in 5ms
         * </pre>
         * 
         * </blockquote>
         * 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
Back to top