Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Delims (0.06 sec)

  1. src/bufio/bufio_test.go

    		for i := 0; i < n; i++ {
    			buf.WriteString("abcdefg")
    		}
    
    		r := NewReaderSize(&buf, minReadBufferSize)
    		readTo := func(delim byte, want string) {
    			data, err := read(r, delim)
    			if err != nil {
    				t.Fatalf("#%d: unexpected error reading to %c: %v", rno, delim, err)
    			}
    			if got := string(data); got != want {
    				t.Fatalf("#%d: got %q, want %q", rno, got, want)
    			}
    		}
    
    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/xl-storage.go

    				if err == nil {
    					// delete first
    					Remove(storeFilePath)
    					// try again
    					Remove(deletePath)
    				}
    			}
    			// Ignore errors if the directory is not empty. The server relies on
    			// this functionality, and sometimes uses recursion that should not
    			// error on parent directories.
    			return nil
    		case osIsNotExist(err):
    			return nil
    		case errors.Is(err, errFileNotFound):
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
Back to top