Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for Red (0.01 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. okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerTest.kt

        blueQueue.cancelAll()
        assertThat(taskFaker.executeCallCount).isEqualTo(1)
      }
    
      @Test fun noMoreThanOneWorkerThreadWaitingToStartAtATime() {
        // Enqueueing the red task starts a thread because the head of the queue changed.
        redQueue.execute("red task") {
          log += "red:starting@${taskFaker.nanoTime}"
          taskFaker.sleep(100.µs)
          log += "red:finishing@${taskFaker.nanoTime}"
        }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 23K 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. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

        assertThrows(IllegalArgumentException.class, () -> multimap.put(Color.BLUE, -1));
        multimap.put(Color.RED, 1);
        multimap.put(Color.BLUE, 2);
        assertThrows(IllegalArgumentException.class, () -> multimap.put(Color.GREEN, -1));
        assertThat(multimap.entries())
            .containsExactly(Maps.immutableEntry(Color.RED, 1), Maps.immutableEntry(Color.BLUE, 2));
      }
    
      public void testNewMultimap() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/fusesource/jansi/Ansi.java

        /**
         * <a href="https://en.wikipedia.org/wiki/ANSI_escape_code#Colors">ANSI 8 colors</a> for fluent API
         */
        public enum Color {
            BLACK(0, "BLACK"),
            RED(1, "RED"),
            GREEN(2, "GREEN"),
            YELLOW(3, "YELLOW"),
            BLUE(4, "BLUE"),
            MAGENTA(5, "MAGENTA"),
            CYAN(6, "CYAN"),
            WHITE(7, "WHITE"),
            DEFAULT(9, "DEFAULT");
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. guava/src/com/google/common/collect/FluentIterable.java

       *
       * {@snippet :
       * Color red = new Color("red", 255, 0, 0);
       * ...
       * FluentIterable<Color> allColors = FluentIterable.from(ImmutableSet.of(red, green, blue));
       *
       * Map<String, Color> colorForName = allColors.uniqueIndex(toStringFunction());
       * assertThat(colorForName).containsEntry("red", red);
       * }
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top