anchor
dict
positive
dict
negative
dict
{ "audio": "", "image": "", "text": "func (s *BackendConnectionErrors) SetHTTPCode4XXCount(v int64) *BackendConnectionErrors", "video": "" }
{ "audio": "", "image": "", "text": " {\n\ts.HTTPCode4XXCount = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": " v.Int64 != 0 {\n\t\tenc.Int64(v.Int64)\n\t}\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (s *BackendConnectionErrors) SetHTTPCode5XXCount(v int64) *BackendConnectionErrors", "video": "" }
{ "audio": "", "image": "", "text": " {\n\ts.HTTPCode5XXCount = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": " v.Int64 != 0 {\n\t\tenc.Int64(v.Int64)\n\t}\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (s *BackendConnectionErrors) SetTimeoutCount(v", "video": "" }
{ "audio": "", "image": "", "text": " int64) *BackendConnectionErrors {\n\ts.TimeoutCount = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *BackendConnectionErrors) SetUnknownHostCount(v int64) *BackendConnectionErrors", "video": "" }
{ "audio": "", "image": "", "text": " {\n\ts.UnknownHostCount = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": " v.Int64 != 0 {\n\t\tenc.Int64(v.Int64)\n\t}\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (s *BatchGetTracesOutput) SetTraces(v", "video": "" }
{ "audio": "", "image": "", "text": " []*Trace) *BatchGetTracesOutput {\n\ts.Traces = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *BatchGetTracesOutput) SetUnprocessedTraceIds(v", "video": "" }
{ "audio": "", "image": "", "text": " []*string) *BatchGetTracesOutput {\n\ts.UnprocessedTraceIds = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *ErrorStatistics) SetThrottleCount(v int64) *ErrorStatistics {\n", "video": "" }
{ "audio": "", "image": "", "text": "\ts.ThrottleCount = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": " v.Int64 != 0 {\n\t\tenc.Int64(v.Int64)\n\t}\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (s *GetSamplingRulesOutput) SetSamplingRuleRecords(v []*SamplingRuleRecord)", "video": "" }
{ "audio": "", "image": "", "text": " *GetSamplingRulesOutput {\n\ts.SamplingRuleRecords = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *GetSamplingStatisticSummariesOutput) SetSamplingStatisticSummaries(v", "video": "" }
{ "audio": "", "image": "", "text": " []*SamplingStatisticSummary) *GetSamplingStatisticSummariesOutput {\n\ts.SamplingStatisticSummaries = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *GetSamplingTargetsInput) SetSamplingStatisticsDocuments(v []*SamplingStatisticsDocument)", "video": "" }
{ "audio": "", "image": "", "text": " *GetSamplingTargetsInput {\n\ts.SamplingStatisticsDocuments = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *GetSamplingTargetsOutput) SetLastRuleModification(v time.Time) *GetSamplingTargetsOutput", "video": "" }
{ "audio": "", "image": "", "text": " {\n\ts.LastRuleModification = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\tnowFunc: func() time.Time { return time.Now().In(time.UTC) },\n\t}\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (s *GetSamplingTargetsOutput) SetSamplingTargetDocuments(v []*SamplingTargetDocument)", "video": "" }
{ "audio": "", "image": "", "text": " *GetSamplingTargetsOutput {\n\ts.SamplingTargetDocuments = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *GetSamplingTargetsOutput) SetUnprocessedStatistics(v []*UnprocessedStatistics)", "video": "" }
{ "audio": "", "image": "", "text": " *GetSamplingTargetsOutput {\n\ts.UnprocessedStatistics = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *GetTimeSeriesServiceStatisticsInput) SetEntitySelectorExpression(v", "video": "" }
{ "audio": "", "image": "", "text": " string) *GetTimeSeriesServiceStatisticsInput {\n\ts.EntitySelectorExpression = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *GetTimeSeriesServiceStatisticsOutput) SetTimeSeriesServiceStatistics(v", "video": "" }
{ "audio": "", "image": "", "text": " []*TimeSeriesServiceStatistics) *GetTimeSeriesServiceStatisticsOutput {\n\ts.TimeSeriesServiceStatistics = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *GetTraceSummariesInput) SetSampling(v", "video": "" }
{ "audio": "", "image": "", "text": " bool) *GetTraceSummariesInput {\n\ts.Sampling = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": " *SamplingStrategy) *GetTraceSummariesInput {\n\ts.SamplingStrategy = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (s *GetTraceSummariesInput) SetSamplingStrategy(v", "video": "" }
{ "audio": "", "image": "", "text": " *SamplingStrategy) *GetTraceSummariesInput {\n\ts.SamplingStrategy = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *GetTraceSummariesInput) SetTimeRangeType(v string) *GetTraceSummariesInput", "video": "" }
{ "audio": "", "image": "", "text": " {\n\ts.TimeRangeType = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": " *SamplingStrategy) *GetTraceSummariesInput {\n\ts.SamplingStrategy = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (s *GetTraceSummariesOutput) SetApproximateTime(v", "video": "" }
{ "audio": "", "image": "", "text": " time.Time) *GetTraceSummariesOutput {\n\ts.ApproximateTime = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *GetTraceSummariesOutput) SetTraceSummaries(v", "video": "" }
{ "audio": "", "image": "", "text": " []*TraceSummary) *GetTraceSummariesOutput {\n\ts.TraceSummaries = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *GetTraceSummariesOutput) SetTracesProcessedCount(v", "video": "" }
{ "audio": "", "image": "", "text": " int64) *GetTraceSummariesOutput {\n\ts.TracesProcessedCount = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *Http) SetClientIp(v string)", "video": "" }
{ "audio": "", "image": "", "text": " *Http {\n\ts.ClientIp = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *Http) SetHttpStatus(v int64) *Http {\n", "video": "" }
{ "audio": "", "image": "", "text": "\ts.HttpStatus = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": " func(responseWriter http.ResponseWriter, request *http.Request) {\n\t\thttp.ServeFile(responseWriter, request, filePath)\n\t}\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (s *Http) SetHttpURL(v string)", "video": "" }
{ "audio": "", "image": "", "text": " *Http {\n\ts.HttpURL = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *Http) SetUserAgent(v string)", "video": "" }
{ "audio": "", "image": "", "text": " *Http {\n\ts.UserAgent = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *PutTelemetryRecordsInput) SetEC2InstanceId(v", "video": "" }
{ "audio": "", "image": "", "text": " string) *PutTelemetryRecordsInput {\n\ts.EC2InstanceId = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *PutTelemetryRecordsInput) SetTelemetryRecords(v", "video": "" }
{ "audio": "", "image": "", "text": " []*TelemetryRecord) *PutTelemetryRecordsInput {\n\ts.TelemetryRecords = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *PutTraceSegmentsInput) SetTraceSegmentDocuments(v", "video": "" }
{ "audio": "", "image": "", "text": " []*string) *PutTraceSegmentsInput {\n\ts.TraceSegmentDocuments = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *PutTraceSegmentsOutput) SetUnprocessedTraceSegments(v []*UnprocessedTraceSegment)", "video": "" }
{ "audio": "", "image": "", "text": " *PutTraceSegmentsOutput {\n\ts.UnprocessedTraceSegments = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *SamplingRuleRecord) SetModifiedAt(v time.Time) *SamplingRuleRecord", "video": "" }
{ "audio": "", "image": "", "text": " {\n\ts.ModifiedAt = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\tnowFunc: func() time.Time { return time.Now().In(time.UTC) },\n\t}\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (s *SamplingTargetDocument) SetReservoirQuota(v int64) *SamplingTargetDocument", "video": "" }
{ "audio": "", "image": "", "text": " {\n\ts.ReservoirQuota = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": " v.Int64 != 0 {\n\t\tenc.Int64(v.Int64)\n\t}\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (s *SamplingTargetDocument) SetReservoirQuotaTTL(v time.Time) *SamplingTargetDocument", "video": "" }
{ "audio": "", "image": "", "text": " {\n\ts.ReservoirQuotaTTL = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\tnowFunc: func() time.Time { return time.Now().In(time.UTC) },\n\t}\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (s *Service) SetDurationHistogram(v []*HistogramEntry)", "video": "" }
{ "audio": "", "image": "", "text": " *Service {\n\ts.DurationHistogram = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *Service) SetEdges(v []*Edge)", "video": "" }
{ "audio": "", "image": "", "text": " *Service {\n\ts.Edges = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *TelemetryRecord) SetBackendConnectionErrors(v *BackendConnectionErrors) *TelemetryRecord {", "video": "" }
{ "audio": "", "image": "", "text": "\n\ts.BackendConnectionErrors = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *TelemetryRecord) SetSegmentsReceivedCount(v int64) *TelemetryRecord {\n", "video": "" }
{ "audio": "", "image": "", "text": "\ts.SegmentsReceivedCount = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": " v.Int64 != 0 {\n\t\tenc.Int64(v.Int64)\n\t}\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (s *TelemetryRecord) SetSegmentsRejectedCount(v int64) *TelemetryRecord {\n", "video": "" }
{ "audio": "", "image": "", "text": "\ts.SegmentsRejectedCount = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": " v.Int64 != 0 {\n\t\tenc.Int64(v.Int64)\n\t}\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (s *TelemetryRecord) SetSegmentsSentCount(v int64) *TelemetryRecord {\n", "video": "" }
{ "audio": "", "image": "", "text": "\ts.SegmentsSentCount = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": " v.Int64 != 0 {\n\t\tenc.Int64(v.Int64)\n\t}\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (s *TelemetryRecord) SetSegmentsSpilloverCount(v int64) *TelemetryRecord {\n", "video": "" }
{ "audio": "", "image": "", "text": "\ts.SegmentsSpilloverCount = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": " v.Int64 != 0 {\n\t\tenc.Int64(v.Int64)\n\t}\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (s *TimeSeriesServiceStatistics) SetEdgeSummaryStatistics(v", "video": "" }
{ "audio": "", "image": "", "text": " *EdgeStatistics) *TimeSeriesServiceStatistics {\n\ts.EdgeSummaryStatistics = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *TimeSeriesServiceStatistics) SetServiceSummaryStatistics(v", "video": "" }
{ "audio": "", "image": "", "text": " *ServiceStatistics) *TimeSeriesServiceStatistics {\n\ts.ServiceSummaryStatistics = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *Trace) SetSegments(v []*Segment)", "video": "" }
{ "audio": "", "image": "", "text": " *Trace {\n\ts.Segments = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *TraceSummary) SetErrorRootCauses(v []*ErrorRootCause)", "video": "" }
{ "audio": "", "image": "", "text": " *TraceSummary {\n\ts.ErrorRootCauses = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *TraceSummary) SetFaultRootCauses(v []*FaultRootCause)", "video": "" }
{ "audio": "", "image": "", "text": " *TraceSummary {\n\ts.FaultRootCauses = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *TraceSummary) SetHasError(v bool) *TraceSummary {\n", "video": "" }
{ "audio": "", "image": "", "text": "\ts.HasError = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\n\t\tMap(int64ToInt).\n\t\tWithShrinker(IntShrinker).\n\t\tSuchThat(func(v int) bool {\n\t\t\treturn v >= min && v <= max\n\t\t})\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (s *TraceSummary) SetHasFault(v bool) *TraceSummary {\n", "video": "" }
{ "audio": "", "image": "", "text": "\ts.HasFault = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\n\t\tMap(int64ToInt).\n\t\tWithShrinker(IntShrinker).\n\t\tSuchThat(func(v int) bool {\n\t\t\treturn v >= min && v <= max\n\t\t})\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (s *TraceSummary) SetHasThrottle(v bool) *TraceSummary {\n", "video": "" }
{ "audio": "", "image": "", "text": "\ts.HasThrottle = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\n\t\tMap(int64ToInt).\n\t\tWithShrinker(IntShrinker).\n\t\tSuchThat(func(v int) bool {\n\t\t\treturn v >= min && v <= max\n\t\t})\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (s *TraceSummary) SetHttp(v", "video": "" }
{ "audio": "", "image": "", "text": " *Http) *TraceSummary {\n\ts.Http = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *TraceSummary) SetIsPartial(v bool) *TraceSummary {\n", "video": "" }
{ "audio": "", "image": "", "text": "\ts.IsPartial = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\n\t\tMap(int64ToInt).\n\t\tWithShrinker(IntShrinker).\n\t\tSuchThat(func(v int) bool {\n\t\t\treturn v >= min && v <= max\n\t\t})\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (s *TraceSummary) SetMatchedEventTime(v time.Time) *TraceSummary {\n", "video": "" }
{ "audio": "", "image": "", "text": "\ts.MatchedEventTime = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\tnowFunc: func() time.Time { return time.Now().In(time.UTC) },\n\t}\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (s *TraceSummary) SetResourceARNs(v []*ResourceARNDetail)", "video": "" }
{ "audio": "", "image": "", "text": " *TraceSummary {\n\ts.ResourceARNs = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *TraceSummary) SetResponseTime(v float64) *TraceSummary {\n", "video": "" }
{ "audio": "", "image": "", "text": "\ts.ResponseTime = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": " int64) {\n\ts.autoCounter(s.statName(stat)).Add(float64(value))\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (s *TraceSummary) SetResponseTimeRootCauses(v []*ResponseTimeRootCause)", "video": "" }
{ "audio": "", "image": "", "text": " *TraceSummary {\n\ts.ResponseTimeRootCauses = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *UpdateSamplingRuleInput) SetSamplingRuleUpdate(v", "video": "" }
{ "audio": "", "image": "", "text": " *SamplingRuleUpdate) *UpdateSamplingRuleInput {\n\ts.SamplingRuleUpdate = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *ValueWithServiceIds) SetAnnotationValue(v", "video": "" }
{ "audio": "", "image": "", "text": " *AnnotationValue) *ValueWithServiceIds {\n\ts.AnnotationValue = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (a *WaiterAcceptor) ExpectedString() string {\n\tswitch a.Expected.(type)", "video": "" }
{ "audio": "", "image": "", "text": " {\n\tcase string:\n\t\treturn fmt.Sprintf(\"%q\", a.Expected)\n\tdefault:\n\t\treturn fmt.Sprintf(\"%v\", a.Expected)\n\t}\n}", "video": "" }
{ "audio": "", "image": "", "text": " *design.AttributeDefinition {\n\treturn a.Type.(*design.Array).ElemType\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (a *API) WaitersGoCode() string {\n\tvar buf bytes.Buffer\n\tfmt.Fprintf(&buf, \"import (\\n%q\\n\\n%q\\n%q\\n)\",\n\t\t\"time\",\n\t\tSDKImportRoot+\"/aws\",\n\t\tSDKImportRoot+\"/aws/request\",", "video": "" }
{ "audio": "", "image": "", "text": "\n\t)\n\n\tfor _, w := range a.Waiters {\n\t\tbuf.WriteString(w.GoCode())\n\t}\n\treturn buf.String()\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t}()\n\tvar buf bytes.Buffer\n\tif _, err := io.CopyN(&buf, rs, 1e6); err != nil {\n\t\tif err != io.EOF {\n\t\t\treturn false, err\n\t\t}\n\t}\n\treturn utf8.Valid(buf.Bytes()), nil\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (a *API) AttachWaiters(filename string) {\n\tp := waiterDefinitions{API: a}\n\n\tf, err := os.Open(filename)\n", "video": "" }
{ "audio": "", "image": "", "text": "\tdefer f.Close()\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\terr = json.NewDecoder(f).Decode(&p)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tp.setup()\n}", "video": "" }
{ "audio": "", "image": "", "text": " else {\n\t\t\tfilePath = fmt.Sprintf(\"%s/%s\", targetDir, filename)\n\t\t}\n\n\t\tif _, err := os.Stat(filePath); err == nil {\n\t\t\tfilename = fmt.Sprintf(\"%s-%d\", original, i)\n\t\t} else {\n\t\t\tbreak\n\t\t}\n\t}\n\n\treturn filename\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (w *Waiter) InterfaceSignature() string {\n\tvar buf bytes.Buffer\n\tif err := waiterTmpls.ExecuteTemplate(&buf, \"waiter interface\", w); err", "video": "" }
{ "audio": "", "image": "", "text": " != nil {\n\t\tpanic(err)\n\t}\n\n\treturn strings.TrimSpace(buf.String())\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t}()\n\tvar buf bytes.Buffer\n\tif _, err := io.CopyN(&buf, rs, 1e6); err != nil {\n\t\tif err != io.EOF {\n\t\t\treturn false, err\n\t\t}\n\t}\n\treturn utf8.Valid(buf.Bytes()), nil\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (w *Waiter) GoCode() string {\n\tvar buf bytes.Buffer\n\tif err :=", "video": "" }
{ "audio": "", "image": "", "text": " waiterTmpls.ExecuteTemplate(&buf, \"waiter\", w); err != nil {\n\t\tpanic(err)\n\t}\n\n\treturn buf.String()\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t}()\n\tvar buf bytes.Buffer\n\tif _, err := io.CopyN(&buf, rs, 1e6); err != nil {\n\t\tif err != io.EOF {\n\t\t\treturn false, err\n\t\t}\n\t}\n\treturn utf8.Valid(buf.Bytes()), nil\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (c *aesGCM) Encrypt(src io.Reader) io.Reader {\n\treader := &gcmEncryptReader{\n\t\tencrypter: c.aead,\n\t\tnonce: ", "video": "" }
{ "audio": "", "image": "", "text": " c.nonce,\n\t\tsrc: src,\n\t}\n\treturn reader\n}", "video": "" }
{ "audio": "", "image": "", "text": " r.Reader.(io.Closer); ok {\n\t\treturn c.Close()\n\t}\n\treturn nil\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (c *aesGCM) Decrypt(src io.Reader) io.Reader {\n\treturn &gcmDecryptReader{\n\t\tdecrypter:", "video": "" }
{ "audio": "", "image": "", "text": " c.aead,\n\t\tnonce: c.nonce,\n\t\tsrc: src,\n\t}\n}", "video": "" }
{ "audio": "", "image": "", "text": " r.Reader.(io.Closer); ok {\n\t\treturn c.Close()\n\t}\n\treturn nil\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (c *DatabaseMigrationService) WaitUntilEndpointDeleted(input *DescribeEndpointsInput) error {\n\treturn", "video": "" }
{ "audio": "", "image": "", "text": " c.WaitUntilEndpointDeletedWithContext(aws.BackgroundContext(), input)\n}", "video": "" }
{ "audio": "", "image": "", "text": " func(_ *Client, c *RemoteContext) error {\n\t\tc.Snapshotter = snapshotterName\n\t\treturn nil\n\t}\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (c *DatabaseMigrationService) WaitUntilReplicationInstanceAvailable(input *DescribeReplicationInstancesInput) error {\n\treturn", "video": "" }
{ "audio": "", "image": "", "text": " c.WaitUntilReplicationInstanceAvailableWithContext(aws.BackgroundContext(), input)\n}", "video": "" }
{ "audio": "", "image": "", "text": " func(_ *Client, c *RemoteContext) error {\n\t\tc.Snapshotter = snapshotterName\n\t\treturn nil\n\t}\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (c *DatabaseMigrationService) WaitUntilReplicationInstanceDeleted(input *DescribeReplicationInstancesInput) error {\n\treturn", "video": "" }
{ "audio": "", "image": "", "text": " c.WaitUntilReplicationInstanceDeletedWithContext(aws.BackgroundContext(), input)\n}", "video": "" }
{ "audio": "", "image": "", "text": " func(_ *Client, c *RemoteContext) error {\n\t\tc.Snapshotter = snapshotterName\n\t\treturn nil\n\t}\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (c *DatabaseMigrationService) WaitUntilReplicationTaskDeleted(input *DescribeReplicationTasksInput) error {\n\treturn", "video": "" }
{ "audio": "", "image": "", "text": " c.WaitUntilReplicationTaskDeletedWithContext(aws.BackgroundContext(), input)\n}", "video": "" }
{ "audio": "", "image": "", "text": " func(_ *Client, c *RemoteContext) error {\n\t\tc.Snapshotter = snapshotterName\n\t\treturn nil\n\t}\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (c *DatabaseMigrationService) WaitUntilReplicationTaskReady(input *DescribeReplicationTasksInput) error {\n\treturn", "video": "" }
{ "audio": "", "image": "", "text": " c.WaitUntilReplicationTaskReadyWithContext(aws.BackgroundContext(), input)\n}", "video": "" }
{ "audio": "", "image": "", "text": " func(_ *Client, c *RemoteContext) error {\n\t\tc.Snapshotter = snapshotterName\n\t\treturn nil\n\t}\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (c *DatabaseMigrationService) WaitUntilReplicationTaskRunning(input *DescribeReplicationTasksInput) error {\n\treturn", "video": "" }
{ "audio": "", "image": "", "text": " c.WaitUntilReplicationTaskRunningWithContext(aws.BackgroundContext(), input)\n}", "video": "" }
{ "audio": "", "image": "", "text": " func(_ *Client, c *RemoteContext) error {\n\t\tc.Snapshotter = snapshotterName\n\t\treturn nil\n\t}\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (c *DatabaseMigrationService) WaitUntilReplicationTaskStopped(input *DescribeReplicationTasksInput) error {\n\treturn", "video": "" }
{ "audio": "", "image": "", "text": " c.WaitUntilReplicationTaskStoppedWithContext(aws.BackgroundContext(), input)\n}", "video": "" }
{ "audio": "", "image": "", "text": " func(_ *Client, c *RemoteContext) error {\n\t\tc.Snapshotter = snapshotterName\n\t\treturn nil\n\t}\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (s *Session) ClientConfigNoResolveEndpoint(cfgs ...*aws.Config) client.Config {\n\ts = s.Copy(cfgs...)\n\n\tvar resolved endpoints.ResolvedEndpoint\n\n\tregion := aws.StringValue(s.Config.Region)\n\n\tif ep := aws.StringValue(s.Config.Endpoint); len(ep) > 0 {\n\t\tresolve...
{ "audio": "", "image": "", "text": " s.Handlers,\n\t\tEndpoint: resolved.URL,\n\t\tSigningRegion: resolved.SigningRegion,\n\t\tSigningNameDerived: resolved.SigningNameDerived,\n\t\tSigningName: resolved.SigningName,\n\t}\n}", "video": "" }
{ "audio": "", "image": "", "text": " = newSkeinConfiguration(s)\n\ts.config.setSchema(schema[:]) // \"SHA3\"\n\ts.config.setVersion(1)\n\ts.config.generateConfiguration()\n\ts.initialize()\n\treturn s, nil\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (v *DefaultVisitor) VisitExpr(expr AST) error {\n\tt := v.Sections.container[v.scope]\n\tif t.values == nil {\n\t\tt.values = values{}\n\t}\n\n\tswitch expr.Kind {\n\tcase ASTKindExprStatement:\n\t\topExpr := expr.GetRoot()\n\t\tswitch opExpr.Kind {\n\t\tcase ASTKindEqual...
{ "audio": "", "image": "", "text": "\t\t\tkey := EqualExprKey(opExpr)\n\t\t\tv, err := newValue(rhs.Root.ValueType, rhs.Root.base, rhs.Root.Raw())\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\n\t\t\tt.values[key] = v\n\t\tdefault:\n\t\t\treturn NewParseError(fmt.Sprintf(\"unsupported expression %v\", ex...
{ "audio": "", "image": "", "text": "\n\t\tcase *ast.AssignStmt:\n\t\t\tfor _, v := range decl.Rhs {\n\t\t\t\tvalue, err := GetString(v)\n\t\t\t\tif err == nil {\n\t\t\t\t\tvalues = append(values, value)\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t}\n\treturn values\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (v *DefaultVisitor) VisitStatement(stmt AST) error {\n\tswitch stmt.Kind {\n\tcase ASTKindCompletedSectionStatement:\n\t\tchild := stmt.GetRoot()\n\t\tif child.Kind != ASTKindSectionStatement {\n\t\t\treturn NewParseError(fmt.Sprintf(\"unsupported child statement: %T\", c...
{ "audio": "", "image": "", "text": "\n\t\tv.Sections.container[name] = Section{}\n\t\tv.scope = name\n\tdefault:\n\t\treturn NewParseError(fmt.Sprintf(\"unsupported statement: %s\", stmt.Kind))\n\t}\n\n\treturn nil\n}", "video": "" }
{ "audio": "", "image": "", "text": " 0 {\n\t\tchild.endpoint = true\n\t\treturn child\n\t}\n\treturn parsePattern(child, segments)\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (t Sections) GetSection(p string)", "video": "" }
{ "audio": "", "image": "", "text": " (Section, bool) {\n\tv, ok := t.container[p]\n\treturn v, ok\n}", "video": "" }
{ "audio": "", "image": "", "text": " append([]string{typ}, path.Join(sections...))\n\tp, _ := c.getPageOldVersion(refs...)\n\treturn p\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (t Sections) List() []string {\n\tkeys := make([]string, len(t.container))\n\ti := 0\n\tfor k := range", "video": "" }
{ "audio": "", "image": "", "text": " t.container {\n\t\tkeys[i] = k\n\t\ti++\n\t}\n\n\tsort.Strings(keys)\n\treturn keys\n}", "video": "" }
{ "audio": "", "image": "", "text": "\n\n\tvariables := service.Context\n\tkeys := make([]string, 0)\n\tfor k, _ := range variables {\n\t\tkeys = append(keys, k)\n\t}\n\tsort.Strings(keys)\n\n\tfor _, key := range keys {\n\t\tfmt.Printf(\"%s %v\\n\", key, variables[key])\n\t}\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (t Section) Has(k string) bool {\n\t_,", "video": "" }
{ "audio": "", "image": "", "text": " ok := t.values[k]\n\treturn ok\n}", "video": "" }
{ "audio": "", "image": "", "text": " {\n\tsection := new(BodySectionName)\n\terr := section.parse(string(s))\n\treturn section, err\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (t Section) ValueType(k string) (ValueType, bool) {\n\tv,", "video": "" }
{ "audio": "", "image": "", "text": " ok := t.values[k]\n\treturn v.Type, ok\n}", "video": "" }
{ "audio": "", "image": "", "text": " = pb.ValueType_DOUBLE.Enum()\n\tcase types.NonCumulativeDistributionType, types.CumulativeDistributionType:\n\t\td.ValueType = pb.ValueType_DISTRIBUTION.Enum()\n\tcase types.StringType:\n\t\td.ValueType = pb.ValueType_STRING.Enum()\n\tcase types.BoolType:\n\t\td.ValueType = p...
{ "audio": "", "image": "", "text": "func (t Section) Bool(k string) bool {\n\treturn", "video": "" }
{ "audio": "", "image": "", "text": " t.values[k].BoolValue()\n}", "video": "" }
{ "audio": "", "image": "", "text": " bool {\n\treturn func(err error) bool {\n\t\treturn Cause(err) == cause\n\t}\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (t Section) Int(k string) int64 {\n\treturn", "video": "" }
{ "audio": "", "image": "", "text": " t.values[k].IntValue()\n}", "video": "" }
{ "audio": "", "image": "", "text": " {\n\tsection := new(BodySectionName)\n\terr := section.parse(string(s))\n\treturn section, err\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (t Section) Float64(k string) float64 {\n\treturn", "video": "" }
{ "audio": "", "image": "", "text": " t.values[k].FloatValue()\n}", "video": "" }
{ "audio": "", "image": "", "text": "\treturn pixel.RGBA{\n\t\tR: float64(r),\n\t\tG: float64(g),\n\t\tB: float64(b),\n\t\tA: float64(a),\n\t}\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (t Section) String(k string) string {\n\t_, ok := t.values[k]\n\tif !ok {\n\t\treturn \"\"", "video": "" }
{ "audio": "", "image": "", "text": "\n\t}\n\treturn t.values[k].StringValue()\n}", "video": "" }
{ "audio": "", "image": "", "text": " {\n\tsection := new(BodySectionName)\n\terr := section.parse(string(s))\n\treturn section, err\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (l *LogLevelType) Matches(v LogLevelType) bool {\n\tc", "video": "" }
{ "audio": "", "image": "", "text": " := l.Value()\n\treturn c&v == v\n}", "video": "" }
{ "audio": "", "image": "", "text": "\n\t\tMap(int64To16).\n\t\tWithShrinker(Int16Shrinker).\n\t\tSuchThat(func(v int16) bool {\n\t\t\treturn v >= min && v <= max\n\t\t})\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (l *LogLevelType) AtLeast(v LogLevelType) bool {\n\tc", "video": "" }
{ "audio": "", "image": "", "text": " := l.Value()\n\treturn c >= v\n}", "video": "" }
{ "audio": "", "image": "", "text": "\n\t\tMap(int64To16).\n\t\tWithShrinker(Int16Shrinker).\n\t\tSuchThat(func(v int16) bool {\n\t\t\treturn v >= min && v <= max\n\t\t})\n}", "video": "" }
{ "audio": "", "image": "", "text": "func NewDefaultLogger() Logger {\n\treturn &defaultLogger{", "video": "" }
{ "audio": "", "image": "", "text": "\n\t\tlogger: log.New(os.Stdout, \"\", log.LstdFlags),\n\t}\n}", "video": "" }
{ "audio": "", "image": "", "text": "\n\t}\n\tif cfg != nil {\n\t\tlogger.cfg = *cfg\n\t}\n\treturn logger\n}", "video": "" }
{ "audio": "", "image": "", "text": "func NewSigner(credentials *credentials.Credentials, options ...func(*Signer)) *Signer {\n\tv4 := &Signer{\n\t\tCredentials: credentials,", "video": "" }
{ "audio": "", "image": "", "text": "\n\t}\n\n\tfor _, option := range options {\n\t\toption(v4)\n\t}\n\n\treturn v4\n}", "video": "" }
{ "audio": "", "image": "", "text": " *Signer {\n\ts.KeyPairIds = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "func BuildNamedHandler(name string, opts ...func(*Signer)) request.NamedHandler {\n\treturn request.NamedHandler{\n\t\tName: name,\n\t\tFn: func(req *request.Request)", "video": "" }
{ "audio": "", "image": "", "text": " {\n\t\t\tSignSDKRequestWithCurrentTime(req, time.Now, opts...)\n\t\t},\n\t}\n}", "video": "" }
{ "audio": "", "image": "", "text": "\n\treturn func(h echo.Handler) echo.Handler {\n\t\treturn echo.HandlerFunc(func(c echo.Context) error {\n\t\t\tacquire() // before request\n\t\t\terr := h.Handle(c)\n\t\t\trelease() // after request\n\t\t\treturn err\n\t\t})\n\t}\n}", "video": "" }
{ "audio": "", "image": "", "text": "func SignSDKRequestWithCurrentTime(req *request.Request, curTimeFn func() time.Time, opts ...func(*Signer)) {\n\t// If the request does not need to be signed ignore the signing of the\n\t// request if the AnonymousCredentials object is used.\n\tif req.Config.Credentials == cre...
{ "audio": "", "image": "", "text": " do not want to be stompped\n\t\t// on top of by the signer.\n\t\tv4.DisableRequestBodyOverwrite = true\n\t})\n\n\tfor _, opt := range opts {\n\t\topt(v4)\n\t}\n\n\tcurTime := curTimeFn()\n\tsignedHeaders, err := v4.signWithBody(req.HTTPRequest, req.GetBody(),\n\t\tname, regio...
{ "audio": "", "image": "", "text": " chaincodeQueryResponse)\n\n\tfor _, chaincode := range chaincodeQueryResponse.Chaincodes {\n\t\tif chaincode.Name == req.Name && chaincode.Version == req.Version && chaincode.Path == req.Path {\n\t\t\treturn true, nil\n\t\t}\n\t}\n\n\treturn false, nil\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (ctx *signingCtx) isRequestSigned() bool {\n\tif ctx.isPresign && ctx.Query.Get(\"X-Amz-Signature\") != \"\" {\n\t\treturn true\n\t}", "video": "" }
{ "audio": "", "image": "", "text": "\n\tif ctx.Request.Header.Get(\"Authorization\") != \"\" {\n\t\treturn true\n\t}\n\n\treturn false\n}", "video": "" }
{ "audio": "", "image": "", "text": " && ctx.ignorePattern != \"\" {\n\t\tmatch = !pathMatch(ctx.ignorePattern, path)\n\t}\n\tif match && ctx.namePattern != \"\" {\n\t\tmatch = nameMatch(ctx.namePattern, path)\n\t}\n\tif match && ctx.pathPattern != \"\" {\n\t\tmatch = pathMatch(ctx.pathPattern, path)\n\t}\n\tif m...
{ "audio": "", "image": "", "text": "func (ctx *signingCtx) removePresign() {\n\tctx.Query.Del(\"X-Amz-Algorithm\")\n\tctx.Query.Del(\"X-Amz-Signature\")\n\tctx.Query.Del(\"X-Amz-Security-Token\")", "video": "" }
{ "audio": "", "image": "", "text": "\n\tctx.Query.Del(\"X-Amz-Date\")\n\tctx.Query.Del(\"X-Amz-Expires\")\n\tctx.Query.Del(\"X-Amz-Credential\")\n\tctx.Query.Del(\"X-Amz-SignedHeaders\")\n}", "video": "" }
{ "audio": "", "image": "", "text": " := encoder.Encode(obj)\n\tif err != nil {\n\t\tctx.Header().Del(\"Content-Type\")\n\t}\n\treturn err\n}", "video": "" }
{ "audio": "", "image": "", "text": "func stripExcessSpaces(vals []string) {\n\tvar j, k, l, m, spaces int\n\tfor i, str := range vals {\n\t\t// Trim trailing spaces\n\t\tfor j = len(str) - 1; j >= 0 && str[j] == ' '; j-- {\n\t\t}\n\n\t\t// Trim leading spaces\n\t\tfor k = 0; k < j && str[k] == ' '; k++ {\n\t\t}\...
{ "audio": "", "image": "", "text": "\t\tj = strings.Index(str, doubleSpace)\n\t\tif j < 0 {\n\t\t\tvals[i] = str\n\t\t\tcontinue\n\t\t}\n\n\t\tbuf := []byte(str)\n\t\tfor k, m, l = j, j, len(buf); k < l; k++ {\n\t\t\tif buf[k] == ' ' {\n\t\t\t\tif spaces == 0 {\n\t\t\t\t\t// First space.\n\t\t\t\t\tbuf[m] = buf[...
{ "audio": "", "image": "", "text": "\tif argCont.etype != etInt && argCont.etype != etFloat && argCont.etype != etName && argCont.etype != etString && argCont.etype != etBool {\n\t\t\t\treturn \"\", nil, nil, eCont, ErrBadArgumentStr{\"int, float, name, bool or string\", string(argCont.etype)}\n\t\t\t}\n\n\t\t\t...
{ "audio": "", "image": "", "text": "func (s *AccountModification) SetModificationState(v string) *AccountModification {\n", "video": "" }
{ "audio": "", "image": "", "text": "\ts.ModificationState = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *ClientProperties) SetReconnectEnabled(v string) *ClientProperties {\n", "video": "" }
{ "audio": "", "image": "", "text": "\ts.ReconnectEnabled = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *CreateWorkspacesOutput) SetPendingRequests(v", "video": "" }
{ "audio": "", "image": "", "text": " []*Workspace) *CreateWorkspacesOutput {\n\ts.PendingRequests = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *DefaultWorkspaceCreationProperties) SetCustomSecurityGroupId(v", "video": "" }
{ "audio": "", "image": "", "text": " string) *DefaultWorkspaceCreationProperties {\n\ts.CustomSecurityGroupId = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *DefaultWorkspaceCreationProperties) SetDefaultOu(v", "video": "" }
{ "audio": "", "image": "", "text": " string) *DefaultWorkspaceCreationProperties {\n\ts.DefaultOu = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *DefaultWorkspaceCreationProperties) SetEnableInternetAccess(v", "video": "" }
{ "audio": "", "image": "", "text": " bool) *DefaultWorkspaceCreationProperties {\n\ts.EnableInternetAccess = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *DefaultWorkspaceCreationProperties) SetEnableWorkDocs(v", "video": "" }
{ "audio": "", "image": "", "text": " bool) *DefaultWorkspaceCreationProperties {\n\ts.EnableWorkDocs = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *DefaultWorkspaceCreationProperties) SetUserEnabledAsLocalAdministrator(v bool) *DefaultWorkspaceCreationProperties", "video": "" }
{ "audio": "", "image": "", "text": " {\n\ts.UserEnabledAsLocalAdministrator = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\n\t\tMap(int64To16).\n\t\tWithShrinker(Int16Shrinker).\n\t\tSuchThat(func(v int16) bool {\n\t\t\treturn v >= min && v <= max\n\t\t})\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (s *DescribeAccountModificationsOutput) SetAccountModifications(v", "video": "" }
{ "audio": "", "image": "", "text": " []*AccountModification) *DescribeAccountModificationsOutput {\n\ts.AccountModifications = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *DescribeClientPropertiesOutput) SetClientPropertiesList(v", "video": "" }
{ "audio": "", "image": "", "text": " []*ClientPropertiesResult) *DescribeClientPropertiesOutput {\n\ts.ClientPropertiesList = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *DescribeWorkspaceBundlesInput) SetBundleIds(v", "video": "" }
{ "audio": "", "image": "", "text": " []*string) *DescribeWorkspaceBundlesInput {\n\ts.BundleIds = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...