- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 135 for 150 (0.01 sec)
-
guava/src/com/google/common/io/ByteSink.java
* independent stream each time it is called. * * <p>The caller is responsible for ensuring that the returned stream is closed. * * @throws IOException if an I/O error occurs while opening the stream * @since 15.0 (in 14.0 with return type {@link BufferedOutputStream}) */ public OutputStream openBufferedStream() throws IOException { OutputStream out = openStream(); return (out instanceof BufferedOutputStream)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 4.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java
import com.google.common.escape.UnicodeEscaper; import java.io.IOException; import junit.framework.Assert; /** * Extra assert methods for testing Escaper implementations. * * @author David Beaumont * @since 15.0 */ @GwtCompatible public final class EscaperAsserts { private EscaperAsserts() {} /** * Asserts that an escaper behaves correctly with respect to null inputs. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jan 18 20:55:09 UTC 2022 - 3.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java
import com.google.common.escape.UnicodeEscaper; import java.io.IOException; import junit.framework.Assert; /** * Extra assert methods for testing Escaper implementations. * * @author David Beaumont * @since 15.0 */ @GwtCompatible public final class EscaperAsserts { private EscaperAsserts() {} /** * Asserts that an escaper behaves correctly with respect to null inputs. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jan 18 20:55:09 UTC 2022 - 3.8K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/HandleReconnectorTest.java
HandleInfo expiredHandle = new HandleInfo("/test/file.txt", new HandleGuid(), new byte[16], HandleType.DURABLE_V2, 100, // 100ms timeout null); // Wait for expiration Thread.sleep(150); CompletableFuture<HandleInfo> future = reconnector.reconnectHandle(expiredHandle, new IOException("Network error")); assertThrows(ExecutionException.class, () -> { future.get();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 5.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/EvictingQueue.java
* bounded queues, which either block or reject new elements when full. * * <p>This class is not thread-safe, and does not accept null elements. * * @author Kurt Alfred Kluever * @since 15.0 */ @GwtCompatible public final class EvictingQueue<E> extends ForwardingQueue<E> implements Serializable { private final Queue<E> delegate; @VisibleForTesting final int maxSize;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 4.6K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/PrimitiveSink.java
* running on the equivalent input. For cross-language compatibility, use {@link #putString}, * usually with a charset of UTF-8. For other use cases, use {@code putUnencodedChars}. * * @since 15.0 (since 11.0 as putString(CharSequence)) */ @CanIgnoreReturnValue PrimitiveSink putUnencodedChars(CharSequence charSequence); /** * Puts a string into this sink using the given charset. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 3.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NetServerEnum2Test.java
netServerEnum2.subCommand = (byte) SmbComTransaction.NET_SERVER_ENUM3; String lastName = "LAST_SERVER"; netServerEnum2.reset(0, lastName); byte[] dst = new byte[150]; int bytesWritten = netServerEnum2.writeParametersWireFormat(dst, 0); // Verify subcommand assertEquals(SmbComTransaction.NET_SERVER_ENUM3 & 0xFF, (dst[0] & 0xFF) | ((dst[1] & 0xFF) << 8));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.6K bytes - Viewed (0) -
android/guava/src/com/google/common/net/MediaType.java
/** * <a href="http://www.iana.org/assignments/media-types/text/tab-separated-values">Tab separated * values</a>. * * @since 15.0 */ public static final MediaType TSV_UTF_8 = createConstantUtf8(TEXT_TYPE, "tab-separated-values"); public static final MediaType VCARD_UTF_8 = createConstantUtf8(TEXT_TYPE, "vcard"); /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 48K bytes - Viewed (0) -
guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java
* invokeAll/invokeAny} throwing RejectedExecutionException, although a subset of the tasks may * already have been executed. * * @since 32.0.0 (taking the place of a method with a different return type from 15.0) */ public static ListeningScheduledExecutorService sameThreadScheduledExecutor() { return new SameThreadScheduledExecutorService(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 6.6K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java
manager.requestDurableHandle("/test/file.txt", HandleType.DURABLE_V2, 100, // 100ms timeout null); // Wait for expiration try { Thread.sleep(150); } catch (InterruptedException e) { Thread.currentThread().interrupt(); } HandleInfo info = manager.getHandleForReconnect("/test/file.txt"); assertNull(info); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 6.6K bytes - Viewed (0)