Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 921 - 930 of 1,978 for none (0.02 seconds)

  1. docs/pt/docs/deployment/docker.md

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    ```
    
    ### Dockerfile { #dockerfile }
    
    Agora, no mesmo diretório do projeto, crie um arquivo `Dockerfile` com:
    
    ```{ .dockerfile .annotate }
    # (1)!
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 32.1K bytes
    - Click Count (0)
  2. cmd/api-router.go

    	// than failing with UnknownAPIRequest we simply handle it for now.
    	apiRouter.Methods(http.MethodGet).Path(SlashSeparator + SlashSeparator).
    		HandlerFunc(s3APIMiddleware(api.ListBucketsHandler))
    
    	// If none of the routes match add default error handler routes
    	apiRouter.NotFoundHandler = collectAPIStats("notfound", httpTraceAll(errorResponseHandler))
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 24 04:05:19 GMT 2025
    - 23.3K bytes
    - Click Count (0)
  3. cmd/admin-router.go

    // `adminAPIHandlers`).
    //
    // - sets up call to send AuditLog
    //
    // While this is a middleware function (i.e. it takes a handler function and
    // returns one), due to flags being passed based on required conditions, it is
    // done per-"handler function registration" in the router.
    //
    // The passed in handler function must be a method of `adminAPIHandlers` for the
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/Node.java

         */
        @Nullable
        Dependency getDependency();
    
        /**
         * Gets the child nodes of this node.
         *
         * @return the child nodes of this node, never {@code null}
         */
        @Nonnull
        List<Node> getChildren();
    
        /**
         * @return repositories of this node
         */
        @Nonnull
        List<RemoteRepository> getRemoteRepositories();
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Mar 24 14:10:11 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  5. src/bytes/bytes.go

    			c := s[hi]
    			if c >= utf8.RuneSelf {
    				return TrimFunc(s[:hi+1], unicode.IsSpace)
    			}
    			if asciiSpace[c] == 0 {
    				// At this point, s[:hi+1] starts and ends with ASCII
    				// non-space bytes, so we're done. Non-ASCII cases have
    				// already been handled above.
    				return s[:hi+1]
    			}
    		}
    	}
    	// Special case to preserve previous TrimLeftFunc behavior,
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Sep 16 16:42:15 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

            options.color().ifPresent(color -> {
                String c = color.toLowerCase(Locale.ENGLISH);
                if (!Arrays.asList("always", "yes", "force", "never", "no", "none", "auto", "tty", "if-tty")
                        .contains(c)) {
                    context.parsingFailed = true;
                    context.parserRequest
                            .logger()
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 07:39:11 GMT 2025
    - 25.5K bytes
    - Click Count (0)
  7. cmd/erasure-multipart.go

    		}
    		if err != nil && !isErrVersionNotFound(err) && !isErrObjectNotFound(err) {
    			return nil, err
    		}
    
    		// if object doesn't exist return error for If-Match conditional requests
    		// If-None-Match should be allowed to proceed for non-existent objects
    		if err != nil && opts.HasIfMatch && (isErrObjectNotFound(err) || isErrVersionNotFound(err)) {
    			return nil, err
    		}
    	}
    
    	userDefined := cloneMSS(opts.UserDefined)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 24 04:05:31 GMT 2025
    - 47.1K bytes
    - Click Count (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         */
        @Nonnull
        List<Node> flattenDependencies(@Nonnull Node node, @Nonnull PathScope scope);
    
        /**
         * Shortcut for {@code getService(DependencyResolver.class).resolve(...).getPaths()}.
         *
         * @param dependencyCoordinates coordinates of the dependency for which to get the paths
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jul 03 14:18:26 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  9. internal/ringbuffer/ring_buffer_test.go

    	done := make(chan error)
    	go func() {
    		defer close(done)
    		_, err := rb.Write([]byte("hello"))
    		if err != nil {
    			t.Errorf("got error: %q; expected none", err)
    		}
    		rb.CloseWriter()
    		_, err = rb.Write([]byte("world"))
    		done <- err
    		err = rb.WriteByte(0)
    		done <- err
    		_, err = rb.TryWrite([]byte("world"))
    		done <- err
    		err = rb.TryWriteByte(0)
    		done <- err
    	}()
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  10. cmd/metacache-entries.go

    	// name is the full name of the object including prefixes
    	name string
    	// Metadata. If none is present it is not an object but only a prefix.
    	// Entries without metadata will only be present in non-recursive scans.
    	metadata []byte
    
    	// cached contains the metadata if decoded.
    	cached *xlMetaV2
    
    	// Indicates the entry can be reused and only one reference to metadata is expected.
    	reusable bool
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Aug 08 15:29:58 GMT 2024
    - 24.1K bytes
    - Click Count (0)
Back to Top