Search Options

Results per page
Sort
Preferred Languages
Advance

Results 591 - 600 of 1,517 for byteEq (0.06 sec)

  1. internal/event/name_test.go

    	testCases := []struct {
    		name         Name
    		expectedData []byte
    		expectErr    bool
    	}{
    		{ObjectAccessedAll, []byte("<Name>s3:ObjectAccessed:*</Name>"), false},
    		{ObjectRemovedDelete, []byte("<Name>s3:ObjectRemoved:Delete</Name>"), false},
    		{ObjectRemovedNoOP, []byte("<Name>s3:ObjectRemoved:NoOP</Name>"), false},
    		{blankName, []byte("<Name></Name>"), false},
    	}
    
    	for i, testCase := range testCases {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 01:11:10 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/netbios/Name.java

        }
    
    
        int readWireFormat ( byte[] src, int srcIndex ) {
    
            byte tmp[] = new byte[SCOPE_OFFSET];
            int length = 15;
            for ( int i = 0; i < 15; i++ ) {
                tmp[ i ] = (byte) ( ( ( src[ srcIndex + ( 2 * i + 1 ) ] & 0xFF ) - 0x41 ) << 4 );
                tmp[ i ] |= (byte) ( ( ( src[ srcIndex + ( 2 * i + 2 ) ] & 0xFF ) - 0x41 ) & 0x0F );
                if ( tmp[ i ] != (byte) ' ' ) {
                    length = i + 1;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7.7K bytes
    - Viewed (0)
  3. cmd/bucket-replication-utils.go

    	EndTime   time.Time `json:"endTime"`
    	// Status of resync operation
    	ResyncStatus string `json:"resyncStatus,omitempty"`
    	// Completed size in bytes
    	ReplicatedSize int64 `json:"completedReplicationSize"`
    	// Failed size in bytes
    	FailedSize int64 `json:"failedReplicationSize"`
    	// Total number of failed operations
    	FailedCount int64 `json:"failedReplicationCount"`
    	// Total number of failed operations
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  4. fastapi/responses.py

        Read more about it in the
        [FastAPI docs for Custom Response - HTML, Stream, File, others](https://fastapi.tiangolo.com/advanced/custom-response/).
        """
    
        def render(self, content: Any) -> bytes:
            assert ujson is not None, "ujson must be installed to use UJSONResponse"
            return ujson.dumps(content, ensure_ascii=False).encode("utf-8")
    
    
    class ORJSONResponse(JSONResponse):
        """
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 18 12:36:40 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponse.java

            return 0;
        }
    
    
        @Override
        protected int writeDataWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
        }
    
    
        @Override
        protected int readSetupWireFormat ( byte[] buffer, int bufferIndex, int len ) {
            return 0;
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Apr 13 17:05:22 UTC 2020
    - 2.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComLockingAndX.java

    import jcifs.internal.util.SMBUtil;
    
    
    /**
     * @author mbechler
     *
     */
    public class SmbComLockingAndX extends AndXServerMessageBlock {
    
        private int fid;
        private byte typeOfLock;
        private byte newOpLockLevel;
        private long timeout;
        private LockingAndXRange[] locks;
        private LockingAndXRange[] unlocks;
        private boolean largeFile;
    
    
        /**
         * @param config
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/Crypto.java

        }
    
    
        /**
         * @param key
         *            7-byte "raw" DES key
         * @return 8-byte DES key with parity
         */
        static byte[] des7to8 ( byte[] key ) {
            byte key8[] = new byte[8];
            key8[ 0 ] = (byte) ( key[ 0 ] & 0xFE );
            key8[ 1 ] = (byte) ( ( key[ 0 ] << 7 ) | ( ( key[ 1 ] & 0xFF ) >>> 1 ) );
            key8[ 2 ] = (byte) ( ( key[ 1 ] << 6 ) | ( ( key[ 2 ] & 0xFF ) >>> 2 ) );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Aug 17 17:34:29 UTC 2021
    - 5.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java

                dstIndex += 2;
            }
            dst[dstIndex++] = (byte)0x00;
            dst[dstIndex++] = (byte)0x00;
            dst[dstIndex++] = (byte)0x00;
            dst[dstIndex++] = (byte)0x00;
            writeInt4( capabilities, dst, dstIndex );
            dstIndex += 4;
    
            return dstIndex - start;
        }
        int writeBytesWireFormat( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7.3K bytes
    - Viewed (0)
  9. cmd/sts-handlers.go

    	if len(form) == 0 {
    		return nil
    	}
    
    	sessionPolicyStr := form.Get(stsPolicy)
    	if len(sessionPolicyStr) == 0 {
    		return nil
    	}
    
    	sessionPolicy, err := policy.ParseConfig(bytes.NewReader([]byte(sessionPolicyStr)))
    	if err != nil {
    		return err
    	}
    
    	// Version in policy must not be empty
    	if sessionPolicy.Version == "" {
    		return errors.New("Version cannot be empty expecting '2012-10-17'")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 01:29:20 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/netbios/Name.java

        }
    
        int readWireFormat( byte[] src, int srcIndex ) {
    
            byte tmp[] = new byte[SCOPE_OFFSET];
            int length = 15;
            for( int i = 0; i < 15; i++ ) {
                tmp[i] = (byte)((( src[srcIndex + ( 2 * i + 1 )] & 0xFF ) - 0x41 ) << 4 );
                tmp[i] |= (byte)((( src[srcIndex + ( 2 * i + 2 )] & 0xFF ) - 0x41 ) & 0x0F );
                if( tmp[i] != (byte)' ' ) {
                    length = i + 1;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6.6K bytes
    - Viewed (0)
Back to top