Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 261 - 270 of 5,958 for retain (0.05 seconds)

  1. api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java

        }
    
        @Test
        @DisplayName("MonotonicClock start time should remain constant")
        void testStartTime() throws InterruptedException {
            Instant start1 = MonotonicClock.start();
            Thread.sleep(10);
            Instant start2 = MonotonicClock.start();
    
            assertEquals(start1, start2, "Start time should remain constant");
            assertNotNull(start1, "Start time should not be null");
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jan 15 06:28:29 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/resolution/UnresolvableModelException.java

        }
    
        /**
         * Gets the group id of the unresolvable model.
         *
         * @return The group id of the unresolvable model, can be empty but never {@code null}.
         */
        public String getGroupId() {
            return groupId;
        }
    
        /**
         * Gets the artifact id of the unresolvable model.
         *
         * @return The artifact id of the unresolvable model, can be empty but never {@code null}.
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  3. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

     *     this.entry = entry;
     *   }
     *
     *   public E getEntry() {
     *     return entry;
     *   }
     *
     *   public int compareTo(FIFOEntry<E> other) {
     *     int res = entry.compareTo(other.entry);
     *     if (res == 0 && other.entry != this.entry) {
     *       res = (seqNum < other.seqNum ? -1 : 1);
     *     }
     *     return res;
     *   }
     * }
     * }</pre>
     *
     * @author Doug Lea
     * @author Justin T. Sampson
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  4. docs/en/docs/tutorial/response-model.md

    <img src="/img/tutorial/response-model/image02.png">
    
    ## Other Return Type Annotations { #other-return-type-annotations }
    
    There might be cases where you return something that is not a valid Pydantic field and you annotate it in the function, only to get the support provided by tooling (the editor, mypy, etc).
    
    ### Return a Response Directly { #return-a-response-directly }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 15.5K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/ConsoleIcon.java

         *
         * @return the Unicode character
         */
        public char getUnicodeChar() {
            return unicodeChar;
        }
    
        /**
         * Returns the ASCII fallback text for this icon.
         *
         * @return the ASCII fallback text
         */
        public String getAsciiFallback() {
            return asciiFallback;
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Jul 15 09:35:08 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  6. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenSessionBuilderSupplier.java

        }
    
        protected InternalScopeManager getScopeManager() {
            return scopeManager;
        }
    
        protected DependencyTraverser getDependencyTraverser() {
            return new FatArtifactTraverser();
        }
    
        protected DependencyManager getDependencyManager() {
            return getDependencyManager(true); // same default as in Maven4
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 09:40:15 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/MavenBuilderException.java

                    .append(problem.getMessage()));
            return msg.toString();
        }
    
        /**
         * Returns the problem collector associated with this exception.
         *
         * @return the problem collector containing all problems related to this exception
         */
        public ProblemCollector<BuilderProblem> getProblemCollector() {
            return problems;
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  8. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

          try {
            return extract();
          } finally {
            monitor.leave();
          }
        } else {
          return null;
        }
      }
    
      @CanIgnoreReturnValue
      @Override
      public E take() throws InterruptedException {
        Monitor monitor = this.monitor;
        monitor.enterWhen(notEmpty);
        try {
          return extract();
        } finally {
          monitor.leave();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/bigger-applications.md

    and it will work correctly, together with all the other *path operations* added with `app.include_router()`.
    
    /// info | Very Technical Details
    
    **Note**: this is a very technical detail that you probably can **just skip**.
    
    ---
    
    The `APIRouter`s are not "mounted", they are not isolated from the rest of the application.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

            if (nextSnapshot != null) return true
    
            synchronized(this@DiskLruCache) {
              // If the cache is closed, truncate the iterator.
              if (closed) return false
    
              while (delegate.hasNext()) {
                nextSnapshot = delegate.next()?.snapshot() ?: continue
                return true
              }
            }
    
            return false
          }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed May 28 23:28:25 GMT 2025
    - 34.7K bytes
    - Click Count (0)
Back to Top