Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 318 for rounds (0.12 sec)

  1. src/encoding/binary/binary.go

    var BigEndian bigEndian
    
    type littleEndian struct{}
    
    func (littleEndian) Uint16(b []byte) uint16 {
    	_ = b[1] // bounds check hint to compiler; see golang.org/issue/14808
    	return uint16(b[0]) | uint16(b[1])<<8
    }
    
    func (littleEndian) PutUint16(b []byte, v uint16) {
    	_ = b[1] // early bounds check to guarantee safety of writes below
    	b[0] = byte(v)
    	b[1] = byte(v >> 8)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:29:31 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. src/unicode/utf8/utf8.go

    	case i <= rune1Max:
    		p[0] = byte(r)
    		return 1
    	case i <= rune2Max:
    		_ = p[1] // eliminate bounds checks
    		p[0] = t2 | byte(r>>6)
    		p[1] = tx | byte(r)&maskx
    		return 2
    	case i > MaxRune, surrogateMin <= i && i <= surrogateMax:
    		r = RuneError
    		fallthrough
    	case i <= rune3Max:
    		_ = p[2] // eliminate bounds checks
    		p[0] = t3 | byte(r>>12)
    		p[1] = tx | byte(r>>6)&maskx
    		p[2] = tx | byte(r)&maskx
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 02:00:36 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/reflect/TypeResolver.java

          if (type == null) {
            Type[] bounds = var.getBounds();
            if (bounds.length == 0) {
              return var;
            }
            Type[] resolvedBounds = new TypeResolver(forDependants).resolveTypes(bounds);
            /*
             * We'd like to simply create our own TypeVariable with the newly resolved bounds. There's
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/riscv/cpu.go

    		return "", fmt.Errorf("invalid suffix, require round mode bit:%x", u)
    	}
    
    	u &^= rmSuffixBit
    	for k, v := range rmSuffixSet {
    		if v == u {
    			return k, nil
    		}
    	}
    	return "", fmt.Errorf("unknown suffix:%x", u)
    }
    
    const (
    	RM_RNE uint8 = iota // Round to Nearest, ties to Even
    	RM_RTZ              // Round towards Zero
    	RM_RDN              // Round Down
    	RM_RUP              // Round Up
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 14:19:33 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/TreeRangeSet.java

           * complementLowerBoundWindow. Complement range lower bounds are either positive range upper
           * bounds, or Cut.belowAll().
           *
           * positiveItr starts at the first positive range with lower bound greater than
           * firstComplementRangeLowerBound. (Positive range lower bounds correspond to complement range
           * upper bounds.)
           */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 32.5K bytes
    - Viewed (0)
  9. 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)
  10. android/guava/src/com/google/common/collect/TreeRangeSet.java

           * complementLowerBoundWindow. Complement range lower bounds are either positive range upper
           * bounds, or Cut.belowAll().
           *
           * positiveItr starts at the first positive range with lower bound greater than
           * firstComplementRangeLowerBound. (Positive range lower bounds correspond to complement range
           * upper bounds.)
           */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 32.5K bytes
    - Viewed (0)
Back to top