- Sort Score
- Result 10 results
- Languages All
Results 421 - 430 of 1,703 for byte (0.02 sec)
-
src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java
// Given smbComTreeDisconnect = new SmbComTreeDisconnect(config); byte[] originalBuffer = new byte[100]; for (int i = 0; i < originalBuffer.length; i++) { originalBuffer[i] = (byte) i; } byte[] bufferCopy = originalBuffer.clone(); // WhenRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.5K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvTargetNameTest.java
"Raw bytes for empty string should be empty"); byte[] emptyBytes = new byte[0]; AvTargetName avTargetNameFromBytes = new AvTargetName(emptyBytes); assertEquals(emptyString, avTargetNameFromBytes.getTargetName(), "Empty string should be handled correctly from raw bytes constructor");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponse.java
return true; } @Override protected int writeSetupWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override protected int writeParametersWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override protected int writeDataWireFormat(final byte[] dst, final int dstIndex) { return 0; } @OverrideRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/ACETest.java
testBuffer = new byte[100]; testBuffer[0] = (byte) 0xFF; // Non-zero = Deny testBuffer[1] = (byte) 0xFF; // All flags testBuffer[2] = (byte) 0xFF; // Size low byte testBuffer[3] = (byte) 0xFF; // Size high byte testBuffer[4] = (byte) 0xFF; // Access mask all bits testBuffer[5] = (byte) 0xFF; testBuffer[6] = (byte) 0xFF; testBuffer[7] = (byte) 0xFF;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.6K bytes - Viewed (0) -
docs/debugging/hash-set/main.go
id := uuid.MustParse(deploymentID) if file != "" { distrib := make([][]string, setCount) b, err := os.ReadFile(file) if err != nil { log.Fatalln(err) } b = bytes.ReplaceAll(b, []byte("\r"), []byte{}) sc := bufio.NewScanner(bytes.NewBuffer(b)) for sc.Scan() { object = strings.TrimSpace(sc.Text()) set := sipHashMod(prefix+object, setCount, id) distrib[set] = append(distrib[set], prefix+object) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 3.7K bytes - Viewed (0) -
cmd/streaming-signature-v4.go
// For example, // // "10000;chunk-signature=..." => "10000", "chunk-signature=..." func parseS3ChunkExtension(buf []byte) ([]byte, []byte) { buf = trimTrailingWhitespace(buf) semi := bytes.Index(buf, []byte(s3ChunkSignatureStr)) // Chunk signature not found, return the whole buffer. if semi == -1 { return buf, nil } return buf[:semi], parseChunkSignature(buf[semi:])
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 18.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComCreateDirectory.java
command = SMB_COM_CREATE_DIRECTORY; } @Override int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override int writeBytesWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; dst[dstIndex] = (byte) 0x04; dstIndex++; dstIndex += writeString(path, dst, dstIndex); return dstIndex - start;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComWrite.java
* @param remaining the number of bytes remaining to be written * @param b the data buffer containing bytes to write * @param off the offset in the buffer where data starts * @param len the number of bytes to write */ public SmbComWrite(final Configuration config, final int fid, final int offset, final int remaining, final byte[] b, final int off, final int len) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileRenameInformation2.java
bufferIndex += 4; final byte[] nameBytes = new byte[nameLen]; System.arraycopy(buffer, bufferIndex, nameBytes, 0, nameBytes.length); bufferIndex += nameLen; this.fileName = new String(nameBytes, StandardCharsets.UTF_16LE); return bufferIndex - start; } /** * {@inheritDoc} * * @see jcifs.Encodable#encode(byte[], int) */ @OverrideRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java
trans2FindFirst2 = new Trans2FindFirst2(mockConfig, "\\test", "*.*", 0x16, 10, 1024); byte[] buffer = new byte[10]; int written = trans2FindFirst2.writeSetupWireFormat(buffer, 0); assertEquals(2, written); assertEquals((byte) Trans2FindFirst2.TRANS2_FIND_FIRST2, buffer[0]); assertEquals((byte) 0x00, buffer[1]); } @Test @DisplayName("Test writeParametersWireFormat")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0)