Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for fb (0.01 sec)

  1. src/bytes/bytes_test.go

    			return nil, nil
    		}
    	}
    
    	for _, tc := range trimTests {
    		name := tc.f
    		f, fb := toFn(name)
    		if f == nil && fb == nil {
    			continue
    		}
    		var actual string
    		if f != nil {
    			actual = string(f([]byte(tc.in), tc.arg))
    		} else {
    			actual = string(fb([]byte(tc.in), []byte(tc.arg)))
    		}
    		if actual != tc.out {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Jul 28 18:13:58 UTC 2025
    - 62.9K bytes
    - Viewed (0)
  2. src/bufio/bufio.go

    	full, frag, n, err := b.collectFragments(delim)
    	// Allocate new buffer to hold the full pieces and the fragment.
    	var buf strings.Builder
    	buf.Grow(n)
    	// Copy full pieces and fragment in.
    	for _, fb := range full {
    		buf.Write(fb)
    	}
    	buf.Write(frag)
    	return buf.String(), err
    }
    
    // WriteTo implements io.WriterTo.
    // This may make multiple calls to the [Reader.Read] method of the underlying [Reader].
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 22K bytes
    - Viewed (0)
Back to top