Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 564 for xoffset (0.1 sec)

  1. src/compress/flate/token.go

    // Convert a < xlength, xoffset > pair into a match token.
    func matchToken(xlength uint32, xoffset uint32) token {
    	return token(matchType + xlength<<lengthShift + xoffset)
    }
    
    // Returns the literal of a literal token.
    func (t token) literal() uint32 { return uint32(t - literalType) }
    
    // Returns the extra offset of a match token.
    func (t token) offset() uint32 { return uint32(t) & offsetMask }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  2. src/image/ycbcr.go

    		return color.YCbCr{}
    	}
    	yi := p.YOffset(x, y)
    	ci := p.COffset(x, y)
    	return color.YCbCr{
    		p.Y[yi],
    		p.Cb[ci],
    		p.Cr[ci],
    	}
    }
    
    // YOffset returns the index of the first element of Y that corresponds to
    // the pixel at (x, y).
    func (p *YCbCr) YOffset(x, y int) int {
    	return (y-p.Rect.Min.Y)*p.YStride + (x - p.Rect.Min.X)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  3. src/net/dnsconfig.go

    }
    
    // serverOffset returns an offset that can be used to determine
    // indices of servers in c.servers when making queries.
    // When the rotate option is enabled, this offset increases.
    // Otherwise it is always 0.
    func (c *dnsConfig) serverOffset() uint32 {
    	if c.rotate {
    		return atomic.AddUint32(&c.soffset, 1) - 1 // return 0 to start
    	}
    	return 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. src/image/jpeg/writer_test.go

    			col := color.RGBA{
    				uint8(rnd.Intn(256)),
    				uint8(rnd.Intn(256)),
    				uint8(rnd.Intn(256)),
    				255,
    			}
    			imgRGBA.SetRGBA(x, y, col)
    			yo := imgYCbCr.YOffset(x, y)
    			co := imgYCbCr.COffset(x, y)
    			cy, ccr, ccb := color.RGBToYCbCr(col.R, col.G, col.B)
    			imgYCbCr.Y[yo] = cy
    			imgYCbCr.Cb[co] = ccr
    			imgYCbCr.Cr[co] = ccb
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 06 15:49:30 UTC 2022
    - 7.2K bytes
    - Viewed (0)
  5. src/image/ycbcr_test.go

    	// will be set multiple times. That's OK. We just want to avoid a uniform image.
    	for y := r1.Min.Y; y < r1.Max.Y; y++ {
    		for x := r1.Min.X; x < r1.Max.X; x++ {
    			yi := m.YOffset(x, y)
    			ci := m.COffset(x, y)
    			m.Y[yi] = uint8(16*y + x)
    			m.Cb[ci] = uint8(y + 16*x)
    			m.Cr[ci] = uint8(y + 16*x)
    		}
    	}
    
    	// Make various sub-images of m.
    	for y0 := delta.Y + 3; y0 < delta.Y+7; y0++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 26 00:14:16 UTC 2015
    - 3.3K bytes
    - Viewed (0)
  6. clause/limit_test.go

    			"SELECT * FROM `users` LIMIT ?",
    			[]interface{}{limit10},
    		},
    		{
    			[]clause.Interface{clause.Select{}, clause.From{}, clause.Limit{Limit: &limit10, Offset: 20}, clause.Limit{Offset: 30}, clause.Limit{Limit: &limitNeg10}},
    			"SELECT * FROM `users` OFFSET ?",
    			[]interface{}{30},
    		},
    		{
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Feb 06 02:54:40 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/Fingerprint2011.java

      }
    
      private static long hashLength33To64(byte[] bytes, int offset, int length) {
        long z = load64(bytes, offset + 24);
        long a = load64(bytes, offset) + (length + load64(bytes, offset + length - 16)) * K0;
        long b = rotateRight(a + z, 52);
        long c = rotateRight(a, 37);
        a += load64(bytes, offset + 8);
        c += rotateRight(a, 7);
        a += load64(bytes, offset + 16);
        long vf = a + z;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Dec 28 17:50:25 UTC 2021
    - 6.5K bytes
    - Viewed (0)
  8. src/cmd/go/internal/modindex/index_format.txt

    The following is the format for a full module:
    
    “go index v2\n”
    str uint32 - offset of string table
    n uint32 - number of packages
    for each rawPackage:
    	dirname - string offset
    	package - offset where package begins
    for each rawPackage:
    	error uint32 - string offset // error is produced by fsys.ReadDir or fmt.Errorf
    	dir uint32 - string offset (directory path relative to module root)
    	len(sourceFiles) uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 13 00:22:50 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  9. src/runtime/cgo/abi_loong64.h

    	MOVV	R26, ((offset)+(4*8))(R3)	\
    	MOVV	R27, ((offset)+(5*8))(R3)	\
    	MOVV	R28, ((offset)+(6*8))(R3)	\
    	MOVV	R29, ((offset)+(7*8))(R3)	\
    	MOVV	R30, ((offset)+(8*8))(R3)	\
    	MOVV	R31, ((offset)+(9*8))(R3)
    
    #define SAVE_F24_TO_F31(offset)	\
    	MOVD	F24, ((offset)+(0*8))(R3)	\
    	MOVD	F25, ((offset)+(1*8))(R3)	\
    	MOVD	F26, ((offset)+(2*8))(R3)	\
    	MOVD	F27, ((offset)+(3*8))(R3)	\
    	MOVD	F28, ((offset)+(4*8))(R3)	\
    	MOVD	F29, ((offset)+(5*8))(R3)	\
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 29 02:34:18 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbComReadAndX.java

            this.maxCount = minCount = maxCount;
            command = SMB_COM_READ_ANDX;
            openTimeout = 0xFFFFFFFF;
        }
    
        void setParam( int fid, long offset, int maxCount ) {
            this.fid = fid;
            this.offset = offset;
            this.maxCount = minCount = maxCount;
        }
        int getBatchLimit( byte command ) {
            return command == SMB_COM_CLOSE ? BATCH_LIMIT : 0;
        }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.1K bytes
    - Viewed (0)
Back to top