Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for Goff (0.18 sec)

  1. src/bytes/buffer_test.go

    	for _, growLen := range []int{0, 100, 1000, 10000, 100000} {
    		for _, startLen := range []int{0, 100, 1000, 10000, 100000} {
    			xBytes := Repeat(x, startLen)
    
    			buf := NewBuffer(xBytes)
    			// If we read, this affects buf.off, which is good to test.
    			readBytes, _ := buf.Read(tmp)
    			yBytes := Repeat(y, growLen)
    			allocs := testing.AllocsPerRun(100, func() {
    				buf.Grow(growLen)
    				buf.Write(yBytes)
    			})
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  2. src/archive/zip/zip_test.go

    	}
    	buf := make([]byte, ss.Size())
    	for off := int64(0); off < ss.Size(); off++ {
    		for size := 1; size <= int(ss.Size()-off); size++ {
    			readBuf := buf[:size]
    			n, err := ss.ReadAt(readBuf, off)
    			if off < ss.Size()-keep {
    				if err != errDiscardedBytes {
    					t.Errorf("off %d, size %d = %v, %v (%q); want errDiscardedBytes", off, size, n, err, readBuf[:n])
    				}
    				continue
    			}
    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.12.txt

    pkg syscall (freebsd-386), func Mknod(string, uint32, uint64) error
    pkg syscall (freebsd-386), type Dirent struct, Fileno uint64
    pkg syscall (freebsd-386), type Dirent struct, Namlen uint16
    pkg syscall (freebsd-386), type Dirent struct, Off int64
    pkg syscall (freebsd-386), type Dirent struct, Pad0 uint8
    pkg syscall (freebsd-386), type Dirent struct, Pad1 uint16
    pkg syscall (freebsd-386), type Stat_t struct, Atim_ext int32
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 02 21:21:53 GMT 2019
    - 13.5K bytes
    - Viewed (0)
  4. src/bytes/bytes.go

    // TrimLeftFunc treats s as UTF-8-encoded bytes and returns a subslice of s by slicing off
    // all leading UTF-8-encoded code points c that satisfy f(c).
    func TrimLeftFunc(s []byte, f func(r rune) bool) []byte {
    	i := indexFunc(s, f, false)
    	if i == -1 {
    		return nil
    	}
    	return s[i:]
    }
    
    // TrimRightFunc returns a subslice of s by slicing off all trailing
    // UTF-8-encoded code points c that satisfy f(c).
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/parse.go

    			}
    			count = int16((x & 31) << 7)
    		}
    	default:
    		p.errorf("unexpected %s in register shift", tok.String())
    	}
    	if p.arch.Family == sys.ARM64 {
    		off, err := arch.ARM64RegisterShift(r1, op, count)
    		if err != nil {
    			p.errorf(err.Error())
    		}
    		return off
    	} else {
    		return int64((r1 & 15) | op<<5 | count)
    	}
    }
    
    // registerExtension parses a register with extension or arrangement.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  6. src/bytes/buffer.go

    		// don't spend all our time copying.
    		copy(b.buf, b.buf[b.off:])
    	} else if c > maxInt-c-n {
    		panic(ErrTooLarge)
    	} else {
    		// Add b.off to account for b.buf[:b.off] being sliced off the front.
    		b.buf = growSlice(b.buf[b.off:], b.off+n)
    	}
    	// Restore b.off and len(b.buf).
    	b.off = 0
    	b.buf = b.buf[:m+n]
    	return m
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  7. src/archive/zip/reader.go

    	if _, err := io.ReadFull(r, buf[:4]); err != nil {
    		return err
    	}
    	off := 0
    	maybeSig := readBuf(buf[:4])
    	if maybeSig.uint32() != dataDescriptorSignature {
    		// No data descriptor signature. Keep these four
    		// bytes.
    		off += 4
    	}
    	if _, err := io.ReadFull(r, buf[off:12]); err != nil {
    		return err
    	}
    	b := readBuf(buf[:12])
    	if b.uint32() != f.CRC32 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  8. doc/asm.html

    One is to update the assembler to support that instruction, which is straightforward
    but only worthwhile if it's likely the instruction will be used again.
    Instead, for simple one-off cases, it's possible to use the <code>BYTE</code>
    and <code>WORD</code> directives
    to lay down explicit data into the instruction stream within a <code>TEXT</code>.
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  9. api/go1.4.txt

    pkg debug/elf, const R_AARCH64_TLSDESC_LD_PREL19 R_AARCH64
    pkg debug/elf, const R_AARCH64_TLSDESC_OFF_G0_NC = 566
    pkg debug/elf, const R_AARCH64_TLSDESC_OFF_G0_NC R_AARCH64
    pkg debug/elf, const R_AARCH64_TLSDESC_OFF_G1 = 565
    pkg debug/elf, const R_AARCH64_TLSDESC_OFF_G1 R_AARCH64
    pkg debug/elf, const R_AARCH64_TLSGD_ADD_LO12_NC = 514
    pkg debug/elf, const R_AARCH64_TLSGD_ADD_LO12_NC R_AARCH64
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 12 03:01:01 GMT 2014
    - 34K bytes
    - Viewed (0)
  10. misc/ios/go_ios_exec.go

    		return "", errors.New("failed to parse ideviceinfo output")
    	}
    	verSplit := strings.Split(iosVer, ".")
    	if len(verSplit) > 2 {
    		// Developer images are specific to major.minor ios version.
    		// Cut off the patch version.
    		iosVer = strings.Join(verSplit[:2], ".")
    	}
    	sdkBase := "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport"
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 23.4K bytes
    - Viewed (0)
Back to top