Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 935 for closer (2.65 sec)

  1. src/main/java/jcifs/smb/SmbSessionImpl.java

                return false;
            }
        }
    
        /**
         * Get cluster name for witness discovery
         *
         * @param serverAddress the server address
         * @return cluster name or null
         */
        private String getClusterName(InetAddress serverAddress) {
            // Simple implementation - could be enhanced with proper cluster discovery
            String hostname = serverAddress.getHostName();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/util/LogStreamTest.java

            assertTrue(output.contains("42"));
            assertTrue(output.contains("true"));
    
            // Test close
            logStream.close();
            // After close, the stream should not accept more writes
            // but PrintStream doesn't throw exceptions on write after close
        }
    
        @Test
        void testConcurrentAccess() throws InterruptedException {
            // Test thread safety of getInstance
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/AutobahnTester.kt

            ) {
              webSocket.send(text)
            }
    
            override fun onClosing(
              webSocket: WebSocket,
              code: Int,
              reason: String,
            ) {
              webSocket.close(1000, null)
              latch.countDown()
            }
    
            override fun onFailure(
              webSocket: WebSocket,
              t: Throwable,
              response: Response?,
            ) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. .teamcity/.mvn/wrapper/MavenWrapperDownloader.java

            rbc = Channels.newChannel(website.openStream());
            FileOutputStream fos = new FileOutputStream(destination);
            fos.getChannel().transferFrom(rbc, 0, Long.MAX_VALUE);
            fos.close();
            rbc.close();
        }
    
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Wed Feb 26 01:48:39 UTC 2020
    - 4.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/SmbTransportTest.java

        }
    
        @Test
        void testClose() throws Exception {
            // Act
            smbTransport.close();
    
            // Assert
            verify(smbTransport).close(); // Verify that the close method was called
        }
    
        @Test
        void testGetRemoteAddress() {
            // Arrange
            when(smbTransport.getRemoteAddress()).thenReturn(remoteAddress);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

            byte[] data = "Hello, World!".getBytes();
            ContentCache cache = new ContentCache(data);
    
            // Memory-based cache close should not throw exception
            cache.close();
    
            // Should still be able to get input stream after close for memory cache
            try (InputStream stream = cache.getInputStream()) {
                assertNotNull(stream);
            }
        }
    
        @Test
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. src/main/webapp/WEB-INF/view/common/admin/crud/buttons.jsp

    			<div class="modal-content bg-danger">
    				<div class="modal-header">
    					<h4 class="modal-title">
    						<la:message key="labels.crud_title_delete" />
    					</h4>
    					<button type="button" class="close" data-dismiss="modal"
    						aria-label="Close">
    						<span aria-hidden="true">×</span>
    					</button>
    				</div>
    				<div class="modal-body">
    					<p>
    						<la:message key="labels.crud_delete_confirmation" />
    					</p>
    				</div>
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Mon Feb 10 12:37:20 UTC 2020
    - 2.7K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/HeadersTest.kt

        }
      }
    
      @Test fun headersEquals() {
        val headers1 =
          Headers
            .Builder()
            .add("Connection", "close")
            .add("Transfer-Encoding", "chunked")
            .build()
        val headers2 =
          Headers
            .Builder()
            .add("Connection", "close")
            .add("Transfer-Encoding", "chunked")
            .build()
        assertThat(headers2).isEqualTo(headers1)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/msrpc/lsarpc.java

            }
        }
    
        /**
         * LSA close handle message.
         */
        public static class LsarClose extends DcerpcMessage {
    
            @Override
            public int getOpnum() {
                return 0x00;
            }
    
            /** Return value from the RPC call. */
            public int retval;
            /** Policy handle to be closed. */
            public rpc.policy_handle handle;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 44.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/stream/StreamUtil.java

                this.supplier = supplier;
            }
    
            /**
             * Executes the provided {@link Consumer} with a {@link Stream} obtained from the supplier.
             * The stream is automatically closed after the consumer is executed.
             *
             * @param stream the {@link Consumer} to process the {@link Stream}
             */
            public void of(final Consumer<Stream<T>> 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)
Back to top