- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 42 for getShort (0.05 sec)
-
src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java
assertEquals(4, bytesEncoded); ByteBuffer bb = ByteBuffer.wrap(dst).order(ByteOrder.LITTLE_ENDIAN); assertEquals(maxReferralLevel, bb.getShort()); assertEquals(0, bb.getShort()); // null terminator } @ParameterizedTest @DisplayName("Should encode various referral levels correctly") @ValueSource(ints = { 0, 1, 255, 256, 32767, 65535 })Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
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 moreRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.8K 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 moreRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.8K bytes - Viewed (0) -
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 Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 9.8K 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";
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 18K 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 Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 11.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbResourceLocatorImpl.java
} /** * {@inheritDoc} * * @see jcifs.SmbResourceLocator#getPort() */ @Override public int getPort() { return this.url.getPort(); } /** * {@inheritDoc} * * @see jcifs.SmbResourceLocator#getURL() */ @Override public URL getURL() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 23.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java
*/ public String getCacheKey() { return getHost() + ":" + getPort(); } /** * Gets the host name from the FTP URL. * * @return The host name */ public String getHost() { return uri.getHost(); } /** * Gets the port number from the FTP URL.Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 39.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractor.java
final AuthScheme authScheme = authentication.getAuthScheme(); if (authScope.getHost() != null && authScheme != null) { final HttpHost targetHost = new HttpHost(authScope.getHost(), authScope.getPort()); authCache.put(targetHost, authScheme); } } httpClientContext.setAuthCache(authCache);
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 12.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java
} } } if (repository.getProxy() != null && logger.isDebugEnabled()) { logger.debug("Using proxy " + repository.getProxy().getHost() + ":" + repository.getProxy().getPort() + " for " + repository.getUrl()); } if (repository.getAuthentication() != null && repository.getProxy() != null) { wagon.connect(Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sat Apr 05 11:52:05 UTC 2025 - 29.9K bytes - Viewed (0)