Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for 0x7fff (0.11 sec)

  1. test/codegen/noextend.go

    	var ret int64
    
    	// arm64:-"MOVW"
    	ret += int64(t1 & 1)
    
    	// arm64:-"MOVW"
    	ret += int64(int32(x & 0x7fffffff))
    
    	// arm64:-"MOVH"
    	ret += int64(int16(x & 0x7fff))
    
    	// arm64:-"MOVB"
    	ret += int64(int8(x & 0x7f))
    
    	return ret
    }
    
    // corner cases that sign extension must not be omitted
    
    func shouldSignEXT(x int) int64 {
    	t1 := int32(x)
    
    	var ret int64
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  2. src/image/draw/bench_test.go

    					uint8((11*x + 13*y) % 0x80),
    					0x7f,
    				})
    			}
    		}
    		src = src1
    	case color.RGBA64Model:
    		src1 := image.NewRGBA64(image.Rect(0, 0, srcw, srch))
    		for y := 0; y < srch; y++ {
    			for x := 0; x < srcw; x++ {
    				src1.SetRGBA64(x, y, color.RGBA64{
    					uint16(103 * x % 0x8000),
    					uint16(101 * y % 0x8000),
    					uint16((101*x + 103*y) % 0x8000),
    					0x7fff,
    				})
    			}
    		}
    		src = src1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 18:07:05 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http2/Huffman.kt

          0xffffffc, 0xfffe6, 0x3fffd2, 0xfffe7, 0xfffe8, 0x3fffd3, 0x3fffd4, 0x3fffd5, 0x7fffd9,
          0x3fffd6, 0x7fffda, 0x7fffdb, 0x7fffdc, 0x7fffdd, 0x7fffde, 0xffffeb, 0x7fffdf,
          0xffffec, 0xffffed, 0x3fffd7, 0x7fffe0, 0xffffee, 0x7fffe1, 0x7fffe2, 0x7fffe3,
          0x7fffe4, 0x1fffdc, 0x3fffd8, 0x7fffe5, 0x3fffd9, 0x7fffe6, 0x7fffe7, 0xffffef,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. src/unicode/utf16/utf16_test.go

    }
    
    var encodeTests = []encodeTest{
    	{[]rune{1, 2, 3, 4}, []uint16{1, 2, 3, 4}},
    	{[]rune{0xffff, 0x10000, 0x10001, 0x12345, 0x10ffff},
    		[]uint16{0xffff, 0xd800, 0xdc00, 0xd800, 0xdc01, 0xd808, 0xdf45, 0xdbff, 0xdfff}},
    	{[]rune{'a', 'b', 0xd7ff, 0xd800, 0xdfff, 0xe000, 0x110000, -1},
    		[]uint16{'a', 'b', 0xd7ff, 0xfffd, 0xfffd, 0xe000, 0xfffd, 0xfffd}},
    }
    
    func TestEncode(t *testing.T) {
    	for _, tt := range encodeTests {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:08:48 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. src/cmd/link/internal/loong64/asm.go

    	if isRequestingLowPageBits(t) {
    		// corresponding immediate field is 12 bits wide
    		return tgt & 0xfff
    	}
    
    	pageDelta := (tgt >> 12) - (pc >> 12)
    	if tgt&0xfff >= 0x800 {
    		// adjust for sign-extended addition of the low bits
    		pageDelta += 1
    	}
    	// corresponding immediate field is 20 bits wide
    	return pageDelta & 0xfffff
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 17:26:07 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. cni/pkg/iptables/testdata/default.golden

    iptables -t mangle -A ISTIO_OUTPUT -m connmark --mark 0x111/0xfff -j CONNMARK --restore-mark --nfmask 0xffffffff --ctmask 0xffffffff
    iptables -t nat -A ISTIO_OUTPUT ! -o lo -p udp -m udp --dport 53 -j REDIRECT --to-port 15053
    iptables -t nat -A ISTIO_OUTPUT -p tcp -m mark --mark 0x111/0xfff -j ACCEPT
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt

        val flags = buf.readShort().toInt() and 0xffff
        require(flags shr 15 != 0) { "not a response" }
    
        val responseCode = flags and 0xf
    
        if (responseCode == NXDOMAIN) {
          throw UnknownHostException("$hostname: NXDOMAIN")
        } else if (responseCode == SERVFAIL) {
          throw UnknownHostException("$hostname: SERVFAIL")
        }
    
        val questionCount = buf.readShort().toInt() and 0xffff
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. test/fixedbugs/issue66066b.go

    		println("bad f16", got)
    	}
    	if got := f8(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1); got != 0xff {
    		println("bad f8", got)
    	}
    	if got := g32(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0xffffffff); got != -1 {
    		println("bad g32", got)
    	}
    	if got := g16(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0xffff); got != -1 {
    		println("bad g16", got)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 17:35:29 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. src/runtime/netpoll_wasip1.go

    	unlock(&mtx)
    	return 0
    }
    
    const disarmed = 0xFFFF
    
    func netpollarm(pd *pollDesc, mode int) {
    	lock(&mtx)
    
    	var s subscription
    
    	s.userdata = userdata(uintptr(unsafe.Pointer(pd)))
    
    	fdReadwrite := s.u.subscriptionFdReadwrite()
    	fdReadwrite.fd = int32(pd.fd)
    
    	ridx := int(pd.user >> 16)
    	widx := int(pd.user & 0xFFFF)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. src/image/geom.go

    	}
    	return color.Transparent
    }
    
    // RGBA64At implements the [RGBA64Image] interface.
    func (r Rectangle) RGBA64At(x, y int) color.RGBA64 {
    	if (Point{x, y}).In(r) {
    		return color.RGBA64{0xffff, 0xffff, 0xffff, 0xffff}
    	}
    	return color.RGBA64{}
    }
    
    // Bounds implements the [Image] interface.
    func (r Rectangle) Bounds() Rectangle {
    	return r
    }
    
    // ColorModel implements the [Image] interface.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 7.3K bytes
    - Viewed (0)
Back to top