Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 1,786 for Off (0.04 sec)

  1. src/internal/xcoff/ar.go

    		return nil, err
    	}
    	if err := binary.Read(sr, binary.BigEndian, &fhdr); err != nil {
    		return nil, err
    	}
    
    	off, err := parseDecimalBytes(fhdr.Flfstmoff[:])
    	if err != nil {
    		return nil, fmt.Errorf("error parsing offset of first member in archive header(%q); %v", fhdr, err)
    	}
    
    	if off == 0 {
    		// Occurs if the archive is empty.
    		return arch, nil
    	}
    
    	lastoff, err := parseDecimalBytes(fhdr.Fllstmoff[:])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:32:51 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Utf8.java

       *
       * @param bytes the input buffer
       * @param off the offset in the buffer of the first byte to read
       * @param len the number of bytes to read from the buffer
       */
      public static boolean isWellFormed(byte[] bytes, int off, int len) {
        int end = off + len;
        checkPositionIndexes(off, end, bytes.length);
        // Look for the first non-ASCII character.
        for (int i = off; i < end; i++) {
          if (bytes[i] < 0) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 10 14:11:51 UTC 2023
    - 7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Utf8.java

       *
       * @param bytes the input buffer
       * @param off the offset in the buffer of the first byte to read
       * @param len the number of bytes to read from the buffer
       */
      public static boolean isWellFormed(byte[] bytes, int off, int len) {
        int end = off + len;
        checkPositionIndexes(off, end, bytes.length);
        // Look for the first non-ASCII character.
        for (int i = off; i < end; i++) {
          if (bytes[i] < 0) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 10 14:11:51 UTC 2023
    - 7K bytes
    - Viewed (0)
  4. src/cmd/link/internal/arm64/asm.go

    // relocation targeting s+off. The label symbols is used on Darwin/Windows
    // when external linking, so that the addend fits in a Mach-O/PE relocation.
    func offsetLabelName(ldr *loader.Loader, s loader.Sym, off int64) string {
    	if off>>20<<20 == off {
    		return fmt.Sprintf("%s+%dMB", ldr.SymExtname(s), off>>20)
    	}
    	return fmt.Sprintf("%s+%d", ldr.SymExtname(s), off)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 20:09:45 UTC 2024
    - 47K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/LineBuffer.java

       *
       * @param cbuf the character buffer to process
       * @param off the offset into the buffer
       * @param len the number of characters to process
       * @throws IOException if an I/O error occurs
       * @see #finish
       */
      protected void add(char[] cbuf, int off, int len) throws IOException {
        int pos = off;
        if (sawReturn && len > 0) {
          // Last call to add ended with a CR; we can handle the line now.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/LineBuffer.java

       *
       * @param cbuf the character buffer to process
       * @param off the offset into the buffer
       * @param len the number of characters to process
       * @throws IOException if an I/O error occurs
       * @see #finish
       */
      protected void add(char[] cbuf, int off, int len) throws IOException {
        int pos = off;
        if (sawReturn && len > 0) {
          // Last call to add ended with a CR; we can handle the line now.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/op.go

    }
    
    func (x ValAndOff) canAdd32(off int32) bool {
    	newoff := x.Off64() + int64(off)
    	return newoff == int64(int32(newoff))
    }
    func (x ValAndOff) canAdd64(off int64) bool {
    	newoff := x.Off64() + off
    	return newoff == int64(int32(newoff))
    }
    
    func (x ValAndOff) addOffset32(off int32) ValAndOff {
    	if !x.canAdd32(off) {
    		panic("invalid ValAndOff.addOffset32")
    	}
    	return makeValAndOff(x.Val(), x.Off()+off)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 15:29:10 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  8. src/cmd/go/internal/test/testflag.go

    func (f *vetFlag) String() string {
    	switch {
    	case !f.off && !f.explicit && len(f.flags) == 0:
    		return "all"
    	case f.off:
    		return "off"
    	}
    
    	var buf strings.Builder
    	for i, f := range f.flags {
    		if i > 0 {
    			buf.WriteByte(',')
    		}
    		buf.WriteString(f)
    	}
    	return buf.String()
    }
    
    func (f *vetFlag) Set(value string) error {
    	switch {
    	case value == "":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 19:25:24 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/elf.go

    func elfshname(name string) *ElfShdr {
    	for i := 0; i < nelfstr; i++ {
    		if name != elfstr[i].s {
    			continue
    		}
    		off := elfstr[i].off
    		for i = 0; i < int(ehdr.Shnum); i++ {
    			sh := shdr[i]
    			if sh.Name == uint32(off) {
    				return sh
    			}
    		}
    		return newElfShdr(int64(off))
    	}
    	Exitf("cannot find elf name %s", name)
    	return nil
    }
    
    // Create an ElfShdr for the section with name.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/AbstractHasher.java

        return putBytes(bytes, 0, bytes.length);
      }
    
      @Override
      @CanIgnoreReturnValue
      public Hasher putBytes(byte[] bytes, int off, int len) {
        Preconditions.checkPositionIndexes(off, off + len, bytes.length);
        for (int i = 0; i < len; i++) {
          putByte(bytes[off + i]);
        }
        return this;
      }
    
      @Override
      @CanIgnoreReturnValue
      public Hasher putBytes(ByteBuffer b) {
        if (b.hasArray()) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.5K bytes
    - Viewed (0)
Back to top