Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 112 for respCh (0.8 sec)

  1. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java

         */
        @Override
        public SmbComNTCreateAndXResponse initResponse(final CIFSContext tc) {
            final SmbComNTCreateAndXResponse resp = new SmbComNTCreateAndXResponse(tc.getConfig());
            setResponse(resp);
            return resp;
        }
    
        /**
         * Adds flags to the flags0 field.
         *
         * @param fl
         *            the flags0 to set
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            Smb2ChangeNotifyResponse resp = new Smb2ChangeNotifyResponse(mockConfig);
    
            // Then
            assertNotNull(resp);
            assertTrue(resp instanceof ServerMessageBlock2Response);
            assertTrue(resp instanceof ServerMessageBlock2);
            assertTrue(resp instanceof NotifyResponse);
            assertNotNull(resp.getNotifyInformation());
            assertEquals(0, resp.getNotifyInformation().size());
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  3. 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())
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 33K bytes
    - Viewed (0)
  4. 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
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  5. 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);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  6. cmd/metacache-set.go

    				// We have enough and we have more.
    				// Do not return io.EOF
    				if resCh != nil {
    					resErr = nil
    					select {
    					case resCh <- results:
    					case <-ctx.Done():
    					}
    					resCh = nil
    					returned = true
    				}
    				continue
    			}
    			results.o = append(results.o, entry)
    		}
    		if resCh != nil {
    			resErr = io.EOF
    			select {
    			case <-ctx.Done():
    				// Nobody wants it.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 30.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

        @DisplayName("Should create response with configuration")
        void testConstructor() {
            // When
            Smb2NegotiateResponse resp = new Smb2NegotiateResponse(mockConfig);
    
            // Then
            assertNotNull(resp);
            assertTrue(resp instanceof ServerMessageBlock2Response);
            assertTrue(resp instanceof SmbNegotiationResponse);
        }
    
        @Test
        @DisplayName("Should return initial credits from getCredit")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  8. 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);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  9. cmd/xl-storage.go

    				}
    			}
    		}
    		if osErrToFileErr(err) == errFileNotFound {
    			resp = checkPartFileNotFound
    		}
    		return
    	}
    	if st.Mode().IsDir() {
    		resp = checkPartFileNotFound
    		return
    	}
    	// Check if shard is truncated.
    	if st.Size() < expectedSize {
    		resp = checkPartFileCorrupt
    		return
    	}
    	return checkPartSuccess
    }
    
    // CheckParts check if path has necessary parts available.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jun 13 11:33:47 UTC 2025
    - 91.7K bytes
    - Viewed (0)
  10. cmd/perf-tests.go

    		result.Error = err.Error()
    		return
    	}
    	client := &http.Client{
    		Transport: globalRemoteTargetTransport,
    	}
    	resp, err := client.Do(req)
    	if err != nil {
    		result.Error = err.Error()
    		return
    	}
    	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()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
Back to top