403Webshell
Server IP : 66.29.132.122  /  Your IP : 3.142.195.61
Web Server : LiteSpeed
System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : admazpex ( 531)
PHP Version : 7.2.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /proc/self/root/proc/self/root/proc/thread-self/root/proc/thread-self/root/proc/self/root/proc/self/root/opt/cloudlinux/venv/lib64/python3.11/site-packages/numpy/typing/tests/data/reveal/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/self/root/proc/self/root/proc/thread-self/root/proc/thread-self/root/proc/self/root/proc/self/root/opt/cloudlinux/venv/lib64/python3.11/site-packages/numpy/typing/tests/data/reveal/bitwise_ops.pyi
import numpy as np

i8 = np.int64(1)
u8 = np.uint64(1)

i4 = np.int32(1)
u4 = np.uint32(1)

b_ = np.bool_(1)

b = bool(1)
i = int(1)

AR = np.array([0, 1, 2], dtype=np.int32)
AR.setflags(write=False)


reveal_type(i8 << i8)  # E: {int64}
reveal_type(i8 >> i8)  # E: {int64}
reveal_type(i8 | i8)  # E: {int64}
reveal_type(i8 ^ i8)  # E: {int64}
reveal_type(i8 & i8)  # E: {int64}

reveal_type(i8 << AR)  # E: Any
reveal_type(i8 >> AR)  # E: Any
reveal_type(i8 | AR)  # E: Any
reveal_type(i8 ^ AR)  # E: Any
reveal_type(i8 & AR)  # E: Any

reveal_type(i4 << i4)  # E: {int32}
reveal_type(i4 >> i4)  # E: {int32}
reveal_type(i4 | i4)  # E: {int32}
reveal_type(i4 ^ i4)  # E: {int32}
reveal_type(i4 & i4)  # E: {int32}

reveal_type(i8 << i4)  # E: {int64}
reveal_type(i8 >> i4)  # E: {int64}
reveal_type(i8 | i4)  # E: {int64}
reveal_type(i8 ^ i4)  # E: {int64}
reveal_type(i8 & i4)  # E: {int64}

reveal_type(i8 << i)  # E: {int64}
reveal_type(i8 >> i)  # E: {int64}
reveal_type(i8 | i)  # E: {int64}
reveal_type(i8 ^ i)  # E: {int64}
reveal_type(i8 & i)  # E: {int64}

reveal_type(i8 << b_)  # E: {int64}
reveal_type(i8 >> b_)  # E: {int64}
reveal_type(i8 | b_)  # E: {int64}
reveal_type(i8 ^ b_)  # E: {int64}
reveal_type(i8 & b_)  # E: {int64}

reveal_type(i8 << b)  # E: {int64}
reveal_type(i8 >> b)  # E: {int64}
reveal_type(i8 | b)  # E: {int64}
reveal_type(i8 ^ b)  # E: {int64}
reveal_type(i8 & b)  # E: {int64}

reveal_type(u8 << u8)  # E: {uint64}
reveal_type(u8 >> u8)  # E: {uint64}
reveal_type(u8 | u8)  # E: {uint64}
reveal_type(u8 ^ u8)  # E: {uint64}
reveal_type(u8 & u8)  # E: {uint64}

reveal_type(u8 << AR)  # E: Any
reveal_type(u8 >> AR)  # E: Any
reveal_type(u8 | AR)  # E: Any
reveal_type(u8 ^ AR)  # E: Any
reveal_type(u8 & AR)  # E: Any

reveal_type(u4 << u4)  # E: {uint32}
reveal_type(u4 >> u4)  # E: {uint32}
reveal_type(u4 | u4)  # E: {uint32}
reveal_type(u4 ^ u4)  # E: {uint32}
reveal_type(u4 & u4)  # E: {uint32}

reveal_type(u4 << i4)  # E: signedinteger[Any]
reveal_type(u4 >> i4)  # E: signedinteger[Any]
reveal_type(u4 | i4)  # E: signedinteger[Any]
reveal_type(u4 ^ i4)  # E: signedinteger[Any]
reveal_type(u4 & i4)  # E: signedinteger[Any]

reveal_type(u4 << i)  # E: signedinteger[Any]
reveal_type(u4 >> i)  # E: signedinteger[Any]
reveal_type(u4 | i)  # E: signedinteger[Any]
reveal_type(u4 ^ i)  # E: signedinteger[Any]
reveal_type(u4 & i)  # E: signedinteger[Any]

reveal_type(u8 << b_)  # E: {uint64}
reveal_type(u8 >> b_)  # E: {uint64}
reveal_type(u8 | b_)  # E: {uint64}
reveal_type(u8 ^ b_)  # E: {uint64}
reveal_type(u8 & b_)  # E: {uint64}

reveal_type(u8 << b)  # E: {uint64}
reveal_type(u8 >> b)  # E: {uint64}
reveal_type(u8 | b)  # E: {uint64}
reveal_type(u8 ^ b)  # E: {uint64}
reveal_type(u8 & b)  # E: {uint64}

reveal_type(b_ << b_)  # E: {int8}
reveal_type(b_ >> b_)  # E: {int8}
reveal_type(b_ | b_)  # E: bool_
reveal_type(b_ ^ b_)  # E: bool_
reveal_type(b_ & b_)  # E: bool_

reveal_type(b_ << AR)  # E: Any
reveal_type(b_ >> AR)  # E: Any
reveal_type(b_ | AR)  # E: Any
reveal_type(b_ ^ AR)  # E: Any
reveal_type(b_ & AR)  # E: Any

reveal_type(b_ << b)  # E: {int8}
reveal_type(b_ >> b)  # E: {int8}
reveal_type(b_ | b)  # E: bool_
reveal_type(b_ ^ b)  # E: bool_
reveal_type(b_ & b)  # E: bool_

reveal_type(b_ << i)  # E: {int_}
reveal_type(b_ >> i)  # E: {int_}
reveal_type(b_ | i)  # E: {int_}
reveal_type(b_ ^ i)  # E: {int_}
reveal_type(b_ & i)  # E: {int_}

reveal_type(~i8)  # E: {int64}
reveal_type(~i4)  # E: {int32}
reveal_type(~u8)  # E: {uint64}
reveal_type(~u4)  # E: {uint32}
reveal_type(~b_)  # E: bool_
reveal_type(~AR)  # E: Any

Youez - 2016 - github.com/yon3zu
LinuXploit