Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 110 for rounds (0.1 sec)

  1. src/crypto/internal/bigmod/nat.go

    func (x *Nat) Equal(y *Nat) choice {
    	// Eliminate bounds checks in the loop.
    	size := len(x.limbs)
    	xLimbs := x.limbs[:size]
    	yLimbs := y.limbs[:size]
    
    	equal := yes
    	for i := 0; i < size; i++ {
    		equal &= ctEq(xLimbs[i], yLimbs[i])
    	}
    	return equal
    }
    
    // IsZero returns 1 if x == 0, and 0 otherwise.
    func (x *Nat) IsZero() choice {
    	// Eliminate bounds checks in the loop.
    	size := len(x.limbs)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 24K bytes
    - Viewed (0)
  2. src/image/gif/writer.go

    		return
    	}
    
    	b := pm.Bounds()
    	if b.Min.X < 0 || b.Max.X >= 1<<16 || b.Min.Y < 0 || b.Max.Y >= 1<<16 {
    		e.err = errors.New("gif: image block is too large to encode")
    		return
    	}
    	if !b.In(image.Rectangle{Max: image.Point{e.g.Config.Width, e.g.Config.Height}}) {
    		e.err = errors.New("gif: image block is out of bounds")
    		return
    	}
    
    	transparentIndex := -1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:38:09 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/internal/component/ResolutionFailureHandlerIntegrationTest.groovy

            assertFullMessageCorrect("""   > Found multiple transforms that can produce a variant of project : with requested attributes:
           - color 'red'
           - shape 'round'
         Found the following transforms:
           - From 'configuration ':roundBlueLiquidElements'':
               - With source attributes:
                   - color 'blue'
                   - shape 'round'
                   - state 'liquid'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:55:38 UTC 2024
    - 45K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf_test.cc

      module attributes {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 268 : i32}} {
      func.func @main(%arg0: tensor<?xi32, #mhlo.type_extensions<bounds = [3]>> ) -> (tensor<?xi32, #mhlo.type_extensions<bounds = [3]>>) {
        func.return %arg0 : tensor<?xi32, #mhlo.type_extensions<bounds = [3]>>
      }
    })";
    
      auto compilation_result = CompileMlirModule(
          kMlirModuleWithBoundedDynamicArgStr,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 23:59:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  5. src/slices/slices_test.go

    		{"with negative index", a[:1:1], -1, nil},
    		{"with out-of-bounds index and > cap", a[:1:1], 2, nil},
    		{"with out-of-bounds index and = cap", a[:1:2], 2, nil},
    		{"with out-of-bounds index and < cap", a[:1:3], 2, nil},
    
    		// There are values.
    		{"with negative index", a[:1:1], -1, b[:]},
    		{"with out-of-bounds index and > cap", a[:1:1], 2, b[:]},
    		{"with out-of-bounds index and = cap", a[:1:2], 2, b[:]},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:06 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  6. pkg/proxy/metrics/metrics.go

    	kubeproxyconfig "k8s.io/kubernetes/pkg/proxy/apis/config"
    	"k8s.io/kubernetes/pkg/proxy/util/nfacct"
    )
    
    const kubeProxySubsystem = "kubeproxy"
    
    var (
    	// SyncProxyRulesLatency is the latency of one round of kube-proxy syncing proxy
    	// rules. (With the iptables proxy, this includes both full and partial syncs.)
    	SyncProxyRulesLatency = metrics.NewHistogram(
    		&metrics.HistogramOpts{
    			Subsystem:      kubeProxySubsystem,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/TreeRangeMap.java

      public void remove(Range<K> rangeToRemove) {
        if (rangeToRemove.isEmpty()) {
          return;
        }
    
        /*
         * The comments for this method will use [ ] to indicate the bounds of rangeToRemove and ( ) to
         * indicate the bounds of ranges in the range map.
         */
        Entry<Cut<K>, RangeMapEntry<K, V>> mapEntryBelowToTruncate =
            entriesByLowerBound.lowerEntry(rangeToRemove.lowerBound);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 04 14:31:50 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  8. src/runtime/map_fast32.go

    		insertb = h.newoverflow(t, b)
    		inserti = 0 // not necessary, but avoids needlessly spilling inserti
    	}
    	insertb.tophash[inserti&(abi.MapBucketCount-1)] = tophash(hash) // mask inserti to avoid bounds checks
    
    	insertk = add(unsafe.Pointer(insertb), dataOffset+inserti*4)
    	// store new key at insert position
    	*(*uint32)(insertk) = key
    
    	h.count++
    
    done:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/aot/codegen_test_h.golden

      //
      // T& argN(...dim indices...)
      //   Returns a reference to the value of type T for positional argument N,
      //   with dim indices specifying which value. No bounds checking is performed
      //   on dim indices.
    
      void set_arg0_data(const void* data) {
        set_arg_data(0, data);
      }
      float* arg0_data() {
        return static_cast<float*>(arg_data(0));
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 01:20:01 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/common/ir/UniformSupport.h

        const float real_value = expressed_value.convertToFloat();
    
        const double scaled = real_value / scale_double_ + zero_point_double_;
        // Round to nearest integer with halfway cases rounded away from zero.
        const double scaled_rounded = std::round(scaled);
        const double clamped = std::min(std::max(scaled_rounded, clamp_min_double_),
                                        clamp_max_double_);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 02:10:16 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top