Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 722 for rounds (0.73 sec)

  1. src/image/jpeg/writer_test.go

    			continue
    		}
    		// Decode that JPEG.
    		m1, err := Decode(&buf)
    		if err != nil {
    			t.Error(tc.filename, err)
    			continue
    		}
    		if m0.Bounds() != m1.Bounds() {
    			t.Errorf("%s, bounds differ: %v and %v", tc.filename, m0.Bounds(), m1.Bounds())
    			continue
    		}
    		// Compare the average delta to the tolerance level.
    		if averageDelta(m0, m1) > tc.tolerance {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 06 15:49:30 UTC 2022
    - 7.2K bytes
    - Viewed (0)
  2. test/fixedbugs/issue20749.go

    // license that can be found in the LICENSE file.
    
    package p
    
    // Verify that the compiler complains even if the array
    // has length 0.
    var a [0]int
    var _ = a[2:] // ERROR "invalid slice index 2|array index out of bounds|index 2 out of bounds"
    
    var b [1]int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 22 17:50:13 UTC 2020
    - 476 bytes
    - Viewed (0)
  3. src/runtime/error.go

    	boundsSliceAlen:  "slice bounds out of range [:%x]",
    	boundsSliceAcap:  "slice bounds out of range [:%x]",
    	boundsSliceB:     "slice bounds out of range [%x:]",
    	boundsSlice3Alen: "slice bounds out of range [::%x]",
    	boundsSlice3Acap: "slice bounds out of range [::%x]",
    	boundsSlice3B:    "slice bounds out of range [:%x:]",
    	boundsSlice3C:    "slice bounds out of range [%x::]",
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/img/task-dag-examples.graffle

    l\qc\partightenfactor0 \f0\fs24 \cf0 assemble}Bounds{{434, 286}, {82, 35}}ClassShapedGraphicFo.2b0.0g0.0r0.0space9eaea0911d89d6.9887564182281494stro{\rtf1\ansi\ansicpg1252\cocoartf1561\cocoasubrtf400 {\fonttbl\f0\fswiss\fcharset0 Helvetica;} {\colortbl;\red255\green255\blue255;} {\*\expandedcolortbl;;} \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural\qc\partightenfactor0 \f0\fs24 \cf0 check}Bounds{{492, 361}, {82, 35}}ClassShapedGraphicFo.2b0...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  5. subprojects/core-api/src/main/java/org/gradle/model/internal/type/TypeVariableTypeWrapper.java

        private final TypeWrapper[] bounds;
        private final int hashCode;
    
        public TypeVariableTypeWrapper(String name, TypeWrapper[] bounds, int hashCode) {
            this.name = name;
            this.bounds = bounds;
            this.hashCode = hashCode;
        }
    
        @Override
        public Class<?> getRawClass() {
            if (bounds.length > 0) {
                return bounds[0].getRawClass();
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 11 21:42:04 UTC 2018
    - 2.4K bytes
    - Viewed (0)
  6. src/runtime/testdata/testprogcgo/stackswitch.c

    	return NULL;
    }
    
    static void *stackSwitchThread2(void *arg) {
    	// New thread. Use stack bounds that partially overlap the previous
    	// bounds. needm should refresh the stack bounds anyway since this is a
    	// new thread.
    
    	// N.B. since we used a custom stack with makecontext,
    	// callbackUpdateSystemStack had to guess the bounds. Its guess assumes
    	// a 32KiB stack.
    	char *prev_stack_lo = stack2 + STACK_SIZE - (32*1024);
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 26 15:17:33 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/img/ant-task-migration.graffle

    x6720\pardirnatural\qc\partightenfactor0 \f0\fs24 \cf0 assemble}Bounds{{383.5, 146}, {100.25, 43}}ClassShapedGraphicFo-RegularSize12ID17Sty{\rtf1\ansi\ansicpg1252\cocoartf1671 {\fonttbl\f0\fnil\fcharset0 Menlo-Regular;} {\colortbl;\red255\green255\blue255;} {\*\expandedcolortbl;;} \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural\qc\partightenfactor0 \f0\fs24 \cf0 ant_build}Bounds{{162.25, 139.5}, {36.5, 56}}ClassShapedGraphicID.47126116071428...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  8. src/internal/byteorder/byteorder.go

    	_ = b[1] // early bounds check to guarantee safety of writes below
    	b[0] = byte(v)
    	b[1] = byte(v >> 8)
    }
    
    func LeAppendUint16(b []byte, v uint16) []byte {
    	return append(b,
    		byte(v),
    		byte(v>>8),
    	)
    }
    
    func LeUint32(b []byte) uint32 {
    	_ = b[3] // bounds check hint to compiler; see golang.org/issue/14808
    	return uint32(b[0]) | uint32(b[1])<<8 | uint32(b[2])<<16 | uint32(b[3])<<24
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 20:31:29 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. src/image/jpeg/reader_test.go

    			t.Errorf("%s: %v", tc+".progressive.jpeg", err)
    			continue
    		}
    		if m0.Bounds() != m1.Bounds() {
    			t.Errorf("%s: bounds differ: %v and %v", tc, m0.Bounds(), m1.Bounds())
    			continue
    		}
    		// All of the video-*.jpeg files are 150x103.
    		if m0.Bounds() != image.Rect(0, 0, 150, 103) {
    			t.Errorf("%s: bad bounds: %v", tc, m0.Bounds())
    			continue
    		}
    
    		switch m0 := m0.(type) {
    		case *image.YCbCr:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 00:46:29 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  10. src/image/jpeg/reader.go

    		bounds := d.img3.Bounds()
    		img := image.NewRGBA(bounds)
    		imageutil.DrawYCbCr(img, bounds, d.img3, bounds.Min)
    		for iBase, y := 0, bounds.Min.Y; y < bounds.Max.Y; iBase, y = iBase+img.Stride, y+1 {
    			for i, x := iBase+3, bounds.Min.X; x < bounds.Max.X; i, x = i+4, x+1 {
    				img.Pix[i] = 255 - d.blackPix[(y-bounds.Min.Y)*d.blackStride+(x-bounds.Min.X)]
    			}
    		}
    		return &image.CMYK{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 22.5K bytes
    - Viewed (0)
Back to top