- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for DESCR (2.15 sec)
-
src/test/java/jcifs/smb1/smb1/NetServerEnum2Test.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/net/NetShareEnum.java
final int start = dstIndex; byte[] descr; try { descr = DESCR.getBytes("ASCII"); } catch (final UnsupportedEncodingException uee) { return 0; } SMBUtil.writeInt2(NET_SHARE_ENUM, dst, dstIndex); dstIndex += 2; System.arraycopy(descr, 0, dst, dstIndex, descr.length); dstIndex += descr.length; SMBUtil.writeInt2(0x0001, dst, dstIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NetShareEnum.java
final int start = dstIndex; byte[] descr; try { descr = DESCR.getBytes("ASCII"); } catch (final UnsupportedEncodingException uee) { return 0; } writeInt2(NET_SHARE_ENUM, dst, dstIndex); dstIndex += 2; System.arraycopy(descr, 0, dst, dstIndex, descr.length); dstIndex += descr.length; writeInt2(0x0001, dst, dstIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NetServerEnum2.java
final int start = dstIndex; byte[] descr; final int which = subCommand == NET_SERVER_ENUM2 ? 0 : 1; try { descr = DESCR[which].getBytes("ASCII"); } catch (final UnsupportedEncodingException uee) { return 0; } writeInt2(subCommand & 0xFF, dst, dstIndex); dstIndex += 2; System.arraycopy(descr, 0, dst, dstIndex, descr.length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/net/NetServerEnum2.java
byte[] descr; final int which = getSubCommand() == NET_SERVER_ENUM2 ? 0 : 1; try { descr = DESCR[which].getBytes("ASCII"); } catch (final UnsupportedEncodingException uee) { return 0; } SMBUtil.writeInt2(getSubCommand() & 0xFF, dst, dstIndex); dstIndex += 2; System.arraycopy(descr, 0, dst, dstIndex, descr.length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java
} } @Test @DisplayName("Test DESCR array contents") void testDescrArray() throws Exception { Field descrField = NetServerEnum2.class.getDeclaredField("DESCR"); descrField.setAccessible(true); String[] descr = (String[]) descrField.get(null); assertNotNull(descr); assertEquals(2, descr.length); assertEquals("WrLehDO\u0000B16BBDz\u0000", descr[0]);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java
@Test @DisplayName("Test DESCR constant value") void testDescrConstant() throws Exception { Field descrField = NetShareEnum.class.getDeclaredField("DESCR"); descrField.setAccessible(true); String descr = (String) descrField.get(null); assertEquals("WrLeh\u0000B13BWz\u0000", descr); // Verify ASCII conversion byte[] descrBytes = descr.getBytes("ASCII");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0)