Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 39 for encloses (2.1 sec)

  1. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/AbstractCrossProcessCacheAccess.java

        /**
         * Opens this cache access instance when the cache is opened. State lock is held while this method is called.
         */
        public abstract void open();
    
        /**
         * Closes this cache access instance when the cache is opened. State lock is held while this method is called.
         */
        @Override
        public abstract void close();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  2. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/CacheCreationCoordinator.java

    import org.gradle.cache.IndexedCacheParameters;
    
    import java.io.Closeable;
    
    public interface CacheCreationCoordinator extends Closeable, HasCleanupAction {
        void open();
    
        /**
         * Closes the cache, blocking until all operations have completed.
         */
        @Override
        void close();
    
        <K, V> IndexedCache<K, V> newCache(IndexedCacheParameters<K, V> parameters);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComWrite.java

            this.count = len;
            this.digest = null; /*
                                 * otherwise recycled commands
                                 * like writeandx will choke if session
                                 * closes in between
                                 */
        }
    
    
        @Override
        protected int writeParameterWordsWireFormat ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbComWriteAndX.java

            this.b = b;
            this.off = off;
            dataLength = len;
            digest = null; /* otherwise recycled commands
                            * like writeandx will choke if session
                            * closes in between */
        }
        int getBatchLimit( byte command ) {
            if( command == SMB_COM_READ_ANDX ) {
                return READ_ANDX_BATCH_LIMIT;
            }
            if( command == SMB_COM_CLOSE ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 4.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

                rspx = new SmbComWriteAndXResponse();
            } else {
                req = new SmbComWrite();
                rsp = new SmbComWriteResponse();    
            }
        }
    
    /**
     * Closes this output stream and releases any system resources associated
     * with it.
     *
     * @throws IOException if a network error occurs
     */
    
        public void close() throws IOException {
            file.close();
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 9.2K bytes
    - Viewed (0)
  6. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/FileLock.java

         */
        boolean getUnlockedCleanly();
    
        /**
         * Returns true if the given file is used by this lock.
         */
        boolean isLockFile(File file);
    
        /**
         * Closes this lock, releasing the lock and any resources associated with it.
         */
        @Override
        void close();
    
        /**
         * Returns some memento of the current state of this target file.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/NoLockingCacheAccess.java

    class NoLockingCacheAccess extends AbstractCrossProcessCacheAccess {
    
        private final Runnable onClose;
    
        NoLockingCacheAccess(Runnable onClose) {
            this.onClose = onClose;
        }
    
        @Override
        public void open() {
            // Don't need to do anything
        }
    
        @Override
        public void close() {
            onClose.run();
        }
    
        @Override
        public <T> T withFileLock(Supplier<T> factory) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:50 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/MultiReader.java

      @CheckForNull private 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/MultiReader.java

      @CheckForNull private 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/MultiInputStream.java

        advance();
      }
    
      @Override
      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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top