Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 870 for _clone (0.94 sec)

  1. 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)
  2. 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)
  3. .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)
  4. src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java

            void returnsZero_forVariousIndexes(int index) {
                // Arrange
                Smb2LogoffResponse resp = newResponse();
                byte[] buffer = new byte[8];
                byte[] original = buffer.clone();
    
                // Act
                int written = resp.writeBytesWireFormat(buffer, index);
    
                // Assert
                assertEquals(0, written, "Should report 0 bytes written");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.7K 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/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)
  7. CHANGELOG.md

        intend to ship a public API for these features, but we don't want to hold OkHttp 5.0.0 until
        those APIs are stable.
    
     *  Fix: Change `MockWebServer.close()` to cancel ongoing calls that are blocked on a delay.
    
     *  Upgrade: [Okio 3.13.0][okio_3_13_0].
    
    This release also stabilizes many APIs in the `mockwebserver3` artifact that's new in 5.0.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 19:32:33 UTC 2025
    - 31.6K bytes
    - Viewed (1)
  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/archive/zip/zip_test.go

    			Method: Store, // Deflate is too slow when it is compiled with -race flag
    		})
    		if err != nil {
    			t.Fatalf("creating file %d: %v", i, err)
    		}
    	}
    	if err := w.Close(); err != nil {
    		t.Fatalf("Writer.Close: %v", err)
    	}
    	s := buf.String()
    	zr, err := NewReader(strings.NewReader(s), int64(len(s)))
    	if err != nil {
    		t.Fatalf("NewReader: %v", err)
    	}
    	if got := len(zr.File); got != nFiles {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbPipeOutputStreamTest.java

        }
    
        @Test
        @DisplayName("close does nothing and does not touch handle")
        void close_doesNothing() throws Exception {
            // Arrange
            SmbPipeOutputStream out = newStream();
            // constructor already calls handle.getPipe(); clear interactions to focus on close()
            clearInvocations(handle);
    
            // Act
            out.close();
    
            // Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
Back to top