Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestBestSpeed (0.09 sec)

  1. src/compress/flate/deflate_test.go

    			}
    		}
    	}
    	t.Logf("got %d bytes", len(out1))
    }
    
    // TestBestSpeed tests that round-tripping through deflate and then inflate
    // recovers the original input. The Write sizes are near the thresholds in the
    // compressor.encSpeed method (0, 16, 128), as well as near maxStoreBlockSize
    // (65535).
    func TestBestSpeed(t *testing.T) {
    	t.Parallel()
    	abc := make([]byte, 128)
    	for i := range abc {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 25.6K bytes
    - Viewed (0)
Back to top