Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 867 for Closes (0.41 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

        }
      }
    
      /**
       * Closes this connection. This cancels all open streams and unanswered pings. It closes the
       * underlying input and output streams and shuts down internal task queues.
       */
      override fun close() {
        close(ErrorCode.NO_ERROR, ErrorCode.CANCEL, null)
      }
    
      internal fun close(
        connectionCode: ErrorCode,
        streamCode: ErrorCode,
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

          if (civilizedFileSystem) return fileSource
    
          lockingSourceCount++
          return object : ForwardingSource(fileSource) {
            private var closed = false
    
            override fun close() {
              super.close()
              if (!closed) {
                closed = true
                synchronized(this@DiskLruCache) {
                  lockingSourceCount--
                  if (lockingSourceCount == 0 && zombie) {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 34.7K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt

          value < 0 -> 0
          else -> value.toInt()
        }
      } catch (_: NumberFormatException) {
        return defaultValue
      }
    }
    
    /** Closes this, ignoring any checked exceptions. */
    fun Closeable.closeQuietly() {
      try {
        close()
      } catch (rethrown: RuntimeException) {
        throw rethrown
      } catch (_: Exception) {
      }
    }
    
    /**
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11K bytes
    - Viewed (0)
  4. internal/event/target/mysql.go

    	}
    
    	// Delete the event from store.
    	return target.store.Del(key.Name)
    }
    
    // Close - closes underneath connections to MySQL database.
    func (target *MySQLTarget) Close() error {
    	close(target.quitCh)
    	if target.updateStmt != nil {
    		// FIXME: log returned error. ignore time being.
    		_ = target.updateStmt.Close()
    	}
    
    	if target.deleteStmt != nil {
    		// FIXME: log returned error. ignore time being.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 11.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFileOutputStream.java

        }
    
    
        /**
         * Closes this output stream and releases any system resources associated
         * with it.
         *
         * @throws IOException
         *             if a network error occurs
         */
    
        @Override
        public void close () throws IOException {
            try {
                if ( this.handle.isValid() ) {
                    this.handle.close();
                }
            }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sat Nov 13 15:14:04 GMT 2021
    - 11.9K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/EventListener.kt

       * response body is empty this is invoked immediately before returning that to the application.
       *
       * If the application closes the response body before attempting a read, this is invoked at the
       * time it is closed.
       *
       * The connection is implicit, and will generally relate to the last [connectionAcquired] event.
       *
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  7. internal/event/target/kafka.go

    		Key:   sarama.StringEncoder(key),
    		Value: sarama.ByteEncoder(data),
    	}, nil
    }
    
    // Close - closes underneath kafka connection.
    func (target *KafkaTarget) Close() error {
    	close(target.quitCh)
    
    	if target.producer != nil {
    		target.producer.Close()
    		return target.client.Close()
    	}
    
    	return nil
    }
    
    func (target *KafkaTarget) init() error {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Feb 20 08:16:35 GMT 2024
    - 13K bytes
    - Viewed (0)
  8. internal/event/target/nats.go

    }
    
    // Close - closes underneath connections to NATS server.
    func (target *NATSTarget) Close() (err error) {
    	close(target.quitCh)
    	if target.stanConn != nil {
    		// closing the streaming connection does not close the provided NATS connection.
    		if target.stanConn.NatsConn() != nil {
    			target.stanConn.NatsConn().Close()
    		}
    		return target.stanConn.Close()
    	}
    
    	if target.natsConn != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Feb 27 18:11:55 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  9. src/builtin/builtin.go

    func clear[T ~[]Type | ~map[Type]Type1](t T)
    
    // The close built-in function closes a channel, which must be either
    // bidirectional or send-only. It should be executed only by the sender,
    // never the receiver, and has the effect of shutting down the channel after
    // the last sent value is received. After the last value has been received
    // from a closed channel c, any receive from c will succeed without
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/Cache.kt

        init {
          val source = snapshot.getSource(ENTRY_BODY)
          bodySource =
            object : ForwardingSource(source) {
              @Throws(IOException::class)
              override fun close() {
                snapshot.close()
                super.close()
              }
            }.buffer()
        }
    
        override fun contentType(): MediaType? = contentType?.toMediaTypeOrNull()
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 26.8K bytes
    - Viewed (0)
Back to top