Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 4,261 for multiplier (0.15 sec)

  1. src/internal/abi/stack.go

    // license that can be found in the LICENSE file.
    
    package abi
    
    const (
    	// StackNosplitBase is the base maximum number of bytes that a chain of
    	// NOSPLIT functions can use.
    	//
    	// This value must be multiplied by the stack guard multiplier, so do not
    	// use it directly. See runtime/stack.go:stackNosplit and
    	// cmd/internal/objabi/stack.go:StackNosplit.
    	StackNosplitBase = 800
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 19:28:56 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/interpodaffinity/filtering.go

    func (s *preFilterState) updateWithPod(pInfo *framework.PodInfo, node *v1.Node, multiplier int64) {
    	if s == nil {
    		return
    	}
    
    	s.existingAntiAffinityCounts.updateWithAntiAffinityTerms(pInfo.RequiredAntiAffinityTerms, s.podInfo.Pod, s.namespaceLabels, node, multiplier)
    	s.affinityCounts.updateWithAffinityTerms(s.podInfo.RequiredAffinityTerms, pInfo.Pod, node, multiplier)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 01 10:24:54 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/test/testdata/pgo/devirtualize/mult.pkg/mult.go

    // license that can be found in the LICENSE file.
    
    // WARNING: Please avoid updating this file.
    // See the warning in ../devirt.go for more details.
    
    package mult
    
    var sink int
    
    type Multiplier interface {
    	Multiply(a, b int) int
    }
    
    type Mult struct{}
    
    func (Mult) Multiply(a, b int) int {
    	for i := 0; i < 1000; i++ {
    		sink++
    	}
    	return a * b
    }
    
    type NegMult struct{}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 13 18:17:57 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  4. pkg/volume/util/fsquota/common/quota_common_linux_impl.go

    	if err != nil {
    		return 0, fmt.Errorf("unable to parse data size '%s' from '%s': %v", match[1], data, err)
    	}
    	klog.V(4).Infof("getQuantity %s %d %s %d => %d %v", mountpoint, id, xfsQuotaArg, multiplier, size, err)
    	return size * multiplier, nil
    }
    
    // GetConsumption returns the consumption in bytes if available via quotas
    func (v linuxVolumeQuotaApplier) GetConsumption(_ string, id QuotaID) (int64, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/flatbuffer_export.h

      tensorflow::OpOrArgNameMapper* op_or_arg_name_mapper = nullptr;
      // User-specified value of flatbuffer alignment requirement for custom
      // options. If specified, the value should be multiplier of 16 (default
      // alignment for TFL flatbuffer).
      std::optional<size_t> custom_option_alignment = std::nullopt;
    };
    
    // Translates the given MLIR `module` into a FlatBuffer and stores the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 09 02:51:43 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. pkg/backoff/exponential_test.go

    	)
    
    	o := DefaultOption()
    	o.InitialInterval = testInitialInterval
    	o.MaxInterval = testMaxInterval
    	exp := NewExponentialBackOff(o)
    	exp.(ExponentialBackOff).exponentialBackOff.Multiplier = 2
    
    	expectedResults := []time.Duration{500, 1000, 2000, 4000, 5000, 5000, 5000, 5000, 5000, 5000}
    	for i, d := range expectedResults {
    		expectedResults[i] = d * time.Millisecond
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Sep 05 16:03:30 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  7. src/math/rand/v2/pcg.go

    	// https://github.com/imneme/pcg-cpp/blob/428802d1a5/include/pcg_random.hpp#L161
    	//
    	// Numpy's PCG multiplies by the 64-bit value cheapMul
    	// instead of the 128-bit value used here and in the official PCG code.
    	// This does not seem worthwhile, at least for Go: not having any high
    	// bits in the multiplier reduces the effect of low bits on the highest bits,
    	// and it only saves 1 multiply out of 3.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:31:58 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/x86/evex.go

    }
    
    // SaeEnabled reports whether SAE suffix is permitted.
    func (evex evexBits) SaeEnabled() bool {
    	return (evex.b2&evexSae)>>0 != 0
    }
    
    // DispMultiplier returns displacement multiplier that is calculated
    // based on tuple type, EVEX.W and input size.
    // If embedded broadcast is used, bcst should be true.
    func (evex evexBits) DispMultiplier(bcst bool) int32 {
    	if bcst {
    		switch evex.b2 & evexBcst {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 9.3K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformExecutionBuildOperationIntegrationTest.groovy

                            jar {
                                attributes.attribute(color, 'blue')
                            }
                        }
                    }
                }
    
                abstract class Multiplier implements TransformAction<TransformParameters.None> {
                    @InputArtifact
                    abstract Provider<FileSystemLocation> getInputArtifact()
    
                    void transform(TransformOutputs outputs) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 16:27:38 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/plugins/volumerestrictions/volume_restrictions.go

    	// The number of references to these ReadWriteOncePod volumes by scheduled pods.
    	conflictingPVCRefCount int
    }
    
    func (s *preFilterState) updateWithPod(podInfo *framework.PodInfo, multiplier int) {
    	s.conflictingPVCRefCount += multiplier * s.conflictingPVCRefCountForPod(podInfo)
    }
    
    func (s *preFilterState) conflictingPVCRefCountForPod(podInfo *framework.PodInfo) int {
    	conflicts := 0
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 20 17:40:39 UTC 2023
    - 12.5K bytes
    - Viewed (0)
Back to top