search for: t_offset

Displaying 2 results from an estimated 2 matches for "t_offset".

Did you mean: v_offset
2014 Aug 30
3
[PATCH envytools] nvbios: Fix reading of ram_restrict_group_count.
...4 --- a/nvbios/mem.c +++ b/nvbios/mem.c @@ -232,11 +232,11 @@ envy_bios_parse_bit_M (struct envy_bios *bios, struct envy_bios_bit_entry *bit) if (bit->version == 1) { if (bit->t_len >= 5) { - bios_u8(bios, bit->offset+2, &ram_restrict_group_count); + bios_u8(bios, bit->t_offset+2, &ram_restrict_group_count); } } else if (bit->version == 2) { if (bit->t_len >= 3) { - bios_u8(bios, bit->offset, &ram_restrict_group_count); + bios_u8(bios, bit->t_offset, &ram_restrict_group_count); } } -- 1.9.1
2000 Apr 01
1
Bug ? mine or ? in R core
...*/ NCOLS, channel=INTEGER(sock)[0], /* not used here */ debug=INTEGER(dbg)[0], transposing=(int)LOGICAL(tx)[0]; /*true if transposing, not used here*/ long maximum=(long)REAL(max)[0]; long j=1,k=1, /* row counters*/ buffsize=(long)REAL(bs)[0], /* prealloc if row count NA*/ length,offset,t_offset; /* counts into output buf*/ NCOLS=1; PROTECT(ans=NEW_LIST(2)); /*create answer [0] = data, [1]=stat */ PROTECT(stat=NEW_INTEGER(1)); /* numeric status vector */ PROTECT(data=NEW_CHARACTER(buffsize)); while(1){ for (i=1; i<= NCOLS; i++){ offset=((i-1)*maximum)+(j-1); } DBG(2,"wr...