MCPcopy Create free account

hub / github.com/digitalocean/go-smbios / functions

Functions45 in github.com/digitalocean/go-smbios

↓ 7 callersMethodClose
()
smbios/decoder.go:231
↓ 6 callersMethodDecode
Decode decodes Structures from the Decoder's stream until an End-of-table structure is found.
smbios/decoder.go:74
↓ 5 callersMethodTable
Table returns the memory address and maximum size of the SMBIOS table.
smbios/entrypoint.go:42
↓ 5 callersMethodVersion
Version returns the system's SMBIOS version.
smbios/entrypoint.go:45
↓ 3 callersFunctionmakeMemory
(before, in, after []byte)
smbios/stream_memory_test.go:166
↓ 3 callersFunctionnativeEndian
nativeEndian returns the native byte order of this system.
smbios/stream_windows.go:51
↓ 2 callersFunctionNewDecoder
NewDecoder creates a Decoder which decodes Structures from the input stream.
smbios/decoder.go:65
↓ 2 callersFunctionParseEntryPoint
ParseEntryPoint parses an EntryPoint from the input stream.
smbios/entrypoint.go:49
↓ 2 callersFunctionchecksum
checksum computes the checksum of b using the starting value of start, and skipping the checksum byte which occurs at index chkIndex. checksum assume
smbios/entrypoint.go:230
↓ 2 callersFunctiondevMemStream
devMemStream reads the SMBIOS entry point and structure stream from the UNIX-like system /dev/mem device. This is UNIX-like system specific, but sinc
smbios/stream_memory.go:117
↓ 2 callersFunctionmakeRawSMBIOSData
makeRawSMBIOSData creates a buffer with a valid RawSMBIOSData struct with the given version and stream information.
smbios/stream_windows_test.go:26
↓ 2 callersFunctionmemoryStream
memoryStream reads the SMBIOS entry point and structure stream from an io.ReadSeeker (usually system memory). memoryStream is an entry point for test
smbios/stream_memory.go:40
↓ 2 callersFunctionwindowsStream
windowsStream parses the data returned from GetSystemFirmwareTable('RSMB',...) and returns a stream and entrypoint that can be used to decode the syst
smbios/stream_windows.go:84
↓ 1 callersFunctionfindEntryPoint
findEntryPoint attempts to locate the entry point structure in the io.ReadSeeker using the start and end bound as hints for its location.
smbios/stream_memory.go:76
↓ 1 callersFunctionfuzzDecoder
(data []byte)
smbios/fuzz.go:27
↓ 1 callersFunctionmarshal64
(ep *EntryPoint64Bit)
smbios/stream_memory_test.go:186
↓ 1 callersFunctionmustMarshalEntryPoint
(ep EntryPoint)
smbios/stream_memory_test.go:176
↓ 1 callersMethodnext
next decodes the next Structure from the stream.
smbios/decoder.go:94
↓ 1 callersFunctionparse32
parse32 parses an EntryPoint32Bit from b.
smbios/entrypoint.go:102
↓ 1 callersFunctionparse64
parse64 parses an EntryPoint64Bit from b.
smbios/entrypoint.go:191
↓ 1 callersMethodparseFormatted
parseFormatted parses a Structure's formatted data from the stream.
smbios/decoder.go:134
↓ 1 callersMethodparseHeader
parseHeader parses a Structure's Header from the stream.
smbios/decoder.go:121
↓ 1 callersMethodparseString
parseString parses a single string from the stream, and returns if any more strings are present.
smbios/decoder.go:191
↓ 1 callersMethodparseStrings
parseStrings parses a Structure's strings from the stream, if they are present.
smbios/decoder.go:157
↓ 1 callersFunctionstream
stream opens the SMBIOS entry point and an SMBIOS structure stream.
smbios/stream_unix.go:27
↓ 1 callersFunctionsysfsStream
sysfsStream reads the SMBIOS entry point and structure stream from two files; usually the modern sysfs locations.
smbios/stream_linux.go:47
FunctionFuzz
(data []byte)
smbios/fuzz.go:23
MethodRead
(b []byte)
smbios/decoder.go:230
FunctionStream
Stream locates and opens a stream of SMBIOS data and the SMBIOS entry point from an operating system-specific location. The stream must be closed aft
smbios/decoder.go:49
MethodTable
Table implements EntryPoint.
smbios/entrypoint.go:92
MethodTable
Table implements EntryPoint.
smbios/entrypoint.go:172
MethodTable
Table implements EntryPoint. The returned address will always be 0, as it is not returned by GetSystemFirmwareTable.
smbios/entrypoint.go:260
FunctionTestDecoder
(t *testing.T)
smbios/decoder_test.go:25
FunctionTestParseEntryPoint
(t *testing.T)
smbios/entrypoint_test.go:25
FunctionTestStreamIntegration
(t *testing.T)
smbios/stream_integration_test.go:25
FunctionTest_memoryStream
(t *testing.T)
smbios/stream_memory_test.go:27
FunctionTest_windowsStream
(t *testing.T)
smbios/stream_windows_test.go:37
MethodVersion
Version implements EntryPoint.
smbios/entrypoint.go:97
MethodVersion
Version implements EntryPoint.
smbios/entrypoint.go:177
MethodVersion
Version implements EntryPoint.
smbios/entrypoint.go:265
Functionmain
()
cmd/lssmbios/main.go:25
Functionmain
()
cmd/lsdimms/main.go:26
Functionstream
stream opens the SMBIOS entry point and an SMBIOS structure stream.
smbios/stream_linux.go:31
Functionstream
stream is not implemented for unsupported platforms.
smbios/stream_others.go:26
Functionstream
()
smbios/stream_windows.go:109