Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 904 for _close (0.04 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/MessageInflater.kt

        // We cannot read all, as the source does not close.
        // Instead, we ensure that all bytes from source have been processed by inflater.
        do {
          inflaterSource.readOrInflate(buffer, Long.MAX_VALUE)
        } while (inflater.bytesRead < totalBytesToRead && !inflater.finished())
      }
    
      @Throws(IOException::class)
      override fun close() = inflaterSource.close()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java

            ContentOutputStream cos = new ContentOutputStream(10, Curl.tmpDir);
            cos.write(new byte[] { 0, 1, 2, 3, 4 });
            assertFalse(cos.done);
            assertTrue(cos.isInMemory());
            cos.close();
            assertFalse(cos.done);
        }
    
        @Test
        public void inFile() throws IOException {
            ContentOutputStream cos = new ContentOutputStream(10, Curl.tmpDir);
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat May 10 01:44:04 UTC 2025
    - 2K bytes
    - Viewed (0)
  3. samples/slack/src/main/java/okhttp3/slack/OAuthSessionFactory.java

      }
    
      public interface Listener {
        void sessionGranted(OAuthSession session);
      }
    
      @Override public void close() {
        if (mockWebServer == null) throw new IllegalStateException();
        try {
          mockWebServer.close();
        } catch (IOException ignored) {
        }
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/witness/MockWitnessService.java

                    // For the mock, we just accept connections and close them
                    clientSocket.close();
                } catch (IOException e) {
                    if (running.get()) {
                        log.debug("Error accepting client connection", e);
                    }
                }
            }
        }
    
        @Override
        public void close() {
            stop();
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  5. src/main/webapp/js/admin/adminlte.min.js.map

    is._config.title))\n    }\n\n    if (this._config.subtitle != null) {\n      toastHeader.append($('<small />').html(this._config.subtitle))\n    }\n\n    if (this._config.close == true) {\n      const toastClose = $('<button data-dismiss=\"toast\" />').attr('type', 'button').addClass('ml-2 mb-1 close').attr('aria-label', 'Close').append('<span aria-hidden=\"true\">&times;</span>')\n\n      if (this._config.title == null) {\n        toastClose.toggleClass('ml-2 ml-auto')\n      }\n\n      toastHe...
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 132.4K bytes
    - Viewed (0)
  6. cmd/metacache-entries.go

    			m.o[i].metadata = nil
    		}
    	}
    	m.o = m.o[idx:]
    }
    
    // mergeEntryChannels will merge entries from in and return them sorted on out.
    // To signify no more results are on an input channel, close it.
    // The output channel will be closed when all inputs are emptied.
    // If file names are equal, compareMeta is called to select which one to choose.
    // The entry not chosen will be discarded.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/pac/kerberos/KerberosEncData.java

                if (derToken.getTagClass() != BERTags.APPLICATION) {
                    throw new PACDecodingException("Malformed kerberos ticket");
                }
                stream.close();
            } catch (IOException e) {
                throw new PACDecodingException("Malformed kerberos ticket", e);
            }
    
            ASN1Sequence sequence;
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  8. cmd/erasure-sets.go

    			srcInfo.Reader.Close() // We are not interested in the reader stream at this point close it.
    			return srcSet.CopyObject(ctx, srcBucket, srcObject, dstBucket, dstObject, srcInfo, srcOpts, dstOpts)
    		}
    		// Destination is not versioned and source version ID is empty
    		// perform an in-place update.
    		if !dstOpts.Versioned && srcOpts.VersionID == "" {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 37K bytes
    - Viewed (1)
  9. src/test/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandleTest.java

            doThrow(new IOException("Close network error")).when(mockDcerpcHandle).sendrecv(any(MsrpcLsarClose.class));
    
            // Act & Assert
            IOException thrown = assertThrows(IOException.class, () -> {
                handle.close();
            });
    
            assertEquals("Close network error", thrown.getMessage());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbTreeInternalTest.java

        }
    
        @Test
        @DisplayName("unwrap and close are available via SmbTree")
        void unwrap_and_close_interactions() {
            // Arrange
            when(tree.unwrap(SmbTreeInternal.class)).thenReturn(tree);
    
            // Act
            SmbTree unwrapped = tree.unwrap(SmbTreeInternal.class);
            tree.close();
    
            // Assert
            assertNotNull(unwrapped);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top