_id
stringlengths
2
7
title
stringclasses
1 value
partition
stringclasses
3 values
text
stringlengths
6
2.61k
language
stringclasses
1 value
meta_information
dict
c16400
train
// SetVolume sets the volume to volume. The range of volume is 0-100.
{ "resource": "" }
c16401
train
// // Playlist related functions // // PlaylistInfo returns attributes for songs in the current playlist. If // both start and end are negative, it does this for all songs in // playlist. If end is negative but start is positive, it does it for the // song at position start. If both start and end are positive, it does ...
{ "resource": "" }
c16402
train
// SetPriority set the priority of the specified songs. If end is negative but // start is non-negative, it does it for the song at position start. If both // start and end are non-negative, it does it for positions in range // [start, end).
{ "resource": "" }
c16403
train
// SetPriorityID sets the prio of the song with the given id.
{ "resource": "" }
c16404
train
// Delete deletes songs from playlist. If both start and end are positive, // it deletes those at positions in range [start, end). If end is negative, // it deletes the song at position start.
{ "resource": "" }
c16405
train
// Move moves the songs between the positions start and end to the new position // position. If end is negative, only the song at position start is moved.
{ "resource": "" }
c16406
train
// MoveID moves songid to position on the plyalist.
{ "resource": "" }
c16407
train
// Search behaves exactly the same as Find, but the searches are not case sensitive.
{ "resource": "" }
c16408
train
// EnableOutput enables the audio output with the given id.
{ "resource": "" }
c16409
train
// DisableOutput disables the audio output with the given id.
{ "resource": "" }
c16410
train
// PlaylistContents returns a list of attributes for songs in the specified // stored playlist.
{ "resource": "" }
c16411
train
// PlaylistLoad loads the specfied playlist into the current queue. // If start and end are non-negative, only songs in this range are loaded.
{ "resource": "" }
c16412
train
// PlaylistAdd adds a song identified by uri to a stored playlist identified // by name.
{ "resource": "" }
c16413
train
// PlaylistClear clears the specified playlist.
{ "resource": "" }
c16414
train
// PlaylistMove moves a song identified by id in a playlist identified by name // to the position pos.
{ "resource": "" }
c16415
train
// PlaylistRename renames the playlist identified by name to newName.
{ "resource": "" }
c16416
train
// PlaylistRemove removes the playlist identified by name from the playlist // directory.
{ "resource": "" }
c16417
train
// PlaylistSave saves the current playlist as name in the playlist directory.
{ "resource": "" }
c16418
train
// StickerFind finds songs inside directory with URI which have a sticker with given name. // It returns a slice of URIs of matching songs and a slice of corresponding stickers.
{ "resource": "" }
c16419
train
// StickerGet gets sticker value for the song with given URI.
{ "resource": "" }
c16420
train
// StickerList returns a slice of stickers for the song with given URI.
{ "resource": "" }
c16421
train
// StickerSet sets sticker value for the song with given URI.
{ "resource": "" }
c16422
train
// Value is a convenience method for ensuring that a promise // has been computed, returning the Attrs.
{ "resource": "" }
c16423
train
// Value is a convenience method for ensuring that a promise // has been computed, returning the ID.
{ "resource": "" }
c16424
train
// CurrentSong returns information about the current song in the playlist.
{ "resource": "" }
c16425
train
// PlayID plays the song identified by id. If id is negative, start playing // at the currect position in playlist.
{ "resource": "" }
c16426
train
// SetVolume sets the MPD volume level.
{ "resource": "" }
c16427
train
// // Playlist related functions // // SetPriority sets the priority for songs in the playlist. If both start and // end are non-negative, it updates those at positions in range [start, end). // If end is negative, it updates the song at position start.
{ "resource": "" }
c16428
train
// SetPriorityID sets the priority for the song identified by id.
{ "resource": "" }
c16429
train
// MoveID moves songid to position on the playlist.
{ "resource": "" }
c16430
train
// Stored playlists related commands. // PlaylistLoad loads the specfied playlist into the current queue. // If start and end are non-negative, only songs in this range are loaded.
{ "resource": "" }
c16431
train
// End executes the command list.
{ "resource": "" }
c16432
train
// Command returns a command that can be sent to MPD sever. // It enables low-level access to MPD protocol and should be avoided if // the user is not familiar with MPD protocol. // // Strings in args are automatically quoted so that spaces are preserved. // Pass strings as Quoted type if this is not desired.
{ "resource": "" }
c16433
train
// OK sends command to server and checks for error.
{ "resource": "" }
c16434
train
// Attrs sends command to server and reads attributes returned in response.
{ "resource": "" }
c16435
train
// AttrsList sends command to server and reads a list of attributes returned in response. // Each attribute group starts with key startKey.
{ "resource": "" }
c16436
train
// Strings sends command to server and reads a list of strings returned in response. // Each string have the key key.
{ "resource": "" }
c16437
train
// OnCount prints to the console when the feature is queried.
{ "resource": "" }
c16438
train
// WithRefreshInterval specifies the time interval with which the client should sync the // feature toggles from the unleash server.
{ "resource": "" }
c16439
train
// WithMetricsInterval specifies the times interval woth which the client should upload // the metrics data to the unleash server.
{ "resource": "" }
c16440
train
// WithHttpClient specifies which HttpClient the client should use for making requests to the server.
{ "resource": "" }
c16441
train
// WithCustomHeaders specifies any custom headers that should be sent along with requests to the // server.
{ "resource": "" }
c16442
train
// WithContext allows the user to provide a context that will be passed into the active strategy // for determining if a specified feature should be enabled or not.
{ "resource": "" }
c16443
train
// IsEnabled queries the default client whether or not the specified feature is enabled or not.
{ "resource": "" }
c16444
train
// IsEnabled queries whether or not the specified feature is enabled or not.
{ "resource": "" }
c16445
train
// Close stops the client from syncing data from the server.
{ "resource": "" }
c16446
train
// Allowable parses the pattern and determines the minimum and maximum allowable // values that the pattern can represent. // When the max cannot be determined, 'true' will be returned // for infinite.
{ "resource": "" }
c16447
train
// IsPattern returns true if the string is a pattern.
{ "resource": "" }
c16448
train
// MarshalJSON marshalls 'Operation' to a byte array // For 'select' operations, we dont omit the 'Where' field // to allow selecting all rows of a table
{ "resource": "" }
c16449
train
// MarshalJSON marshalls an OVSDB style Map to a byte array
{ "resource": "" }
c16450
train
// UnmarshalJSON unmarshalls an OVSDB style Map from a byte array
{ "resource": "" }
c16451
train
// NewOvsMap will return an OVSDB style map from a provided Golang Map
{ "resource": "" }
c16452
train
// NewOvsSet creates a new OVSDB style set from a Go slice
{ "resource": "" }
c16453
train
// MarshalJSON wil marshal an OVSDB style set in to a JSON byte array
{ "resource": "" }
c16454
train
// UnmarshalJSON will unmarshal a JSON byte array to an OVSDB style set
{ "resource": "" }
c16455
train
// UnmarshalJSON unmarshalls a byte array to an OVSDB Row
{ "resource": "" }
c16456
train
// Print will print the contents of the DatabaseSchema
{ "resource": "" }
c16457
train
// Basic validation for operations against Database Schema
{ "resource": "" }
c16458
train
// NewTransactArgs creates a new set of arguments for a transact RPC
{ "resource": "" }
c16459
train
// NewMonitorArgs creates a new set of arguments for a monitor RPC
{ "resource": "" }
c16460
train
// MarshalJSON will marshal an OVSDB style UUID to a JSON encoded byte array
{ "resource": "" }
c16461
train
// UnmarshalJSON will unmarshal a JSON encoded byte array to a OVSDB style UUID
{ "resource": "" }
c16462
train
// ConnectUsingProtocol creates an OVSDB connection and returns and OvsdbClient
{ "resource": "" }
c16463
train
// Connect creates an OVSDB connection and returns and OvsdbClient
{ "resource": "" }
c16464
train
// ConnectWithUnixSocket makes a OVSDB Connection via a Unix Socket
{ "resource": "" }
c16465
train
// Register registers the supplied NotificationHandler to recieve OVSDB Notifications
{ "resource": "" }
c16466
train
//Get Handler by index
{ "resource": "" }
c16467
train
// Unregister the supplied NotificationHandler to not recieve OVSDB Notifications anymore
{ "resource": "" }
c16468
train
// Init registers the escape functionality with the given Env.
{ "resource": "" }
c16469
train
// NewAutoEscapeExtension returns an AutoEscapeExtension with Twig equivalent // Escapers, by default.
{ "resource": "" }
c16470
train
// push adds the given name on top of the stack.
{ "resource": "" }
c16471
train
// pop removes the top-most name on the stack.
{ "resource": "" }
c16472
train
// newState creates a new template execution state, ready for use.
{ "resource": "" }
c16473
train
// push adds a scope on top of the stack.
{ "resource": "" }
c16474
train
// pop removes the top-most scope.
{ "resource": "" }
c16475
train
// All returns a flat map of the current scope.
{ "resource": "" }
c16476
train
// Method getBlock iterates through each set of blocks, returning the first // block with the given name.
{ "resource": "" }
c16477
train
// walkChild only executes a subset of nodes, intended to be used on child templates.
{ "resource": "" }
c16478
train
// Method walkInclude determines the necessary parameters for including or embedding a template.
{ "resource": "" }
c16479
train
// execute kicks off execution of the given template.
{ "resource": "" }
c16480
train
// Method load attempts to load and parse the given template.
{ "resource": "" }
c16481
train
// HTML provides a Twig-compatible HTML escape function.
{ "resource": "" }
c16482
train
// HTMLAttribute provides a Twig-compatible escaper for HTML attributes.
{ "resource": "" }
c16483
train
// JS provides a Twig-compatible javascript escaper.
{ "resource": "" }
c16484
train
// URLQueryParam provides Twig-compatible query string escaper.
{ "resource": "" }
c16485
train
// parseTag parses the opening of a tag "{%", then delegates to a more specific parser function // based on the tag's name.
{ "resource": "" }
c16486
train
// parseUntilEndTag parses until it reaches the specified tag's "end", returning a specific error otherwise.
{ "resource": "" }
c16487
train
// parseUntilTag parses until it reaches the specified tag node, returning a parse error otherwise.
{ "resource": "" }
c16488
train
// parseInclude parses an include statement.
{ "resource": "" }
c16489
train
// parseEmbed parses an embed statement and body.
{ "resource": "" }
c16490
train
// NewNamedTree is an alternative constructor which creates a Tree with a name
{ "resource": "" }
c16491
train
// Blocks returns a map of blocks in this tree.
{ "resource": "" }
c16492
train
// peek returns the next unread token without advancing the internal cursor.
{ "resource": "" }
c16493
train
// peek returns the next unread, non-space token without advancing the internal cursor.
{ "resource": "" }
c16494
train
// backup pushes the last read token back onto the unread stack and reduces the internal cursor by one.
{ "resource": "" }
c16495
train
// next returns the next unread token and advances the internal cursor by one.
{ "resource": "" }
c16496
train
// nextNonSpace returns the next non-whitespace token.
{ "resource": "" }
c16497
train
// expect returns the next non-space token. Additionally, if the token is not of one of the expected types, // an UnexpectedTokenError is returned.
{ "resource": "" }
c16498
train
// expectValue returns the next non-space token, with additional checks on the value of the token. // If the token is not of the expected type, an UnexpectedTokenError is returned. If the token is not the // expected value, an UnexpectedValueError is returned.
{ "resource": "" }
c16499
train
// Enter is called when the given Node is entered.
{ "resource": "" }