Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for findZstd (0.11 sec)

  1. src/internal/zstd/fuzz_test.go

    // explore the space of decompressor behavior, since it can't see
    // what the compressor is doing. But it's better than nothing.
    func FuzzDecompressor(f *testing.F) {
    	zstd := findZstd(f)
    
    	for _, test := range tests {
    		f.Add([]byte(test.uncompressed))
    	}
    
    	// Add some larger data, as that has more interesting compression.
    	f.Add(bytes.Repeat([]byte("abcdefghijklmnop"), 256))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 04:10:45 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. src/internal/zstd/zstd_test.go

    		if bigDataErr == nil {
    			bigDataBytes = bytes.Repeat(bigDataBytes, 20)
    		}
    	})
    	if bigDataErr != nil {
    		t.Fatal(bigDataErr)
    	}
    	return bigDataBytes
    }
    
    func findZstd(t testing.TB) string {
    	zstd, err := exec.LookPath("zstd")
    	if err != nil {
    		t.Skip("skipping because zstd not found")
    	}
    	return zstd
    }
    
    var (
    	zstdBigOnce  sync.Once
    	zstdBigBytes []byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 16:39:21 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  3. src/image/jpeg/scan.go

    				// For well-formed input, the RST[0-7] restart marker follows
    				// immediately. For corrupt input, call findRST to try to
    				// resynchronize.
    				if err := d.readFull(d.tmp[:2]); err != nil {
    					return err
    				} else if d.tmp[0] != 0xff || d.tmp[1] != expectedRST {
    					if err := d.findRST(expectedRST); err != nil {
    						return err
    					}
    				}
    				expectedRST++
    				if expectedRST == rst7Marker+1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 00:46:29 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  4. test-site/activator.bat

      echo.
      if defined DOUBLECLICKED pause
      exit /B 1
    )
    
    rem Check what Java version is being used to determine what memory options to use
    for /f "tokens=3" %%g in ('java -version 2^>^&1 ^| findstr /i "version"') do (
        set JAVA_VERSION=%%g
    )
    
    rem Strips away the " characters
    set JAVA_VERSION=%JAVA_VERSION:"=%
    
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 7.2K bytes
    - Viewed (0)
Back to top