- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 72 for getShort (0.08 sec)
-
android/guava/src/com/google/common/primitives/Shorts.java
} /** * Returns the {@code short} value whose big-endian representation is stored in the first 2 bytes * of {@code bytes}; equivalent to {@code ByteBuffer.wrap(bytes).getShort()}. For example, the * input byte array {@code {0x54, 0x32}} would yield the {@code short} value {@code 0x5432}. * * <p>Arguably, it's preferable to use {@link java.nio.ByteBuffer}; that library exposes much more
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 27 16:47:48 UTC 2024 - 25.5K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Shorts.java
} /** * Returns the {@code short} value whose big-endian representation is stored in the first 2 bytes * of {@code bytes}; equivalent to {@code ByteBuffer.wrap(bytes).getShort()}. For example, the * input byte array {@code {0x54, 0x32}} would yield the {@code short} value {@code 0x5432}. * * <p>Arguably, it's preferable to use {@link java.nio.ByteBuffer}; that library exposes much more
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 27 16:47:48 UTC 2024 - 25.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/HostAndPortTest.java
assertEquals("::1", HostAndPort.fromString("[::1]:80").requireBracketsForIPv6().getHost()); // Non-bracketed non-IPv6 works fine. assertEquals("x", HostAndPort.fromString("x").requireBracketsForIPv6().getHost()); assertEquals("x", HostAndPort.fromString("x:80").requireBracketsForIPv6().getHost()); // Non-bracketed IPv6 fails. assertThrows(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 9.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/FessBoot.java
final String tempPath = System.getProperty(FESS_TEMP_PATH); if (tempPath != null) { System.setProperty(JAVA_IO_TMPDIR, tempPath); } final TomcatBoot tomcatBoot = new FessBoot(getPort(), getContextPath()) // .useTldDetect(); // for JSP final String varPath = System.getProperty(FESS_VAR_PATH); if (varPath != null) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java
} return url; } public String getCacheKey() { return getHost() + ":" + getPort(); } public String getHost() { return uri.getHost(); } public int getPort() { int port = uri.getPort(); if (port == -1) { port = DEFAULT_FTP_PORT; } return port;
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:41:37 UTC 2024 - 25.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java
assertEquals(value, ftpInfo.toUrl()); assertEquals("123.123.123.123:9999", ftpInfo.getCacheKey()); assertEquals("123.123.123.123", ftpInfo.getHost()); assertEquals(9999, ftpInfo.getPort()); assertEquals("/", ftpInfo.getParent()); assertNull(ftpInfo.getName()); value = "ftp://123.123.123.123/test.txt"; ftpInfo = new FtpClient.FtpInfo(value);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 16.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Handler.java
path = u.getPath(); ref = u.getRef(); if (ref != null) { path += '#' + ref; } port = u.getPort(); if( port == -1 ) { port = getDefaultPort(); } setURL( u, "smb", u.getHost(), port, u.getAuthority(), u.getUserInfo(), path, u.getQuery(), null ); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 2.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpAuthentication.java
final URL uri = new URL(pos == -1 ? path : path.substring(0, pos)); if (!"ftp".equals(uri.getProtocol()) || StringUtil.isNotBlank(server) && !server.equals(uri.getHost())) { return false; } int p = uri.getPort(); if (p == -1) { p = 21; } if (port > 0 && port != p) { return false; }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:40:57 UTC 2024 - 2.4K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/repository/Proxy.java
* For NTLM proxies, specifies the NTLM domain. */ private String ntlmDomain; /** * Return proxy server host name. * * @return proxy server host name */ public String getHost() { return host; } /** * Set proxy host name. * * @param host proxy server host name */ public void setHost(String host) { this.host = host; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4K bytes - Viewed (0) -
src/main/java/jcifs/smb/Handler.java
path = u.getPath(); ref = u.getRef(); if ( ref != null ) { path += '#' + ref; } port = u.getPort(); if ( port == -1 ) { port = getDefaultPort(); } setURL(u, "smb", u.getHost(), port, u.getAuthority(), u.getUserInfo(), path, u.getQuery(), null); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Jun 06 09:14:24 UTC 2020 - 2.9K bytes - Viewed (0)