Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for 0xffff (0.1 sec)

  1. src/image/color/ycbcr.go

    	// returns values in the range [0, 0xffff] instead of [0, 0xff].
    
    	w := 0xffff - uint32(c.K)*0x101
    	r := (0xffff - uint32(c.C)*0x101) * w / 0xffff
    	g := (0xffff - uint32(c.M)*0x101) * w / 0xffff
    	b := (0xffff - uint32(c.Y)*0x101) * w / 0xffff
    	return r, g, b, 0xffff
    }
    
    // CMYKModel is the [Model] for CMYK colors.
    var CMYKModel Model = ModelFunc(cmykModel)
    
    func cmykModel(c Color) Color {
    	if _, ok := c.(CMYK); ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/ppc64/asm9_gtables.go

    	o1 |= uint32(p.To.Reg&0x1f) << 21                         // T
    	o1 |= uint32(p.From.Offset&0x1) << 17                     // IX
    	o0 |= uint32((p.RestArgs[0].Addr.Offset>>16)&0xffff) << 0 // imm0
    	o1 |= uint32(p.RestArgs[0].Addr.Offset&0xffff) << 0       // imm1
    	out[1] = o1
    	out[0] = o0
    }
    
    // xxspltiw XT,IMM32
    func type_xxspltiw(c *ctxt9, p *obj.Prog, t *Optab, out *[5]uint32) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 16 20:18:50 UTC 2022
    - 42.6K bytes
    - Viewed (0)
  3. src/cmd/link/internal/mips64/asm.go

    	switch r.Type() {
    	case objabi.R_ADDRMIPS,
    		objabi.R_ADDRMIPSU:
    		t := ldr.SymValue(rs) + r.Add()
    		if r.Type() == objabi.R_ADDRMIPS {
    			return int64(val&0xffff0000 | t&0xffff), noExtReloc, isOk
    		}
    		return int64(val&0xffff0000 | ((t+1<<15)>>16)&0xffff), noExtReloc, isOk
    	case objabi.R_ADDRMIPSTLS:
    		// thread pointer is at 0x7000 offset from the start of TLS data area
    		t := ldr.SymValue(rs) + r.Add() - 0x7000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 11K bytes
    - Viewed (0)
  4. src/image/image.go

    	if !(Point{x, y}.In(p.Rect)) {
    		return
    	}
    	r, g, b, a := uint32(c.R), uint32(c.G), uint32(c.B), uint32(c.A)
    	if (a != 0) && (a != 0xffff) {
    		r = (r * 0xffff) / a
    		g = (g * 0xffff) / a
    		b = (b * 0xffff) / a
    	}
    	i := p.PixOffset(x, y)
    	s := p.Pix[i : i+4 : i+4] // Small cap improves performance, see https://golang.org/issue/27857
    	s[0] = uint8(r >> 8)
    	s[1] = uint8(g >> 8)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 34.9K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/internal/xml/SimpleMarkupWriter.java

            if (needsCDATAEscaping(ch)) {
                writeRaw("]]><![CDATA[>");
            } else if (!XmlValidation.isLegalCharacter(ch)) {
                writeRaw('?');
            } else if (ch <= 0xffff && XmlValidation.isRestrictedCharacter((char) ch) || Character.charCount(ch) == 2) {
                writeRaw("]]>");
                writeCharacterReference(ch);
                writeRaw("<![CDATA[");
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 02 12:15:58 UTC 2021
    - 12K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/deadstore.go

    // does a -1 shadowRange, which is what sparsemap.get returns
    // on a failed lookup).
    type shadowRange int32
    
    func (sr shadowRange) lo() int64 {
    	return int64(sr & 0xffff)
    }
    
    func (sr shadowRange) hi() int64 {
    	return int64((sr >> 16) & 0xffff)
    }
    
    // contains reports whether [lo:hi] is completely within sr.
    func (sr shadowRange) contains(lo, hi int64) bool {
    	return lo >= sr.lo() && hi <= sr.hi()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 20:07:26 UTC 2024
    - 11K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/ppc64/obj9.go

    		// Try converting MOVD $const,Rx into ADDIS/ORIS $s32>>16,R0,Rx
    		switch {
    		case isS32 && p.From.Offset&0xFFFF == 0 && p.From.Offset != 0:
    			p.As = AADDIS
    			p.From.Offset >>= 16
    			p.Reg = REG_R0
    
    		case isU32 && p.From.Offset&0xFFFF == 0 && p.From.Offset != 0:
    			p.As = AORIS
    			p.From.Offset >>= 16
    			p.Reg = REG_R0
    
    		case isS32 || isU32 || isS34:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/Utf8Test.java

              TWO_BYTE_ROUNDTRIPPABLE_CHARACTERS;
    
      // 2048
      private static final long THREE_BYTE_SURROGATES = 2 * 1024;
    
      // 61,440 [chars 0x0800 to 0xFFFF, minus surrogates]
      private static final long THREE_BYTE_ROUNDTRIPPABLE_CHARACTERS =
          0xFFFF - 0x0800 + 1 - THREE_BYTE_SURROGATES;
    
      // 2,650,112
      private static final long EXPECTED_THREE_BYTE_ROUNDTRIPPABLE_COUNT =
          // All one byte characters
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. src/crypto/tls/handshake_messages_test.go

    	}
    	if rand.Intn(10) > 5 {
    		m.extendedMasterSecret = true
    	}
    	for i := 0; i < rand.Intn(5); i++ {
    		m.supportedVersions = append(m.supportedVersions, uint16(rand.Intn(0xffff)+1))
    	}
    	if rand.Intn(10) > 5 {
    		m.cookie = randomBytes(rand.Intn(500)+1, rand)
    	}
    	for i := 0; i < rand.Intn(5); i++ {
    		var ks keyShare
    		ks.group = CurveID(rand.Intn(30000) + 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/s390x/a.out.go

    	C_VREG     // vector register (128-bit)
    	C_AREG     // access register (32-bit)
    	C_ZCON     // constant == 0
    	C_SCON     // 0 <= constant <= 0x7fff (positive int16)
    	C_UCON     // constant & 0xffff == 0 (int16 or uint16)
    	C_ADDCON   // 0 > constant >= -0x8000 (negative int16)
    	C_ANDCON   // constant <= 0xffff
    	C_LCON     // constant (int32 or uint32)
    	C_DCON     // constant (int64 or uint64)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 16:41:03 UTC 2023
    - 12.4K bytes
    - Viewed (0)
Back to top