Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 722 for rounds (0.13 sec)

  1. src/image/internal/imageutil/impl.go

    // successful. If it returns false, no dst pixels were changed.
    //
    // This function assumes that r is entirely within dst's bounds and the
    // translation of r from dst coordinate space to src coordinate space is
    // entirely within src's bounds.
    func DrawYCbCr(dst *image.RGBA, r image.Rectangle, src *image.YCbCr, sp image.Point) (ok bool) {
    	// This function exists in the image/internal/imageutil package because it
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 10 17:50:11 UTC 2018
    - 7.4K bytes
    - Viewed (0)
  2. src/runtime/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: Mon Jan 06 02:46:02 UTC 2020
    - 3.4K bytes
    - Viewed (0)
  3. src/crypto/subtle/xor_generic.go

    		// see issue 59334.
    		return nil
    	}
    	return unsafe.Slice((*uintptr)(unsafe.Pointer(&x[0])), n)
    }
    
    func xorLoop[T byte | uintptr](dst, x, y []T) {
    	x = x[:len(dst)] // remove bounds check in loop
    	y = y[:len(dst)] // remove bounds check in loop
    	for i := range dst {
    		dst[i] = x[i] ^ y[i]
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 31 23:25:07 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  4. src/image/decode_test.go

    		}
    		m, imageFormat, err := decode(it.filename)
    		if err != nil {
    			t.Errorf("%s: %v", it.filename, err)
    			continue loop
    		}
    		b := g.Bounds()
    		if !b.Eq(m.Bounds()) {
    			t.Errorf("%s: got bounds %v want %v", it.filename, m.Bounds(), b)
    			continue loop
    		}
    		for y := b.Min.Y; y < b.Max.Y; y++ {
    			for x := b.Min.X; x < b.Max.X; x++ {
    				if !withinTolerance(g.At(x, y), m.At(x, y), it.tolerance) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:51:48 UTC 2019
    - 3.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/transforms/verify_tfxla_legalization_test.cc

          %3 = "mhlo.dynamic_iota"(%2) {iota_dimension = 0 : i64} : (tensor<1xi64>) -> tensor<?xi32, #mhlo.type_extensions<bounds = [4]>>
          %4 = mhlo.multiply %3, %3 : tensor<?xi32, #mhlo.type_extensions<bounds = [4]>>
          return %4 : tensor<?xi32, #mhlo.type_extensions<bounds = [4]>>
        }
      })";
      CellReader<int64_t> legal_error(kFailedLegalizationStreamz);
      CellReader<int64_t> static_error(kNonStaticOpStreamz);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/s390x/rotate.go

    // be in the range 0-63 inclusive or this function will panic.
    func NewRotateParams(start, end, amount uint8) RotateParams {
    	if start&^63 != 0 {
    		panic("start out of bounds")
    	}
    	if end&^63 != 0 {
    		panic("end out of bounds")
    	}
    	if amount&^63 != 0 {
    		panic("amount out of bounds")
    	}
    	return RotateParams{
    		Start:  start,
    		End:    end,
    		Amount: amount,
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 21 19:19:04 UTC 2020
    - 3.6K bytes
    - Viewed (0)
  7. src/time/example_test.go

    	if err != nil {
    		panic(err)
    	}
    
    	round := []time.Duration{
    		time.Nanosecond,
    		time.Microsecond,
    		time.Millisecond,
    		time.Second,
    		2 * time.Second,
    		time.Minute,
    		10 * time.Minute,
    		time.Hour,
    	}
    
    	for _, r := range round {
    		fmt.Printf("d.Round(%6s) = %s\n", r, d.Round(r).String())
    	}
    	// Output:
    	// d.Round(   1ns) = 1h15m30.918273645s
    	// d.Round(   1µs) = 1h15m30.918274s
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 13 01:05:00 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  8. test/fixedbugs/issue38496.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Make sure bounds check elision isn't confused with nil check elision.
    
    package main
    
    func main() {
    	defer func() {
    		err := recover()
    		if err == nil {
    			panic("failed to check nil ptr")
    		}
    	}()
    	var m [2]*int
    	_ = *m[1] // need a nil check, but not a bounds check
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 17 04:26:54 UTC 2020
    - 440 bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/img/dependency-management-project-dependencies.graffle

    {\fonttbl\f0\fnil\fcharset0 HelveticaNeue;} {\colortbl;\red255\green255\blue255;} {\*\expandedcolortbl;;} \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural\qc\partightenfactor0 \f0\fs32 \cf0 Project B}Bounds{{28.124999999999886, 57.568699999999978}, {96, 75.318699999999993}}ClassShapedGraphicID{\rtf1\ansi\ansicpg1252\cocoartf1561\cocoasubrtf100 {\fonttbl\f0\fnil\fcharset0 HelveticaNeue;} {\colortbl;\red255\green255\blue255;} {\*\expandedcolortbl;;} \...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/reflect/TypeToken.java

      }
    
      private static Bounds every(Type[] bounds) {
        // Every bound must match. On any false, result is false.
        return new Bounds(bounds, false);
      }
    
      private static Bounds any(Type[] bounds) {
        // Any bound matches. On any true, result is true.
        return new Bounds(bounds, true);
      }
    
      private static class Bounds {
        private final Type[] bounds;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 53.6K bytes
    - Viewed (0)
Back to top