Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 35 for xoffset (0.25 sec)

  1. src/cmd/compile/internal/ssa/debug.go

    		}
    	}
    	return changed
    }
    
    // varOffset returns the offset of slot within the user variable it was
    // decomposed from. This has nothing to do with its stack offset.
    func varOffset(slot LocalSlot) int64 {
    	offset := slot.Off
    	s := &slot
    	for ; s.SplitOf != nil; s = s.SplitOf {
    		offset += s.SplitOffset
    	}
    	return offset
    }
    
    type partsByVarOffset struct {
    	slotIDs []SlotID
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewrite.go

    	}
    
    	return false
    }
    
    // overlap reports whether the ranges given by the given offset and
    // size pairs overlap.
    func overlap(offset1, size1, offset2, size2 int64) bool {
    	if offset1 >= offset2 && offset2+size2 > offset1 {
    		return true
    	}
    	if offset2 >= offset1 && offset1+size1 > offset2 {
    		return true
    	}
    	return false
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/defaultpreemption/default_preemption_test.go

    					// because we're okay with being a little over (in production, if a
    					// non-PDB violating candidate isn't found close to the offset, the
    					// number of additional candidates returned will be at most
    					// approximately equal to the parallelism in dryRunPreemption).
    					// cycle=0 => offset=4 => node5 (yes, pdb), node1 (yes, pdb), node2 (no, pdb), node3 (yes)
    					candidate{
    						name: "node1",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  4. cmd/xl-storage.go

    	if !st.Mode().IsRegular() {
    		file.Close()
    		return nil, errIsNotRegular
    	}
    
    	if st.Size() < offset+length {
    		// Expected size cannot be satisfied for
    		// requested offset and length
    		file.Close()
    		return nil, errFileCorrupt
    	}
    
    	if offset > 0 {
    		if _, err = file.Seek(offset, io.SeekStart); err != nil {
    			file.Close()
    			return nil, err
    		}
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (2)
  5. src/runtime/mprof.go

    	if readgstatus(gp1) == _Grunning {
    		print("doRecordGoroutineProfile gp1=", gp1.goid, "\n")
    		throw("cannot read stack of running goroutine")
    	}
    
    	offset := int(goroutineProfile.offset.Add(1)) - 1
    
    	if offset >= len(goroutineProfile.records) {
    		// Should be impossible, but better to return a truncated profile than
    		// to crash the entire process at this point. Instead, deal with it in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

            if (IsValidBufferOffset(buffers[const_tensor.buffer]->offset)) {
              const uint8_t* file_begin_ptr =
                  reinterpret_cast<const uint8_t*>(model_ptr->allocation()->base());
              buffer = std::vector<uint8_t>(
                  file_begin_ptr + buffers[const_tensor.buffer]->offset,
                  file_begin_ptr + buffers[const_tensor.buffer]->offset +
                      buffers[const_tensor.buffer]->size);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/lib.go

    	// relocation applies, and "off" is the contents of the
    	// to-be-relocated data item (from sym.P). Return is an updated
    	// offset value.
    	Archrelocvariant func(target *Target, ldr *loader.Loader, rel loader.Reloc,
    		rv sym.RelocVariant, sym loader.Sym, offset int64, data []byte) (relocatedOffset int64)
    
    	// Generate a trampoline for a call from s to rs if necessary. ri is
    	// index of the relocation.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  8. src/os/os_test.go

    	}
    	if string(b) != "world" {
    		t.Fatalf("ReadAt 7: have %q want %q", string(b), "world")
    	}
    }
    
    // Verify that ReadAt doesn't affect seek offset.
    // In the Plan 9 kernel, there used to be a bug in the implementation of
    // the pread syscall, where the channel offset was erroneously updated after
    // calling pread on a file.
    func TestReadAtOffset(t *testing.T) {
    	t.Parallel()
    
    	f := newFile("TestReadAtOffset", t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  9. src/cmd/link/internal/loader/loader.go

    	if es == 0 {
    		delete(l.localElfSym, i)
    	} else {
    		l.localElfSym[i] = es
    	}
    }
    
    // SymPlt returns the PLT offset of symbol s.
    func (l *Loader) SymPlt(s Sym) int32 {
    	if v, ok := l.plt[s]; ok {
    		return v
    	}
    	return -1
    }
    
    // SetPlt sets the PLT offset of symbol i.
    func (l *Loader) SetPlt(i Sym, v int32) {
    	if i >= Sym(len(l.objSyms)) || i == 0 {
    		panic("bad symbol for SetPlt")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
  10. src/runtime/mbitmap.go

    	maxIterBytes := span.elemsize
    	if header == nil {
    		maxIterBytes = dataSize
    	}
    	bad := false
    	for i := uintptr(0); i < maxIterBytes; i += goarch.PtrSize {
    		// Compute the pointer bit we want at offset i.
    		want := false
    		if i < span.elemsize {
    			off := i % typ.Size_
    			if off < typ.PtrBytes {
    				j := off / goarch.PtrSize
    				want = *addb(typ.GCData, j/8)>>(j%8)&1 != 0
    			}
    		}
    		if want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
Back to top