Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 72 for closeable (0.42 sec)

  1. 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/EncryptionService.kt

            else
                input.invoke()
    
        /**
         * Wraps an inner closeable into an outer closeable, while ensuring that
         * if the wrapper function fails, the inner closeable is closed before
         * the exception is thrown.
         *
         * @param innerSupplier the supplier that produces the inner closeable that is to be safely wrapped
         * @param unsafeWrapper a wrapping function that is potentially unsafe
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/io/CharStreams.java

    /**
     * Provides utility methods for working with character streams.
     *
     * <p>Some of the methods in this class take arguments with a generic type of {@code Readable &
     * Closeable}. A {@link java.io.Reader} implements both of those interfaces. Similarly for {@code
     * Appendable & Closeable} and {@link java.io.Writer}.
     *
     * @author Chris Nokleberg
     * @author Bin Zhu
     * @author Colin Decker
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/CharStreams.java

    /**
     * Provides utility methods for working with character streams.
     *
     * <p>Some of the methods in this class take arguments with a generic type of {@code Readable &
     * Closeable}. A {@link java.io.Reader} implements both of those interfaces. Similarly for {@code
     * Appendable & Closeable} and {@link java.io.Writer}.
     *
     * @author Chris Nokleberg
     * @author Bin Zhu
     * @author Colin Decker
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  7. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/TransformReplacer.java

    import org.gradle.internal.classanalysis.AsmConstants;
    import org.gradle.internal.classpath.TransformedClassPath;
    import org.gradle.internal.io.StreamByteBuffer;
    
    import javax.annotation.Nullable;
    import java.io.Closeable;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.net.URISyntaxException;
    import java.net.URL;
    import java.security.CodeSource;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  8. okhttp/src/main/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: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/TestOutputStore.java

    import org.gradle.internal.serialize.kryo.KryoBackedDecoder;
    import org.gradle.internal.serialize.kryo.KryoBackedEncoder;
    
    import javax.annotation.Nullable;
    import java.io.Closeable;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileNotFoundException;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.RandomAccessFile;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/ConfigurationCacheReport.kt

    import org.gradle.internal.hash.HashingOutputStream
    import org.gradle.internal.problems.failure.Failure
    import org.gradle.internal.service.scopes.Scope
    import org.gradle.internal.service.scopes.ServiceScope
    import java.io.Closeable
    import java.io.File
    import java.nio.file.Files
    import java.util.concurrent.Callable
    import java.util.concurrent.TimeUnit
    import kotlin.contracts.contract
    
    
    @ServiceScope(Scope.BuildTree::class)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top