Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 310 for CLOSED (0.12 sec)

  1. okhttp/src/main/kotlin/okhttp3/WebSocket.kt

     *
     *  * **Closing:** one of the peers on the web socket has initiated a graceful shutdown. The web
     *    socket will continue to transmit already-enqueued messages but will refuse to enqueue new
     *    ones.
     *
     *  * **Closed:** the web socket has transmitted all of its messages and has received all messages
     *    from the peer.
     *
     * Web sockets may fail due to HTTP upgrade problems, connectivity problems, or if either peer
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/ModelWriter.java

         */
        void write(File output, Map<String, Object> options, Model model) throws IOException;
    
        /**
         * Writes the supplied model to the specified character writer. The writer will be automatically closed before the
         * method returns.
         *
         * @param output The writer to serialize the model to, must not be {@code null}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. src/archive/zip/writer.go

    	crc32     hash.Hash32
    	closed    bool
    }
    
    func (w *fileWriter) Write(p []byte) (int, error) {
    	if w.closed {
    		return 0, errors.New("zip: write to closed file")
    	}
    	if w.raw {
    		return w.zipw.Write(p)
    	}
    	w.crc32.Write(p)
    	return w.rawCount.Write(p)
    }
    
    func (w *fileWriter) close() error {
    	if w.closed {
    		return errors.New("zip: file closed twice")
    	}
    	w.closed = true
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/TestWriter.java

        flush();
      }
    
      @Override
      public void write(String str, int off, int len) throws IOException {
        super.write(str, off, len);
        flush();
      }
    
      public boolean closed() {
        return out.closed();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/io/CloseableUtilTest.java

         */
        @Test
        public void testClose() throws Exception {
            final NotifyOutputStream out = new NotifyOutputStream();
            CloseableUtil.close(out);
            assertThat(out.getNotify(), is("closed"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testCloseNull() throws Exception {
            CloseableUtil.close((OutputStream) null);
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/SmbResource.java

         * @return random access file, needs to be closed when finished
         * @throws CIFSException
         * 
         */
        SmbRandomAccess openRandomAccess ( String mode, int sharing ) throws CIFSException;
    
    
        /**
         * Opens the file for random access
         * 
         * @param mode
         *            access mode (r|rw)
         * @return random access file, needs to be closed when finished
         * @throws CIFSException
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 26K bytes
    - Viewed (1)
  7. android/guava/src/com/google/common/io/Closeables.java

       *     // If an exception occurs, rethrow it only if threw==false:
       *     Closeables.close(stream, threw);
       *   }
       * }
       * }</pre>
       *
       * @param closeable the {@code Closeable} object to be closed, or null, in which case this method
       *     does nothing
       * @param swallowIOException if true, don't propagate IO exceptions thrown by the {@code close}
       *     methods
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/RegularImmutableSortedMultiset.java

        return getSubMultiset(0, elementSet.headIndex(upperBound, checkNotNull(boundType) == CLOSED));
      }
    
      @Override
      public ImmutableSortedMultiset<E> tailMultiset(E lowerBound, BoundType boundType) {
        return getSubMultiset(
            elementSet.tailIndex(lowerBound, checkNotNull(boundType) == CLOSED), length);
      }
    
      ImmutableSortedMultiset<E> getSubMultiset(int from, int to) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/CloserTest.java

        private TestCloseable(@Nullable Throwable throwOnClose) {
          this.throwOnClose = throwOnClose;
        }
    
        public boolean isClosed() {
          return closed;
        }
    
        @Override
        public void close() throws IOException {
          closed = true;
          if (throwOnClose != null) {
            throwIfInstanceOf(throwOnClose, IOException.class);
            throwIfUnchecked(throwOnClose);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  10. internal/rest/client.go

    	switch atomic.LoadInt32(&c.connected) {
    	case closed:
    		// client closed, this is usually a manual process
    		// so return a local error as client is closed
    		return nil, &NetworkError{Err: ErrClientClosed}
    	case offline:
    		// client offline, return last error captured.
    		return nil, &NetworkError{Err: c.LastError()}
    	}
    
    	// client is still connected, attempt the request.
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 26 12:55:01 UTC 2024
    - 14.7K bytes
    - Viewed (0)
Back to top