_id
stringlengths
2
7
text
stringlengths
6
2.61k
title
stringclasses
1 value
c180100
// setHeapPtr records that the memory at heap address a contains a pointer.
c180101
// findHeapInfo finds the heapInfo structure for a. // Returns nil if a is not a heap address.
c180102
// Same as findHeapInfo, but allocates the heapInfo if it // hasn't been allocated yet.
c180103
// Generate the name the runtime uses for a dwarf type. The DWARF generator // and the runtime use slightly different names for the same underlying type.
c180104
// readRuntimeConstants populates the p.rtConstants map.
c180105
// add records that PCs in the range [min,max) map to function f.
c180106
// sort must be called after all the adds, but before any find.
c180107
// Finds a Func for the given address. Sort must have been called already.
c180108
// read parses a pctab from the core file at address data.
c180109
// readVarint reads a varint from the core file. // val is the value, n is the number of bytes consumed.
c180110
// useLine is like cobra.Command.UseLine but tweaked to use commandPath.
c180111
// commandPath is like cobra.Command.CommandPath but tweaked to // use c.Use instead of c.Name for the root command so it works // with viewcore's unusual command structure.
c180112
// readCore reads corefile and returns core and gocore process states.
c180113
// typeName returns a string representing the type of this object.
c180114
// fieldName returns the name of the field at offset off in x.
c180115
// typeFieldName returns the name of the field at offset off in t.
c180116
// FindFunc returns the function which contains the code at address pc, if any.
c180117
// Core takes a loaded core file and extracts Go information from it.
c180118
// Address returns the address that a region of pointer type points to.
c180119
// Int returns the int value stored in r.
c180120
// Uintptr returns the uintptr value stored in r.
c180121
// Cast the region to the given type.
c180122
// Deref loads from a pointer. r must contain a pointer.
c180123
// Uint64 returns the uint64 value stored in r. // r must have type uint64.
c180124
// Uint32 returns the uint32 value stored in r. // r must have type uint32.
c180125
// Int32 returns the int32 value stored in r. // r must have type int32.
c180126
// Uint16 returns the uint16 value stored in r. // r must have type uint16.
c180127
// Uint8 returns the uint8 value stored in r. // r must have type uint8.
c180128
// String returns the value of the string stored in r.
c180129
// SlicePtr returns the pointer inside a slice. r must contain a slice.
c180130
// SliceLen returns the length of a slice. r must contain a slice.
c180131
// Field returns the part of r which contains the field f. // r must contain a struct, and f must be one of its fields.
c180132
// ReadUint8 returns a uint8 read from address a of the inferior.
c180133
// ReadUint16 returns a uint16 read from address a of the inferior.
c180134
// ReadUint32 returns a uint32 read from address a of the inferior.
c180135
// ReadUint64 returns a uint64 read from address a of the inferior.
c180136
// ReadInt8 returns an int8 read from address a of the inferior.
c180137
// ReadInt16 returns an int16 read from address a of the inferior.
c180138
// ReadInt32 returns an int32 read from address a of the inferior.
c180139
// ReadInt64 returns an int64 read from address a of the inferior.
c180140
// ReadUintptr returns a uint of pointer size read from address a of the inferior.
c180141
// ReadPtr returns a pointer loaded from address a of the inferior.
c180142
// ReadCString reads a null-terminated string starting at address a.
c180143
// Source returns the backing file and offset for the mapping, or "", 0 if none.
c180144
// findMapping is simple enough that it inlines.
c180145
// Max returns the larger of a and b.
c180146
// Min returns the smaller of a and b.
c180147
// Align rounds a up to a multiple of x. // x must be a power of 2.
c180148
// initialize implements step 1 of LT.
c180149
// calculate runs the main part of LT.
c180150
// eval is EVAL from the papers.
c180151
// compress is COMPRESS from the papers.
c180152
// link is LINK from the papers.
c180153
// reverse computes and stores reverse edges for each vertex.
c180154
// calcSize calculates the total retained size for each vertex.
c180155
// Returns the name of the field at offset off in x.
c180156
// Readable reports whether the address a is readable.
c180157
// ReadableN reports whether the n bytes starting at address a are readable.
c180158
// splitMappingsAt ensures that a is not in the middle of any mapping. // Splits mappings as necessary.
c180159
// DynamicType returns the concrete type stored in the interface type t at address a. // If the interface is nil, returns nil.
c180160
// lower your expectations
c180161
// Resolve resolves the URL host to its IP address.
c180162
// Equal reports whether tokens a, and b, are equal. // Two tokens are equal if both their types and values are equal. A nil token can // never be equal to another token.
c180163
// newDefaultClassifier creates a new classifier for ASCII characters.
c180164
// Next returns the next word, or an error. If there are no more words, // the error will be io.EOF.
c180165
// NewTokenizer creates a new tokenizer from an input stream.
c180166
// Split partitions a string into a slice of strings.
c180167
// Between extracts a string between left and right strings.
c180168
// BetweenF is the filter form for Between.
c180169
// Camelize return new string which removes any underscores or dashes and convert a string into camel casing.
c180170
// Capitalize uppercases the first char of s and lowercases the rest.
c180171
// CharAt returns a string from the character at the specified position.
c180172
// CharAtF is the filter form of CharAt.
c180173
// ChompLeft removes prefix at the start of a string.
c180174
// ChompLeftF is the filter form of ChompLeft.
c180175
// ChompRight removes suffix from end of s.
c180176
// ChompRightF is the filter form of ChompRight.
c180177
// ClassifyF is the filter form of Classify.
c180178
// Clean compresses all adjacent whitespace to a single space and trims s.
c180179
// Dasherize converts a camel cased string into a string delimited by dashes.
c180180
// EscapeHTML is alias for html.EscapeString.
c180181
// DecodeHTMLEntities decodes HTML entities into their proper string representation. // DecodeHTMLEntities is an alias for html.UnescapeString
c180182
// EnsurePrefixF is the filter form of EnsurePrefix.
c180183
// EnsureSuffixF is the filter form of EnsureSuffix.
c180184
// Humanize transforms s into a human friendly form.
c180185
// Iif is short for immediate if. If condition is true return truthy else falsey.
c180186
// IndexOf finds the index of needle in s starting from start.
c180187
// IsLower returns true if s comprised of all lower case characters.
c180188
// IsUpper returns true if s contains all upper case chracters.
c180189
// Left returns the left substring of length n.
c180190
// LeftF is the filter form of Left.
c180191
// Letters returns an array of runes as strings so it can be indexed into.
c180192
// Lines convert windows newlines to unix newlines then convert to an Array of lines.
c180193
// Map maps an array's iitem through an iterator.
c180194
// Match returns true if patterns matches the string
c180195
// Project is local project.
c180196
// Pad pads string s on both sides with c until it has length of n.
c180197
// PadF is the filter form of Pad.
c180198
// PadLeft pads s on left side with c until it has length of n.
c180199
// PadLeftF is the filter form of PadLeft.