Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for Read (0.18 sec)

  1. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

            // proceed. So we cannot yet null out each bin.
            E head = oldTable.get(oldIndex);
    
            if (head != null) {
              E next = head.getNext();
              int headIndex = head.getHash() & newMask;
    
              // Single node on list
              if (next == null) {
                newTable.set(headIndex, head);
              } else {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

            // phase 1
            DefaultModelBuilderResult result = new DefaultModelBuilderResult();
    
            DefaultModelProblemCollector problems = new DefaultModelProblemCollector(result);
    
            // read and validate raw model
            Model fileModel = readFileModel(request, problems);
            result.setFileModel(fileModel);
    
            Model activatedFileModel = activateFileModel(fileModel, request, result, problems);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 61.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/io/CopyUtil.java

            try {
                final byte[] buf = new byte[DEFAULT_BUF_SIZE];
                int len;
                int amount = 0;
                while ((len = in.read(buf)) != -1) {
                    out.write(buf, 0, len);
                    amount += len;
                }
                out.flush();
                return amount;
            } catch (final IOException e) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 52.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

        //    executing listeners in the order they were added
        // 3. push all the items onto 'onto' and return the new head of the stack
        Listener head = ATOMIC_HELPER.gasListeners(this, Listener.TOMBSTONE);
        Listener reversedList = onto;
        while (head != null) {
          Listener tmp = head;
          head = head.next;
          tmp.next = reversedList;
          reversedList = tmp;
        }
        return reversedList;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Sets.java

        }
        return false;
      }
    
      /**
       * Returns an unmodifiable view of the specified navigable set. This method allows modules to
       * provide users with "read-only" access to internal navigable sets. Query operations on the
       * returned set "read through" to the specified set, and attempts to modify the returned set,
       * whether direct or via its collection views, result in an {@code UnsupportedOperationException}.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

                attachedArtifacts.set(index, artifact);
            } else {
                attachedArtifacts.add(artifact);
            }
        }
    
        /**
         * Returns a read-only list of the attached artifacts to this project.
         *
         * @return the attached artifacts of this project
         */
        public List<Artifact> getAttachedArtifacts() {
            if (attachedArtifacts == null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTransportImpl.java

            /*
             * Note the Transport thread isn't running yet so we can
             * read from the socket here.
             */
            try {
                this.socket.setSoTimeout(this.transportContext.getConfig().getConnTimeout());
                if ( peekKey() == null ) /* try to read header */
                    throw new IOException("transport closed in negotiate");
            }
            finally {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 18 23:47:00 GMT 2023
    - 67K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/CacheBuilder.java

     * entries may be counted in {@link Cache#size}, but will never be visible to read or write
     * operations.
     *
     * <p>Certain cache configurations will result in the accrual of periodic maintenance tasks which
     * will be performed during write operations, or during occasional read operations in the absence of
     * writes. The {@link Cache#cleanUp} method of the returned cache will also perform maintenance, but
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFile.java

                Smb2QueryInfoResponse resp = withOpen(
                    th,
                    Smb2CreateRequest.FILE_OPEN,
                    SmbConstants.FILE_READ_ATTRIBUTES | SmbConstants.READ_CONTROL,
                    SmbConstants.FILE_SHARE_READ | SmbConstants.FILE_SHARE_WRITE,
                    req);
                return resp.getInfo(SecurityDescriptor.class);
            }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Iterators.java

       *
       * <p><b>Note:</b> The current implementation eagerly allocates storage for {@code size} elements.
       * As a consequence, passing values like {@code Integer.MAX_VALUE} can lead to {@link
       * OutOfMemoryError}.
       *
       * @param iterator the iterator to return a partitioned view of
       * @param size the desired size of each partition (the last may be smaller)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
Back to top