Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2781 - 2790 of 3,002 for content (0.07 seconds)

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

                  uncheckedCastNullableTToT(buffer[i]), uncheckedCastNullableTToT(threshold))
              > 0) {
            threshold = buffer[i];
          }
        }
      }
    
      /**
       * Partitions the contents of buffer in the range [left, right] around the pivot element
       * previously stored in buffer[pivotValue]. Returns the new index of the pivot element,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 31 13:15:26 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  2. docs/zh/docs/advanced/events.md

    首先要注意的是,我们定义了一个带有 `yield` 的异步函数。这与带有 `yield` 的依赖项非常相似。
    
    {* ../../docs_src/events/tutorial003_py310.py hl[14:19] *}
    
    这个函数在 `yield` 之前的部分,会在应用启动前执行。
    
    剩下的部分在 `yield` 之后,会在应用完成后执行。
    
    ### 异步上下文管理器 { #async-context-manager }
    
    如你所见,这个函数有一个装饰器 `@asynccontextmanager`。
    
    它将函数转化为所谓的“**异步上下文管理器**”。
    
    {* ../../docs_src/events/tutorial003_py310.py hl[1,13] *}
    
    在 Python 中,**上下文管理器**是一个你可以在 `with` 语句中使用的东西,例如,`open()` 可以作为上下文管理器使用。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/Iterables.java

      }
    
      /**
       * Converts an iterable into a collection. If the iterable is already a collection, it is
       * returned. Otherwise, an {@link java.util.ArrayList} is created with the contents of the
       * iterable in the same iteration order.
       */
      private static <E extends @Nullable Object> Collection<E> castOrCopyToCollection(
          Iterable<E> iterable) {
        return (iterable instanceof Collection)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 18:35:28 GMT 2025
    - 43.8K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/groovy/elasticsearch.ide.gradle

     *
     * @param path Path to existing XML file
     * @param action Action to perform on parsed XML document
     * @param preface optional front matter to add after the XML declaration
     * but before the XML document, e.g. a doctype or comment
     */
    void modifyXml(Object path, Action<? super Node> action, String preface = null) {
      Node xml = parseXml(path)
      action.execute(xml)
    
      File xmlFile = project.file(path)
      xmlFile.withPrintWriter { writer ->
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 24 19:34:12 GMT 2021
    - 8.8K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/SourceRoot.java

         *        mostly Source Code Management (<abbr>SCM</abbr>) files
         */
        PathMatcher matcher(Collection<String> defaultIncludes, boolean useDefaultExcludes);
    
        /**
         * {@return in which context the source files will be used}
         * Not to be confused with dependency scope.
         * The default value is {@code "main"}.
         *
         * @see ProjectScope#MAIN
         */
        default ProjectScope scope() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/Constants.java

        /** String constant representing boolean true value. */
        public static final String TRUE = "true";
    
        /** String constant representing boolean false value. */
        public static final String FALSE = "false";
    
        /** Boolean constant representing true value. */
        public static final Boolean T = true;
    
        /** Boolean constant representing false value. */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 35.8K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

            b = Multisets.immutableEntry(entries.get(1), sortedMultiset.count(entries.get(1)));
            c = Multisets.immutableEntry(entries.get(2), sortedMultiset.count(entries.get(2)));
          }
        }
      }
    
      /** Resets the contents of sortedMultiset to have entries a, c, for the navigation tests. */
      // Needed to stop Eclipse whining
      private void resetWithHole() {
        List<E> container = new ArrayList<>();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 20:14:36 GMT 2024
    - 26K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/job/ExecJob.java

        }
    
        /**
         * Creates and stores system properties to the specified file.
         * Includes system properties and job runtime information if available.
         *
         * @param cmdList the command list (used as comment in properties file)
         * @param propFile the file to store properties to
         * @throws IORuntimeException if an I/O error occurs
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

          checkPositive(++successorCount);
    
          if (orderedNodeConnections != null) {
            orderedNodeConnections.add(new NodeConnection.Succ<>(node));
          }
        }
    
        // See the comment on the similar cast in removeSuccessor.
        return previousSuccessor == null ? null : (V) previousSuccessor;
      }
    
      private static boolean isPredecessor(@Nullable Object value) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

       * PermittedMetaException}.
       */
      protected final class MultiExceptionListIterator implements ListIterator<E> {
        // TODO: track seen elements when order isn't guaranteed
        // TODO: verify contents afterward
        // TODO: something shiny and new instead of Stack
        // TODO: test whether null is supported (create a Feature)
        /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 20.8K bytes
    - Click Count (0)
Back to Top