- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 146 for respCh (0.05 seconds)
-
src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java
*/ private static void setResults(Smb2QueryDirectoryResponse resp, FileEntry[] results) throws Exception { Field f = Smb2QueryDirectoryResponse.class.getDeclaredField("results"); f.setAccessible(true); f.set(resp, results); } /** * Reflectively set the 'status' on a SMB2 response to drive control flow. */Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/SmbNegotiationResponse.java
*/ void setupRequest(CommonServerMessageBlock request); /** * Sets up the given response with negotiated parameters. * * @param resp the response to configure */ void setupResponse(Response resp); /** * Checks whether SMB message signing has been successfully negotiated. * * @return whether signing has been negotiated */Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.9K bytes - Click Count (0) -
internal/grid/benchmark_test.go
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 15.5K bytes - Click Count (0) -
cmd/perf-tests.go
result.Error = err.Error() return result } client := &http.Client{ Transport: globalRemoteTargetTransport, } resp, err := client.Do(req) if err != nil { result.Error = err.Error() return result } defer xhttp.DrainBody(resp.Body) err = gob.NewDecoder(resp.Body).Decode(&result) // endpoint have been overwritten result.Endpoint = rp.String() if err != nil { result.Error = err.Error()
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 11.8K bytes - Click Count (0) -
cmd/admin-handlers_test.go
} rec := httptest.NewRecorder() adminTestBed.router.ServeHTTP(rec, req) resp, _ := io.ReadAll(rec.Body) if rec.Code != http.StatusOK { t.Errorf("Expected to receive %d status code but received %d. Body (%s)", http.StatusOK, rec.Code, string(resp)) } result := &serviceResult{} if err := json.Unmarshal(resp, result); err != nil { t.Error(err) } _ = result
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 13.9K bytes - Click Count (1) -
src/test/java/jcifs/smb/SmbPipeHandleImplTest.java
when(fileHandle.getTree()).thenReturn(tree); // Mock response and send behavior Smb2IoctlResponse resp = mock(Smb2IoctlResponse.class); when(resp.getOutputLength()).thenReturn(42); when(tree.send(any(Smb2IoctlRequest.class), any())).thenReturn(resp); byte[] out = new byte[10]; int read = target.sendrecv(new byte[] { 9, 8, 7 }, 0, 3, out, 1024);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.7K bytes - Click Count (0) -
cmd/xl-storage.go
} } } if osErrToFileErr(err) == errFileNotFound { resp = checkPartFileNotFound } return resp } if st.Mode().IsDir() { resp = checkPartFileNotFound return resp } // Check if shard is truncated. if st.Size() < expectedSize { resp = checkPartFileCorrupt return resp } return checkPartSuccess }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 91.7K bytes - Click Count (0) -
cmd/utils.go
_, err = dexClient.Do(req) if err != nil { return "", fmt.Errorf("post form err: %v", err) } // fmt.Printf("resp: %#v %#v\n", resp.StatusCode, resp.Header) // bodyBuf, err := io.ReadAll(resp.Body) // if err != nil { // return "", fmt.Errorf("Error reading body: %v", err) // } // fmt.Printf("resp body: %s\n", string(bodyBuf)) // fmt.Printf("lastReq: %#v\n", lastReq.URL.String())
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 33K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFileInputStream.java
try { final Smb2ReadResponse resp = th.send(request, RequestParam.NO_RETRY); n = resp.getDataLength(); } catch (final SmbException e) { if (e.getNtStatus() == 0xC0000011) { // NT_STATUS_END_OF_FILECreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
CommonServerMessageBlockResponse resp = mock(CommonServerMessageBlockResponse.class); // Stub tree send for varargs when(treeConnection.send(eq(resourceLoc), any(CommonServerMessageBlockRequest.class), isNull(), any(RequestParam[].class))) .thenReturn(resp); CommonServerMessageBlockResponse out = handle.send(req, RequestParam.NO_RETRY);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.4K bytes - Click Count (0)