- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 72 for newBuf (0.19 sec)
-
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) -
cni/pkg/install/monitoring.go
resultCopyBinariesFailure = "COPY_BINARIES_FAILURE" resultCreateKubeConfigFailure = "CREATE_KUBECONFIG_FAILURE" resultCreateCNIConfigFailure = "CREATE_CNI_CONFIG_FAILURE" cniInstalls = monitoring.NewSum( "istio_cni_installs_total", "Total number of CNI plugins installed by the Istio CNI installer", ) installReady = monitoring.NewGauge( "istio_cni_install_ready",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 17 20:25:52 UTC 2023 - 1.2K bytes - Viewed (0) -
security/pkg/monitoring/monitoring.go
var RequestType = monitoring.CreateLabel("request_type") const ( TokenExchange = "token_exchange" CSR = "csr" ) var NumOutgoingRetries = monitoring.NewSum( "num_outgoing_retries", "Number of outgoing retry requests (e.g. to a token exchange server, CA, etc.)",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 17 20:25:52 UTC 2023 - 1K bytes - Viewed (0) -
src/encoding/xml/typeinfo.go
if oldf.parents[p] != newf.parents[p] { continue Loop } } if len(oldf.parents) > len(newf.parents) { if oldf.parents[len(newf.parents)] == newf.name { conflicts = append(conflicts, i) } } else if len(oldf.parents) < len(newf.parents) { if newf.parents[len(oldf.parents)] == oldf.name { conflicts = append(conflicts, i) } } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 07 00:23:29 UTC 2023 - 9.6K bytes - Viewed (0) -
pilot/pkg/model/monitoring.go
// See the License for the specific language governing permissions and // limitations under the License. package model import "istio.io/istio/pkg/monitoring" var providerLookupClusterFailures = monitoring.NewSum( "provider_lookup_cluster_failures", "Number of times a cluster lookup failed", ) func IncLookupClusterFailures(provider string) { providerLookupClusterFailures.With(typeTag.Value(provider)).Increment()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 17 20:25:52 UTC 2023 - 904 bytes - Viewed (0) -
pilot/pkg/config/kube/crdclient/metrics.go
package crdclient import ( "istio.io/istio/pkg/monitoring" ) var ( typeTag = monitoring.CreateLabel("type") eventTag = monitoring.CreateLabel("event") k8sEvents = monitoring.NewSum( "pilot_k8s_cfg_events", "Events from k8s config.", ) ) func incrementEvent(kind, event string) { k8sEvents.With(typeTag.Value(kind), eventTag.Value(event)).Increment()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 17 20:25:52 UTC 2023 - 953 bytes - Viewed (0) -
cni/pkg/repair/monitoring.go
repairType = "repair" labelType = "label" resultLabel = monitoring.CreateLabel("result") resultSuccess = "success" resultSkip = "skip" resultFail = "fail" podsRepaired = monitoring.NewSum( "istio_cni_repair_pods_repaired_total", "Total number of pods repaired by repair controller", )
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Dec 20 22:14:13 UTC 2023 - 1K bytes - Viewed (0) -
pkg/monitoring/example_sum_test.go
// limitations under the License. package monitoring_test import "istio.io/istio/pkg/monitoring" var ( protocol = monitoring.CreateLabel("protocol") requests = monitoring.NewSum( "requests_total", "Number of requests handled, by protocol", ) ) func ExampleNewSum() { // increment on every http request requests.With(protocol.Value("http")).Increment()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 17 20:25:52 UTC 2023 - 1005 bytes - Viewed (0) -
pilot/pkg/util/informermetric/informerutil.go
"istio.io/istio/pkg/cluster" "istio.io/istio/pkg/log" "istio.io/istio/pkg/monitoring" ) var ( clusterLabel = monitoring.CreateLabel("cluster") errorMetric = monitoring.NewSum( "controller_sync_errors_total", "Total number of errorMetric syncing controllers.", ) mu sync.RWMutex handlers = map[cluster.ID]cache.WatchErrorHandler{} )
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 17 20:25:52 UTC 2023 - 1.6K 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)