Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 226 for slowTest (0.2 sec)

  1. src/log/slog/value_access_benchmark_test.go

    // license that can be found in the LICENSE file.
    
    // Benchmark for accessing Value values.
    
    package slog
    
    import (
    	"testing"
    	"time"
    )
    
    // The "As" form is the slowest.
    // The switch-panic and visitor times are almost the same.
    // BenchmarkDispatch/switch-checked-8         	 8669427	       137.7 ns/op
    // BenchmarkDispatch/As-8                     	 8212087	       145.3 ns/op
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 21 20:55:33 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  2. src/internal/bytealg/count_s390x.s

    	VSUMB  V_VAL, V_ZERO, V_VAL // [16]byte{x0, x1, ..., x14, x15} → [4]uint32{x0+x1+x2+x3, ..., x12+x13+x14+x15}
    	VSUMQF V_VAL, V_ZERO, V_CNT // [4]uint32{x0, x1, x2, x3} → [1]uint128{x0+x1+x2+x3}
    
    	// Return rightmost (lowest) 64-bit part of accumulator.
    	VSTEG $1, V_CNT, (R_RET)
    	RET
    
    vxchunks:
    	// Load 0x01 into every byte element in the 16-byte mask vector.
    	VREPIB $1, V_MASK // V_MASK = [16]byte{1, 1, ..., 1, 1}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 15 21:04:43 UTC 2019
    - 5.4K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/noderesources/least_allocated.go

    			weightSum += weight
    		}
    		if weightSum == 0 {
    			return 0
    		}
    		return nodeScore / weightSum
    	}
    }
    
    // The unused capacity is calculated on a scale of 0-MaxNodeScore
    // 0 being the lowest priority and `MaxNodeScore` being the highest.
    // The more unused resources the higher the score is.
    func leastRequestedScore(requested, capacity int64) int64 {
    	if capacity == 0 {
    		return 0
    	}
    	if requested > capacity {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 12 01:50:09 UTC 2023
    - 2K bytes
    - Viewed (0)
  4. src/internal/trace/gc.go

    	c.mmu(window, &acc)
    	return acc.mmu
    }
    
    // Examples returns n specific examples of the lowest mutator
    // utilization for the given window size. The returned windows will be
    // disjoint (otherwise there would be a huge number of
    // mostly-overlapping windows at the single lowest point). There are
    // no guarantees on which set of disjoint windows this returns.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 26K bytes
    - Viewed (0)
  5. src/cmd/internal/pgo/serialize.go

    //      "call site offset" "call edge weight"
    //      ...
    //      caller_name
    //      callee_name
    //      "call site offset" "call edge weight"
    //
    // Entries are sorted by "call edge weight", from highest to lowest.
    
    const serializationHeader = "GO PREPROFILE V1\n"
    
    // WriteTo writes a serialized representation of Profile to w.
    //
    // FromSerialized can parse the format back to Profile.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:20:01 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. internal/config/scanner/scanner.go

    	case "default":
    		cfg.Delay, cfg.MaxWait, cfg.Cycle = 2, time.Second, time.Minute
    	case "slow":
    		cfg.Delay, cfg.MaxWait, cfg.Cycle = 10, 15*time.Second, time.Minute
    	case "slowest":
    		cfg.Delay, cfg.MaxWait, cfg.Cycle = 100, 15*time.Second, 30*time.Minute
    	default:
    		return cfg, fmt.Errorf("unknown '%s' value", speed)
    	}
    
    	return cfg, nil
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/plugins/noderesources/most_allocated.go

    		if weightSum == 0 {
    			return 0
    		}
    		return nodeScore / weightSum
    	}
    }
    
    // The used capacity is calculated on a scale of 0-MaxNodeScore (MaxNodeScore is
    // constant with value set to 100).
    // 0 being the lowest priority and 100 being the highest.
    // The more resources are used the higher the score is. This function
    // is almost a reversed version of noderesources.leastRequestedScore.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 21 15:23:47 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/seat_seconds.go

    // no other code should use it.
    type SeatSeconds uint64
    
    // MaxSeatsSeconds is the maximum representable value of SeatSeconds
    const MaxSeatSeconds = SeatSeconds(math.MaxUint64)
    
    // MinSeatSeconds is the lowest representable value of SeatSeconds
    const MinSeatSeconds = SeatSeconds(0)
    
    // SeatsTimeDuration produces the SeatSeconds value for the given factors.
    // This is intended only to produce small values, increments in work
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 20 09:16:46 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/escape/ArrayBasedCharEscaper.java

       * lies outside that, then {@link #escapeUnsafe} is called, otherwise no escaping is performed.
       *
       * @param replacementMap a map of characters to their escaped representations
       * @param safeMin the lowest character value in the safe range
       * @param safeMax the highest character value in the safe range
       */
      protected ArrayBasedCharEscaper(
          Map<Character, String> replacementMap, char safeMin, char safeMax) {
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

       * lies outside that, then {@link #escapeUnsafe} is called, otherwise no escaping is performed.
       *
       * @param replacementMap a map of characters to their escaped representations
       * @param safeMin the lowest character value in the safe range
       * @param safeMax the highest character value in the safe range
       * @param unsafeReplacement the default replacement for unsafe characters or null if no default
       *     replacement is required
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 8.5K bytes
    - Viewed (0)
Back to top