_id
stringlengths
2
7
text
stringlengths
6
2.61k
title
stringclasses
1 value
c174000
//ExecutorName sets the ExecutorName
c174001
//Exe sets the Exe
c174002
//Args sets the Args
c174003
//Dir sets the Dir
c174004
//Env sets the Env
c174005
//Writers sets the Writers
c174006
//StdoutWriter sets the StdoutWriter
c174007
//StdoutPrefix sets the StdoutPrefix
c174008
//StderrWriter sets the StderrWriter
c174009
//StderrPrefix sets the StderrPrefix
c174010
//Build will validate the set properties and return a ExecStreamer
c174011
// MakeWidget creates a generic Widget structure.
c174012
// SetText sets the label caption. This will not be displayed immediately. // SetText shall be called from queue context.
c174013
// AddLabel is a convenience function to add a new label to a window. It wraps // the AddWidget call. AddLabel must be called from queue.
c174014
// printf prints into the backend buffer. // This will not show immediately. // printf shall be called from queue context.
c174015
// setCell sets the content of the window cell at the x and y coordinate. // setCell shall be called from queue context.
c174016
// resize sets new x and y maxima. // resize shall be called from queue context.
c174017
// render calls the user provided Render and than renders the widgets in the // window.
c174018
// 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.
c174019
// focusPrevious focuses on the previous available widget. // focusPrevious shall be called from queue context.
c174020
// keyHandler routes event to proper widget. This is called from queue context // so be careful to not use blocking calls.
c174021
// Color creates an ANSI compatible escape sequence that encodes colors and // attributes.
c174022
// EscapedLen returns total length of all escape sequences in a given string.
c174023
// Unescape returns the unescaped string.
c174024
// init sets up all global variables and prepares ttk for use.
c174025
// initKeyHandler starts the internal key handler. // Must be called with mutex held and as a go routine.
c174026
// Init switches the terminal to raw mode and commences managed window mode. // This function shall be called prior to any ttk calls.
c174027
// 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...
c174028
// NewWindow creates a new window type.
c174029
// flush copies focused window backing store onto the physical screen. // flush shall be called from queue context.
c174030
// 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.
c174031
// resizeAndRender resizes a window and renders it.
c174032
// Panic application but deinit first so that the terminal will not be corrupt.
c174033
// Exit application but deinit first so that the terminal will not be corrupt.
c174034
// AddList is a convenience function to add a new list to a window. It wraps // the AddWidget call. AddList must be called from queue.
c174035
// Append adds a line of text to the list. Append must be called from queue.
c174036
// Focus implements the interface. This is called from queue context // so be careful to not use blocking calls.
c174037
// 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.
c174038
// 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.
c174039
// Used for user & password based authentication
c174040
// Start starts the session. // At that point the authentication will be done.
c174041
// FetchEntity fetchs the given Identifiable from the server.
c174042
// SaveEntity saves the given Identifiable into the server.
c174043
// DeleteEntity deletes the given Identifiable from the server.
c174044
// FetchChildren fetches the children with of given parent identified by the given Identity.
c174045
// CreateChild creates a new child Identifiable under the given parent Identifiable in the server.
c174046
// AssignChildren assigns the list of given child Identifiables to the given Identifiable parent in the server.
c174047
// NextEvent will return the next notification from the backend as it occurs and will // send it to the correct channel.
c174048
// String returns the string representation of the identity.
c174049
// NewPushCenter creates a new PushCenter.
c174050
// 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.
c174051
// UnregisterHandlerForIdentity unegisters the given EventHandler for the given Entity Identity.
c174052
// HasHandlerForIdentity verifies if the given identity has a registered handler.
c174053
// Start starts the Push Center.
c174054
// Stop stops a running PushCenter.
c174055
// Logger returns the defaut Bambou logger.
c174056
// String returns the string representation of the FetchingInfo.
c174057
// NewClient creates a new API client.
c174058
// Post delivers a metrics snapshot to datadog
c174059
// MetricID takes a name and tags and generates a consistent // metric identifier
c174060
// SplitMetricID takes a metric ID ans splits it into // name and tags
c174061
// Snapshot returns a Distribution
c174062
// Snapshot returns the current value.
c174063
// New creates a new Registry without a background flush thread.
c174064
// Subscribe attaches a reporter to the Registry.
c174065
// Register registers a new instrument.
c174066
// Fetch returns an instrument from the Registry or creates a new one // using the provided factory.
c174067
// Tags returns global registry tags
c174068
// SetTags allows to set tags
c174069
// AddTags allows to add tags
c174070
// Close flushes all pending data to reporters // and releases resources.
c174071
// New creates a new reporter.
c174072
// Metric appends a new metric to the reporter. The value v must be either an // int64 or float64, otherwise an error is returned
c174073
//FilterBefore returns rows created before a provided key. It accepts a filter and result shaping arguments
c174074
// Set sets the environment key to value.
c174075
// SetStr sets environment variable from key=val string format.
c174076
// Get retrieves the environment variable key
c174077
// String returns key=val format of the environment variables. // Each on a line.
c174078
// Add adds a value to the set.
c174079
// AddAll adds all values to the set distinctly.
c174080
// Remove removes value from the set if it exists in the set.
c174081
// RemoveAll removes all values from the set if they exist in the set.
c174082
// Contains check if value exists in the set.
c174083
// ContainsAll checks if all values exist in the set.
c174084
// 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.
c174085
// Clear empties the set.
c174086
// 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.
c174087
// 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.
c174088
// 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.
c174089
// 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.
c174090
// GetHolidays returns the holidays for the given ISO 3166-2 countryCode and year
c174091
// GetInt returns int value for the given key
c174092
// GetFloat returns float value for the given key
c174093
// GetBool returns bool value for the given key
c174094
// Exists checks if key exists
c174095
// getValue gets the raw value for a given key
c174096
// 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.
c174097
//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
c174098
// 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.
c174099
// Read a mimetype text file. Return a hash map from ext to mimetype.