Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,109 for offset2 (0.12 sec)

  1. tensorflow/compiler/mlir/lite/utils/utils.h

          offsets.push_back(end_values[i] - begin_values[i]);
        }
      }
    
      return mlir::DenseElementsAttr::get(
          RankedTensorType::get({static_cast<int>(offsets.size())},
                                mlir::IntegerType::get(begin.getContext(), 32)),
          llvm::ArrayRef(offsets));
    }
    
    // Check if the offset between two dense attribute values is non-negative.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/hlo_matchers.cc

          assert(index[i] < shape[i]);
          assert(index[i] >= 0);
        }
    #endif  // NDEBUG
        int64_t offset = 0;
        int64_t stride = 1;
        for (int64_t dim = shape.size() - 1; dim >= 0; --dim) {
          offset += index[dim] * stride;
          stride *= shape[dim];
        }
        return offset;
      }
    
      int64_t offset_;
      int64_t stride_;
      int64_t size_;
    };
    
    template <typename T>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  3. src/debug/dwarf/entry.go

    			} else if vers == 2 {
    				val = Offset(b.addr())
    			} else {
    				is64, known := b.format.dwarf64()
    				if !known {
    					b.error("unknown size for DW_FORM_ref_addr")
    				} else if is64 {
    					val = Offset(b.uint64())
    				} else {
    					val = Offset(b.uint32())
    				}
    			}
    		case formRef1:
    			val = Offset(b.uint8()) + ubase
    		case formRef2:
    			val = Offset(b.uint16()) + ubase
    		case formRef4:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 30.7K bytes
    - Viewed (0)
  4. src/cmd/link/internal/mips64/asm.go

    	case objabi.R_ADDRMIPSTLS:
    		// thread pointer is at 0x7000 offset from the start of TLS data area
    		t := ldr.SymValue(rs) + r.Add() - 0x7000
    		if target.IsOpenbsd() {
    			// OpenBSD mips64 does not currently offset TLS by 0x7000,
    			// as such we need to add this back to get the correct offset.
    			t += 0x7000
    		}
    		if t < -32768 || t >= 32678 {
    			ldr.Errorf(s, "TLS offset out of range %d", t)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 11K bytes
    - Viewed (0)
  5. cmd/httprange.go

    // Case 2: bytes=1-10 (absolute start and end offsets) -> RangeSpec{false, 1, 10}
    // Case 3: bytes=10- (absolute start offset with end offset unspecified) -> RangeSpec{false, 10, -1}
    // Case 4: bytes=-30 (suffix length specification) -> RangeSpec{true, -30, -1}
    type HTTPRangeSpec struct {
    	// Does the range spec refer to a suffix of the object?
    	IsSuffixLength bool
    
    	// Start and end offset specified in range spec
    	Start, End int64
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 09 08:44:07 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/internal/elfexec/elfexec.go

    	case elf.ET_REL:
    		if offset != 0 {
    			return 0, fmt.Errorf("don't know how to handle mapping.Offset")
    		}
    		return start, nil
    	case elf.ET_DYN:
    		// The process mapping information, start = start of virtual address range,
    		// and offset = offset in the executable file of the start address, tells us
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  7. doc/asm.html

    Adding an offset to the name refers to that offset from the symbol's address, so
    <code>foo+4(SB)</code> is four bytes past the start of <code>foo</code>.
    </p>
    
    <p>
    The <code>FP</code> pseudo-register is a virtual frame pointer
    used to refer to function arguments.
    The compilers maintain a virtual frame pointer and refer to the arguments on the stack as offsets from that pseudo-register.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 19:15:27 UTC 2023
    - 36.3K bytes
    - Viewed (1)
  8. src/cmd/compile/internal/ppc64/ssa.go

    		// offsets that are a multiple of 4. If the offset is not a multiple of 4,
    		// then the address of the symbol to be loaded is computed (base + offset)
    		// and used as the new base register and the offset field in the instruction
    		// can be set to zero.
    
    		// This same problem can happen with gostrings since the final offset is not
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  9. src/internal/zstd/zstd.go

    	// The number of bytes read from r up to the start of the current
    	// block, for error reporting.
    	blockOffset int64
    
    	// Buffered decompressed data.
    	buffer []byte
    	// Current read offset in buffer.
    	off int
    
    	// The current repeated offsets.
    	repeatedOffset1 uint32
    	repeatedOffset2 uint32
    	repeatedOffset3 uint32
    
    	// The current Huffman tree used for compressing literals.
    	huffmanTable     []uint16
    	huffmanTableBits int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 04:10:45 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  10. src/reflect/asm_loong64.s

    // that are known to the runtime.
    //
    // The first local is a bool called retValid with a whole pointer-word reserved
    // for it on the stack. The purpose of this word is so that the runtime knows
    // whether the stack-allocated return space contains valid values for stack
    // scanning.
    //
    // The second local is an abi.RegArgs value whose offset is also known to the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top