_id
stringlengths
2
7
title
stringclasses
1 value
partition
stringclasses
3 values
text
stringlengths
6
2.61k
language
stringclasses
1 value
meta_information
dict
c10300
train
// TLSTransport creates a http client transport suitable for mutual tls auth
{ "resource": "" }
c10301
train
// TLSClient creates a http.Client for mutual auth
{ "resource": "" }
c10302
train
// New creates a new default runtime for a swagger api runtime.Client
{ "resource": "" }
c10303
train
// NewWithClient allows you to create a new transport with a configured http.Client
{ "resource": "" }
c10304
train
// EnableConnectionReuse drains the remaining body from a response // so that go will reuse the TCP connections. // // This is not enabled by default because there are servers where // the response never gets closed and that would make the code hang forever. // So instead it's provided as a http client middleware that ...
{ "resource": "" }
c10305
train
// SetDebug changes the debug flag. // It ensures that client and middlewares have the set debug level.
{ "resource": "" }
c10306
train
// SetLogger changes the logger stream. // It ensures that client and middlewares use the same logger.
{ "resource": "" }
c10307
train
// XMLConsumer creates a new XML consumer
{ "resource": "" }
c10308
train
// XMLProducer creates a new XML producer
{ "resource": "" }
c10309
train
// Handler returns a handler for HTTP method.
{ "resource": "" }
c10310
train
// Build builds a http.Handler.
{ "resource": "" }
c10311
train
// NextSeparator returns an index of next separator in path.
{ "resource": "" }
c10312
train
// NewRequestBinder creates a new binder for reading a request.
{ "resource": "" }
c10313
train
// Bind perform the databinding and validation
{ "resource": "" }
c10314
train
// NotImplemented the error response when the response is not implemented
{ "resource": "" }
c10315
train
// WriteToRequest adds data to the request
{ "resource": "" }
c10316
train
// NamedReader creates a NamedReadCloser for use as file upload
{ "resource": "" }
c10317
train
// WriteResponse writes to the response
{ "resource": "" }
c10318
train
// NewRoutableContext creates a new context for a routable API
{ "resource": "" }
c10319
train
// NewContext creates a new context wrapper
{ "resource": "" }
c10320
train
// Serve serves the specified spec with the specified api registrations as a http.Handler
{ "resource": "" }
c10321
train
// ServeWithBuilder serves the specified spec with the specified api registrations as a http.Handler that is decorated // by the Builder
{ "resource": "" }
c10322
train
// MatchedRouteFrom request context value.
{ "resource": "" }
c10323
train
// SecurityScopesFrom request context value.
{ "resource": "" }
c10324
train
// BindValidRequest binds a params object to a request but only when the request is valid // if the request is not valid an error will be returned
{ "resource": "" }
c10325
train
// ContentType gets the parsed value of a content type // Returns the media type, its charset and a shallow copy of the request // when its context doesn't contain the content type value, otherwise it returns // the same request // Returns the error that runtime.ContentType may retunrs.
{ "resource": "" }
c10326
train
// LookupRoute looks a route up and returns true when it is found
{ "resource": "" }
c10327
train
// RouteInfo tries to match a route for this request // Returns the matched route, a shallow copy of the request if its context // contains the matched router, otherwise the same request, and a bool to // indicate if it the request matches one of the routes, if it doesn't // then it returns false and nil for the other ...
{ "resource": "" }
c10328
train
// ResponseFormat negotiates the response content type // Returns the response format and a shallow copy of the request if its context // doesn't contain the response format, otherwise the same request
{ "resource": "" }
c10329
train
// AllowedMethods gets the allowed methods for the path of this request
{ "resource": "" }
c10330
train
// ResetAuth removes the current principal from the request context
{ "resource": "" }
c10331
train
// BindAndValidate binds and validates the request // Returns the validation map and a shallow copy of the request when its context // doesn't contain the validation, otherwise it returns the same request or an // CompositeValidationError error
{ "resource": "" }
c10332
train
// NotFound the default not found responder for when no route has been matched yet
{ "resource": "" }
c10333
train
// APIHandler returns a handler to serve the API, this includes a swagger spec, router and the contract defined in the swagger spec
{ "resource": "" }
c10334
train
// RoutesHandler returns a handler to serve the API, just the routes and the contract defined in the swagger spec
{ "resource": "" }
c10335
train
// TextConsumer creates a new text consumer
{ "resource": "" }
c10336
train
// TextProducer creates a new text producer
{ "resource": "" }
c10337
train
// CSVConsumer creates a new CSV consumer
{ "resource": "" }
c10338
train
// CSVProducer creates a new CSV producer
{ "resource": "" }
c10339
train
// JSON converts the contained object to a JSON string // representation
{ "resource": "" }
c10340
train
// MustJSON converts the contained object to a JSON string // representation and panics if there is an error
{ "resource": "" }
c10341
train
// Base64 converts the contained object to a Base64 string // representation of the JSON string representation
{ "resource": "" }
c10342
train
// MustBase64 converts the contained object to a Base64 string // representation of the JSON string representation and panics // if there is an error
{ "resource": "" }
c10343
train
// SignedBase64 converts the contained object to a Base64 string // representation of the JSON string representation and signs it // using the provided key.
{ "resource": "" }
c10344
train
// MustSignedBase64 converts the contained object to a Base64 string // representation of the JSON string representation and signs it // using the provided key and panics if there is an error
{ "resource": "" }
c10345
train
// getKey returns the key which is held in s by two brackets. // It also returns the next selector.
{ "resource": "" }
c10346
train
// access accesses the object using the selector and performs the // appropriate action.
{ "resource": "" }
c10347
train
// Dema - Double Exponential Moving Average
{ "resource": "" }
c10348
train
// Ma - Moving average
{ "resource": "" }
c10349
train
// MaVp - Moving average with variable period
{ "resource": "" }
c10350
train
// MidPoint - MidPoint over period
{ "resource": "" }
c10351
train
// MidPrice - Midpoint Price over period
{ "resource": "" }
c10352
train
// Sma - Simple Moving Average
{ "resource": "" }
c10353
train
// Tema - Triple Exponential Moving Average
{ "resource": "" }
c10354
train
// Wma - Weighted Moving Average
{ "resource": "" }
c10355
train
// AdxR - Average Directional Movement Index Rating
{ "resource": "" }
c10356
train
// AroonOsc - Aroon Oscillator
{ "resource": "" }
c10357
train
// Bop - Balance Of Power
{ "resource": "" }
c10358
train
// Cmo - Chande Momentum Oscillator
{ "resource": "" }
c10359
train
// Cci - Commodity Channel Index
{ "resource": "" }
c10360
train
// MacdExt - MACD with controllable MA type // unstable period ~= 100
{ "resource": "" }
c10361
train
// MinusDM - Minus Directional Movement
{ "resource": "" }
c10362
train
// Mom - Momentum
{ "resource": "" }
c10363
train
// Ppo - Percentage Price Oscillator
{ "resource": "" }
c10364
train
// Rsi - Relative strength index
{ "resource": "" }
c10365
train
// Stoch - Stochastic
{ "resource": "" }
c10366
train
// StochF - Stochastic Fast
{ "resource": "" }
c10367
train
// StochRsi - Stochastic Relative Strength Index
{ "resource": "" }
c10368
train
// WillR - Williams' %R
{ "resource": "" }
c10369
train
// Obv - On Balance Volume
{ "resource": "" }
c10370
train
// TRange - True Range
{ "resource": "" }
c10371
train
// LinearReg - Linear Regression
{ "resource": "" }
c10372
train
// StdDev - Standard Deviation
{ "resource": "" }
c10373
train
// Var - Variance
{ "resource": "" }
c10374
train
// Asin - Vector Trigonometric ASIN
{ "resource": "" }
c10375
train
// Atan - Vector Trigonometric ATAN
{ "resource": "" }
c10376
train
// Ceil - Vector CEIL
{ "resource": "" }
c10377
train
// Cos - Vector Trigonometric COS
{ "resource": "" }
c10378
train
// Cosh - Vector Trigonometric COSH
{ "resource": "" }
c10379
train
// Exp - Vector atrithmetic EXP
{ "resource": "" }
c10380
train
// Floor - Vector FLOOR
{ "resource": "" }
c10381
train
// Ln - Vector natural log LN
{ "resource": "" }
c10382
train
// Log10 - Vector LOG10
{ "resource": "" }
c10383
train
// Sin - Vector Trigonometric SIN
{ "resource": "" }
c10384
train
// Sinh - Vector Trigonometric SINH
{ "resource": "" }
c10385
train
// Sqrt - Vector SQRT
{ "resource": "" }
c10386
train
// Tan - Vector Trigonometric TAN
{ "resource": "" }
c10387
train
// Tanh - Vector Trigonometric TANH
{ "resource": "" }
c10388
train
// Div - Vector arithmetic division
{ "resource": "" }
c10389
train
// Max - Highest value over a period
{ "resource": "" }
c10390
train
// Min - Lowest value over a period
{ "resource": "" }
c10391
train
// MinMax - Lowest and highest values over a specified period
{ "resource": "" }
c10392
train
// MinMaxIndex - Indexes of lowest and highest values over a specified period
{ "resource": "" }
c10393
train
// Mult - Vector arithmetic multiply
{ "resource": "" }
c10394
train
// Sub - Vector arithmetic subtraction
{ "resource": "" }
c10395
train
// Sum - Vector summation
{ "resource": "" }
c10396
train
// contextID retrieves the local context ID for this system.
{ "resource": "" }
c10397
train
// sysContextID retrieves the local context ID for this system, using the // methods from fs. The context ID is stored in cid for later use. // // This method uses this signature to enable easier testing without unsafe // usage of unsafe.Pointer.
{ "resource": "" }
c10398
train
// Accept blocks until a single connection is accepted by the net.Listener. // // If timeout is non-zero, the listener will be closed after the timeout // expires, even if no connection was accepted.
{ "resource": "" }
c10399
train
// SkipHostIntegration skips this test if this machine is a host and cannot // perform a given test.
{ "resource": "" }