Search Options

Results per page
Sort
Preferred Languages
Advance

Results 5521 - 5530 of 7,014 for _return (0.1 sec)

  1. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ExtensibleEnumProvider.java

     */
    @Experimental
    @Consumer
    public interface ExtensibleEnumProvider<T extends ExtensibleEnum> extends SpiService {
    
        /**
         * Registers new values for the T extensible enum.
         *
         * @return a collection of T instances to register
         */
        @Nonnull
        Collection<T> provides();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Feb 28 23:54:53 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/AndArtifactFilterTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests {@link AndArtifactFilter}.
     *
     */
    class AndArtifactFilterTest {
    
        private ArtifactFilter newSubFilter() {
            return artifact -> false;
        }
    
        @Test
        void testEquals() {
            AndArtifactFilter filter1 = new AndArtifactFilter();
    
            AndArtifactFilter filter2 = new AndArtifactFilter(Arrays.asList(newSubFilter()));
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsule.java

            this.plexusContainer = requireNonNull(plexusContainer, "plexusContainer");
            this.lookup = new DefaultLookup(plexusContainer);
        }
    
        @Override
        public Lookup getLookup() {
            return lookup;
        }
    
        @Override
        public void close() {
            try {
                plexusContainer.dispose();
            } finally {
                Thread.currentThread().setContextClassLoader(previousClassLoader);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuilder.java

        /**
         * Builds the effective settings of the specified settings files.
         *
         * @param request The settings building request that holds the parameters, must not be {@code null}.
         * @return The result of the settings building, never {@code null}.
         * @throws SettingsBuildingException If the effective settings could not be built.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. internal/config/policy/opa/help.go

    package opa
    
    import "github.com/minio/minio/internal/config"
    
    // Help template for OPA policy feature.
    var (
    	defaultHelpPostfix = func(key string) string {
    		return config.DefaultHelpPostfix(DefaultKVS, key)
    	}
    
    	Help = config.HelpKVS{
    		config.HelpKV{
    			Key:         URL,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 23 14:45:27 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  6. internal/config/scanner/help.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package scanner
    
    import "github.com/minio/minio/internal/config"
    
    var (
    	defaultHelpPostfix = func(key string) string {
    		return config.DefaultHelpPostfix(DefaultKVS, key)
    	}
    
    	// Help provides help for config values
    	Help = config.HelpKVS{
    		config.HelpKV{
    			Key:         Speed,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 12 07:41:53 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. internal/grid/errors.go

    	ErrIncorrectSequence = errors.New("out-of-sequence item received")
    )
    
    // ErrResponse is a remote error response.
    type ErrResponse struct {
    	msg string
    }
    
    func (e ErrResponse) Error() string {
    	return fmt.Sprintf("remote: %s", e.msg)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_response_model/test_tutorial003_05_py310.py

    from ...utils import needs_py310
    
    
    @pytest.fixture(name="client")
    def get_client():
        from docs_src.response_model.tutorial003_05_py310 import app
    
        client = TestClient(app)
        return client
    
    
    @needs_py310
    def test_get_portal(client: TestClient):
        response = client.get("/portal")
        assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_security/test_tutorial006_an_py39.py

    from fastapi.testclient import TestClient
    
    from ...utils import needs_py39
    
    
    @pytest.fixture(name="client")
    def get_client():
        from docs_src.security.tutorial006_an import app
    
        client = TestClient(app)
        return client
    
    
    @needs_py39
    def test_security_http_basic(client: TestClient):
        response = client.get("/users/me", auth=("john", "secret"))
        assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_query_params_str_validations/test_tutorial012_py39.py

    from ...utils import needs_py39
    
    
    @pytest.fixture(name="client")
    def get_client():
        from docs_src.query_params_str_validations.tutorial012_py39 import app
    
        client = TestClient(app)
        return client
    
    
    @needs_py39
    def test_default_query_values(client: TestClient):
        url = "/items/"
        response = client.get(url)
        assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.6K bytes
    - Viewed (0)
Back to top