Search Options

Results per page
Sort
Preferred Languages
Advance

Results 541 - 550 of 1,667 for byte2 (0.03 sec)

  1. 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)
  2. 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)
  3. cmd/metrics-v3-bucket-replication.go

    		"Total number of bytes failed at least once to replicate in the last hour on a bucket",
    		bucketL)
    	bucketReplLastHrFailedCountMD = NewGaugeMD(bucketReplLastHrFailedCount,
    		"Total number of objects which failed replication in the last hour on a bucket",
    		bucketL)
    	bucketReplLastMinFailedBytesMD = NewGaugeMD(bucketReplLastMinFailedBytes,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  4. 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)
  5. src/cmd/api/main_test.go

    		}
    		w.writeType(buf, typ)
    	}
    	buf.WriteByte(')')
    }
    
    func (w *Walker) typeString(typ types.Type) string {
    	var buf bytes.Buffer
    	w.writeType(&buf, typ)
    	return buf.String()
    }
    
    func (w *Walker) signatureString(sig *types.Signature) string {
    	var buf bytes.Buffer
    	w.writeSignature(&buf, sig)
    	return buf.String()
    }
    
    func (w *Walker) emitObj(obj types.Object) {
    	switch obj := obj.(type) {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java

        public static final int OVERHEAD = Smb2Constants.SMB2_HEADER_LENGTH + 8;
    
        private byte expectInfoType;
        private byte expectInfoClass;
        private Decodable info;
    
    
        /**
         * @param config
         * @param expectInfoType
         * @param expectInfoClass
         */
        public Smb2QueryInfoResponse ( Configuration config, byte expectInfoType, byte expectInfoClass ) {
            super(config);
            this.expectInfoType = expectInfoType;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 13 15:13:49 UTC 2021
    - 6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

            }
            return 0;
        }
    
        public void write( int b ) throws SmbException {
            tmp[0] = (byte)b;
            write( tmp, 0, 1 );
        }
        public void write( byte b[] ) throws SmbException {
            write( b, 0, b.length );
        }
        public void write( byte b[], int off, int len ) throws SmbException {
            if( len <= 0 ) {
                return;
            }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.9K bytes
    - Viewed (0)
  8. internal/event/config_test.go

    	testCases := []struct {
    		data           []byte
    		expectedResult *FilterRule
    		expectErr      bool
    	}{
    		{[]byte(`<FilterRule></FilterRule>`), nil, true},
    		{[]byte(`<FilterRule><Name></Name></FilterRule>`), nil, true},
    		{[]byte(`<FilterRule><Value></Value></FilterRule>`), nil, true},
    		{[]byte(`<FilterRule><Name></Name><Value></Value></FilterRule>`), nil, true},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Dec 05 10:16:33 UTC 2023
    - 29K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/envoy/configdump/configdump_test.go

    package configdump
    
    import (
    	"bytes"
    	"os"
    	"testing"
    
    	"istio.io/istio/pilot/test/util"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestConfigWriter_Prime(t *testing.T) {
    	tests := []struct {
    		name        string
    		wantConfigs int
    		inputFile   string
    		wantErr     bool
    	}{
    		{
    			name:        "errors if unable to unmarshal bytes",
    			inputFile:   "",
    			wantConfigs: 0,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jan 03 23:08:06 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/Trans2QueryPathInformation.java

            dstIndex += 2;
            dst[dstIndex++] = (byte)0x00;
            dst[dstIndex++] = (byte)0x00;
            dst[dstIndex++] = (byte)0x00;
            dst[dstIndex++] = (byte)0x00;
            dstIndex += writeString( path, dst, dstIndex );
    
            return dstIndex - start;
        }
        int writeDataWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
        int readSetupWireFormat( byte[] buffer, int bufferIndex, int len ) {
            return 0;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.5K bytes
    - Viewed (0)
Back to top