Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 118 for opens (0.01 sec)

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

     *
     * @since 14.0
     * @author Colin Decker
     */
    @J2ktIncompatible
    @GwtIncompatible
    public abstract class CharSink {
    
      /** Constructor for use by subclasses. */
      protected CharSink() {}
    
      /**
       * Opens a new {@link Writer} for writing to this sink. This method returns a new, independent
       * writer each time it is called.
       *
       * <p>The caller is responsible for ensuring that the returned writer is closed.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:07:06 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/ByteSink.java

       * bytes encoded with the given {@link Charset charset}.
       */
      public CharSink asCharSink(Charset charset) {
        return new AsCharSink(charset);
      }
    
      /**
       * Opens a new {@link OutputStream} for writing to this sink. This method returns a new,
       * independent stream each time it is called.
       *
       * <p>The caller is responsible for ensuring that the returned stream is closed.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/ByteSink.java

       * bytes encoded with the given {@link Charset charset}.
       */
      public CharSink asCharSink(Charset charset) {
        return new AsCharSink(charset);
      }
    
      /**
       * Opens a new {@link OutputStream} for writing to this sink. This method returns a new,
       * independent stream each time it is called.
       *
       * <p>The caller is responsible for ensuring that the returned stream is closed.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/MultiReader.java

      private @Nullable Reader current;
    
      MultiReader(Iterator<? extends CharSource> readers) throws IOException {
        this.it = readers;
        advance();
      }
    
      /** Closes the current reader and opens the next one, if any. */
      private void advance() throws IOException {
        close();
        if (it.hasNext()) {
          current = it.next().openStream();
        }
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:37:28 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectInterceptor.kt

     */
    package okhttp3.internal.connection
    
    import java.io.IOException
    import okhttp3.Interceptor
    import okhttp3.Response
    import okhttp3.internal.http.RealInterceptorChain
    
    /**
     * Opens a connection to the target server and proceeds to the next interceptor. The network might
     * be used for the returned response, or to validate a cached response with a conditional GET.
     */
    object ConnectInterceptor : Interceptor {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/MultiInputStream.java

      public void close() throws IOException {
        if (in != null) {
          try {
            in.close();
          } finally {
            in = null;
          }
        }
      }
    
      /** Closes the current input stream and opens the next one, if any. */
      private void advance() throws IOException {
        close();
        if (it.hasNext()) {
          in = it.next().openStream();
        }
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/RecursiveDeleteOption.java

       * being deleted. This can happen if, after checking that a file is a directory (and not a
       * symbolic link), that directory is deleted and replaced by a symbolic link to an outside
       * directory before the call that opens the directory to read its entries. File systems that
       * support {@code SecureDirectoryStream} do not have this vulnerability.
       */
      ALLOW_INSECURE
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/net/URLUtil.java

            CANONICAL_PROTOCOLS.put("vfsfile", "file"); // Proprietary protocol used by JBossAS5 for file system
        }
    
        /**
         * Opens a URL and returns an {@link InputStream}.
         *
         * @param url
         *            The URL. Must not be {@literal null}.
         * @return An {@link InputStream} to read the resource represented by the URL.
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  9. okhttp/build.gradle.kts

          allJvmArgs = allJvmArgs.filter { !it.startsWith("--add-opens") }
        }
        if (name.matches("test.*UnitTest".toRegex()) && javaLauncher.get().metadata.languageVersion.asInt() < 17) {
          // Work around robolectric requirements and limitations
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 03 03:59:03 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/GeneralRangeTest.java

            range.intersect(GeneralRange.<@Nullable Integer>range(ORDERING, null, OPEN, 5, CLOSED)));
    
        assertEquals(
            GeneralRange.range(ORDERING, 2, OPEN, 4, OPEN),
            range.intersect(GeneralRange.range(ORDERING, 2, OPEN, 5, CLOSED)));
    
        assertEquals(
            GeneralRange.range(ORDERING, 2, CLOSED, 4, OPEN),
            range.intersect(GeneralRange.range(ORDERING, 1, OPEN, 4, OPEN)));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.4K bytes
    - Viewed (0)
Back to top