Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 641 - 650 of 1,455 for valueB (0.08 seconds)

  1. docs_src/additional_responses/tutorial004_py39.py

    from typing import Union
    
    from fastapi import FastAPI
    from fastapi.responses import FileResponse
    from pydantic import BaseModel
    
    
    class Item(BaseModel):
        id: str
        value: str
    
    
    responses = {
        404: {"description": "Item not found"},
        302: {"description": "The item was moved"},
        403: {"description": "Not enough privileges"},
    }
    
    
    app = FastAPI()
    
    
    @app.get(
        "/items/{item_id}",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 701 bytes
    - Click Count (0)
  2. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/JavadocLinkConverterTest.groovy

            then:
            format(link) == '<literal>value</literal>'
            _ * nameResolver.resolve('SomeName', classMetaData) >> 'org.gradle.SomeName'
            _ * repository.find('org.gradle.SomeName') >> otherClass
            _ * otherClass.constants >> [someField: 'value']
        }
    
        def convertsValueLinkInSameClassToLiteralValue() {
            when:
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 8.7K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/PropertyProfileActivator.java

                if (propValue.startsWith("!")) {
                    reverseValue = true;
                    propValue = propValue.substring(1);
                }
    
                // we have a value, so it has to match the system value...
                boolean result = propValue.equals(sysValue);
    
                return reverseValue ? !result : result;
            } else {
                boolean result = StringUtils.isNotEmpty(sysValue);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  4. impl/maven-core/src/test/java/org/apache/maven/artifact/handler/ArtifactHandlerTest.java

                            type + " includesDependencies");
                }
            }
        }
    
        private String trimApt(String content, String type) {
            String value = trimApt(content);
            return "= type".equals(value) ? type : value;
        }
    
        private String trimApt(String content) {
            content = content.replace('<', ' ').replace('>', ' ').trim();
    
            return (content.isEmpty()) ? null : content;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 4K bytes
    - Click Count (0)
  5. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/DefaultToolchainsReader.java

                        e);
            }
        }
    
        private boolean isStrict(Map<String, ?> options) {
            Object value = (options != null) ? options.get(IS_STRICT) : null;
            return value == null || Boolean.parseBoolean(value.toString());
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/normalization/ModelNormalizer.java

        void mergeDuplicates(Model model, ModelBuildingRequest request, ModelProblemCollector problems);
    
        /**
         * Sets default values in the specified model that for technical reasons cannot be set directly in the Modello
         * definition.
         *
         * @param model The model in which to set the default values, must not be {@code null}.
         * @param request The model building request that holds further settings, must not be {@code null}.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  7. buildscripts/heal-manual.go

    import (
    	"context"
    	"encoding/json"
    	"fmt"
    	"log"
    	"os"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    )
    
    func main() {
    	// Note: YOUR-ACCESSKEYID, YOUR-SECRETACCESSKEY are
    	// dummy values, please replace them with original values.
    
    	// API requests are secure (HTTPS) if secure=true and insecure (HTTP) otherwise.
    	// New returns an MinIO Admin client object.
    	madmClnt, err := madmin.New(os.Args[1], os.Args[2], os.Args[3], false)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 27 09:47:58 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  8. clause/benchmarks_test.go

    			clause.From{},
    			clause.Where{Exprs: []clause.Expression{
    				clause.Eq{Column: clause.PrimaryColumn, Value: "1"},
    				clause.Gt{Column: "age", Value: 18},
    				clause.Or(clause.Neq{Column: "name", Value: "jinzhu"}),
    			}},
    			clause.Where{Exprs: []clause.Expression{
    				clause.Or(clause.Gt{Column: "score", Value: 100}, clause.Like{Column: "name", Value: "%linus%"}),
    			}},
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Oct 07 12:14:14 GMT 2022
    - 1.9K bytes
    - Click Count (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilder.java

                if (propertyDoc.getDescription() == null) {
                    throw new RuntimeException(String.format("Docbook content for '%s.%s' does not contain a description paragraph.", classDoc.getName(), propName));
                }
    
                props.put(propName, propertyDoc);
            }
    
            for (PropertyDoc propertyDoc : props.values()) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.2K bytes
    - Click Count (0)
  10. docs_src/websockets/tutorial001_py39.py

                    messages.appendChild(message)
                };
                function sendMessage(event) {
                    var input = document.getElementById("messageText")
                    ws.send(input.value)
                    input.value = ''
                    event.preventDefault()
                }
            </script>
        </body>
    </html>
    """
    
    
    @app.get("/")
    async def get():
        return HTMLResponse(html)
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 1.4K bytes
    - Click Count (0)
Back to Top