Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 451 - 460 of 1,722 for defaults (0.07 seconds)

  1. tests/test_query.py

                }
            ]
        }
    
    
    def test_query_int_default():
        response = client.get("/query/int/default")
        assert response.status_code == 200
        assert response.json() == "foo bar 10"
    
    
    def test_query_int_default_query_50():
        response = client.get("/query/int/default?query=50")
        assert response.status_code == 200
        assert response.json() == "foo bar 50"
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactFactory.java

        Artifact create(@Nonnull ArtifactFactoryRequest request);
    
        @Nonnull
        default Artifact create(
                @Nonnull Session session, String groupId, String artifactId, String version, String extension) {
            return create(ArtifactFactoryRequest.build(session, groupId, artifactId, version, extension));
        }
    
        @Nonnull
        default Artifact create(
                @Nonnull Session session,
                String groupId,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Aug 27 21:13:34 GMT 2024
    - 3.3K bytes
    - Click Count (0)
  3. docs/en/docs/advanced/response-change-status-code.md

    You probably read before that you can set a default [Response Status Code](../tutorial/response-status-code.md){.internal-link target=_blank}.
    
    But in some cases you need to return a different status code than the default.
    
    ## Use case { #use-case }
    
    For example, imagine that you want to return an HTTP status code of "OK" `200` by default.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  4. internal/s3select/jstream/decoder.go

    		scratch:   &scratch{data: make([]byte, 1024)},
    		metaCh:    make(chan *MetaValue, 128),
    	}
    	if emitDepth < 0 {
    		d.emitDepth = 0
    		d.emitRecursive = true
    	}
    	return d
    }
    
    // ObjectAsKVS - by default JSON returns map[string]interface{} this
    // is usually fine in most cases, but when you need to preserve the
    // input order its not a right data structure. To preserve input
    // order please use this option.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  5. docs_src/websockets/tutorial002_py39.py

    </html>
    """
    
    
    @app.get("/")
    async def get():
        return HTMLResponse(html)
    
    
    async def get_cookie_or_token(
        websocket: WebSocket,
        session: Union[str, None] = Cookie(default=None),
        token: Union[str, None] = Query(default=None),
    ):
        if session is None and token is None:
            raise WebSocketException(code=status.WS_1008_POLICY_VIOLATION)
        return session or token
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/util/concurrent/ForwardingListeningExecutorService.java

     * executor service as desired per the <a
     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p><b>{@code default} method warning:</b> This class does <i>not</i> forward calls to {@code
     * default} methods. Instead, it inherits their default implementations. When those implementations
     * invoke methods, they invoke methods on the {@code ForwardingListeningExecutorService}.
     *
     * @author Isaac Shum
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleBindingsInjector.java

    import org.apache.maven.api.services.LifecycleRegistry;
    import org.apache.maven.api.services.PackagingRegistry;
    import org.apache.maven.impl.model.DefaultLifecycleBindingsInjector;
    
    import static org.apache.maven.api.Lifecycle.DEFAULT;
    
    @Singleton
    @Named
    @Priority(5)
    @Deprecated
    public class EmptyLifecycleBindingsInjector extends DefaultLifecycleBindingsInjector {
    
        private static LifecycleRegistry lifecycleRegistry;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  8. impl/maven-core/src/test/java/org/apache/maven/project/EmptyLifecycleBindingsInjector.java

    import org.apache.maven.api.services.LifecycleRegistry;
    import org.apache.maven.api.services.PackagingRegistry;
    import org.apache.maven.impl.model.DefaultLifecycleBindingsInjector;
    
    import static org.apache.maven.api.Lifecycle.DEFAULT;
    
    @Singleton
    @Named
    @Priority(5)
    public class EmptyLifecycleBindingsInjector extends DefaultLifecycleBindingsInjector {
    
        private static LifecycleRegistry lifecycleRegistry;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  9. compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java

        }
    
        /**
         * Attempts to load the named implementation, uses default implementation if no name is given.
         *
         * @param name The optional implementation name
         * @param defaultClazz The default implementation type
         * @return Custom implementation type if one was given; otherwise default implementation type
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  10. apache-maven/src/assembly/maven/conf/settings.xml

       |
       | Default: ${user.home}/.m2/repository
      <localRepository>/path/to/local/repo</localRepository>
      -->
    
      <!-- interactiveMode
       | This will determine whether maven prompts you when it needs input. If set to false,
       | maven will use a sensible default value, perhaps based on some other setting, for
       | the parameter in question.
       |
       | Default: true
      <interactiveMode>true</interactiveMode>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jan 22 07:44:50 GMT 2025
    - 11.1K bytes
    - Click Count (0)
Back to Top