- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 928 for out1 (0.02 sec)
-
src/test/java/jcifs/smb/SmbPipeOutputStreamTest.java
@DisplayName("isOpen delegates to handle.isOpen") void isOpen_delegates(boolean state) throws Exception { // Arrange SmbPipeOutputStream out = newStream(); when(handle.isOpen()).thenReturn(state); // Act boolean result = out.isOpen(); // Assert assertEquals(state, result, "isOpen should reflect handle state"); verify(handle, times(1)).isOpen(); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/WebSocketEcho.java
System.out.println("MESSAGE: " + text); } @Override public void onMessage(WebSocket webSocket, ByteString bytes) { System.out.println("MESSAGE: " + bytes.hex()); } @Override public void onClosing(WebSocket webSocket, int code, String reason) { webSocket.close(1000, null); System.out.println("CLOSE: " + code + " " + reason); }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Apr 04 11:40:21 UTC 2024 - 1.6K bytes - Viewed (0) -
docs/bucket/replication/setup_2site_existing_replication.sh
./mc ls -r --versions sitea/bucket >/tmp/sitea.txt ./mc ls -r --versions siteb/bucket >/tmp/siteb.txt out=$(diff -qpruN /tmp/sitea.txt /tmp/siteb.txt) ret=$? if [ $ret -ne 0 ]; then echo "BUG: expected no missing entries after replication: $out" exit 1 fi ./mc cp /tmp/data/file_1.txt sitea/bucket/marker_new ./mc rm sitea/bucket/marker_new
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Sep 06 09:42:21 UTC 2024 - 5.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/CharMatcherTest.java
private void doTestTrimFrom(String in, String out) { // Try a few different matchers which all match '-' and not 'x' assertEquals(out, is('-').trimFrom(in)); assertEquals(out, is('-').or(is('#')).trimFrom(in)); assertEquals(out, isNot('x').trimFrom(in)); assertEquals(out, is('x').negate().trimFrom(in)); assertEquals(out, anyOf("-").trimFrom(in)); assertEquals(out, anyOf("-#").trimFrom(in));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 30.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/Platform.java
static <T> T reserialize(T object) { checkNotNull(object); ByteArrayOutputStream bytes = new ByteArrayOutputStream(); try { ObjectOutputStream out = new ObjectOutputStream(bytes); out.writeObject(object); ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(bytes.toByteArray())); return (T) requireNonNull(in.readObject()); } catch (IOException | ClassNotFoundException e) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 1.7K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/AccessHeaders.java
if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); System.out.println("Server: " + response.header("Server")); System.out.println("Date: " + response.header("Date")); System.out.println("Vary: " + response.headers("Vary")); } } public static void main(String... args) throws Exception { new AccessHeaders().run(); }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun May 22 01:29:42 UTC 2016 - 1.6K bytes - Viewed (0) -
ci/official/utilities/extract_resultstore_links.py
description='Extracts ResultStore links from a build log.\n' 'These can be then printed out, and/or output into a ' 'JUnit-based XML file inside a specified directory.') parser.add_argument('build_log', help='Path to a build log.') parser.add_argument('--xml-out-path', required=False, help='Path to which to output '
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Wed Nov 08 17:50:27 UTC 2023 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
String ip = "192.168.1.4"; // Lock out the account for (int i = 0; i < 3; i++) { assertTrue(rateLimiter.checkAttempt(username, ip)); rateLimiter.recordFailure(username, ip); } // Should be locked out try { rateLimiter.checkAttempt(username, ip); fail("Should be locked out"); } catch (SmbException e) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/TestByteSink.java
} @Override public OutputStream openStream() throws IOException { outputStreamOpened = true; bytes.reset(); // truncate return new Out(); } private final class Out extends TestOutputStream { Out() throws IOException { super(bytes, options); } @Override public void close() throws IOException { outputStreamClosed = true; super.close();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 1.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 13K bytes - Viewed (0)