Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for closeable (0.03 sec)

  1. android/guava/src/com/google/common/io/Closer.java

      /**
       * Registers the given {@code closeable} to be closed when this {@code Closer} is {@linkplain
       * #close closed}.
       *
       * @return the given {@code closeable}
       */
      // close. this word no longer has any meaning to me.
      @CanIgnoreReturnValue
      @ParametricNullness
      public <C extends @Nullable Closeable> C register(@ParametricNullness C closeable) {
        if (closeable != null) {
          stack.addFirst(closeable);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/CloserTest.java

          this.closeable = closeable;
          this.thrown = thrown;
          this.suppressed = suppressed;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof Suppression) {
            Suppression other = (Suppression) obj;
            return closeable.equals(other.closeable)
                && thrown.equals(other.thrown)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/CloserTest.java

          this.closeable = closeable;
          this.thrown = thrown;
          this.suppressed = suppressed;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof Suppression) {
            Suppression other = (Suppression) obj;
            return closeable.equals(other.closeable)
                && thrown.equals(other.thrown)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import java.io.Closeable
    import java.io.IOException
    import java.io.InputStream
    import java.io.InputStreamReader
    import java.io.Reader
    import java.nio.charset.Charset
    import okhttp3.internal.charsetOrUtf8
    import okhttp3.internal.chooseCharset
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/io/CharSource.java

       * despite the @IgnoreJRERequirement annotation there. For details, see ImmutableSortedMultiset.
       */
      private static void closeUnchecked(Closeable closeable) {
        try {
          closeable.close();
        } catch (IOException e) {
          throw new UncheckedIOException(e);
        }
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 08 18:35:13 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/CharSource.java

       * despite the @IgnoreJRERequirement annotation there. For details, see ImmutableSortedMultiset.
       */
      private static void closeUnchecked(Closeable closeable) {
        try {
          closeable.close();
        } catch (IOException e) {
          throw new UncheckedIOException(e);
        }
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 08 18:35:13 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.ws
    
    import java.io.Closeable
    import java.io.IOException
    import java.net.ProtocolException
    import java.util.concurrent.TimeUnit
    import okhttp3.internal.and
    import okhttp3.internal.closeQuietly
    import okhttp3.internal.toHexString
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 16:11:23 UTC 2025
    - 10K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

    @file:Suppress(
      "CANNOT_OVERRIDE_INVISIBLE_MEMBER",
      "INVISIBLE_MEMBER",
      "INVISIBLE_REFERENCE",
    )
    
    package okhttp3.internal.concurrent
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import java.io.Closeable
    import java.util.AbstractQueue
    import java.util.concurrent.BlockingQueue
    import java.util.concurrent.Executors
    import java.util.concurrent.TimeUnit
    import java.util.logging.Logger
    import okhttp3.TestUtil.threadFactory
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import java.io.Closeable
    import java.io.IOException
    import java.net.HttpURLConnection.HTTP_MOVED_PERM
    import java.net.HttpURLConnection.HTTP_MOVED_TEMP
    import java.net.HttpURLConnection.HTTP_MULT_CHOICE
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jul 28 14:39:28 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.dict.mapping;
    
    import java.io.BufferedReader;
    import java.io.BufferedWriter;
    import java.io.Closeable;
    import java.io.File;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    import java.io.OutputStreamWriter;
    import java.io.Writer;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 05:56:45 UTC 2025
    - 15.3K bytes
    - Viewed (0)
Back to top