Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 3,404 for multiplier (0.21 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. internal/config/scanner/scanner.go

    	EnvMaxWait       = "MINIO_SCANNER_MAX_WAIT"
    	EnvMaxWaitLegacy = "MINIO_CRAWLER_MAX_WAIT"
    )
    
    // Config represents the heal settings.
    type Config struct {
    	// Delay is the sleep multiplier.
    	Delay float64 `json:"delay"`
    
    	// Sleep always or based on incoming S3 requests.
    	IdleMode int32 // 0 => on, 1 => off
    
    	// Alert upon this many excess object versions
    	ExcessVersions int64 // 100
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/internal/report/stacks.go

    // which makes Javascript code that uses the JSON encoding less error-prone.
    type StackSet struct {
    	Total   int64         // Total value of the profile.
    	Scale   float64       // Multiplier to generate displayed value
    	Type    string        // Profile type. E.g., "cpu".
    	Unit    string        // One of "B", "s", "GCU", or "" (if unknown)
    	Stacks  []Stack       // List of stored stacks
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td

                    $w_factor, TFL_AF_None, $padding, $stride_h, $stride_w,
                    $multiplier)),
        (TFL_DepthwiseConv2DOp $input, $filter, $bias, $h_factor, $w_factor,
            ActFnAttr, $padding, $stride_h, $stride_w, $multiplier),
        [(HasOneUse $conv_out)]>;
    }
    
    multiclass FuseActFnIntoPoolOpPat<Op ActFnOp, ConstantStrAttr ActFnAttr> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 66.4K bytes
    - Viewed (0)
Back to top