Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/archive/zip/writer_test.go

    	// This effectively discards the very large initial flate setup cost,
    	// as well as the initialization of bigBuf.
    	runOnce(&bytes.Buffer{})
    	b.ResetTimer()
    
    	b.RunParallel(func(pb *testing.PB) {
    		var buf bytes.Buffer
    		for pb.Next() {
    			runOnce(&buf)
    		}
    	})
    }
    
    func writeTestsToFS(tests []WriteTest) fs.FS {
    	fsys := fstest.MapFS{}
    	for _, wt := range tests {
    		fsys[wt.Name] = &fstest.MapFile{
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 15 19:04:06 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  2. src/archive/zip/zip_test.go

    	}
    }
    
    func BenchmarkZip64TestSizes(b *testing.B) {
    	for _, size := range []int64{1 << 12, 1 << 20, 1 << 26} {
    		b.Run(fmt.Sprint(size), func(b *testing.B) {
    			b.RunParallel(func(pb *testing.PB) {
    				for pb.Next() {
    					testZip64(b, size)
    				}
    			})
    		})
    	}
    }
    
    func TestSuffixSaver(t *testing.T) {
    	const keep = 10
    	ss := &suffixSaver{keep: keep}
    	ss.Write([]byte("abc"))
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  3. api/go1.3.txt

    pkg syscall (windows-amd64), type TCPKeepalive struct, OnOff uint32
    pkg syscall (windows-amd64), type TCPKeepalive struct, Time uint32
    pkg testing, method (*B) RunParallel(func(*PB))
    pkg testing, method (*B) SetParallelism(int)
    pkg testing, method (*PB) Next() bool
    pkg testing, type PB struct
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Jun 02 02:45:00 GMT 2014
    - 117K bytes
    - Viewed (0)
  4. api/go1.10.txt

    pkg debug/macho, const ARM_RELOC_LOCAL_SECTDIFF RelocTypeARM
    pkg debug/macho, const ARM_RELOC_PAIR = 1
    pkg debug/macho, const ARM_RELOC_PAIR RelocTypeARM
    pkg debug/macho, const ARM_RELOC_PB_LA_PTR = 4
    pkg debug/macho, const ARM_RELOC_PB_LA_PTR RelocTypeARM
    pkg debug/macho, const ARM_RELOC_SECTDIFF = 2
    pkg debug/macho, const ARM_RELOC_SECTDIFF RelocTypeARM
    pkg debug/macho, const ARM_RELOC_VANILLA = 0
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Feb 06 05:00:01 GMT 2018
    - 30.1K bytes
    - Viewed (0)
Back to top