Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 224 for forwarder (0.06 sec)

  1. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

            // Assert
            assertNotNull(trace, "Instance should be created");
        }
    
        @Test
        @DisplayName("Constructor with delegate: acquire() forwards to delegate and release() too")
        void constructor_withDelegate_acquireAndReleaseForwarded() {
            // Arrange: delegate we can spy on for interaction verification
            CIFSContext ctx = mock(CIFSContext.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  2. 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)
  3. android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

                return new ForwardingRunnable(runnable) {
                  @Override
                  public void run() {}
                };
              }
            },
            "run()",
            "Failed to forward");
      }
    
      public void testRedundantForwarding() {
        assertFailure(
            Runnable.class,
            new Function<Runnable, Runnable>() {
              @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  4. 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)
  5. cmd/storage-rest-server.go

    type httpStreamResponse struct {
    	done  chan error
    	block chan []byte
    	err   error
    }
    
    // Write part of the streaming response.
    // Note that upstream errors are currently not forwarded, but may be in the future.
    func (h *httpStreamResponse) Write(b []byte) (int, error) {
    	if len(b) == 0 || h.err != nil {
    		// Ignore 0 length blocks
    		return 0, h.err
    	}
    	tmp := make([]byte, len(b))
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 45.7K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

          return proxy;
        }
      }
    
      /**
       * Intercepts calls to a {@code Map} to check that {@code setUpRan} is true when they happen. Then
       * forwards the calls to the underlying {@code Map}.
       */
      private static class CheckSetUpInvocationHandler implements InvocationHandler, Serializable {
        private final Map<String, String> map;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu May 22 16:18:11 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  7. 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)
  8. src/test/java/jcifs/util/PathValidatorTest.java

            String normalized = validator.validatePath(path);
            assertEquals("\\share\\folder\\file.txt", normalized);
        }
    
        @Test
        public void testNormalizePath() throws Exception {
            // Test forward slash normalization
            assertEquals("\\share\\folder", validator.validatePath("/share/folder"));
    
            // Test duplicate slash removal
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.10.md

    kube-dns addon optional so that users can deploy their own DNS solution. ([#57113](https://github.com/kubernetes/kubernetes/pull/57113), [@wwwtyro](https://github.com/wwwtyro))
    
    * `kubectl port-forward` now supports specifying a service to port forward to, as in `kubectl port-forward svc/myservice 8443:443`. Additional support has also been added for looking up targetPort for a service, as well as enabling using svc/name to select a pod. ([#59809](https://github.com/kubernetes/kubernetes/pull/59809),...
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu May 05 13:44:43 UTC 2022
    - 341.8K bytes
    - Viewed (0)
  10. 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)
Back to top