- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 36 for getResults (0.85 sec)
-
src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponse.java
this.expectInfoClass = expectInfoClass; } /** * Gets the directory entries returned by the query * * @return the fileInformation */ public FileEntry[] getResults() { return this.results; } /** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int) */ @OverrideRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/NetServerEnumIterator.java
this.response.getStatus() == WinError.ERROR_MORE_DATA ? this.response.getNumEntries() - 1 : this.response.getNumEntries(); while (this.ridx < n) { final FileEntry itm = this.response.getResults()[this.ridx]; this.ridx++; if (filter(itm)) { return itm; } }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbEnumerationUtil.java
th.send(req, resp); if (resp.getStatus() != WinError.ERROR_SUCCESS) { throw new SmbException(resp.getStatus(), true); } return resp.getResults(); } static CloseableIterator<SmbResource> doShareEnum(final SmbFile parent, final String wildcard, final int searchAttributes,
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
class ResultHandlingTests { @Test @DisplayName("getResult should return null when result is 0") void testGetResultSuccess() throws Exception { // Given setResultField(bind, 0); // When DcerpcException result = bind.getResult(); // ThenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java
this.result = r; } } @Test void testGetResult() { ResultMsg m = new ResultMsg(); assertNull(m.getResult()); m.setResult(0xDEAD); DcerpcException e = m.getResult(); assertEquals(0xDEAD, e.getErrorCode()); } @Test void testEncodeHeaderAndDecodeHeader() throws Exception { TestMessage m = new TestMessage();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java
// Provide a query response with two entries Smb2QueryDirectoryResponse qr = new Smb2QueryDirectoryResponse(config, Smb2QueryDirectoryRequest.FILE_BOTH_DIRECTORY_INFO); setResults(qr, new FileEntry[] { fe1, fe2 }); q.setResponse(qr); return cr; } if (arg instanceof Smb2QueryDirectoryRequest) { queryCount[0]++;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Response.java
this.lastName = e.getFilename(); this.resumeKey = e.getFileIndex(); } bufferIndex += e.getNextEntryOffset(); } setResults(results); /* * last nextEntryOffset for NT 4(but not 98) is 0 so we must * use dataCount or our accounting will report an error for NT :~( */ return getDataCount();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SpnegoContext.java
throw new SmbException("Server chose an unsupported mechanism " + targ.getMechanism()); } this.selectedMech = targ.getMechanism(); if (targ.getResult() == NegTokenTarg.REQUEST_MIC) { this.requireMic = true; } this.firstResponse = false;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.5K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcMessage.java
this.flags |= flag; } /** * Get the result of the DCERPC call. * @return result exception, if the call failed */ public DcerpcException getResult() { if (this.result != 0) { return new DcerpcException(this.result); } return null; } void encode_header(final NdrBuffer buf) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.3K bytes - Viewed (0)