Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 8,558 for class2 (0.84 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

                }
            }
            return projects;
        }
    
        /**
         * Singleton class used to receive events by implementing the EventSpy.
         * It simply forwards all {@code ExecutionEvent}s to the {@code ReactorReader}.
         */
        @Named
        @Singleton
        @SuppressWarnings("unused")
        static class ReactorReaderSpy implements EventSpy {
    
            private final Lookup lookup;
    
            @Inject
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Dec 15 11:20:38 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/collect/IteratorBenchmark.java

    /**
     * Tests the speed of iteration of different iteration methods for collections.
     *
     * @author David Richter
     */
    @NullUnmarked
    public class IteratorBenchmark {
      @Param({"0", "1", "16", "256", "4096", "65536"})
      int size;
    
      // use concrete classes to remove any possible polymorphic overhead?
      Object[] array;
      ArrayList<Object> arrayList;
      LinkedList<Object> linkedList;
    
      @BeforeExperiment
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

            AtomicReferenceFieldUpdater.<Waiter, @Nullable Waiter>newUpdater(
                Waiter.class, Waiter.class, "next");
        private static final AtomicReferenceFieldUpdater<
                ? super AbstractFutureState<?>, @Nullable Waiter>
            waitersUpdater = newUpdater(AbstractFutureState.class, Waiter.class, "waitersField");
        private static final AtomicReferenceFieldUpdater<
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

            return connection.getContent();
        }
    
        @Override
        public Object getContent(final Class[] classes) throws IOException {
            try {
                handshake();
            } catch (final IOException ex) {}
            return connection.getContent(classes);
        }
    
        @Override
        public Permission getPermission() throws IOException {
            return connection.getPermission();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java

    // the structure I want to test by using the artifact handler manager which dictates
    // the layout used for a particular artifact type.
    
    /**
     */
    @Deprecated
    class ArtifactResolverTest extends AbstractArtifactComponentTestCase {
        @Inject
        private ArtifactResolver artifactResolver;
    
        private Artifact projectArtifact;
    
        @BeforeEach
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Mar 26 10:49:22 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        setDefault(Integer.class, 1);
        setDefault(long.class, 1L);
        setDefault(Long.class, 1L);
        setDefault(float.class, 1F);
        setDefault(Float.class, 1F);
        setDefault(double.class, 1D);
        setDefault(Double.class, 1D);
        setDefault(Class.class, Class.class);
      }
    
      /**
       * Sets the default value for {@code type}. The default value isn't used in testing {@link
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

        ImmutableLongArray iia = ImmutableLongArray.of(0, 1, 3);
        assertThrows(IndexOutOfBoundsException.class, () -> iia.get(-1));
        assertThrows(IndexOutOfBoundsException.class, () -> iia.get(3));
    
        ImmutableLongArray sub = iia.subArray(1, 2);
        assertThrows(IndexOutOfBoundsException.class, () -> sub.get(-1));
      }
    
      public void testIndexOf() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            }
        }
    
        void send(final ServerMessageBlock request, final ServerMessageBlock response) throws SmbException {
    
            connect(); /* must negotiate before we can test flags2, useUnicode, etc */
    
            request.flags2 |= flags2;
            request.useUnicode = useUnicode;
            request.response = response; /* needed by sign */
            if (request.digest == null) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/artifact/handler/manager/DefaultArtifactHandlerManager.java

    import org.apache.maven.eventspy.AbstractEventSpy;
    import org.apache.maven.execution.ExecutionEvent;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     */
    @Named
    @Singleton
    public class DefaultArtifactHandlerManager extends AbstractEventSpy implements ArtifactHandlerManager {
        private final TypeRegistry typeRegistry;
    
        private final ConcurrentHashMap<String, ArtifactHandler> allHandlers;
    
        @Inject
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 08:42:00 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/dependencies/dependencies-with-yield.md

    ///
    
    Em Python, você pode criar Gerenciadores de Contexto ao <a href="https://docs.python.org/3/reference/datamodel.html#context-managers" class="external-link" target="_blank">criar uma classe com dois métodos: `__enter__()` e `__exit__()`</a>.
    
    Você também pode usá-los dentro de dependências com `yield` do **FastAPI** ao utilizar
    `with` ou `async with` dentro da função da dependência:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 14.2K bytes
    - Viewed (0)
Back to top