- Sort Score
- Num 10 results
- Language All
Results 151 - 160 of 162 for 0x1e (0.02 seconds)
-
src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java
@DisplayName("Should handle file ID updates") void testFileIdUpdates() { // Initial file ID byte[] initialFileId = new byte[16]; Arrays.fill(initialFileId, (byte) 0x11); request.setFileId(initialFileId); byte[] buffer1 = new byte[256]; request.writeBytesWireFormat(buffer1, 0);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 25.3K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/av/AvPairsTest.java
originalPairs.add(new AvTimestamp(new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 })); originalPairs.add(new AvTargetName("TESTNAME".getBytes())); originalPairs.add(new AvSingleHost(new byte[] { 0x11, 0x22, 0x33, 0x44 })); originalPairs.add(new AvChannelBindings(new byte[] { 0x55, 0x66 })); byte[] encoded = AvPairs.encode(originalPairs); List<AvPair> decodedPairs = AvPairs.decode(encoded);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
SmbRandomAccessFile raf = spy(newInstance("r", false, false, false)); doAnswer(inv -> { byte[] b = inv.getArgument(0); int off = inv.getArgument(1); b[off] = 0x12; b[off + 1] = 0x34; return 2; }).when(raf).read(any(byte[].class), anyInt(), eq(2)); assertEquals(0x1234, raf.readUnsignedShort());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Shorts.java
* {@code ByteBuffer.allocate(2).putShort(value).array()}. For example, the input value {@code * (short) 0x1234} would yield the byte array {@code {0x12, 0x34}}. * * <p>If you need to convert and concatenate several values (possibly even of different types), * use a shared {@link java.nio.ByteBuffer} instance, or use {@linkCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Oct 22 18:14:49 GMT 2025 - 25.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/TreeConnectResponseTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/CharsTest.java
@GwtIncompatible // Chars.fromByteArray public void testFromByteArray() { assertThat(Chars.fromByteArray(new byte[] {0x23, 0x45, (byte) 0xDC})).isEqualTo('\u2345'); assertThat(Chars.fromByteArray(new byte[] {(byte) 0xFE, (byte) 0xDC})).isEqualTo('\uFEDC'); } @GwtIncompatible // Chars.fromByteArray public void testFromByteArrayFails() { assertThrows(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 26K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
// Then assertTrue(response.haveCapabilitiy(0x01)); // Has this bit assertTrue(response.haveCapabilitiy(0x0F)); // Has all these bits assertFalse(response.haveCapabilitiy(0x10)); // Doesn't have this bit assertFalse(response.haveCapabilitiy(0x40)); // Doesn't have this bit } @Test @DisplayName("Should check DFS support correctly")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 32.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
try (MockedStatic<Smb3KeyDerivation> mockedKeyDerivation = mockStatic(Smb3KeyDerivation.class)) { byte[] derivedKey = new byte[16]; Arrays.fill(derivedKey, (byte) 0xEE); mockedKeyDerivation.when( () -> Smb3KeyDerivation.deriveSigningKey(eq(Smb2Constants.SMB2_DIALECT_0311), any(byte[].class), any(byte[].class)))
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 43.7K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
} if (addr.getAddress() instanceof NbtAddress) { final int code = ((NbtAddress) addr.getAddress()).getNameType(); if (code == 0x1d || code == 0x1b) { type = TYPE_WORKGROUP; return type; } } type = TYPE_SERVER; } }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 112.2K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 69.8K bytes - Click Count (0)