Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3941 - 3950 of 7,967 for aclass (0.04 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/WagonMock.java

     * under the License.
     */
    package org.apache.maven.repository.legacy;
    
    import org.apache.maven.wagon.providers.file.FileWagon;
    
    /**
     * Mock of a Wagon for testing
     *
     */
    public class WagonMock extends FileWagon {
    
        /**
         * A field that can be configured in the Wagon
         *
         * @component.configuration default="configurableField"
         */
        private String configurableField = null;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/internal/DefaultCoreRealm.java

    import javax.inject.Singleton;
    
    import org.apache.maven.internal.CoreRealm;
    import org.codehaus.plexus.PlexusContainer;
    import org.codehaus.plexus.classworlds.realm.ClassRealm;
    
    @Named
    @Singleton
    public class DefaultCoreRealm implements CoreRealm {
    
        private final PlexusContainer container;
    
        @Inject
        public DefaultCoreRealm(PlexusContainer container) {
            this.container = container;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. tests/test_security_api_key_header_optional.py

    from fastapi.security import APIKeyHeader
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    api_key = APIKeyHeader(name="key", auto_error=False)
    
    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: Optional[str] = Security(api_key)):
        if oauth_header is None:
            return None
        user = User(username=oauth_header)
        return user
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/relatedquery/CreateForm.java

    import org.codelibs.fess.util.ComponentUtil;
    import org.lastaflute.web.validation.Required;
    import org.lastaflute.web.validation.theme.conversion.ValidateTypeFailure;
    
    import jakarta.validation.constraints.Size;
    
    public class CreateForm {
    
        @ValidateTypeFailure
        public Integer crudMode;
    
        @Required
        @Size(max = 10000)
        public String term;
    
        @Required
        @Size(max = 10000)
        public String queries;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/platform/Jdk8WithJettyBootPlatformTest.kt

    import org.junit.jupiter.api.Assumptions.assumeFalse
    import org.junit.jupiter.api.Assumptions.assumeTrue
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    class Jdk8WithJettyBootPlatformTest {
      @RegisterExtension
      val platform = PlatformRule()
    
      @Test
      fun testBuildsWithJettyBoot() {
        assumeTrue(System.getProperty("java.specification.version") == "1.8")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Jan 04 05:32:07 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/TestIntegerSortedSetGenerator.java

    /**
     * Create integer sets for testing collections that are sorted by natural ordering.
     *
     * @author Chris Povirk
     * @author Jared Levy
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestIntegerSortedSetGenerator extends TestIntegerSetGenerator {
      @Override
      protected abstract SortedSet<Integer> create(Integer[] elements);
    
      /** Sorts the elements by their natural ordering. */
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableMultimapAsMapImplementsMapTest.java

    import java.util.Map;
    
    /**
     * Test {@link Multimap#asMap()} for an {@link ImmutableMultimap} with {@link MapInterfaceTest}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class ImmutableMultimapAsMapImplementsMapTest
        extends AbstractMultimapAsMapImplementsMapTest {
    
      public ImmutableMultimapAsMapImplementsMapTest() {
        super(false, false, false);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/MultimapsTransformValuesAsMapTest.java

    import java.util.Collection;
    import java.util.Map;
    
    /**
     * Tests for Multimaps.transformValues().asMap().
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class MultimapsTransformValuesAsMapTest extends AbstractMultimapAsMapImplementsMapTest {
    
      public MultimapsTransformValuesAsMapTest() {
        super(true, true, true);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/RegularImmutableAsListTest.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@link RegularImmutableAsList}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class RegularImmutableAsListTest extends TestCase {
      /**
       * RegularImmutableAsList should assume its input is null-free without checking, because it only
       * gets invoked from other immutable collections.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 10:16:44 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/RandomAmountInputStream.java

    import java.io.FilterInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Random;
    
    /** Returns a random portion of the requested bytes on each call. */
    class RandomAmountInputStream extends FilterInputStream {
      private final Random random;
    
      public RandomAmountInputStream(InputStream in, Random random) {
        super(checkNotNull(in));
        this.random = checkNotNull(random);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.2K bytes
    - Viewed (0)
Back to top