- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 344 for 0xff (0.02 sec)
-
src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java
void testSpecialFileIdPatterns() { // Test various special patterns byte[] allZeros = new byte[16]; byte[] allOnes = new byte[16]; Arrays.fill(allOnes, (byte) 0xFF); byte[] alternating = new byte[16]; for (int i = 0; i < alternating.length; i++) { alternating[i] = (byte) (i % 2 == 0 ? 0xAA : 0x55); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
when(resp.getErrorCode()).thenReturn(0x10B); when(resp.getNotifyInformation()).thenReturn(new ArrayList<>()); setupSmb1(resp, 42); SmbWatchHandleImpl sut = new SmbWatchHandleImpl(handle, 0xFF, false); List<FileNotifyInformation> result = sut.watch(); assertNotNull(result); verify(handle, times(1)).markClosed();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java
byte[] buffer = new byte[256]; // Fill with non-zero values first for (int i = 0; i < buffer.length; i++) { buffer[i] = (byte) 0xFF; } // When request.writeBytesWireFormat(buffer, 10); // Then - verify reserved field is zero assertEquals(0, SMBUtil.readInt2(buffer, 12)); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java
// Given byte[] buffer = new byte[256]; // Fill buffer with test pattern for (int i = 0; i < buffer.length; i++) { buffer[i] = (byte) (i & 0xFF); } byte[] originalBuffer = buffer.clone(); // When int bytesWritten = response.writeBytesWireFormat(buffer, 10); // Then assertEquals(0, bytesWritten);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/ACE.java
*/ public SID getSID() { return sid; } int decode(final byte[] buf, int bi) { allow = buf[bi] == (byte) 0x00; bi++; flags = buf[bi++] & 0xFF; final int size = ServerMessageBlock.readInt2(buf, bi); bi += 2; access = ServerMessageBlock.readInt4(buf, bi); bi += 4; sid = new SID(buf, bi); return size; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.8K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NodeStatusRequestTest.java
// Arrange nodeStatusRequest = new NodeStatusRequest(mockConfig, mockName); byte[] dst = new byte[100]; int originalHexCode = 0xFF; mockName.hexCode = originalHexCode; // Create a spy to capture the state during writeQuestionSectionWireFormat NodeStatusRequest spyRequest = spy(nodeStatusRequest);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java
@Override public int read() throws IOException { // need oplocks to cache otherwise use BufferedInputStream if (read(tmp, 0, 1) == -1) { return -1; } return tmp[0] & 0xFF; } /** * Reads up to b.length bytes of data from this input stream into an array of bytes. * * @throws IOException if a network error occurs */ @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9.4K bytes - Viewed (0) -
src/archive/zip/zip_test.go
extra []byte wanterr error }{ { name: strings.Repeat("x", 1<<16), extra: []byte{}, wanterr: errLongName, }, { name: "long_extra", extra: bytes.Repeat([]byte{0xff}, 1<<16), wanterr: errLongExtra, }, } // write a zip file buf := new(bytes.Buffer) w := NewWriter(buf) for _, test := range headerTests { h := &FileHeader{ Name: test.name,
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 19.6K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java
// codePoint has at most 21 bits return ((0xFL << 4) | (codePoint >>> 18)) | ((0x80L | (0x3F & (codePoint >>> 12))) << 8) | ((0x80L | (0x3F & (codePoint >>> 6))) << 16) | ((0x80L | (0x3F & codePoint)) << 24); } private static long charToThreeUtf8Bytes(char c) { return ((0x7L << 5) | (c >>> 12)) | ((0x80 | (0x3F & (c >>> 6))) << 8) | ((0x80 | (0x3F & c)) << 16); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:36:11 UTC 2025 - 11.8K bytes - Viewed (0)