- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 922 for Given (0.04 sec)
-
cmd/net.go
ipList = set.NewStringSet() for _, ip := range mustGetLocalIPs() { if ip.To4() == nil { ipList.Add(ip.String()) } } return } // getHostIP returns IP address of given host. func getHostIP(host string) (ipList set.StringSet, err error) { addrs, err := globalDNSCache.LookupHost(GlobalContext, host) if err != nil { return ipList, err } ipList = set.NewStringSet()
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Jun 19 14:34:00 UTC 2024 - 9.6K bytes - Viewed (1) -
src/test/java/jcifs/CIFSExceptionTest.java
*/ @DisplayName("CIFSException Tests") class CIFSExceptionTest extends BaseTest { @Test @DisplayName("Should create CIFSException with message") void testCIFSExceptionWithMessage() { // Given String message = "CIFS operation failed"; // When CIFSException exception = new CIFSException(message); // Then assertNotNull(exception);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComTreeDisconnectTest.java
} /** * Test the writeParameterWordsWireFormat method. */ @Test void testWriteParameterWordsWireFormat() { // Given SmbComTreeDisconnect smbComTreeDisconnect = new SmbComTreeDisconnect(); byte[] dst = new byte[10]; // When int result = smbComTreeDisconnect.writeParameterWordsWireFormat(dst, 0);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.8K bytes - Viewed (0) -
guava/src/com/google/common/io/Files.java
* character set. * * @since 14.0 */ public static CharSource asCharSource(File file, Charset charset) { return asByteSource(file).asCharSource(charset); } /** * Returns a new {@link CharSink} for writing character data to the given file using the given
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 32.9K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/Escapers.java
} /** * Adds a replacement string for the given input character. The specified character will be * replaced by the given string whenever it occurs in the input, irrespective of whether it lies * inside or outside the 'safe' range. * * @param c the character to be replaced * @param replacement the string to replace the given character * @return the builder instanceRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/util/StringsTest.java
@DisplayName("OEM Encoding Tests") class OEMEncodingTests { @Test @DisplayName("getOEMBytes should use configuration encoding") void testGetOEMBytes() { // Given Configuration mockConfig = mock(Configuration.class); when(mockConfig.getOemEncoding()).thenReturn("UTF-8"); // WhenRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
guava/src/com/google/common/io/ByteStreams.java
} /** * Returns a new {@link ByteArrayDataOutput} instance which writes to the given {@code * ByteArrayOutputStream}. The given output stream is not reset before being written to by the * returned {@code ByteArrayDataOutput} and new data will be appended to any existing content. * * <p>Note that if the given output stream was not empty or is modified after the {@codeRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 31.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/stream/StreamUtil.java
public static <T> StreamOf<T> stream(final T... values) { return new StreamOf<>(() -> values != null ? Arrays.stream(values) : Collections.<T> emptyList().stream()); } /** * Splits the given string into an array of substrings based on the specified regular expression * and returns a stream of those substrings. * * @param value the string to be split; if {@code null}, the method returns an empty stream
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 4.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/DfsReferralTest.java
* It verifies that a new DfsReferral object is initialized with its 'next' * property pointing to itself. */ @Test void testDefaultConstructor() { // Given DfsReferral referral = new DfsReferral(); // When / Then assertNotNull(referral, "The DfsReferral object should not be null.");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Service.java
/** * Waits for the {@link Service} to reach the {@linkplain State#RUNNING running state} for no more * than the given time. * * @param timeout the maximum time to wait * @param unit the time unit of the timeout argument * @throws TimeoutException if the service has not reached the given state within the deadline * @throws IllegalStateException if the service reaches a state from which it is not possible toRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 10.8K bytes - Viewed (0)