Questions tagged [addressing]

153 questions
0
votes
1 answer

H3 geo addressing scheme based on aperture 7 hierarchy

using h3geo grid system, i was curious if it would be possible to create an addressing scheme based on the aperture 7 hierachy?. eg 121.0.1.2.3.4.5.6 etc. The first number is the base cell and the subsequent numbers are one of the seven hexagons in…
nphias
  • 591
  • 4
  • 7
0
votes
2 answers

Word Addressable Memory

For a 32 bit word addressable memory, the word has size of 4 bytes. If I try to store a data structure uses less than 4 byte memory, say 2 bytes. Is the remaining 2 bytes wasted? Should we consider the word size when we decide what data structure…
HKIT
  • 628
  • 1
  • 8
  • 19
0
votes
2 answers

Using char to access vector

I'm working my way through the leetcode problems in C++ for practice. I'm at problem number 3. I don't quite understand why you can access vector using char datatype. For example: vector chars(128); char c = 'a'; chars[c]++; The above code…
diggledoot
  • 691
  • 8
  • 22
0
votes
0 answers

J1939 - Yamaha Rudder Position ADDRESS

Using a PCAN VIEW, I determined the "rudder position" address (Yamaha Outboard), to be 166792448, and using CAN_Rx_MessageProc_ST_0 got the outboard position from bytes 4 and 5 of the 8 byte array: RUDDER_ANGLE_RAW :=…
LlewV
  • 1
0
votes
0 answers

Is it possible to address files stored in local phone storage (internal or external)?

I'm working on a mobile app that allows users to view media such as videos, pdfs, images, etc. The media takes a lot of space, up to 15GB. Storing the media locally within the app yields a parse error when a certain size is reached (about 4GB). I…
0
votes
2 answers

How to pass addresses to Vlookup based on cell values (Google Sheets)

This has me stumped, so I'm hoping somebody who knows the proper functions can help me out. I am trying to do a VLOOKUP, but I want to pass the Range in based on values in columns. The Range is on a different sheet than where the formula is, and I…
0
votes
1 answer

Incorrect count output / Having difficulty trying to create a HashTable/Set using open addressing

I'm trying to create a program that opens a .txt file containing a speech and assigns each word to a space in the array/set based on the hash value. Collisions are accounted for using open addressing method. The program should be able to perform the…
Fabian
  • 61
  • 5
0
votes
1 answer

Addressing pins of Register in microcontrollers

I'm working on Keil software and using LM3S316 microcontroller. Usually we address registers in microcontrollers in form of: #define GPIO_PORTC_DATA_R (*((volatile uint32_t *)0x400063FC)) My question is how can I access to single pin of…
Matrix
  • 107
  • 1
  • 2
  • 9
0
votes
1 answer

How can I traverse a Huffman Tree (via code) and print out the encodings for each letter?

I'd like to start with what I know about heaps and Huffman code. For this project, we use a minimum heap. The top part of the upside-down tree (or root) holds the minimum element. Whenever something is added to the array, everything gets moved, so…
Joat
  • 1
0
votes
0 answers

Assembly Label: how is the actual label value calculated?

Background: I'm learning operating system and reading some linux source code, and I got a bit confused because the code is directly operating on the segment registers and label offsets. So I got the following question: How is the actual label value…
Changda Li
  • 123
  • 1
  • 8
0
votes
1 answer

How to fix 'relation "us_lex" does not exist' using standardize_address?

I'm trying to parse a column of ~175,000 street names. Some of them are just one word (Jamaicaway), and some are multiple words (St. Edwards Pl). I want just the street body (Jamaicaway and St. Edwards, respectively). I found the…
Chris Stephens
  • 201
  • 2
  • 7
0
votes
1 answer

Weird problems with web site addressing

I have a number of web sites at the same address: 82.223.15.117. The list includes http://virtualtags.net correctly addressed and http://www.ipuja.net that instead leads to a weird authorization page in some dieres website, as you may check by…
Fabrizio Bartolomucci
  • 4,948
  • 8
  • 43
  • 75
0
votes
1 answer

How to address cell number separately with variable for combo box in VBA

How to address cell numbers separately? I tried with x integer, but it failed. Private Sub Combo_Selection() Select Case ComboBox1 Case 'condition any cell in column A of page1 Application.Worksheets("page2") = Activate …
0
votes
1 answer

Does 1-dimension variable with type struct become 2-dimension variable in C

I have a struct type and a variable with defined like this: typedef struct test { uint8_t a; uint8_t b; uint8_t c; } test_type; test_type x[2]; Does this make this…
An Le
  • 128
  • 1
  • 8
0
votes
0 answers

MODBUS protocol coils order

MODBUS is positioned as a universal data transferring protocol which works in almost every media. When working with industrial devices they are usually using several slots to maintain different types of I/O modules. I've read in modbus.org docs that…
Max Bender
  • 372
  • 4
  • 14