_id stringlengths 2 7 | title stringclasses 1
value | partition stringclasses 3
values | text stringlengths 6 2.61k | language stringclasses 1
value | meta_information dict |
|---|---|---|---|---|---|
c174000 | validation | //ExecutorName sets the ExecutorName | {
"resource": ""
} | ||
c174001 | validation | //Exe sets the Exe | {
"resource": ""
} | ||
c174002 | validation | //Args sets the Args | {
"resource": ""
} | ||
c174003 | validation | //Dir sets the Dir | {
"resource": ""
} | ||
c174004 | validation | //Env sets the Env | {
"resource": ""
} | ||
c174005 | validation | //Writers sets the Writers | {
"resource": ""
} | ||
c174006 | validation | //StdoutWriter sets the StdoutWriter | {
"resource": ""
} | ||
c174007 | validation | //StdoutPrefix sets the StdoutPrefix | {
"resource": ""
} | ||
c174008 | validation | //StderrWriter sets the StderrWriter | {
"resource": ""
} | ||
c174009 | validation | //StderrPrefix sets the StderrPrefix | {
"resource": ""
} | ||
c174010 | validation | //Build will validate the set properties and return a ExecStreamer | {
"resource": ""
} | ||
c174011 | validation | // MakeWidget creates a generic Widget structure. | {
"resource": ""
} | ||
c174012 | validation | // SetText sets the label caption. This will not be displayed immediately.
// SetText shall be called from queue context. | {
"resource": ""
} | ||
c174013 | validation | // AddLabel is a convenience function to add a new label to a window. It wraps
// the AddWidget call. AddLabel must be called from queue. | {
"resource": ""
} | ||
c174014 | validation | // printf prints into the backend buffer.
// This will not show immediately.
// printf shall be called from queue context. | {
"resource": ""
} | ||
c174015 | validation | // setCell sets the content of the window cell at the x and y coordinate.
// setCell shall be called from queue context. | {
"resource": ""
} | ||
c174016 | validation | // resize sets new x and y maxima.
// resize shall be called from queue context. | {
"resource": ""
} | ||
c174017 | validation | // render calls the user provided Render and than renders the widgets in the
// window. | {
"resource": ""
} | ||
c174018 | validation | // focusWidget focuses on the current widget. If focus is -1 it'll focus on
// the first available widget.
// focusWidget shall be called from queue context. | {
"resource": ""
} | ||
c174019 | validation | // focusPrevious focuses on the previous available widget.
// focusPrevious shall be called from queue context. | {
"resource": ""
} | ||
c174020 | validation | // keyHandler routes event to proper widget. This is called from queue context
// so be careful to not use blocking calls. | {
"resource": ""
} | ||
c174021 | validation | // Color creates an ANSI compatible escape sequence that encodes colors and
// attributes. | {
"resource": ""
} | ||
c174022 | validation | // EscapedLen returns total length of all escape sequences in a given string. | {
"resource": ""
} | ||
c174023 | validation | // Unescape returns the unescaped string. | {
"resource": ""
} | ||
c174024 | validation | // init sets up all global variables and prepares ttk for use. | {
"resource": ""
} | ||
c174025 | validation | // initKeyHandler starts the internal key handler.
// Must be called with mutex held and as a go routine. | {
"resource": ""
} | ||
c174026 | validation | // Init switches the terminal to raw mode and commences managed window mode.
// This function shall be called prior to any ttk calls. | {
"resource": ""
} | ||
c174027 | validation | // Deinit switches the terminal back to cooked mode and it terminates managed
// window mode. Init must be called again if a switch is required again.
// Deinit shall be called on application exit; failing to do so may leave the
// terminal corrupted. If that does happen typing "reset" on the shell usually
// fixes t... | {
"resource": ""
} | ||
c174028 | validation | // NewWindow creates a new window type. | {
"resource": ""
} | ||
c174029 | validation | // flush copies focused window backing store onto the physical screen.
// flush shall be called from queue context. | {
"resource": ""
} | ||
c174030 | validation | // focus on provided window. This will implicitly focus on a window widget
// that can have focus. Render and flush it onto the terminal.
// focus shall be called from queue context. | {
"resource": ""
} | ||
c174031 | validation | // resizeAndRender resizes a window and renders it. | {
"resource": ""
} | ||
c174032 | validation | // Panic application but deinit first so that the terminal will not be corrupt. | {
"resource": ""
} | ||
c174033 | validation | // Exit application but deinit first so that the terminal will not be corrupt. | {
"resource": ""
} | ||
c174034 | validation | // AddList is a convenience function to add a new list to a window. It wraps
// the AddWidget call. AddList must be called from queue. | {
"resource": ""
} | ||
c174035 | validation | // Append adds a line of text to the list. Append must be called from queue. | {
"resource": ""
} | ||
c174036 | validation | // Focus implements the interface. This is called from queue context
// so be careful to not use blocking calls. | {
"resource": ""
} | ||
c174037 | validation | // SetText sets the edit text. if end is set to true the cursor and text will
// be set to the end of the string. This will not be displayed immediately.
// SetText shall be called from queue context. | {
"resource": ""
} | ||
c174038 | validation | // AddEdit is a convenience function to add a new edit to a window. Capacity
// and width determine the maxima of the returned value. It wraps the
// AddWidget call. AddEdit must be called from queue. | {
"resource": ""
} | ||
c174039 | validation | // Used for user & password based authentication | {
"resource": ""
} | ||
c174040 | validation | // Start starts the session.
// At that point the authentication will be done. | {
"resource": ""
} | ||
c174041 | validation | // FetchEntity fetchs the given Identifiable from the server. | {
"resource": ""
} | ||
c174042 | validation | // SaveEntity saves the given Identifiable into the server. | {
"resource": ""
} | ||
c174043 | validation | // DeleteEntity deletes the given Identifiable from the server. | {
"resource": ""
} | ||
c174044 | validation | // FetchChildren fetches the children with of given parent identified by the given Identity. | {
"resource": ""
} | ||
c174045 | validation | // CreateChild creates a new child Identifiable under the given parent Identifiable in the server. | {
"resource": ""
} | ||
c174046 | validation | // AssignChildren assigns the list of given child Identifiables to the given Identifiable parent in the server. | {
"resource": ""
} | ||
c174047 | validation | // NextEvent will return the next notification from the backend as it occurs and will
// send it to the correct channel. | {
"resource": ""
} | ||
c174048 | validation | // String returns the string representation of the identity. | {
"resource": ""
} | ||
c174049 | validation | // NewPushCenter creates a new PushCenter. | {
"resource": ""
} | ||
c174050 | validation | // RegisterHandlerForIdentity registers the given EventHandler for the given Entity Identity.
// You can pass the bambou.AllIdentity as identity to register the handler
// for all events. If you pass a handler for an Identity that is already registered
// the previous handler will be silently overwriten. | {
"resource": ""
} | ||
c174051 | validation | // UnregisterHandlerForIdentity unegisters the given EventHandler for the given Entity Identity. | {
"resource": ""
} | ||
c174052 | validation | // HasHandlerForIdentity verifies if the given identity has a registered handler. | {
"resource": ""
} | ||
c174053 | validation | // Start starts the Push Center. | {
"resource": ""
} | ||
c174054 | validation | // Stop stops a running PushCenter. | {
"resource": ""
} | ||
c174055 | validation | // Logger returns the defaut Bambou logger. | {
"resource": ""
} | ||
c174056 | validation | // String returns the string representation of the FetchingInfo. | {
"resource": ""
} | ||
c174057 | validation | // NewClient creates a new API client. | {
"resource": ""
} | ||
c174058 | validation | // Post delivers a metrics snapshot to datadog | {
"resource": ""
} | ||
c174059 | validation | // MetricID takes a name and tags and generates a consistent
// metric identifier | {
"resource": ""
} | ||
c174060 | validation | // SplitMetricID takes a metric ID ans splits it into
// name and tags | {
"resource": ""
} | ||
c174061 | validation | // Snapshot returns a Distribution | {
"resource": ""
} | ||
c174062 | validation | // Snapshot returns the current value. | {
"resource": ""
} | ||
c174063 | validation | // New creates a new Registry without a background flush thread. | {
"resource": ""
} | ||
c174064 | validation | // Subscribe attaches a reporter to the Registry. | {
"resource": ""
} | ||
c174065 | validation | // Register registers a new instrument. | {
"resource": ""
} | ||
c174066 | validation | // Fetch returns an instrument from the Registry or creates a new one
// using the provided factory. | {
"resource": ""
} | ||
c174067 | validation | // Tags returns global registry tags | {
"resource": ""
} | ||
c174068 | validation | // SetTags allows to set tags | {
"resource": ""
} | ||
c174069 | validation | // AddTags allows to add tags | {
"resource": ""
} | ||
c174070 | validation | // Close flushes all pending data to reporters
// and releases resources. | {
"resource": ""
} | ||
c174071 | validation | // New creates a new reporter. | {
"resource": ""
} | ||
c174072 | validation | // Metric appends a new metric to the reporter. The value v must be either an
// int64 or float64, otherwise an error is returned | {
"resource": ""
} | ||
c174073 | validation | //FilterBefore returns rows created before a provided key. It accepts a filter and result shaping arguments | {
"resource": ""
} | ||
c174074 | validation | // Set sets the environment key to value. | {
"resource": ""
} | ||
c174075 | validation | // SetStr sets environment variable from key=val string format. | {
"resource": ""
} | ||
c174076 | validation | // Get retrieves the environment variable key | {
"resource": ""
} | ||
c174077 | validation | // String returns key=val format of the environment variables.
// Each on a line. | {
"resource": ""
} | ||
c174078 | validation | // Add adds a value to the set. | {
"resource": ""
} | ||
c174079 | validation | // AddAll adds all values to the set distinctly. | {
"resource": ""
} | ||
c174080 | validation | // Remove removes value from the set if it exists in the set. | {
"resource": ""
} | ||
c174081 | validation | // RemoveAll removes all values from the set if they exist in the set. | {
"resource": ""
} | ||
c174082 | validation | // Contains check if value exists in the set. | {
"resource": ""
} | ||
c174083 | validation | // ContainsAll checks if all values exist in the set. | {
"resource": ""
} | ||
c174084 | validation | // ContainsFunc iterates all the items in the set and passes
// each to f. It returns true the first time a call to f returns
// true and false if no call to f returns true. | {
"resource": ""
} | ||
c174085 | validation | // Clear empties the set. | {
"resource": ""
} | ||
c174086 | validation | // Iterator returns a new Iterator to iterate through values in the set.
// Each call to this method creates a new Iterator. Therefore, the
// returned Iterator should be assigned to a variable before usage.
//
// It is safe to create and use multiple Iterators in multiple goroutines. | {
"resource": ""
} | ||
c174087 | validation | // Items returns a slice of all items in the set.
// Modification to the returned slice does not affect the structure of
// the set. However, any item in the set that is a pointer will be affected
// if modified. | {
"resource": ""
} | ||
c174088 | validation | // ItemsFunc returns slice of all items that when passed to f, f returns true.
// Modification to the returned slice does not affect the structure of
// the set. However, any item in the set that is a pointer will be affected
// if modified. | {
"resource": ""
} | ||
c174089 | validation | // If a holiday falls on a Saturday it is celebrated the preceding Friday;
// if a holiday falls on a Sunday it is celebrated the following Monday. | {
"resource": ""
} | ||
c174090 | validation | // GetHolidays returns the holidays for the given ISO 3166-2 countryCode and year | {
"resource": ""
} | ||
c174091 | validation | // GetInt returns int value for the given key | {
"resource": ""
} | ||
c174092 | validation | // GetFloat returns float value for the given key | {
"resource": ""
} | ||
c174093 | validation | // GetBool returns bool value for the given key | {
"resource": ""
} | ||
c174094 | validation | // Exists checks if key exists | {
"resource": ""
} | ||
c174095 | validation | // getValue gets the raw value for a given key | {
"resource": ""
} | ||
c174096 | validation | // Load reads all the properties and creates GConfig representation. It loads
// config data based on passed in flags or environment variables. If none is
// defined it uses default values. | {
"resource": ""
} | ||
c174097 | validation | //Check if location of config or properties file is set in the env variable
//if no path is specified it will use the current directory | {
"resource": ""
} | ||
c174098 | validation | // New creates a new Reader. The filename is a list of mimetypes and extensions.
// If utf8 is true, "; charset=utf-8" will be added when setting http headers. | {
"resource": ""
} | ||
c174099 | validation | // Read a mimetype text file. Return a hash map from ext to mimetype. | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.