Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for rizzle (0.17 sec)

  1. src/compress/flate/inflate_test.go

    // license that can be found in the LICENSE file.
    
    package flate
    
    import (
    	"bufio"
    	"bytes"
    	"io"
    	"strings"
    	"testing"
    )
    
    func TestReset(t *testing.T) {
    	ss := []string{
    		"lorem ipsum izzle fo rizzle",
    		"the quick brown fox jumped over",
    	}
    
    	deflated := make([]bytes.Buffer, 2)
    	for i, s := range ss {
    		w, _ := NewWriter(&deflated[i], 1)
    		w.Write([]byte(s))
    		w.Close()
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 23:23:54 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. test/fixedbugs/issue16249.go

    	defer f(&err) // output parameter's address escapes to a defer.
    	if n < 0 {
    		err = errors.New("No negative")
    		return
    	}
    	if n <= 1 {
    		res = n
    		return
    	}
    	res = B(m) // This call to B drizzles a little junk on the stack.
    	res, err = A(n-1, m)
    	res++
    	return
    }
    
    // B does a little bit of recursion dribbling not-zero onto the stack.
    //go:noinline
    func B(n int64) (res int64) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jul 02 00:40:40 UTC 2016
    - 1.3K bytes
    - Viewed (0)
Back to top