Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Precompute (3 sec)

  1. src/internal/trace/mud.go

    		if r < thresh {
    			d.trackSum += area
    		} else {
    			d.trackSum += area * (thresh - l) / (r - l)
    		}
    		if d.trackSum >= d.trackMass {
    			// The tracked mass now falls in a different
    			// bucket. Recompute the inverse cumulative sum.
    			d.setTrackMass(d.trackMass)
    		}
    	}
    }
    
    // setTrackMass sets the mass to track the inverse cumulative sum for.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/base/super/com/google/common/base/Platform.java

    /** @author Jesse Wilson */
    final class Platform {
      static CharMatcher precomputeCharMatcher(CharMatcher matcher) {
        // CharMatcher.precomputed() produces CharMatchers that are maybe a little
        // faster (and that's debatable), but definitely more memory-hungry. We're
        // choosing to turn .precomputed() into a no-op in GWT, because it doesn't
        // seem to be a worthwhile tradeoff in a browser.
        return matcher;
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon May 27 13:56:56 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. src/cmd/internal/pgo/serialize.go

    		written += int64(n)
    		if err != nil {
    			return written, err
    		}
    	}
    
    	if err := bw.Flush(); err != nil {
    		return written, err
    	}
    
    	// No need to serialize TotalWeight, it can be trivially recomputed
    	// during parsing.
    
    	return written, nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:20:01 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt

     *          since this whole object is kept in the classloader between builds.
     *          Anything that changes must be in a val with a get() method that recomputes the value each time.
     */
    object BuildEnvironment {
    
        /**
         * A selection of environment variables injected into the environment by the `codeql-env.sh` script.
         */
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 16:58:31 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/macho_update_uuid.go

    	rv[8] |= 0xc0
    
    	return rv
    }
    
    // machoRewriteUuid copies over the contents of the Macho executable
    // exef into the output file outexe, and in the process updates the
    // LC_UUID command to a new value recomputed from the Go build id.
    func machoRewriteUuid(ctxt *Link, exef *os.File, exem *macho.File, outexe string) error {
    	outf, err := os.OpenFile(outexe, os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0755)
    	if err != nil {
    		return err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. 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)
  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)
Back to top