Search Options

Results per page
Sort
Preferred Languages
Advance

Results 631 - 640 of 1,063 for closed (0.07 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/UtilTest.kt

        val socket = Socket()
        socket.connect(serverSocket.localSocketAddress)
        val socketSource = socket.source().buffer()
    
        assertThat(socket.isHealthy(socketSource)).isTrue()
    
        serverSocket.close()
        assertThat(socket.isHealthy(socketSource)).isFalse()
      }
    
      @Test
      fun testDurationTimeUnit() {
        assertThat(checkDuration("timeout", 0, TimeUnit.MILLISECONDS)).isEqualTo(0)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequest.java

     *
     * @author mbechler
     */
    public class Smb2TreeDisconnectRequest extends ServerMessageBlock2Request<Smb2TreeDisconnectResponse> {
    
        /**
         * Creates a new SMB2 tree disconnect request to close a tree connection.
         *
         * @param config the CIFS configuration
         */
        public Smb2TreeDisconnectRequest(final Configuration config) {
            super(config, SMB2_TREE_DISCONNECT);
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/ClusterException.java

    import java.util.Collections;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * An {@link ClusterException} is a data structure that allows for some code to "throw multiple
     * exceptions", or something close to it. The prototypical code that calls for this class is
     * presented below:
     *
     * <pre>
     * void runManyThings({@literal List<ThingToRun>} thingsToRun) {
     *   for (ThingToRun thingToRun : thingsToRun) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/net/MimeTypeUtil.java

                }
                return URLConnection.guessContentTypeFromName(path);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            } finally {
                CloseableUtil.close(is);
            }
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/witness/WitnessRpcClient.java

         */
        public boolean isConnected() {
            return connected && rpcHandle != null;
        }
    
        @Override
        public void close() {
            if (connected && rpcHandle != null) {
                try {
                    log.debug("Closing witness RPC client");
                    rpcHandle.close();
                    connected = false;
                    rpcHandle = null;
                } catch (Exception e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/compression/DefaultCompressionService.java

                DeflaterOutputStream deflaterStream = new DeflaterOutputStream(baos, new Deflater(COMPRESSION_LEVEL, false));
    
                deflaterStream.write(data, offset, length);
                deflaterStream.close();
    
                return baos.toByteArray();
            } catch (IOException e) {
                throw new CIFSException("LZ77+Huffman compression failed", e);
            }
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  7. docs/debugging/s3-verify/main.go

    			targetFailed = true
    		} else if tgtSize != tgtCtnt.Size {
    			fmt.Printf("unreadable on target - size differs upon read: %s\n", tgtCtnt.Key)
    			targetFailed = true
    		}
    	}()
    	wg.Wait()
    
    	sobj.Close()
    	tobj.Close()
    
    	if !sourceFailed && !targetFailed {
    		ssum := srcSha256.Sum(nil)
    		tsum := tgtSha256.Sum(nil)
    		allgood = bytes.Equal(ssum, tsum)
    		if !allgood {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jun 22 15:12:47 UTC 2022
    - 8.4K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

                    props.store(Channels.newOutputStream(channel), "Last modified on: " + new Date());
    
                    lock.release();
                    lock = null;
    
                    channel.close();
                    channel = null;
                } catch (IOException e) {
                    getLogger()
                            .debug(
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Apr 22 22:13:51 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/zip/ZipInputStreamUtil.java

            assertArgumentNotNull("zis", zis);
    
            try {
                zis.reset();
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * Closes the {@link ZipInputStream}.
         * <p>
         * If {@link ZipInputStream#closeEntry()} throws an exception, an error message is logged.
         * The exception is not rethrown.
         * </p>
         *
         * @param zis
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  10. okhttp/src/androidMain/baseline-prof.txt

    HSPLokio/ForwardingSink;-><init>(Lokio/Sink;)V
    HSPLokio/ForwardingSink;->close()V
    HSPLokio/ForwardingSink;->write(Lokio/Buffer;J)V
    HSPLokio/ForwardingSource;-><init>(Lokio/Source;)V
    HSPLokio/ForwardingSource;->close()V
    HSPLokio/GzipSource;-><init>(Lokio/Source;)V
    HSPLokio/GzipSource;->checkEqual(Ljava/lang/String;II)V
    HSPLokio/GzipSource;->close()V
    HSPLokio/GzipSource;->read(Lokio/Buffer;J)J
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Dec 30 23:28:56 UTC 2024
    - 127.9K bytes
    - Viewed (0)
Back to top