Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 824 for DST (0.69 sec)

  1. src/crypto/subtle/xor_generic.go

    	dst := unsafe.Slice(dstb, n)
    	x := unsafe.Slice(xb, n)
    	y := unsafe.Slice(yb, n)
    
    	if supportsUnaligned || aligned(dstb, xb, yb) {
    		xorLoop(words(dst), words(x), words(y))
    		if uintptr(n)%wordSize == 0 {
    			return
    		}
    		done := n &^ int(wordSize-1)
    		dst = dst[done:]
    		x = x[done:]
    		y = y[done:]
    	}
    	xorLoop(dst, x, y)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 31 23:25:07 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. src/crypto/subtle/xor.go

    package subtle
    
    // XORBytes sets dst[i] = x[i] ^ y[i] for all i < n = min(len(x), len(y)),
    // returning n, the number of bytes written to dst.
    // If dst does not have length at least n,
    // XORBytes panics without writing anything to dst.
    func XORBytes(dst, x, y []byte) int {
    	n := min(len(x), len(y))
    	if n == 0 {
    		return 0
    	}
    	if n > len(dst) {
    		panic("subtle.XORBytes: dst too short")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:50:40 UTC 2024
    - 618 bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

            dst[ dstIndex++ ] = (byte) 0x00;
            dst[ dstIndex++ ] = (byte) 0x00;
            dst[ dstIndex++ ] = (byte) 0x00;
            SMBUtil.writeInt4(this.capabilities, dst, dstIndex);
            dstIndex += 4;
    
            return dstIndex - start;
        }
    
    
        @Override
        protected int writeBytesWireFormat ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Mar 17 10:20:23 UTC 2019
    - 8.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbComWriteAndX.java

                dst[dstIndex++] = (byte)0xFF;
            }
            writeInt2( writeMode, dst, dstIndex );
            dstIndex += 2;
            writeInt2( remaining, dst, dstIndex );
            dstIndex += 2;
            dst[dstIndex++] = (byte)0x00;
            dst[dstIndex++] = (byte)0x00;
            writeInt2( dataLength, dst, dstIndex );
            dstIndex += 2;
            writeInt2( dataOffset, dst, dstIndex );
            dstIndex += 2;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 4.3K bytes
    - Viewed (0)
  5. src/vendor/golang.org/x/text/unicode/norm/transform.go

    // Users should either catch ErrShortDst and allow dst to grow or have dst be at
    // least of size MaxTransformChunkSize to be guaranteed of progress.
    func (f Form) Transform(dst, src []byte, atEOF bool) (nDst, nSrc int, err error) {
    	// Cap the maximum number of src bytes to check.
    	b := src
    	eof := atEOF
    	if ns := len(dst); ns < len(b) {
    		err = transform.ErrShortDst
    		eof = false
    		b = b[:ns]
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 19:27:51 UTC 2019
    - 2.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

                dstIndex += 2;
                dst[ dstIndex++ ] = this.maxSetupCount;
                dst[ dstIndex++ ] = (byte) 0x00; // Reserved1
                SMBUtil.writeInt2(this.tflags, dst, dstIndex);
                dstIndex += 2;
                SMBUtil.writeInt4(this.timeout, dst, dstIndex);
                dstIndex += 4;
                dst[ dstIndex++ ] = (byte) 0x00; // Reserved2
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun May 17 13:43:42 UTC 2020
    - 13.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/io/Smb2WriteRequest.java

            SMBUtil.writeInt4(this.channel, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt4(this.remainingBytes, dst, dstIndex);
            dstIndex += 4;
    
            SMBUtil.writeInt2(0, dst, dstIndex); // writeChannelInfoOffset
            SMBUtil.writeInt2(0, dst, dstIndex + 2); // writeChannelInfoLength
            dstIndex += 4;
    
            SMBUtil.writeInt4(this.writeFlags, dst, dstIndex);
            dstIndex += 4;
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.8K bytes
    - Viewed (0)
  8. src/vendor/golang.org/x/net/http2/hpack/encode.go

    // shorter byte string.
    func appendHpackString(dst []byte, s string) []byte {
    	huffmanLength := HuffmanEncodeLength(s)
    	if huffmanLength < uint64(len(s)) {
    		first := len(dst)
    		dst = appendVarInt(dst, 7, huffmanLength)
    		dst = AppendHuffmanString(dst, s)
    		dst[first] |= 0x80
    	} else {
    		dst = appendVarInt(dst, 7, uint64(len(s)))
    		dst = append(dst, s...)
    	}
    	return dst
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 17:16:14 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  9. src/encoding/json/indent.go

    		return dst[:origLen], scan.err
    	}
    	if start < len(src) {
    		dst = append(dst, src[start:]...)
    	}
    	return dst, nil
    }
    
    func appendNewline(dst []byte, prefix, indent string, depth int) []byte {
    	dst = append(dst, '\n')
    	dst = append(dst, prefix...)
    	for i := 0; i < depth; i++ {
    		dst = append(dst, indent...)
    	}
    	return dst
    }
    
    // indentGrowthFactor specifies the growth factor of indenting JSON input.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 20:19:31 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java

                SMBUtil.writeInt4(dstIndex - getHeaderStart(), dst, inputOffsetOffset);
                int len = this.inputData.encode(dst, dstIndex);
                SMBUtil.writeInt4(len, dst, inputLengthOffset);
                dstIndex += len;
            }
            else {
                SMBUtil.writeInt4(0, dst, inputOffsetOffset);
                SMBUtil.writeInt4(0, dst, inputLengthOffset);
            }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Aug 05 07:13:17 UTC 2018
    - 7.8K bytes
    - Viewed (0)
Back to top