Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for str (0.14 sec)

  1. src/bufio/bufio_test.go

    	b.ReportAllocs()
    	str := strings.Repeat("x", 16<<10)
    	for i := 0; i < b.N; i++ {
    		br := NewReader(strings.NewReader(str))
    		n, err := io.Copy(io.Discard, br)
    		if err != nil {
    			b.Fatal(err)
    		}
    		if n != int64(len(str)) {
    			b.Fatal("wrong length")
    		}
    	}
    }
    
    func BenchmarkWriterEmpty(b *testing.B) {
    	b.ReportAllocs()
    	str := strings.Repeat("x", 1<<10)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  2. src/cmd/cgo/gcc.go

    	for _, call := range f.Calls {
    		if call.Done {
    			continue
    		}
    		start := f.offset(call.Call.Pos())
    		end := f.offset(call.Call.End())
    		str, nu := p.rewriteCall(f, call)
    		if str != "" {
    			f.Edit.Replace(start, end, str)
    			if nu {
    				needsUnsafe = true
    			}
    		}
    	}
    	return needsUnsafe
    }
    
    // rewriteCall rewrites one call to add pointer checks.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/testdata/arm64.s

    	FMOVD	8(R1), F2 // 220440fd
    	FMOVQ	32(R5), F2 // a208c03d
    	FMOVQ	65520(R10), F10 // 4afdff3d
    	FMOVQ	64(RSP), F11    // eb13c03d
    
    // medium offsets that either fit a single instruction or can use add+ldr/str
    	MOVD -4095(R17), R3                        // 3bfe3fd1630340f9
    	MOVD -391(R17), R3                         // 3b1e06d1630340f9
    	MOVD -257(R17), R3                         // 3b0604d1630340f9
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 08 03:28:17 GMT 2023
    - 94.9K bytes
    - Viewed (0)
Back to top