- Sort Score
- Result 10 results
- Languages All
Results 531 - 540 of 1,385 for BYTE (0.01 sec)
- 
				
				src/test/java/jcifs/smb/SmbSessionImplTest.javawhen(enc.encryptMessage(any(byte[].class), eq(99L))).thenReturn(new byte[] { 9, 9 }); when(enc.decryptMessage(any(byte[].class))).thenReturn(new byte[] { 7, 7 }); assertTrue(session.isEncryptionEnabled()); assertSame(enc, session.getEncryptionContext()); byte[] encOut = session.encryptMessage(new byte[] { 1, 2, 3 }); assertArrayEquals(new byte[] { 9, 9 }, encOut);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0)
- 
				
				docs/smb3-features/02-persistent-handles-design.mdpublic class DurableHandleReconnect extends Smb2CreateContext { public static final String NAME = "DHnC"; // Durable Handle Reconnect private byte[] fileId; // 16-byte file ID from previous open public DurableHandleReconnect(byte[] fileId) { super(NAME); if (fileId.length != 16) { throw new IllegalArgumentException("File ID must be 16 bytes"); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 31.6K bytes - Viewed (0)
- 
				
				src/bufio/example_test.goconst input = "1234 5678 1234567901234567890" scanner := bufio.NewScanner(strings.NewReader(input)) // Create a custom split function by wrapping the existing ScanWords function. split := func(data []byte, atEOF bool) (advance int, token []byte, err error) { advance, token, err = bufio.ScanWords(data, atEOF) if err == nil && token != nil { _, err = strconv.ParseInt(string(token), 10, 32) } return } Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Nov 01 21:52:12 UTC 2024 - 5.5K bytes - Viewed (0)
- 
				
				src/main/java/jcifs/smb1/smb1/NetShareEnumResponse.java@Override int writeSetupWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override int writeParametersWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override int writeDataWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override int readSetupWireFormat(final byte[] buffer, final int bufferIndex, final int len) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.1K bytes - Viewed (0)
- 
				
				src/bufio/bufio_test.gofunc TestUnreadByteOthers(t *testing.T) { // A list of readers to use in conjunction with UnreadByte. var readers = []func(*Reader, byte) ([]byte, error){ (*Reader).ReadBytes, (*Reader).ReadSlice, func(r *Reader, delim byte) ([]byte, error) { data, err := r.ReadString(delim) return []byte(data), err }, // ReadLine doesn't fit the data/pattern easily // so we leave it out. It should be covered via Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Feb 07 01:08:54 UTC 2025 - 51.6K bytes - Viewed (0)
- 
				
				src/test/java/jcifs/dcerpc/ndr/NdrSmallTest.javaassertEquals(255, ndrSmall.value, "Negative value should be masked to its unsigned byte equivalent."); } @Test void testConstructor_overflowValue() { // Test with a value exceeding byte range, expecting it to be masked NdrSmall ndrSmall = new NdrSmall(256); // 256 & 0xFF = 0 assertEquals(0, ndrSmall.value, "Value exceeding byte range should be masked."); ndrSmall = new NdrSmall(511); // 511 & 0xFF = 255 Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0)
- 
				
				src/main/java/jcifs/netbios/NodeStatusRequest.javaint writeBodyWireFormat(final byte[] dst, final int dstIndex) { final int tmp = this.questionName.hexCode; this.questionName.hexCode = 0x00; // type has to be 0x00 for node status final int result = writeQuestionSectionWireFormat(dst, dstIndex); this.questionName.hexCode = tmp; return result; } @Override int readBodyWireFormat(final byte[] src, final int srcIndex) { Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.9K bytes - Viewed (0)
- 
				
				src/main/java/jcifs/internal/smb1/com/SmbComSeekResponse.java*/ @Override protected int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) { return 0; } /** * {@inheritDoc} * * @see jcifs.internal.smb1.ServerMessageBlock#writeBytesWireFormat(byte[], int) */ @Override protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) { return 0;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 2.8K bytes - Viewed (0)
- 
				
				src/main/java/jcifs/internal/smb2/io/Smb2FlushRequest.javaprivate byte[] fileId; /** * Constructs an SMB2 flush request * @param config the client configuration * @param fileId the file identifier to flush */ public Smb2FlushRequest(final Configuration config, final byte[] fileId) { super(config, SMB2_FLUSH); this.fileId = fileId; } @OverrideRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3K bytes - Viewed (0)
- 
				
				cmd/xl-storage_windows_test.gofunc TestUNCPaths(t *testing.T) { testCases := []struct { objName string pass bool }{ {"/abcdef", true}, {"/a/b/c/d/e/f/g", true}, {string(bytes.Repeat([]byte("界"), 85)), true}, // Each path component must be <= 255 bytes long. {string(bytes.Repeat([]byte("界"), 280)), false}, {`/p/q/r/s/t`, true}, } dir := t.TempDir() // Instantiate posix object to manage a disk fs, err := newLocalXLStorage(dir) Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Nov 29 06:35:16 UTC 2023 - 2.8K bytes - Viewed (0)