Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 36 of 36 for copyInto (0.05 sec)

  1. guava/src/com/google/common/io/Resources.java

       * @param from the URL to read from
       * @param to the output stream
       * @throws IOException if an I/O error occurs
       */
      public static void copy(URL from, OutputStream to) throws IOException {
        asByteSource(from).copyTo(to);
      }
    
      /**
       * Returns a {@code URL} pointing to {@code resourceName} if the resource is found using the
       * {@linkplain Thread#getContextClassLoader() context class loader}. In simple environments, the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

                if (!cacheRequestClosed) {
                  cacheRequestClosed = true
                  cacheBody.close() // The cache response is complete!
                }
                return -1
              }
    
              sink.copyTo(cacheBody.buffer, sink.size - bytesRead, bytesRead)
              cacheBody.emitCompleteSegments()
              return bytesRead
            }
    
            override fun timeout(): Timeout = source.timeout()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Mar 22 07:09:21 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

      }
    
      @Override
      @J2ktIncompatible // Incompatible return type change. Use inherited (unoptimized) implementation
      public Object[] toArray() {
        Object[] copyTo = new Object[size];
        arraycopy(queue, 0, copyTo, 0, size);
        return copyTo;
      }
    
      /**
       * Returns the comparator used to order the elements in this queue. Obeys the general contract of
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/SmbResource.java

         * It is not possible (nor meaningful) to copy entire workgroups or
         * servers.
         *
         * @param dest
         *            the destination file or directory
         * @throws CIFSException
         */
        void copyTo ( SmbResource dest ) throws CIFSException;
    
    
        /**
         * Changes the name of the file this <code>SmbResource</code> represents to the name
         * designated by the <code>SmbResource</code> argument.
         * <br>
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 26K bytes
    - Viewed (1)
  5. src/main/java/jcifs/smb1/smb1/SmbFile.java

                new URL( null, "smb1://" + name + "/", Handler.SMB_HANDLER ) :
                new URL( context.url, name + (( attributes & ATTR_DIRECTORY ) > 0 ? "/" : "" )));
    
            /* why was this removed before? DFS? copyTo? Am I going around in circles? */
            auth = context.auth;
    
    
            if( context.share != null ) {
                this.tree = context.tree;
                this.dfsReferral = context.dfsReferral;
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFile.java

    
        /**
         * 
         */
        void clearAttributeCache () {
            this.attrExpiration = 0;
            this.sizeExpiration = 0;
        }
    
    
        @Override
        public void copyTo ( SmbResource d ) throws SmbException {
            if ( ! ( d instanceof SmbFile ) ) {
                throw new SmbException("Invalid target resource");
            }
            SmbFile dest = (SmbFile) d;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
Back to top