Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Biggers (0.53 sec)

  1. src/archive/zip/reader_test.go

    //			log.Fatal(err)
    //		}
    //
    //		biggerZip := makeZip("big.zip", bytes.NewReader(bigZip))
    //		if err := os.WriteFile("/tmp/bigger.zip", biggerZip, 0666); err != nil {
    //			log.Fatal(err)
    //		}
    //
    //		biggestZip := makeZip("bigger.zip", bytes.NewReader(biggerZip))
    //		if err := os.WriteFile("/tmp/biggest.zip", biggestZip, 0666); err != nil {
    //			log.Fatal(err)
    //		}
    //	}
    //
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  2. src/bytes/buffer_test.go

    package bytes_test
    
    import (
    	. "bytes"
    	"fmt"
    	"internal/testenv"
    	"io"
    	"math/rand"
    	"strconv"
    	"testing"
    	"unicode/utf8"
    )
    
    const N = 10000       // make this bigger for a larger (and slower) test
    var testString string // test data for write tests
    var testBytes []byte  // test data; same as testString but as a slice.
    
    type negativeReader struct{}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  3. doc/go1.17_spec.html

    In an expression switch,
    the switch expression is evaluated and
    the case expressions, which need not be constants,
    are evaluated left-to-right and top-to-bottom; the first one that equals the
    switch expression
    triggers execution of the statements of the associated case;
    the other cases are skipped.
    If no case matches and there is a "default" case,
    its statements are executed.
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  4. doc/go_spec.html

    In an expression switch,
    the switch expression is evaluated and
    the case expressions, which need not be constants,
    are evaluated left-to-right and top-to-bottom; the first one that equals the
    switch expression
    triggers execution of the statements of the associated case;
    the other cases are skipped.
    If no case matches and there is a "default" case,
    its statements are executed.
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  5. src/bytes/bytes_test.go

    		return ((r - 'A' + step) % 26) + 'A'
    	}
    	return r
    }
    
    func TestMap(t *testing.T) {
    	// Run a couple of awful growth/shrinkage tests
    	a := tenRunes('a')
    
    	// 1.  Grow. This triggers two reallocations in Map.
    	maxRune := func(r rune) rune { return unicode.MaxRune }
    	m := Map(maxRune, []byte(a))
    	expect := tenRunes(unicode.MaxRune)
    	if string(m) != expect {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
Back to top