- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 42 for Forwarded (0.65 sec)
-
android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java
queue.add(random.nextInt()); } } } /** * Implementation of the InvertedMinMaxPriorityQueue which forwards all calls to a * MinMaxPriorityQueue, except poll, which is forwarded to pollMax. That way we can benchmark * pollMax using the same code that benchmarks poll. */ static final class InvertedMinMaxPriorityQueue<T> extends ForwardingQueue<T> { MinMaxPriorityQueue<T> mmHeap;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 4.4K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/dependencies-with-yield.md
This was changed in version 0.110.0 to fix unhandled memory consumption from forwarded exceptions without a handler (internal server errors), and to make it consistent with the behavior of regular Python code.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
assertTrue(ex.getMessage().contains("Not connected")); } @Test @DisplayName("getTreeId delegates") void getTreeIdDelegates() { // Ensures tree id is forwarded from connection when(treeConnection.getTreeId()).thenReturn(42L); assertEquals(42L, handle.getTreeId()); verify(treeConnection).getTreeId(); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/UserInfoHelper.java
if (cookieSecure != null) { return cookieSecure; } return LaRequestUtil.getOptionalRequest().map(req -> { String forwardedProto = req.getHeader("X-Forwarded-Proto"); if ("https".equalsIgnoreCase(forwardedProto)) { return true; } return req.isSecure(); }).orElse(false); } /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 14.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/SearchHelperTest.java
assertTrue(cookies[0].getSecure()); assertEquals("example.com", cookies[0].getDomain()); } public void test_storeSearchParameters_withForwardedProto() { getMockRequest().addHeader("X-Forwarded-Proto", "https"); getMockRequest().setParameter("q", "test"); getMockRequest().setParameter("lang", "en"); searchHelper.storeSearchParameters();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 18.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
assertThat(getOnlyElement(results)).isInstanceOf(TrustedListenableFutureTask.class); /* * TODO(cpovirk): move ForwardingTestCase somewhere common, and use it to * test the forwarded methods */ } @AndroidIncompatible // Mocking ExecutorService is forbidden there. TODO(b/218700094): Don't mock. public void testListeningDecorator_noWrapExecuteTask() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 28K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
/** * Gets the client IP address from the request. * Checks X-Forwarded-For header before using remote address. * * @param request the HTTP servlet request * @return the client IP address */ public String getClientIp(final HttpServletRequest request) { final String value = request.getHeader("x-forwarded-for"); if (StringUtil.isNotBlank(value)) { return value;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 52.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/ViewHelperTest.java
assertTrue(true); } } public void test_getClientIp() { ViewHelper viewHelper = new ViewHelper(); viewHelper.init(); getMockRequest().addHeader("x-forwarded-for", "192.168.1.1"); assertEquals("192.168.1.1", viewHelper.getClientIp(getMockRequest())); getMockRequest().setRemoteAddr("127.0.0.1"); assertNotNull(viewHelper.getClientIp(getMockRequest()));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 27.3K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
// notices and transitions to the FAILED state. We do it by calling notifyFailed directly // because the service does not monitor the state of the future so if the exception is not // caught and forwarded to the service the task would stop executing but the service would // have no idea. // TODO(lukes): consider building everything in terms of ListenableScheduledFuture then
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 27.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SearchHelper.java
final String secure = fessConfig.getCookieSearchParameterSecure(); if (StringUtil.isBlank(secure)) { final String forwardedProto = req.getHeader("X-Forwarded-Proto"); if ("https".equalsIgnoreCase(forwardedProto)) { cookie.setSecure(true); } else {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 35.8K bytes - Viewed (0)