- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for newBuf (0.13 sec)
-
cmd/erasure-decode.go
newBuf := dst if len(dst) != len(p.readers) { newBuf = make([][]byte, len(p.readers)) } else { for i := range newBuf { newBuf[i] = newBuf[i][:0] } } var newBufLK sync.RWMutex if p.offset+p.shardSize > p.shardFileSize { p.shardSize = p.shardFileSize - p.offset } if p.shardSize == 0 { return newBuf, nil }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue May 21 14:36:21 UTC 2024 - 9.4K bytes - Viewed (0) -
src/internal/trace/order.go
return } // Create new buf and copy data over. newBuf := make([]T, len(q.buf)*2) pivot := q.start % len(q.buf) first, last := q.buf[pivot:], q.buf[:pivot] copy(newBuf[:len(first)], first) copy(newBuf[len(first):], last) // Update the queue state. q.start = 0 q.end = len(q.buf) q.buf = newBuf } // pop removes an event from the front of the queue. If the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 03 14:56:25 UTC 2024 - 52.4K bytes - Viewed (0) -
cmd/xl-storage.go
// Convert to slice. dirs = dirs[:0] for dir := range foundDirs { dirs = append(dirs, dir) } if xl.data.remove(dirs...) { newBuf, err := xl.AppendTo(metaDataPoolGet()) if err == nil { defer metaDataPoolPut(newBuf) return s.WriteAll(ctx, volume, pathJoin(path, xlStorageFormatFile), buf) } } return nil } func convertAccessError(err, permErr error) error {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 85.3K bytes - Viewed (0) -
security/pkg/server/ca/monitoring.go
var ( errorTag = monitoring.CreateLabel(errorlabel) csrCounts = monitoring.NewSum( "citadel_server_csr_count", "The number of CSRs received by Citadel server.", ) authnErrorCounts = monitoring.NewSum( "citadel_server_authentication_failure_count", "The number of authentication failures.", ) csrParsingErrorCounts = monitoring.NewSum( "citadel_server_csr_parsing_err_count",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 21 18:32:09 UTC 2024 - 3.3K bytes - Viewed (0) -
pkg/xds/monitoring.go
nodeTag = monitoring.CreateLabel("node") typeTag = monitoring.CreateLabel("type") TotalXDSInternalErrors = monitoring.NewSum( "pilot_total_xds_internal_errors", "Total number of internal XDS errors in pilot.", ) ExpiredNonce = monitoring.NewSum( "pilot_xds_expired_nonce", "Total number of XDS requests with an expired nonce.", )
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 00:26:45 UTC 2024 - 2.9K bytes - Viewed (0) -
pilot/pkg/xds/monitoring.go
[]float64{.1, .5, 1, 3, 5, 10, 20, 30}, ) pushContextErrors = monitoring.NewSum( "pilot_xds_push_context_errors", "Number of errors (timeouts) initiating push context.", ) inboundUpdates = monitoring.NewSum( "pilot_inbound_updates", "Total number of updates received by pilot.", ) pilotSDSCertificateErrors = monitoring.NewSum( "pilot_sds_certificate_errors_total",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 00:26:45 UTC 2024 - 6.7K bytes - Viewed (0) -
src/internal/trace/mud.go
// Find the bucket currently containing trackMass by computing // the cumulative sum. sum := 0.0 for i, val := range d.hist[:] { newSum := sum + val if newSum > mass { // mass falls in bucket i. d.trackBucket = i d.trackSum = sum return } sum = newSum } d.trackBucket = len(d.hist) d.trackSum = sum } // approxInvCumulativeSum is like invCumulativeSum, but specifically
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 5.7K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/op.go
return ValAndOff(int64(val)<<32 + int64(uint32(off))) } func (x ValAndOff) canAdd32(off int32) bool { newoff := x.Off64() + int64(off) return newoff == int64(int32(newoff)) } func (x ValAndOff) canAdd64(off int64) bool { newoff := x.Off64() + off return newoff == int64(int32(newoff)) } func (x ValAndOff) addOffset32(off int32) ValAndOff { if !x.canAdd32(off) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 15:29:10 UTC 2024 - 18.7K bytes - Viewed (0) -
pkg/controller/garbagecollector/graph_builder.go
isUnblocked := c.newRef.BlockOwnerDeletion == nil || (c.newRef.BlockOwnerDeletion != nil && !*c.newRef.BlockOwnerDeletion) if wasBlocked && isUnblocked { node, found := gb.uidToNode.Read(c.newRef.UID) if !found { logger.V(5).Info("cannot find uid in uidToNode", "uid", c.newRef.UID) continue } gb.attemptToDelete.Add(node) } } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 36.9K bytes - Viewed (0) -
pilot/pkg/autoregistration/controller.go
) var ( autoRegistrationSuccess = monitoring.NewSum( "auto_registration_success_total", "Total number of successful auto registrations.", ) autoRegistrationUpdates = monitoring.NewSum( "auto_registration_updates_total", "Total number of auto registration updates.", ) autoRegistrationUnregistrations = monitoring.NewSum( "auto_registration_unregister_total",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 16 00:00:36 UTC 2024 - 26.4K bytes - Viewed (0)