Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 927 for mass (0.04 sec)

  1. src/internal/trace/mud_test.go

    			mass += area
    			l, u, ok := mud.approxInvCumulativeSum()
    			inv, ok2 := mud.invCumulativeSum(trackMass)
    
    			if mass < trackMass {
    				if ok {
    					t.Errorf("approx(%g) = [%g, %g), but mass = %g", trackMass, l, u, mass)
    				}
    				if ok2 {
    					t.Errorf("exact(%g) = %g, but mass = %g", trackMass, inv, mass)
    				}
    			} else {
    				if !ok {
    					t.Errorf("approx(%g) failed, but mass = %g", trackMass, mass)
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. src/internal/trace/mud.go

    		}
    	}
    }
    
    // setTrackMass sets the mass to track the inverse cumulative sum for.
    //
    // Specifically, mass is a cumulative duration, and the mutator
    // utilization bounds for this duration can be queried using
    // approxInvCumulativeSum.
    func (d *mud) setTrackMass(mass float64) {
    	d.trackMass = mass
    
    	// Find the bucket currently containing trackMass by computing
    	// the cumulative sum.
    	sum := 0.0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. src/internal/trace/gc.go

    		if q > maxQ {
    			maxQ = q
    		}
    	}
    	// The distribution's mass is in units of time (it's not
    	// normalized because this would make it more annoying to
    	// account for future contributions of unrefined bands). The
    	// total final mass will be the duration of the trace itself
    	// minus the window size. Using this, we can compute the mass
    	// corresponding to quantile maxQ.
    	var duration int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 26K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/collection/Maps.java

         * @return 指定されたキーと値を持つ{@link HashMap}を構築するための{@literal Maps}
         */
        public static <KEY, VALUE> Maps<KEY, VALUE> hashMap(final KEY key, final VALUE value) {
            return new Maps<>(new HashMap<KEY, VALUE>()).$(key, value);
        }
    
        /**
         * 指定されたキーと値を持つ{@link Hashtable}を構築するための{@literal Maps}を返します。
         *
         * @param <KEY>
         *            <code>Map</code>のキーの型
         * @param <VALUE>
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. pkg/maps/maps.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package maps
    
    import "maps" // nolint: depguard
    
    // Equal reports whether two maps contain the same key/value pairs.
    // Values are compared using ==.
    func Equal[M1, M2 ~map[K]V, K, V comparable](m1 M1, m2 M2) bool {
    	return maps.Equal(m1, m2)
    }
    
    // Clone returns a copy of the map.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 01 22:48:35 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. src/maps/maps.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package maps defines various functions useful with maps of any type.
    package maps
    
    import (
    	_ "unsafe"
    )
    
    // Equal reports whether two maps contain the same key/value pairs.
    // Values are compared using ==.
    func Equal[M1, M2 ~map[K]V, K, V comparable](m1 M1, m2 M2) bool {
    	if len(m1) != len(m2) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 28 20:35:05 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Maps.java

     * "https://github.com/google/guava/wiki/CollectionUtilitiesExplained#maps">{@code Maps}</a>.
     *
     * @author Kevin Bourrillion
     * @author Mike Bostock
     * @author Isaac Shum
     * @author Louis Wasserman
     * @since 2.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class Maps {
      private Maps() {}
    
      private enum EntryFunction implements Function<Entry<?, ?>, @Nullable Object> {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 165.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Maps.java

     * "https://github.com/google/guava/wiki/CollectionUtilitiesExplained#maps">{@code Maps}</a>.
     *
     * @author Kevin Bourrillion
     * @author Mike Bostock
     * @author Isaac Shum
     * @author Louis Wasserman
     * @since 2.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class Maps {
      private Maps() {}
    
      private enum EntryFunction implements Function<Entry<?, ?>, @Nullable Object> {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 159.5K bytes
    - Viewed (0)
  9. cluster/addons/ip-masq-agent/ip-masq-agent.yaml

      template:
        metadata:
          labels:
            k8s-app: ip-masq-agent
        spec:
          priorityClassName: system-node-critical
          serviceAccountName: ip-masq-agent
          hostNetwork: true
          containers:
          - name: ip-masq-agent
            image: registry.k8s.io/networking/ip-masq-agent-amd64:v2.6.1
            args:
              - --masq-chain=IP-MASQ
              - --nomasq-all-reserved-ranges
            resources:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 04:14:02 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/RegularImmutableBiMap.java

          V value = entry.getValue();
          checkEntryNotNull(key, value);
          int keyHash = key.hashCode();
          int valueHash = value.hashCode();
          int keyBucket = Hashing.smear(keyHash) & mask;
          int valueBucket = Hashing.smear(valueHash) & mask;
    
          ImmutableMapEntry<K, V> nextInKeyBucket = keyTable[keyBucket];
          ImmutableMapEntry<K, V> nextInValueBucket = valueTable[valueBucket];
          try {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 11.2K bytes
    - Viewed (0)
Back to top