Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 341 - 350 of 1,707 for helpers (0.05 seconds)

  1. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

            });
        }
    
        /**
         * Helper method to mock the response of an HttpURLConnection.
         */
        private void mockResponse(int code, String message, Map<String, List<String>> headers, InputStream errorStream) throws IOException {
            mockResponse(this.mockConnection, code, message, headers, errorStream);
        }
    
        /**
         * Helper method to mock the response of a specific HttpURLConnection instance.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  2. internal/config/help.go

    	Secret bool `json:"-"`
    
    	// Indicates if sub-sys supports multiple targets.
    	MultipleTargets bool `json:"multipleTargets"`
    }
    
    // HelpKVS - implement order of keys help messages.
    type HelpKVS []HelpKV
    
    // Lookup - lookup a key from help kvs.
    func (hkvs HelpKVS) Lookup(key string) (HelpKV, bool) {
    	for _, hkv := range hkvs {
    		if hkv.Key == key {
    			return hkv, true
    		}
    	}
    	return HelpKV{}, false
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Jun 23 14:45:27 GMT 2023
    - 2.8K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/helper/RateLimitHelperTest.java

            // When remoteAddr is not a trusted proxy, headers should be ignored
            final MockletHttpServletRequest request = getMockRequest();
            request.setRemoteAddr("192.168.1.100");
            request.addHeader("X-Forwarded-For", "203.0.113.50");
            request.addHeader("X-Real-IP", "203.0.113.75");
            // Should return remoteAddr, not the spoofed headers
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 4K bytes
    - Click Count (0)
  4. RELEASE.md

        *   tf.py_func now reports the full stack trace if an exception occurs.
        *   Integrate `TPUClusterResolver` with GKE's integration for Cloud TPUs.
        *   Add a library for statistical testing of samplers.
        *   Add Helpers to stream data from the GCE VM to a Cloud TPU.
        *   Integrate ClusterResolvers with TPUEstimator.
        *   Unify metropolis_hastings interface with HMC kernel.
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Mon Mar 30 18:31:38 GMT 2026
    - 746.5K bytes
    - Click Count (3)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

          value: String,
        ) = apply {
          headers.add(name, value)
        }
    
        /** Removes all headers named [name] on this builder. */
        open fun removeHeader(name: String) =
          apply {
            headers.removeAll(name)
          }
    
        /** Removes all headers on this builder and adds [headers]. */
        open fun headers(headers: Headers) =
          apply {
            this.headers = headers.newBuilder()
          }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Oct 30 13:46:58 GMT 2025
    - 14.7K bytes
    - Click Count (1)
  6. CHANGELOG/CHANGELOG-1.7.md

    * Fix init container status reporting when active deadline is exceeded. ([#46305](https://github.com/kubernetes/kubernetes/pull/46305), [@sjenning](https://github.com/sjenning))
    
    * Moved qos to api.helpers. ([#44906](https://github.com/kubernetes/kubernetes/pull/44906), [@k82cn](https://github.com/k82cn))
    
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu May 05 13:44:43 GMT 2022
    - 308.7K bytes
    - Click Count (1)
  7. src/main/java/org/codelibs/fess/helper/RateLimitHelper.java

         * Only trusts X-Forwarded-For/X-Real-IP headers when the request comes from a trusted proxy.
         * @param request the HTTP request
         * @return the client IP address
         */
        public String getClientIp(final HttpServletRequest request) {
            final String remoteAddr = request.getRemoteAddr();
    
            // Only trust proxy headers if the request comes from a trusted proxy
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Dec 24 14:16:27 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/cors/CorsHandlerTest.java

        }
    
        // Test that all expected headers are set
        @Test
        public void test_allCorsHeadersAreSet() {
            String testOrigin = "https://example.com";
            HttpServletRequest request = createMockRequest();
            HttpServletResponse response = createMockResponse();
    
            corsHandler.process(testOrigin, request, response);
    
            // Check all CORS headers are present
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 26.3K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/helper/VirtualHostHelperTest.java

            result = virtualHostHelper.processVirtualHost(s -> "processed_" + s, "default");
            assertEquals("processed_site1", result);
    
            // Headers persist in same request, so subsequent headers are additive
            // Test with case insensitive matching
            request.addHeader("X-Forwarded-Host", "TEST.COM");
            result = virtualHostHelper.processVirtualHost(s -> "processed_" + s, "default");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  10. cmd/config-current.go

    	}
    	if key != "" {
    		value, ok := h.Lookup(key)
    		if !ok {
    			return Help{}, config.Errorf("unknown key %s for sub-system %s",
    				key, subSys)
    		}
    		h = config.HelpKVS{value}
    	}
    
    	help := config.HelpKVS{}
    
    	// Only for multiple targets, make sure
    	// to list the ENV, for regular k/v EnableKey is
    	// implicit, for ENVs we cannot make it implicit.
    	if subSysHelp.MultipleTargets {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 28.5K bytes
    - Click Count (0)
Back to Top