!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache/2.2.16 (Debian). PHP/5.3.3-7+squeeze19 

uname -a: Linux mail.tri-specialutilitydistrict.com 2.6.32-5-amd64 #1 SMP Tue May 13 16:34:35 UTC
2014 x86_64
 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/usr/share/pyshared/OpenGL/arrays/   drwxr-xr-x
Free 130.01 GB of 142.11 GB (91.49%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     nones.py (2.41 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
"""Passing of None as an array data-type
"""
REGISTRY_NAME = 'nones'
import logging
log = logging.getLogger( 'OpenGL.arrays.nones' )

from OpenGL import acceleratesupport
NoneHandler = None
if acceleratesupport.ACCELERATE_AVAILABLE:
    try:
        from OpenGL_accelerate.nones_formathandler import NoneHandler
    except ImportError, err:
        log.warn(
            "Unable to load nones_formathandler accelerator from OpenGL_accelerate"
        )
if NoneHandler is None:
    from OpenGL.arrays import formathandler
    class NoneHandler( formathandler.FormatHandler ):
        """Numpy-specific data-type handler for OpenGL"""
        HANDLED_TYPES = (type(None), )
        def from_param( self, value, typeCode=None  ):
            """Convert to a ctypes pointer value"""
            return None
        def dataPointer( self, value ):
            """return long for pointer value"""
            return None
        def voidDataPointer( cls, value ):
            """Given value in a known data-pointer type, return void_p for pointer"""
            return None
        def asArray( self, value, typeCode=None ):
            """Given a value, convert to array representation"""
            return None
        def arrayToGLType( self, value ):
            """Given a value, guess OpenGL type of the corresponding pointer"""
            raise TypeError( """Can't guess type of a NULL pointer""" )
        def arraySize( self, value, typeCode = None ):
            """Given a data-value, calculate dimensions for the array"""
            return 0
        def arrayByteCount( self, value, typeCode = None ):
            """Given a data-value, calculate number of bytes required to represent"""
            return 0
        def zeros( self, shape, typeCode= None ):
            """Create an array of given shape with given typeCode"""
            raise TypeError( """Can't create NULL pointer filled with values""" )
        def ones( self, shape, typeCode= None ):
            """Create an array of given shape with given typeCode"""
            raise TypeError( """Can't create NULL pointer filled with values""" )
        def unitSize( self, value, typeCode=None ):
            """Determine unit size of an array (if possible)"""
            raise TypeError( """Can't determine unit size of a null pointer""" )
        def dimensions( self, value, typeCode=None ):
            """Determine dimensions of the passed array value (if possible)"""
            return (0,)

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0135 ]--