Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 182 for allocates (0.06 sec)

  1. architecture/standards/0008-use-nullaway.md

    * IDE warnings become more accurate, reducing warnings fatigue.
    * Public API nullability annotations become closer to reality.
    * Java compilation of Gradle code suffers from small performance penalty (up to 10%).
    * Time has to be allocated to clean up existing projects.
    * One has to write NullAway-conformant code even when hacking.
    * Some patterns used to satisfy NullAway can be slightly more verbose.
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Dec 11 10:24:40 UTC 2025
    - 4K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/url/-Url.kt

      limit: Int,
      encodeSet: String,
      alreadyEncoded: Boolean,
      strict: Boolean,
      plusIsSpace: Boolean,
      unicodeAllowed: Boolean,
      charset: Charset?,
    ) {
      var encodedCharBuffer: Buffer? = null // Lazily allocated.
      var codePoint: Int
      var i = pos
      while (i < limit) {
        codePoint = input.codePointAt(i)
        if (alreadyEncoded &&
          (
            codePoint == '\t'.code ||
              codePoint == '\n'.code ||
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java

         */
        @Override
        public Object evaluate(final String template, final Map<String, Object> paramMap) {
            // Null-safety: return null for blank templates
            // Early return is safe here as no resources have been allocated yet
            if (StringUtil.isBlank(template)) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Template is blank, returning null");
                }
                return null;
            }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  4. src/bufio/scan.go

    // by a subsequent call to Scan. It does no allocation.
    func (s *Scanner) Bytes() []byte {
    	return s.token
    }
    
    // Text returns the most recent token generated by a call to [Scanner.Scan]
    // as a newly allocated string holding its bytes.
    func (s *Scanner) Text() string {
    	return string(s.token)
    }
    
    // ErrFinalToken is a special sentinel error value. It is intended to be
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Wed May 21 18:05:26 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

    import java.util.Random;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Benchmarks for various potential implementations of {@code ByteSource.asCharSource(...).read()}.
     */
    // These benchmarks allocate a lot of data so use a large heap
    @VmOptions({"-Xms12g", "-Xmx12g", "-d64"})
    @NullUnmarked
    public class ByteSourceAsCharSourceReadBenchmark {
      enum ReadStrategy {
        TO_BYTE_ARRAY_NEW_STRING {
          @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. impl/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}.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. impl/maven-core/src/test/java/org/apache/maven/internal/impl/DefaultChecksumAlgorithmServiceTest.java

        }
    
        @Test
        void emptySha1Calculator() {
            ChecksumAlgorithmService.ChecksumCalculator calculator =
                    service.select("SHA-1").getCalculator();
            calculator.update(ByteBuffer.allocate(0));
            assertEquals("da39a3ee5e6b4b0d3255bfef95601890afd80709", calculator.checksum());
        }
    
        @Test
        void calculateByte() throws IOException {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Mar 26 11:31:00 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt

        allocateAndLeakAllocation(poolApi, c1)
        awaitGarbageCollection()
        assertThat(pool.closeConnections(100L)).isEqualTo(0L)
        assertThat(c1.calls).isEmpty()
    
        // Can't allocate once a leak has been detected.
        assertThat(c1.noNewExchanges).isTrue()
      }
    
      @Test fun interruptStopsThread() {
        val taskRunnerThreads = mutableListOf<Thread>()
        val taskRunner =
          TaskRunner(
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:55:03 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Connection.kt

     * this class separates _allocations_ from _streams_. An allocation is created by a call, used for
     * one or more streams, and then released. An allocated connection won't be stolen by other calls
     * while a redirect or authorization challenge is being handled.
     *
     * When the maximum concurrent streams limit is reduced, some allocations will be rescinded.
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/locator/DefaultModelLocator.java

     * under the License.
     */
    package org.apache.maven.model.locator;
    
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.io.File;
    
    /**
     * Locates a POM file within a project base directory.
     *
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    @Named
    @Singleton
    @Deprecated(since = "4.0.0")
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 1.3K bytes
    - Viewed (0)
Back to top