Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for DecodeString (0.16 seconds)

  1. src/archive/zip/reader_test.go

    00001a0 69 70 50 4b 05 06 00 00 00 00 01 00 01 00 35 00
    00001b0 00 00 6d 01 00 00 00 00`
    	s = regexp.MustCompile(`[0-9a-f]{7}`).ReplaceAllString(s, "")
    	s = regexp.MustCompile(`\s+`).ReplaceAllString(s, "")
    	b, err := hex.DecodeString(s)
    	if err != nil {
    		panic(err)
    	}
    	return b
    }
    
    func returnRecursiveZip() (r io.ReaderAt, size int64) {
    	b := rZipBytes()
    	return bytes.NewReader(b), int64(len(b))
    }
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jan 15 18:35:56 GMT 2026
    - 57.9K bytes
    - Click Count (0)
  2. lib/fips140/v1.26.0.zip

    %v", got, exp) } }) default: t.Fatalf("unknown key %q on line %d", k, lineNum) } } if err := scanner.Err(); err != nil { t.Fatal(err) } } func decodeHex(t *testing.T, s string) []byte { t.Helper() if len(s)%2 != 0 { s = "0" + s } b, err := hex.DecodeString(s) if err != nil { t.Fatalf("failed to decode hex %q: %v", s, err) } return b } golang.org/fips140@v1.26.0/fips140/v1.26.0/bigmod/nat_wasm.go // Copyright 2024 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style...
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jan 08 17:58:32 GMT 2026
    - 660.3K bytes
    - Click Count (0)
Back to Top