- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 60 for newBuf (0.21 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/main/java/org/codelibs/core/io/FileUtil.java
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 9K bytes - Viewed (0) -
src/encoding/json/stream.go
dec.buf = dec.buf[:n] dec.scanp = 0 } // Grow buffer if not large enough. const minRead = 512 if cap(dec.buf)-len(dec.buf) < minRead { newBuf := make([]byte, len(dec.buf), 2*cap(dec.buf)+minRead) copy(newBuf, dec.buf) dec.buf = newBuf } // Read. Delay error for next iteration (after scan). n, err := dec.r.Read(dec.buf[len(dec.buf):cap(dec.buf)]) dec.buf = dec.buf[0 : len(dec.buf)+n]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 19:04:28 UTC 2023 - 12.9K 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) -
operator/pkg/metrics/monitoring.go
"version", "Version of operator binary", ) ReconcileRequestTotal = monitoring.NewSum( "reconcile_request_total", "Number of times requesting Reconcile", ) // GetCRErrorTotal counts the number of times fetching // CR fails from API server. GetCRErrorTotal = monitoring.NewSum( "get_cr_error_total", "Number of times fetching CR from apiserver failed", )
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Aug 10 15:35:03 UTC 2023 - 7K bytes - Viewed (0) -
security/pkg/nodeagent/cache/monitoring.go
var ( outgoingLatency = monitoring.NewSum( "outgoing_latency", "The latency of outgoing requests (e.g. to a token exchange server, CA, etc.) in milliseconds.", ) numOutgoingRequests = monitoring.NewSum( "num_outgoing_requests", "Number of total outgoing requests (e.g. to a token exchange server, CA, etc.)", ) numFailedOutgoingRequests = monitoring.NewSum( "num_failed_outgoing_requests",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 17 20:25:52 UTC 2023 - 1.9K bytes - Viewed (0) -
pkg/istio-agent/metrics/metrics.go
IstiodConnectionFailures = monitoring.NewSum( "istiod_connection_failures", "The total number of connection failures to Istiod", ) // istiodDisconnections records total number of unexpected disconnections by Istiod. istiodDisconnections = monitoring.NewSum( "istiod_connection_terminations", "The total number of connection errors to Istiod", )
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 17 20:25:52 UTC 2023 - 2.2K 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/kube/inject/monitoring.go
) var ( totalInjections = monitoring.NewSum( "sidecar_injection_requests_total", "Total number of sidecar injection requests.", ) totalSuccessfulInjections = monitoring.NewSum( "sidecar_injection_success_total", "Total number of successful sidecar injection requests.", ) totalFailedInjections = monitoring.NewSum( "sidecar_injection_failure_total",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 17 20:25:52 UTC 2023 - 1.4K bytes - Viewed (0)