- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 358 for IP (0.01 seconds)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java
/** * Gets the active external host IP address for active mode FTP. * * @return The active external host IP address */ public String getActiveExternalHost() { return activeExternalHost; } /** * Sets the active external host IP address for active mode FTP. * * @param activeExternalHost The active external host IP address */Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 40K bytes - Click Count (0) -
helm/minio/templates/console-service.yaml
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Apr 28 10:05:53 GMT 2024 - 1.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/witness/WitnessRegisterMessage.java
public String getShareName() { return shareName; } /** * Sets the IP address of the client. * * @param ipAddress the IP address */ public void setIpAddress(String ipAddress) { this.ipAddress = ipAddress; } /** * Sets the IP address from an InetAddress. * * @param address the InetAddress */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 8.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/RateLimitHelperTest.java
// 127.0.0.1 is configured as a trusted proxy by default final MockletHttpServletRequest request = getMockRequest(); request.setRemoteAddr("127.0.0.1"); request.addHeader("X-Real-IP", "203.0.113.75"); assertEquals("203.0.113.75", rateLimitHelper.getClientIp(request)); } @Test public void test_getClientIp_xForwardedForPriority_trustedProxy() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 4K bytes - Click Count (0) -
src/test/java/jcifs/netbios/UniAddressTest.java
@ParameterizedTest(name = "should return true for valid IP address: {0}") @ValueSource(strings = { "192.168.1.1", "10.0.0.255", "0.0.0.0", "255.255.255.255" }) void shouldReturnTrueForValidIpAddresses(String ip) { assertTrue(UniAddress.isDotQuadIP(ip)); } @ParameterizedTest(name = "should return false for invalid IP address or hostname: {0}")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 16.4K bytes - Click Count (0) -
android/guava/src/com/google/common/net/HostSpecifier.java
import java.net.InetAddress; import java.text.ParseException; import org.jspecify.annotations.Nullable; /** * A syntactically valid host specifier, suitable for use in a URI. This may be either a numeric IP * address in IPv4 or IPv6 notation, or a domain name. * * <p>Because this class is intended to represent host specifiers which can reasonably be used in a
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/IpAddressUtil.java
} catch (final Exception e) { return false; } } /** * Formats an IP address string for use in a URL. * IPv6 addresses are wrapped in brackets, IPv4 addresses are returned as-is. * * @param address the IP address string to format * @return the formatted address (IPv6 with brackets, IPv4 unchanged) */
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 06 08:31:03 GMT 2025 - 9.4K bytes - Click Count (0) -
internal/handlers/proxy_test.go
xRealIP: []string{"1.1.1.1"}, }, } // When X-Forwarded-For and X-Real-IP headers are both present, X-Forwarded-For takes precedence. res := GetSourceIP(req) if res != "8.8.8.8" { t.Errorf("wrong header, xff takes precedence: got %s, want: 8.8.8.8", res) } // When explicitly disabled, the XFF header is ignored and X-Real-IP is used. enableXFFHeader = false defer func() { enableXFFHeader = true }()Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Feb 26 19:25:49 GMT 2025 - 3.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/UniAddressTest.java
@ValueSource(strings = { "192.168.0.1", "123.45.67.89", "1.2.3.4" }) void isDotQuadIPRecognizesDotQuadIP(String ip) { // Arrange & Act boolean result = UniAddress.isDotQuadIP(ip); // Assert assertTrue(result, "isDotQuadIP should return true for dot-quad IP"); } @ParameterizedTest @ValueSource(strings = { "192.168.0", "abcd", "192.168" })Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt
/** * This test binds two different web servers (IPv4 and IPv6) to the same port, but on different * local IP addresses. Requests made to `127.0.0.1` will reach the IPv4 server, and requests made to * `::1` will reach the IPv6 server. * * By orchestrating two different servers with the same port but different IP addresses, we can * test what OkHttp does when both are reachable, or if only one is reachable. *
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 10.6K bytes - Click Count (0)