Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 71 for Precompute (0.14 sec)

  1. pilot/pkg/xds/monitoring.go

    	xdsClientTrackerMutex.Lock()
    	defer xdsClientTrackerMutex.Unlock()
    	xdsClientTracker[version] += delta
    	xdsClients.With(versionTag.Value(version)).Record(xdsClientTracker[version])
    }
    
    // triggerMetric is a precomputed monitoring.Metric for each trigger type. This saves on a lot of allocations
    var triggerMetric = map[model.TriggerReason]monitoring.Metric{
    	model.EndpointUpdate:  pushTriggers.With(typeTag.Value(string(model.EndpointUpdate))),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/convert_control_to_data_outputs.cc

        if (recompute_analysis_for_funcs.contains(while_body)) {
          // TODO(b/202540801): Recomputing side effect analysis for the entire
          // module is wasteful. It would be better to just recompute analysis for
          // specific functions but the current side effect analysis interface
          // does not allow that.
          side_effect_analysis = TF::SideEffectAnalysis(module);
        }
        ConvertControlToDataOutputs(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/TreeMultiset.java

          this.totalCount = elemCount + totalCount(left) + totalCount(right);
        }
    
        private void recomputeHeight() {
          this.height = 1 + Math.max(height(left), height(right));
        }
    
        private void recompute() {
          recomputeMultiset();
          recomputeHeight();
        }
    
        private AvlNode<E> rebalance() {
          switch (balanceFactor()) {
            case -2:
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  4. src/reflect/value.go

    				switch st.kind {
    				case abiStepIntReg:
    					offset := add(s, st.offset, "precomputed value offset")
    					intFromReg(&regArgs, st.ireg, st.size, offset)
    				case abiStepPointer:
    					s := add(s, st.offset, "precomputed value offset")
    					*((*unsafe.Pointer)(s)) = regArgs.Ptrs[st.ireg]
    				case abiStepFloatReg:
    					offset := add(s, st.offset, "precomputed value offset")
    					floatFromReg(&regArgs, st.freg, st.size, offset)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  5. pilot/pkg/model/telemetry.go

    		return nil
    	}
    
    	key := loggingKey{
    		telemetryKey: ct.telemetryKey,
    		Class:        class,
    	}
    	t.mu.Lock()
    	defer t.mu.Unlock()
    	precomputed, ok := t.computedLoggingConfig[key]
    	if ok {
    		return precomputed
    	}
    
    	providers := mergeLogs(ct.Logging, t.meshConfig, workloadMode(class))
    	cfgs := make([]LoggingConfig, 0, len(providers))
    	for p, v := range providers {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 18:14:09 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/TreeMultiset.java

          this.totalCount = elemCount + totalCount(left) + totalCount(right);
        }
    
        private void recomputeHeight() {
          this.height = 1 + Math.max(height(left), height(right));
        }
    
        private void recompute() {
          recomputeMultiset();
          recomputeHeight();
        }
    
        private AvlNode<E> rebalance() {
          switch (balanceFactor()) {
            case -2:
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 34.6K bytes
    - Viewed (0)
  7. pkg/controller/bootstrap/bootstrapsigner.go

    		if strings.HasPrefix(key, bootstrapapi.JWSSignatureKeyPrefix) {
    			tokenID := strings.TrimPrefix(key, bootstrapapi.JWSSignatureKeyPrefix)
    			sigs[tokenID] = value
    			delete(newCM.Data, key)
    		}
    	}
    
    	// Now recompute signatures and store them on the new map
    	tokens := e.getTokens(ctx)
    	for tokenID, tokenValue := range tokens {
    		sig, err := jws.ComputeDetachedSignature(content, tokenID, tokenValue)
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/kube/controller/controller.go

    			// this can happen when an immediate delete after update
    			// the delete event can be handled later
    			return nil
    		}
    		return handler(prev, curr, event)
    	}
    	// Pre-build our metric types to avoid recompute them on each event
    	adds := k8sEvents.With(typeTag.Value(otype), eventTag.Value("add"))
    	updatesames := k8sEvents.With(typeTag.Value(otype), eventTag.Value("updatesame"))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  9. pkg/kube/krt/collection.go

    		}
    	}
    	h.log.Debugf("event size %v, impacts %v objects", len(events), len(changedInputKeys))
    
    	toRun := make([]Event[I], 0, len(changedInputKeys))
    	// Now we have the set of input keys that changed. We need to recompute all of these.
    	// While we could just do that manually, to re-use code, we will convert these into Event[I] and use the same logic as
    	// we would if the input itself changed.
    	for i := range changedInputKeys {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/NodeState.java

            if (incomingEdges.isEmpty()) {
                return;
            }
            // Cleaning has to be done on a copied collection because of the recompute happening on selector removal
            List<EdgeState> remainingIncomingEdges = ImmutableList.copyOf(incomingEdges);
            clearIncomingEdges();
            for (EdgeState incomingEdge : remainingIncomingEdges) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 58.9K bytes
    - Viewed (0)
Back to top