- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for pad (0.01 sec)
-
src/main/java/jcifs/internal/smb1/com/SmbComWriteAndX.java
int start = dstIndex; this.dataOffset = ( dstIndex - this.headerStart ) + 26; // 26 = off from here to pad this.pad = ( this.dataOffset - this.headerStart ) % 4; this.pad = this.pad == 0 ? 0 : 4 - this.pad; this.dataOffset += this.pad; SMBUtil.writeInt2(this.fid, dst, dstIndex); dstIndex += 2; SMBUtil.writeInt4(this.offset, dst, dstIndex);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 5.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java
} @Override protected int readBytesWireFormat ( byte[] buffer, int bufferIndex ) throws SMBProtocolDecodingException { this.pad = this.pad1 = 0; if ( this.parameterCount > 0 ) { bufferIndex += this.pad = this.parameterOffset - ( bufferIndex - this.headerStart );
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 9.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupResponse.java
bufferIndex += 4; int pad = bufferIndex - ( getHeaderStart() + securityBufferOffset ); this.blob = new byte[securityBufferLength]; System.arraycopy(buffer, getHeaderStart() + securityBufferOffset, this.blob, 0, securityBufferLength); bufferIndex += pad; bufferIndex += securityBufferLength; return bufferIndex - start; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 4.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComTransactionResponse.java
} return bufferIndex - start; } int readBytesWireFormat( byte[] buffer, int bufferIndex ) { pad = pad1 = 0; int n; if( parameterCount > 0 ) { bufferIndex += pad = parameterOffset - ( bufferIndex - headerStart ); System.arraycopy( buffer, bufferIndex, txn_buf,
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 6K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComWriteAndX.java
int writeParameterWordsWireFormat( byte[] dst, int dstIndex ) { int start = dstIndex; dataOffset = (dstIndex - headerStart) + 26; // 26 = off from here to pad pad = ( dataOffset - headerStart ) % 4; pad = pad == 0 ? 0 : 4 - pad; dataOffset += pad; writeInt2( fid, dst, dstIndex ); dstIndex += 2; writeInt4( offset, dst, dstIndex ); dstIndex += 4;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 4.3K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/util/ConsoleTransferListener.java
long complete = entry.getValue(); buffer.append(getStatus(complete, total)).append(" "); } int pad = lastLength - buffer.length(); lastLength = buffer.length(); pad(buffer, pad); buffer.append('\r'); print("transferProgressed", buffer.toString()); } private String getStatus(long complete, long total) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/Base64Util.java
final int i = inData[inIndex] & 0xff; outData[outIndex] = ENCODE_TABLE[i >> 2]; outData[outIndex + 1] = ENCODE_TABLE[i << 4 & 0x3f]; outData[outIndex + 2] = PAD; outData[outIndex + 3] = PAD; } private static void encode1pad(final byte[] inData, final int inIndex, final char[] outData, final int outIndex) {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 6.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/AbstractNonStreamingHashFunctionTest.java
public void testPutStringWithLowSurrogate() { // we pad because the dummy hash function we use to test this, merely copies the input into // the output, so the input must be at least 32 bits, since the output has to be that long assertPutString(new char[] {'p', HashTestUtils.randomLowSurrogate(new Random())}); } public void testPutStringWithHighSurrogate() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/Base64.java
*/ public static byte[] decode(String string) { int length = string.length(); if (length == 0) return new byte[0]; int pad = (string.charAt(length - 2) == '=') ? 2 : (string.charAt(length - 1) == '=') ? 1 : 0; int size = length * 3 / 4 - pad; byte[] buffer = new byte[size]; int block; int i = 0; int index = 0; while (i < length) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 3.7K bytes - Viewed (0)