- Sort Score
- Result 10 results
- Languages All
Results 401 - 410 of 1,386 for Byte (0.1 sec)
-
src/main/java/jcifs/dcerpc/DcerpcHandle.java
* @throws IOException * @throws DcerpcException * @throws NdrException */ private byte[] receiveMoreFragments(final DcerpcMessage msg, byte[] in) throws IOException, DcerpcException, NdrException { int off = msg.ptype == 2 ? msg.length : 24; final byte[] fragBytes = new byte[this.max_recv]; final NdrBuffer fragBuf = new NdrBuffer(fragBytes, 0); while (!msg.isFlagSet(DCERPC_LAST_FRAG)) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java
private byte oplockLevel; private byte openFlags; private int createAction; private long creationTime; private long lastAccessTime; private long lastWriteTime; private long changeTime; private long allocationSize; private long endOfFile; private int fileAttributes; private final byte[] fileId = new byte[16]; private CreateContextResponse[] createContexts;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 15.4K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java
v.add(new DERTaggedObject(true, 2, new DERBitString(new byte[] { apOptions }))); // first byte read by impl return new DERSequence(v); } @Test @DisplayName("byte[] ctor: empty token throws PACDecodingException with clear message") void byteArrayConstructor_emptyToken_throws() { // Arrange byte[] empty = new byte[0]; // Act + Assert
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComWriteAndXResponseTest.java
} /** * Test of readParameterWordsWireFormat method */ @Test public void testReadParameterWordsWireFormat() { // Given byte[] buffer = new byte[] { (byte) 0xff, (byte) 0xff, 0, 0, 0, 0, 0, 0 }; SmbComWriteAndXResponse instance = new SmbComWriteAndXResponse(config); // When int result = instance.readParameterWordsWireFormat(buffer, 0);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/smb1/smb1/SmbComDelete.java
} @Override int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) { writeInt2(searchAttributes, dst, dstIndex); return 2; } @Override int writeBytesWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; dst[dstIndex] = (byte) 0x04; dstIndex++; dstIndex += writeString(path, dst, dstIndex);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2GetDfsReferralResponse.java
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
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeHandleImplTest.java
SmbSessionImpl session = mock(SmbSessionImpl.class); when(tree.getSession()).thenReturn(session); when(session.getSessionKey()).thenReturn(new byte[] { 1, 2, 3 }); byte[] key = target.getSessionKey(); assertArrayEquals(new byte[] { 1, 2, 3 }, key); verify(tree, times(1)).getSession(); verify(session, times(1)).getSessionKey(); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SpnegoContext.java
} @Override public byte[] calculateMIC(final byte[] data) throws CIFSException { if (!this.completed) { throw new CIFSException("Context is not established"); } return this.mechContext.calculateMIC(data); } /** * {@inheritDoc} * * @see jcifs.smb.SSPContext#verifyMIC(byte[], byte[]) */ @OverrideRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.5K bytes - Viewed (0) -
src/test/java/jcifs/util/StringsTest.java
@Test @DisplayName("findTermination should find null termination in single-byte encoding") void testFindTermination() { // Given String testString = "Hello"; byte[] stringBytes = testString.getBytes(StandardCharsets.UTF_8); byte[] bufferWithTermination = new byte[stringBytes.length + 1]; // +1 for null terminationRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NetShareEnum.java
maxSetupCount = (byte) 0x00; setupCount = 0; timeout = 5000; } @Override int writeSetupWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override int writeParametersWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; byte[] descr; try {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.7K bytes - Viewed (0)