Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Red (0.25 sec)

  1. guava-tests/test/com/google/common/collect/EnumMultisetTest.java

        assertEquals(2, ms.count(Color.RED));
      }
    
      public void testCollectionCreate() {
        Multiset<Color> ms = EnumMultiset.create(asList(Color.RED, Color.YELLOW, Color.RED));
        assertEquals(0, ms.count(Color.BLUE));
        assertEquals(1, ms.count(Color.YELLOW));
        assertEquals(2, ms.count(Color.RED));
      }
    
      public void testIllegalCreate() {
        Collection<Color> empty = EnumSet.noneOf(Color.class);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6K bytes
    - Viewed (0)
  2. docs_src/extra_models/tutorial004_py39.py

    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str
    
    
    items = [
        {"name": "Foo", "description": "There comes my hero"},
        {"name": "Red", "description": "It's my aeroplane"},
    ]
    
    
    @app.get("/items/", response_model=list[Item])
    async def read_items():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 356 bytes
    - Viewed (0)
  3. docs/en/docs/how-to/separate-openapi-schemas.md

    For `Item-Input`, `description` is **not required**, it doesn't have a red asterisk.
    
    But for `Item-Output`, `description` is **required**, it has a red asterisk.
    
    <div class="screenshot">
    <img src="/img/tutorial/separate-openapi-schemas/image04.png">
    </div>
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. docs/es/docs/how-to/custom-docs-ui-assets.md

    La documentación de la API utiliza **Swagger UI** y **ReDoc**, y cada uno de estos necesita algunos archivos JavaScript y CSS.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_additional_status_codes/test_tutorial001.py

        assert response.status_code == 200, response.text
        assert response.json() == {"name": "Wrestlers", "size": None}
    
    
    def test_create(client: TestClient):
        response = client.put("/items/red", json={"name": "Chillies"})
        assert response.status_code == 201, response.text
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 993 bytes
    - Viewed (0)
  6. tests/test_tutorial/test_extra_models/test_tutorial004.py

        response = client.get("/items/")
        assert response.status_code == 200, response.text
        assert response.json() == [
            {"name": "Foo", "description": "There comes my hero"},
            {"name": "Red", "description": "It's my aeroplane"},
        ]
    
    
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/entity/PingResponse.java

         *
         * @param response the cluster health response
         */
        public PingResponse(final ClusterHealthResponse response) {
            status = response.getStatus() == ClusterHealthStatus.RED ? 1 : 0;
            clusterName = response.getClusterName();
            clusterStatus = response.getStatus().toString();
            final Set<String> fieldSet = ComponentUtil.getFessConfig().getApiPingEsFieldSet();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.4K bytes
    - Viewed (2)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/MessageBuilder.java

            return style("." + Constants.MAVEN_STYLE_WARNING_NAME + ":-" + Constants.MAVEN_STYLE_WARNING_DEFAULT, message);
        }
    
        /**
         * Append message content in error style.
         * By default, bold red
         *
         * @param message the message to append
         * @return the current builder
         */
        @Nonnull
        default MessageBuilder error(Object message) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Nov 02 09:29:52 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. logger/logger.go

    	"log"
    	"os"
    	"time"
    
    	"gorm.io/gorm/utils"
    )
    
    // ErrRecordNotFound record not found error
    var ErrRecordNotFound = errors.New("record not found")
    
    // Colors
    const (
    	Reset       = "\033[0m"
    	Red         = "\033[31m"
    	Green       = "\033[32m"
    	Yellow      = "\033[33m"
    	Blue        = "\033[34m"
    	Magenta     = "\033[35m"
    	Cyan        = "\033[36m"
    	White       = "\033[37m"
    	BlueBold    = "\033[34;1m"
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun Jan 12 10:19:28 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  10. docs/es/docs/tutorial/request-forms.md

    Si quieres leer más sobre estas codificaciones y campos de formulario, dirígete a la <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/POST" class="external-link" target="_blank"><abbr title="Mozilla Developer Network – Red de Desarrolladores de Mozilla">MDN</abbr> web docs para <code>POST</code></a>.
    
    ///
    
    /// warning | Advertencia
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 3.1K bytes
    - Viewed (0)
Back to top