Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for addResponse (0.1 sec)

  1. internal/grid/muxclient.go

    		if msg.Err != nil {
    			err = fmt.Errorf("remove pong failed: %v", &msg.Err)
    		}
    		m.addResponse(Response{Err: err})
    		return
    	}
    	atomic.StoreInt64(&m.LastPong, time.Now().UnixNano())
    }
    
    // addResponse will add a response to the response channel.
    // This function will never block
    func (m *muxClient) addResponse(r Response) (ok bool) {
    	m.respMu.Lock()
    	defer m.respMu.Unlock()
    	if m.closed {
    		return false
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/it/search/SearchApiTests.java

            Map<String, String> andParams = new HashMap<>();
            andParams.put("q", query.replace("OR", "AND"));
            String andResponse = checkMethodBase(new HashMap<>()).params(andParams).get("/api/v1/documents").asString();
            int andRecordCount = JsonPath.from(andResponse).getInt("record_count");
    
            Map<String, String> params = new HashMap<>();
            params.put("q", query);
            params.put("num", "100");
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.6K bytes
    - Viewed (0)
Back to top