Questions tagged [offset]

The relational position of an entity, when compared to another entity with fixed position. Typically used, for example, to define location within a file or byte buffer from which information should be read.

3019 questions
0
votes
0 answers

Need help walking data structures (_KPCR, _KPRCB, _KTHREAD, etc) based on PsGetCurrentProcess disassembled code

I've been studying the three-line assembly code taken from Windbg on a Windows 8.1 (64 bit) computer. I've been told that the below assembly code returns a pointer to a EPROCESS object. I however understand the very first line which walks the _KPCR…
JkT
  • 103
  • 7
0
votes
2 answers

Using .Offset with a fixed range

The script below works without .Offset(1, -4).Resize(.Rows.Count - 1, 1).Value = "TEST" The script takes a list of iPads and Tablets on a spreadsheet and finds the ones that don't have SIM cards. With the intended results, I need to offset back 2-3…
TomTK
  • 41
  • 4
0
votes
1 answer

Trying to access array offset on value of type null in line 165

Actually, I searched over here to get the answer but I couldn't find it. This is happening when I switch to php 7.4. if ($signature != '') { if ( !$board_config['allow_html'] || !$userinfo['user_allowhtml']) { …
0
votes
1 answer

Kafka group id offset wasn't maintain after rebalancing

My application has a kafka topic with a single partition (kafka 2.4.0). There is a single group id with multiple subscribers (multiple AWS EC2 instances) that read from it. There was a recent effort that imported about three million records into our…
0
votes
1 answer

Composable is not dragging after deletion of item lazyColumn

Having A Lazy column on which item can be deleted by dragging the item from end to start. It is dragging when item is not deleted but the item that takes the place of deleted stop dragging. @Composable fun DraggableCardComplex( isRevealed: Boolean =…
Taha alam
  • 372
  • 3
  • 11
0
votes
0 answers

Get Offset of clicked item in a LazyColumn in Jetpack Compose

I'm making an app in which you have a LazyColumn, and I want to add a "Context Menu" to the items after long pressing If I don't have a LazyColumn and I use the following code:…
MKiperszmid
  • 98
  • 1
  • 9
0
votes
0 answers

R MFP (Multivariable Fractional Polynomials) function with Poisson offset function

I want to use R mfp function for Poisson model with offset function. However, when I compared the result with the glm function. It seems the offset function didn't work in the mfp function. For example, I tried both glm and mfp without using offset…
0
votes
0 answers

SwiftUI - Fit X Circles of varying size (Packed Bubble Chart)

For each date category, there may be one or more categories, and for each category, there may be one or more financial transactions. These categories are represented in a circle form, similar to a bubble chart. However, I am experiencing issues with…
0
votes
1 answer

Is there a way to auto update offset in a query when tijdtot is negative

i have a question. I have a query that calculates how many days it is until the next grand_prix event in the list. I then work with offset and I actually want to automatically go to the next positive number if the event becomes 0 days or a…
0
votes
2 answers

Offsetting to next non blank cell

I'm building a template that gets all needed input from an excel file that is selected by the user. These excel files that the user selects generally have the same layout, however the data cannot be found on the exact same spot and each file…
0
votes
0 answers

What group of functions are used to calculate the average of a dynamic range for a pivot table?

I am trying to find a group of functions that allows me to calculate the avarge of a dynamic range for a pivot table. I know I have to use Offset & Counta however even when I change the data it only picks up the amount that I initially inputed. For…
0
votes
0 answers

iOS/SwiftUI: rotating device stops "offset" animation

Here is the minimal example: struct ContentView: View { @State var offset: CGFloat = 0 @State var opacity: Double = 1 var body: some View { Text("Hello, world!") .opacity(opacity) .offset(y: offset) …
MigMit
  • 1,698
  • 12
  • 14
0
votes
0 answers

Wordpress post offset is affecting admin area

I'm trying to get a post offset to work on category and tag archives with a couple of category exclusions. I have 3 functions. The first creats a custom loop which is inserted via shortcode and contains 3 posts, and the other two functions offset…
shelleyn
  • 3
  • 2
0
votes
1 answer

htpdate does not update time

I have two machines, a Rpi4 and Ubuntu PC. The two machines are offgrid and connected to their network. The idea is to sync the RPi4 time with the Ubuntu machine. The NTP aproach failed because port and firewall issues. So I used htpdate instead.…
parovelb
  • 353
  • 4
  • 19
0
votes
1 answer

Transforming the offsetof macro into a function: is it possible?

On a project I need to get the offset of particular structure members. However I can't use any macros. So I tried to take the logic behind this #define OFFSETOF(struct_name, fld_name) \ (unsigned int)&(((struct_name *)0)->fld_name) And to…
1 2 3
99
100