Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for allocated (0.16 sec)

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

       * of the returned array is that of the specified array. If the collection fits in the specified
       * array, it is returned therein. Otherwise, a new array is allocated with the runtime type of the
       * specified array and the size of the specified collection.
       *
       * <p>If the collection fits in the specified array with room to spare (i.e., the array has more
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 12 15:59:22 GMT 2023
    - 9K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/eventspy/EventSpy.java

         * @see org.eclipse.aether.RepositoryEvent
         */
        void onEvent(Object event) throws Exception;
    
        /**
         * Notifies the spy of Maven's termination, allowing it to free any resources allocated by it.
         */
        void close() throws Exception;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 2.6K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/AbstractMavenLifecycleParticipant.java

            // do nothing
        }
    
        /**
         * Invoked after all projects were built.
         *
         * This callback is intended to allow extensions to perform cleanup of any
         * allocated external resources after the build. It is invoked on best-effort
         * basis and may be missed due to an Error or RuntimeException in Maven core
         * code.
         *
         * @param session the Maven session
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 2.9K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/plugin/MavenPluginManager.java

         * look up the mojo from. <strong>Warning:</strong> The returned mojo instance must be released via
         * {@link #releaseMojo(Object, MojoExecution)} when the mojo is no longer needed to free any resources allocated for
         * it.
         *
         * @param mojoInterface The component role of the mojo, must not be {@code null}.
         * @param session The build session in whose context the mojo will be used, must not be {@code null}.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/util/MD4.java

         * @param    len        count of bytes in input block to consider
         */
        public void engineUpdate (byte[] input, int offset, int len) {
            // make sure we don't exceed input's allocated size/length
            if (offset < 0 || len < 0 || (long)offset + len > input.length)
                throw new ArrayIndexOutOfBoundsException();
    
            // compute number of bytes still unhashed; ie. present in buffer
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 9.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/ReaderInputStream.java

        checkArgument(bufferSize > 0, "bufferSize must be positive: %s", bufferSize);
        encoder.reset();
    
        charBuffer = CharBuffer.allocate(bufferSize);
        Java8Compatibility.flip(charBuffer);
    
        byteBuffer = ByteBuffer.allocate(bufferSize);
      }
    
      @Override
      public void close() throws IOException {
        reader.close();
      }
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 9.3K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/lifecycle/LifecyclePhaseNotFoundException.java

         *
         * @param message The detail message, may be {@code null}.
         * @param lifecyclePhase The name of the lifecycle phase that could not be located, may be {@code null}.
         */
        public LifecyclePhaseNotFoundException(String message, String lifecyclePhase) {
            super(message);
            this.lifecyclePhase = (lifecyclePhase != null) ? lifecyclePhase : "";
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/io/FileUtil.java

            final FileInputStream is = InputStreamUtil.create(file);
            try {
                final FileChannel channel = is.getChannel();
                final ByteBuffer buffer = ByteBuffer.allocate((int) ChannelUtil.size(channel));
                ChannelUtil.read(channel, buffer);
                return buffer.array();
            } finally {
                CloseableUtil.close(is);
            }
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/relocation/UserPropertiesArtifactRelocationSource.java

                            relocation.global ? "User global relocation" : "User project relocation");
                    LOGGER.debug(
                            "The artifact {} has been relocated to {}: {}",
                            original,
                            result,
                            relocation.global ? "User global relocation" : "User project relocation");
                    return result;
                }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

        CharBuffer buf2 = CharBuffer.allocate(expected.length());
        assertEquals(expected.length() == 0 ? -1 : expected.length(), reader.read(buf2));
        Java8Compatibility.flip(buf2);
        assertEquals(expected, buf2.toString());
        assertFullyRead(reader);
    
        // read in chunks to fixed CharBuffer
        reader = new CharSequenceReader(charSequence);
        buf2 = CharBuffer.allocate(5);
        builder = new StringBuilder();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.5K bytes
    - Viewed (0)
Back to top