_id
stringlengths
2
7
title
stringclasses
1 value
partition
stringclasses
3 values
text
stringlengths
6
2.61k
language
stringclasses
1 value
meta_information
dict
c9100
train
// MaxDuration sets the maximum length of the track in milliseconds
{ "resource": "" }
c9101
train
// MinDuration sets the minimum length of the track in milliseconds
{ "resource": "" }
c9102
train
// TargetDuration sets the target length of the track in milliseconds
{ "resource": "" }
c9103
train
// MaxEnergy sets the maximum energy // Energy is a measure from 0.0 to 1.0 and represents a perceptual mesaure // of intensity and activity. Typically, energetic tracks feel fast, loud, // and noisy.
{ "resource": "" }
c9104
train
// MinEnergy sets the minimum energy // Energy is a measure from 0.0 to 1.0 and represents a perceptual mesaure // of intensity and activity. Typically, energetic tracks feel fast, loud, // and noisy.
{ "resource": "" }
c9105
train
// TargetEnergy sets the target energy // Energy is a measure from 0.0 to 1.0 and represents a perceptual mesaure // of intensity and activity. Typically, energetic tracks feel fast, loud, // and noisy.
{ "resource": "" }
c9106
train
// MaxInstrumentalness sets the maximum instrumentalness // Instrumentalness predicts whether a track contains no vocals. // "Ooh" and "aah" sounds are treated as instrumental in this context. // Rap or spoken word tracks are clearly "vocal". // The closer the instrumentalness value is to 1.0, // the greater likelihood...
{ "resource": "" }
c9107
train
// MinInstrumentalness sets the minimum instrumentalness // Instrumentalness predicts whether a track contains no vocals. // "Ooh" and "aah" sounds are treated as instrumental in this context. // Rap or spoken word tracks are clearly "vocal". // The closer the instrumentalness value is to 1.0, // the greater likelihood...
{ "resource": "" }
c9108
train
// TargetInstrumentalness sets the target instrumentalness // Instrumentalness predicts whether a track contains no vocals. // "Ooh" and "aah" sounds are treated as instrumental in this context. // Rap or spoken word tracks are clearly "vocal". // The closer the instrumentalness value is to 1.0, // the greater likeliho...
{ "resource": "" }
c9109
train
// MaxLiveness sets the maximum liveness // Detects the presence of an audience in the recording. Higher liveness // values represent an increased probability that the track was performed live. // A value above 0.8 provides strong likelihook that the track is live.
{ "resource": "" }
c9110
train
// MinLiveness sets the minimum liveness // Detects the presence of an audience in the recording. Higher liveness // values represent an increased probability that the track was performed live. // A value above 0.8 provides strong likelihook that the track is live.
{ "resource": "" }
c9111
train
// TargetLiveness sets the target liveness // Detects the presence of an audience in the recording. Higher liveness // values represent an increased probability that the track was performed live. // A value above 0.8 provides strong likelihook that the track is live.
{ "resource": "" }
c9112
train
// MaxSpeechiness sets the maximum speechiness. // Speechiness detects the presence of spoken words in a track. // The more exclusively speech-like the recording, the closer to 1.0 // the speechiness will be. // Values above 0.66 describe tracks that are probably made entirely of // spoken words. Values between 0.33 a...
{ "resource": "" }
c9113
train
// MinSpeechiness sets the minimum speechiness. // Speechiness detects the presence of spoken words in a track. // The more exclusively speech-like the recording, the closer to 1.0 // the speechiness will be. // Values above 0.66 describe tracks that are probably made entirely of // spoken words. Values between 0.33 a...
{ "resource": "" }
c9114
train
// TargetSpeechiness sets the target speechiness. // Speechiness detects the presence of spoken words in a track. // The more exclusively speech-like the recording, the closer to 1.0 // the speechiness will be. // Values above 0.66 describe tracks that are probably made entirely of // spoken words. Values between 0.33...
{ "resource": "" }
c9115
train
// GetAudioAnalysis queries the Spotify web API for an audio analysis of a // single track.
{ "resource": "" }
c9116
train
// NextArtistResults loads the next page of artists into the specified search result.
{ "resource": "" }
c9117
train
// PreviousArtistResults loads the previous page of artists into the specified search result.
{ "resource": "" }
c9118
train
// NextAlbumResults loads the next page of albums into the specified search result.
{ "resource": "" }
c9119
train
// PreviousAlbumResults loads the previous page of albums into the specified search result.
{ "resource": "" }
c9120
train
// NextPlaylistResults loads the next page of playlists into the specified search result.
{ "resource": "" }
c9121
train
// PreviousPlaylistResults loads the previous page of playlists into the specified search result.
{ "resource": "" }
c9122
train
// PreviousTrackResults loads the previous page of tracks into the specified search result.
{ "resource": "" }
c9123
train
// NextTrackResults loads the next page of tracks into the specified search result.
{ "resource": "" }
c9124
train
// TimeDuration returns the track's duration as a time.Duration value.
{ "resource": "" }
c9125
train
// GetTrack gets Spotify catalog information for // a single track identified by its unique Spotify ID.
{ "resource": "" }
c9126
train
// GetTracks gets Spotify catalog information for multiple tracks based on their // Spotify IDs. It supports up to 50 tracks in a single call. Tracks are // returned in the order requested. If a track is not found, that position in the // result will be nil. Duplicate ids in the query will result in duplicate // tr...
{ "resource": "" }
c9127
train
// GetAudioFeatures queries the Spotify Web API for various // high-level acoustic attributes of audio tracks. // Objects are returned in the order requested. If an object // is not found, a nil value is returned in the appropriate position.
{ "resource": "" }
c9128
train
// count returns the total number of seeds contained in s
{ "resource": "" }
c9129
train
// setSeedValues sets url values into v for each seed in seeds
{ "resource": "" }
c9130
train
// setTrackAttributesValues sets track attributes values to the given url values
{ "resource": "" }
c9131
train
// GetRecommendations returns a list of recommended tracks based on the given seeds. // Recommendations are generated based on the available information for a given seed entity // and matched against similar artists and tracks. If there is sufficient information // about the provided seeds, a list of tracks will be ret...
{ "resource": "" }
c9132
train
// GetAvailableGenreSeeds retrieves a list of available genres seed parameter values for // recommendations.
{ "resource": "" }
c9133
train
// Download downloads the image and writes its data to the specified io.Writer.
{ "resource": "" }
c9134
train
// decodeError decodes an Error from an io.Reader.
{ "resource": "" }
c9135
train
// shouldRetry determines whether the status code indicates that the // previous operation should be retried at a later time
{ "resource": "" }
c9136
train
// isFailure determines whether the code indicates failure
{ "resource": "" }
c9137
train
// execute executes a non-GET request. `needsStatus` describes other HTTP status codes // that can represent success. Note that in all current usages of this function, // we need to still allow a 200 even if we'd also like to check for additional // success codes.
{ "resource": "" }
c9138
train
// NewReleasesOpt is like NewReleases, but it accepts optional parameters // for filtering the results.
{ "resource": "" }
c9139
train
// NewReleases gets a list of new album releases featured in Spotify. // This call requires bearer authorization.
{ "resource": "" }
c9140
train
// Check collects data about an Iterator.
{ "resource": "" }
c9141
train
// Equal tells if g and h have the same number of vertices, // and the same edges with the same costs.
{ "resource": "" }
c9142
train
// Subgraph returns a subgraph of g that consists of the vertices in s // and all edges whose endpoints are in s.
{ "resource": "" }
c9143
train
// StrongComponents produces a partition of g's vertices into its // strongly connected components. // // A component is strongly connected if all its vertices are reachable // from every other vertex in the component. // Each vertex of the graph appears in exactly one of the strongly // connected components, and any v...
{ "resource": "" }
c9144
train
// Make a depth-first search starting at v and append all strongly // connected components of the visited subgraph to comps.
{ "resource": "" }
c9145
train
// find returns the smallest n consecutive neighbors w, w+1, ..., w+n-1 // of v for which w >= a.
{ "resource": "" }
c9146
train
// New constructs a new graph with n vertices, numbered from 0 to n-1, and no edges.
{ "resource": "" }
c9147
train
// Copy returns a copy of g. // If g is a multigraph, any duplicate edges in g will be lost.
{ "resource": "" }
c9148
train
// Visit calls the do function for each neighbor w of v, // with c equal to the cost of the edge from v to w. // If do returns true, Visit returns immediately, // skipping any remaining neighbors, and returns true. // // The iteration order is not specified and is not guaranteed // to be the same every time. // It is s...
{ "resource": "" }
c9149
train
// Add inserts a directed edge from v to w with zero cost. // It removes the previous cost if this edge already exists.
{ "resource": "" }
c9150
train
// AddCost inserts a directed edge from v to w with cost c. // It overwrites the previous cost if this edge already exists.
{ "resource": "" }
c9151
train
// AddBoth inserts edges with zero cost between v and w. // It removes the previous costs if these edges already exist.
{ "resource": "" }
c9152
train
// AddBothCost inserts edges with cost c between v and w. // It overwrites the previous costs if these edges already exist.
{ "resource": "" }
c9153
train
// Delete removes an edge from v to w.
{ "resource": "" }
c9154
train
// DeleteBoth removes all edges between v and w.
{ "resource": "" }
c9155
train
// TopSort returns a topological ordering of the vertices in // a directed acyclic graph; if the graph is not acyclic, // no such ordering exists and ok is set to false. // // In a topological order v comes before w for every directed edge from v to w.
{ "resource": "" }
c9156
train
// Acyclic tells if g has no cycles.
{ "resource": "" }
c9157
train
// Kahn's algorithm
{ "resource": "" }
c9158
train
// EulerDirected returns an Euler walk in a directed graph. // If no such walk exists, it returns an empty walk and sets ok to false.
{ "resource": "" }
c9159
train
// EulerUndirected returns an Euler walk following undirected edges // in only one direction. If no such walk exists, it returns an empty walk // and sets ok to false.
{ "resource": "" }
c9160
train
// Add returns a graph containing all edges in g plus all edges in e. // Any edges belonging to both g and e will retain their cost from g.
{ "resource": "" }
c9161
train
// Delete returns a graph containing all edges in g except those also found in e.
{ "resource": "" }
c9162
train
// Sort returns an immutable copy of g with a Visit method // that returns its neighbors in increasing numerical order.
{ "resource": "" }
c9163
train
// singleton returns a graph with one vertex.
{ "resource": "" }
c9164
train
// generic returns a standard implementation; cost and edge can't be nil.
{ "resource": "" }
c9165
train
// Specific returns a cached copy of g with constant time performance for // all basic operations. It uses space proportional to the size of the graph. // // This function does not accept multigraphs and graphs with self-loops.
{ "resource": "" }
c9166
train
// Empty returns a virtual graph with n vertices and no edges.
{ "resource": "" }
c9167
train
// Kn returns a complete simple graph with n vertices.
{ "resource": "" }
c9168
train
// Complement returns the complement graph of g. // This graph has the same vertices as g, // but its edge set consists of the edges not present in g. // The edges of the complement graph will have zero cost.
{ "resource": "" }
c9169
train
// AddCost returns a copy of g with a new cost assigned to all edges.
{ "resource": "" }
c9170
train
// AddCostFunc returns a copy of g with a new cost function assigned.
{ "resource": "" }
c9171
train
// Bipartition returns a subset U of g's vertices with the property // that every edge of g connects a vertex in U to one outside of U. // If g isn't bipartite, it returns an empty slice and sets ok to false.
{ "resource": "" }
c9172
train
// update updates the index values.
{ "resource": "" }
c9173
train
// size returns the number of elements in this set, or -1 for the universe.
{ "resource": "" }
c9174
train
// rank returns the position of n in the set, or -1 if not available.
{ "resource": "" }
c9175
train
// Contains tells if v is a member of the set.
{ "resource": "" }
c9176
train
// AndNot returns the set of all vertices belonging to s1 but not to s2.
{ "resource": "" }
c9177
train
// complement returns the set of all vertices not belonging to s.
{ "resource": "" }
c9178
train
// And returns the set of all vertices belonging to both s1 and s2.
{ "resource": "" }
c9179
train
// ServiceGoCode returns the o code for a characteristic file
{ "resource": "" }
c9180
train
// NewBridge returns a bridge which implements model.Bridge.
{ "resource": "" }
c9181
train
// NewSetupClientController returns a new setup client controller.
{ "resource": "" }
c9182
train
// InitialPairingRequest returns the first request the client sends to an accessory to start the paring process. // The request contains the sequence set to PairStepStartRequest.
{ "resource": "" }
c9183
train
// NewTemperatureSensor returns a Thermometer which implements model.Thermometer.
{ "resource": "" }
c9184
train
// GeneratePrivateKey returns random bytes.
{ "resource": "" }
c9185
train
// PublicKey returns a Curve25519 public key derived from privateKey.
{ "resource": "" }
c9186
train
// SharedSecret returns a Curve25519 shared secret derived from privateKey and otherPublicKey.
{ "resource": "" }
c9187
train
// NewKeepAlive returns a new keep alive for a specific timeout.
{ "resource": "" }
c9188
train
// Start starts sending keep alive messages. This method blocks until the context is canceled.
{ "resource": "" }
c9189
train
// NewVerifyClientController returns a new verify client controller.
{ "resource": "" }
c9190
train
// Handle processes a container to verify if an accessory is paired correctly.
{ "resource": "" }
c9191
train
// InitialKeyVerifyRequest returns the first request the client sends to an accessory to start the paring verifcation process. // The request contains the client public key and sequence set to VerifyStepStartRequest.
{ "resource": "" }
c9192
train
// NewContextForSecuredDevice returns a new Context
{ "resource": "" }
c9193
train
// Returns a list of active connections
{ "resource": "" }
c9194
train
// noWritePerms returns true when permissions include no write permission
{ "resource": "" }
c9195
train
// Equal returns true when receiver has the values as the argument.
{ "resource": "" }
c9196
train
// New returns a new service.
{ "resource": "" }
c9197
train
// GetCharacteristics returns the characteristics which represent the service.
{ "resource": "" }
c9198
train
// Equal returns true when receiver has the same characteristics, service id and service type as the argument.
{ "resource": "" }
c9199
train
// NewSecureSessionFromSharedKey returns a session from a shared private key.
{ "resource": "" }