Home
last modified time | relevance | path

Searched refs:responses (Results 1 – 25 of 107) sorted by relevance

12345

/external/opencv/ml/src/
Dmltestset.cpp62 CvMat** responses, in cvCreateTestSet() argument
75 if( responses ) in cvCreateTestSet()
76 *responses = NULL; in cvCreateTestSet()
84 if( !responses ) in cvCreateTestSet()
106 CV_CALL( *responses = cvCreateMat( 1, num_samples, CV_32SC1 ) ); in cvCreateTestSet()
147 CV_MAT_ELEM( **responses, int, 0, elem.i ) = cur_class; in cvCreateTestSet()
162 if( responses ) in cvCreateTestSet()
163 cvReleaseMat( responses ); in cvCreateTestSet()
Dml_inner_functions.cpp630 cvPreprocessOrderedResponses( const CvMat* responses, const CvMat* sample_idx, int sample_all ) in cvPreprocessOrderedResponses() argument
643 if( !CV_IS_MAT(responses) ) in cvPreprocessOrderedResponses()
646 if( responses->rows != 1 && responses->cols != 1 ) in cvPreprocessOrderedResponses()
649 if( responses->rows + responses->cols - 1 != sample_count ) in cvPreprocessOrderedResponses()
653 r_type = CV_MAT_TYPE(responses->type); in cvPreprocessOrderedResponses()
657 r_step = responses->step ? responses->step / CV_ELEM_SIZE(responses->type) : 1; in cvPreprocessOrderedResponses()
659 if( r_type == CV_32FC1 && CV_IS_MAT_CONT(responses->type) && !sample_idx ) in cvPreprocessOrderedResponses()
661 out_responses = (CvMat*)responses; in cvPreprocessOrderedResponses()
681 const float* src = responses->data.fl; in cvPreprocessOrderedResponses()
691 const int* src = responses->data.i; in cvPreprocessOrderedResponses()
[all …]
Dmlboost.cpp248 const int* responses = data->get_class_labels(node); in find_split_ord_class() local
264 rcw[responses[idx]] -= w; in find_split_ord_class()
280 idx = responses[idx]; in find_split_ord_class()
304 idx = responses[idx]; in find_split_ord_class()
335 const int* responses = data->get_class_labels(node); in CV_IMPLEMENT_QSORT_EX() local
359 k = responses[i]; in CV_IMPLEMENT_QSORT_EX()
444 const float* responses = data->get_ord_responses(node); in find_split_ord_reg() local
457 rsum -= responses[idx]*w; in find_split_ord_reg()
466 double t = responses[idx]*w; in find_split_ord_reg()
492 const float* responses = data->get_ord_responses(node); in find_split_cat_reg() local
[all …]
Dmlsvm.cpp1317 const CvMat* responses, CvMemStorage* temp_storage, double* alpha ) in do_train() argument
1338 responses->data.i, 0, 0, temp_storage, alpha, df->rho )) in do_train()
1394 cvSortSamplesByClasses( samples, responses, class_ranges, 0 ); in do_train()
1529 CvMat* responses = 0; in train() local
1553 &responses, &class_labels, &var_idx )); in train()
1571 if( !do_train( svm_type, sample_count, var_count, samples, responses, temp_storage, alpha )) in train()
1581 cvReleaseMat( &responses ); in train()
1596 CvMat* responses = 0; in train_auto() local
1706 &responses, &class_labels, &var_idx )); in train_auto()
1730 size_t resp_elem_size = CV_ELEM_SIZE(responses->type); in train_auto()
[all …]
Dmltree.cpp679 float* responses, bool get_class_idx ) in get_vectors() argument
770 if( responses ) in get_vectors()
780 responses[i] = (float)val; in get_vectors()
789 responses[i] = src[idx]; in get_vectors()
1458 const int* responses = data->get_class_labels(node); in calc_node_dir() local
1465 double w = priors[responses[i]]; in calc_node_dir()
1497 const int* responses = data->get_class_labels(node); in calc_node_dir() local
1504 double w = priors[responses[idx]]; in calc_node_dir()
1512 double w = priors[responses[idx]]; in calc_node_dir()
1570 const int* responses = data->get_class_labels(node); in find_split_ord_class() local
[all …]
D_ml.h289 const CvMat* responses, int response_type,
342 CvMat* cvPreprocessOrderedResponses( const CvMat* responses,
345 CvMat* cvPreprocessCategoricalResponses( const CvMat* responses,
Dmlcnn.cpp55 const CvMat* responses, const CvStatModelParams* params,
63 const CvMat* responses,
169 CvMat* responses = 0;
185 &n_images, &img_size, &img_size, &responses,
194 CV_CALL( icvTrainCNNetwork( cnn_model->network, out_train_data, responses,
205 cvReleaseMat( &responses );
213 const CvMat* responses,
231 const int n_images = responses->cols;
256 int* right_etal_idx = responses->data.i;
294 cvGetRow( etalons, &etalon, responses->data.i[worst_img_idx] );
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/
DRecordingOkAuthenticator.java26 public final List<Response> responses = new ArrayList<>(); field in RecordingOkAuthenticator
35 if (responses.size() != 1) throw new IllegalStateException(); in onlyResponse()
36 return responses.get(0); in onlyResponse()
45 responses.add(response); in authenticate()
53 responses.add(response); in authenticateProxy()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DRecordingCallback.java32 private final List<RecordedResponse> responses = new ArrayList<>(); field in RecordingCallback
35 responses.add(new RecordedResponse(request, null, null, null, e)); in onFailure()
44responses.add(new RecordedResponse(response.request(), response, null, buffer.readUtf8(), null)); in onResponse()
55 for (Iterator<RecordedResponse> i = responses.iterator(); i.hasNext(); ) { in await()
72 for (RecordedResponse recordedResponse : responses) { in assertNoResponse()
/external/jetty/src/resources/org/eclipse/jetty/server/handler/jmx/
DStatisticsHandler-mbean.properties23 responses1xx: Number of responses with a 1xx status since statsReset() called.
24 responses2xx: Number of responses with a 2xx status since statsReset() called.
25 responses3xx: Number of responses with a 3xx status since statsReset() called.
26 responses4xx: Number of responses with a 4xx status since statsReset() called.
27 responses5xx: Number of responses with a 5xx status since statsReset() called.
28 responsesBytesTotal: Total number of bytes of all responses since statsReset() called.
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/
DFakeHttpLayer.java76 …c void addHttpResponseRule(RequestMatcher requestMatcher, List<? extends HttpResponse> responses) { in addHttpResponseRule() argument
77 addHttpResponseRule(new RequestMatcherResponseRule(requestMatcher, responses)); in addHttpResponseRule()
191 private List<? extends HttpResponse> responses; field in FakeHttpLayer.RequestMatcherResponseRule
208 …RequestMatcherResponseRule(RequestMatcher requestMatcher, List<? extends HttpResponse> responses) { in RequestMatcherResponseRule() argument
210 this.responses = responses; in RequestMatcherResponseRule()
225 if (responses.isEmpty()) { in getResponse()
228 return responses.remove(0); in getResponse()
/external/openssh/
Dauth-bsdauth.c98 bsdauth_respond(void *ctx, u_int numresponses, char **responses) in bsdauth_respond() argument
112 authok = auth_userresponse(authctxt->as, responses[0], 0); in bsdauth_respond()
114 debug3("bsdauth_respond: <%s> = <%d>", responses[0], authok); in bsdauth_respond()
Dauth-skey.c75 skey_respond(void *ctx, u_int numresponses, char **responses) in skey_respond() argument
82 skey_passcheck(authctxt->pw->pw_name, responses[0]) != -1) in skey_respond()
/external/chromium-trace/trace-viewer/third_party/WebOb/
DREADME.rst15 WebOb provides objects for HTTP requests and responses. Specifically
20 HTTP request and forming HTTP responses. Both objects are read/write:
22 parse HTTP responses.
/external/okhttp/mockwebserver/
DREADME.md10 makes HTTP and HTTPS calls. It lets you specify which responses to return and
14 testing everything. You can even copy & paste HTTP responses from your real web
16 awkward-to-reproduce situations like 500 errors or slow-loading responses.
36 // Schedule some responses.
84 Mock responses default to an empty response body and a `200` status code.
116 By default MockWebServer uses a queue to specify a series of responses. Use a
/external/llvm/test/Analysis/BasicAA/
D2007-08-01-NoAliasAndGEP.ll7 ; CHECK: 9 no alias responses
8 ; CHECK: 6 partial alias responses
/external/chromium-trace/trace-viewer/third_party/Paste/
DREADME.rst62 into proper responses in ``paste.httpexceptions``
70 * Gzip responses in ``paste.gzip``
73 producing responses, in ``paste.request``, ``paste.response`` and
DPKG-INFO70 into proper responses in ``paste.httpexceptions``
78 * Gzip responses in ``paste.gzip``
81 producing responses, in ``paste.request``, ``paste.response`` and
/external/okhttp/
DCHANGELOG.md52 * Fix: Improve caching of private responses.
115 * **OkHttp now caches private responses**. We've changed from a shared cache
116 to a private cache, and will now store responses that use an `Authorization`
242 `OkUrlFactory `responses.
264 requests, responses, headers, and calls. It uses modern Java patterns like
283 responses. Both types of calls can be canceled via the `Call` or the
324 the cache and network responses in the new `Response` class.
399 * Fix 1.5.0 regression where conditional cache responses could corrupt the
433 * Fix: Cache SPDY responses even if the response body is closed prematurely.
435 * Fix: Support Shoutcast HTTP responses like `ICY 200 OK`.
[all …]
/external/chromium-trace/trace-viewer/third_party/Paste/docs/modules/
Dgzipper.txt1 :mod:`paste.gzipper` -- Gzip-compress responses
Derrordocument.txt1 :mod:`paste.errordocument` -- Do internal redirects for error responses
Dlint.txt1 :mod:`paste.lint` -- Check for the validity of WSGI requests and responses
Dresponse.txt1 :mod:`paste.response` -- Utility functions for producing responses
/external/chromium-trace/trace-viewer/third_party/Paste/Paste.egg-info/
DPKG-INFO70 into proper responses in ``paste.httpexceptions``
78 * Gzip responses in ``paste.gzip``
81 producing responses, in ``paste.request``, ``paste.response`` and
/external/chromium-trace/trace-viewer/third_party/Paste/docs/
Ddeveloper-features.txt66 into proper responses in :mod:`paste.httpexceptions`
74 * Gzip responses in :mod:`paste.gzipper`
77 producing responses, in :mod:`paste.request`, :mod:`paste.response` and

12345