Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 521 - 530 of 1,449 for which (0.02 seconds)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java

    import java.lang.reflect.Method;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.List;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code toArray()} operations on a collection. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}.
     *
     * @author Kevin Bourrillion
     * @author Chris Povirk
     */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * {@code ObjectCountHashMap} uses arrays to store key objects and count values. Comparing to using
     * a traditional {@code HashMap} implementation which stores keys and count values as map entries,
     * {@code ObjectCountHashMap} minimizes object allocation and reduces memory footprint.
     *
     * <p>In the absence of element deletions, this will iterate over elements in insertion order.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  3. guava/src/com/google/common/io/CharStreams.java

       * target if it is {@link java.io.Flushable}.
       *
       * @param target the object to which output will be sent
       * @return a new Writer object, unless target is a Writer, in which case the target is returned
       */
      public static Writer asWriter(Appendable target) {
        if (target instanceof Writer) {
          return (Writer) target;
        }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 29 13:56:24 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  4. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Logger.java

    /**
     * Defines a simple logging interface for Maven CLI operations. These operations happen "early", when there may
     * be no logging set up even. Implementations may be "accumulating", in which case {@link #drain()}  method should
     * be used.
     * <p>
     * This interface provides methods for logging messages at different severity levels
     * and supports logging with or without associated exceptions.
     *
     * @since 4.0.0
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 5K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/plugin/MojoExecution.java

         * this mojo execution is going to run in.
         */
        private String lifecyclePhase;
    
        /**
         * The executions to fork before this execution, indexed by the groupId:artifactId:version of the project on which
         * the forked execution are to be run and in reactor build order.
         */
        private Map<String, List<MojoExecution>> forkedExecutions = new LinkedHashMap<>();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 6.2K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/MavenExecutionPlan.java

            }
            return result;
        }
    
        /**
         * Get set of plugins having a goal/mojo used but not marked @threadSafe
         *
         * @return the set of plugins (without info on which goal is concerned)
         */
        public Set<Plugin> getNonThreadSafePlugins() {
            Set<Plugin> plugins = new HashSet<>();
            for (ExecutionPlanItem executionPlanItem : planItem) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/security/get-current-user.md

    # Get Current User { #get-current-user }
    
    In the previous chapter the security system (which is based on the dependency injection system) was giving the *path operation function* a `token` as a `str`:
    
    {* ../../docs_src/security/tutorial001_an_py39.py hl[12] *}
    
    But that is still not that useful.
    
    Let's make it give us the current user.
    
    ## Create a user model { #create-a-user-model }
    
    First, let's create a Pydantic user model.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 4K bytes
    - Click Count (0)
  8. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateAgpVersions.kt

     * Never up-to-date, non-cacheable.
     *
     * AGP major versions are aligned with Gradle major versions.
     * IOW, AGP X.y officially only supports Gradle X.z.
     *
     * This task leverages that alignment to automatically select which
     * versions of AGP we should test.
     */
    @UntrackedTask(because = "Not worth tracking")
    abstract class UpdateAgpVersions : AbstractVersionsUpdateTask() {
    
        @get:Internal
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Oct 24 09:10:29 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  9. guava/src/com/google/common/io/ByteStreams.java

      private static final int TO_BYTE_ARRAY_DEQUE_SIZE = 20;
    
      /**
       * Returns a byte array containing the bytes from the buffers already in {@code bufs} (which have
       * a total combined length of {@code totalLen} bytes) followed by all bytes remaining in the given
       * input stream.
       */
      private static byte[] toByteArrayInternal(InputStream in, Queue<byte[]> bufs, int totalLen)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 31.1K bytes
    - Click Count (0)
  10. guava/src/com/google/common/util/concurrent/AbstractFutureState.java

      //   timeout is small we shouldn't park(). This needs to be traded off with the cpu overhead of
      //   spinning, so we use SPIN_THRESHOLD_NANOS which is what AbstractQueuedSynchronizer uses for
      //   similar purposes.
      // * We want to behave reasonably for timeouts of 0
      // * We are more responsive to completion than timeouts. This is because parkNanos depends on
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 34.8K bytes
    - Click Count (0)
Back to Top