Search Options

Results per page
Sort
Preferred Languages
Advance

Results 5121 - 5130 of 5,353 for Return (0.2 sec)

  1. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java

                throws InvalidVersionSpecificationException {
            VersionRange vr = VersionRange.createFromVersionSpec(requiredVersionRange);
    
            return vr.containsVersion(actualVersion);
        }
    
        @Test
        void testCache() throws InvalidVersionSpecificationException {
            VersionRange range = VersionRange.createFromVersionSpec("[1.0,1.2]");
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sun Mar 30 23:08:36 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

        }
    
        @Test
        @DisplayName("Test readBytesWireFormat returns 0")
        void testReadBytesWireFormat() {
            request = new Smb2QueryInfoRequest(mockConfig);
            byte[] buffer = new byte[256];
    
            int bytesRead = request.readBytesWireFormat(buffer, 0);
    
            // This method should always return 0 as the request doesn't read responses
            assertEquals(0, bytesRead);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  3. docs/en/docs/deployment/docker.md

    ```Python
    from typing import Union
    
    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 }
    
    Now in the same project directory create a file `Dockerfile` with:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 29.5K bytes
    - Viewed (1)
  4. android/guava-tests/benchmark/com/google/common/base/EnumsBenchmark.java

      @Benchmark
      boolean getIfPresent(int repetitions) {
        boolean retVal = false;
        for (int i = 0; i < repetitions; ++i) {
          retVal &= Enums.getIfPresent(enumType, sampleData[i & 255]).isPresent();
        }
        return retVal;
      }
    
      private enum SmallEnum {
        X0,
        X1,
        X2
      }
    
      private enum MediumEnum {
        X0,
        X1,
        X2,
        X3,
        X4,
        X5,
        X6,
        X7,
        X8,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  5. docs/em/docs/alternatives.md

    ```Python
    response = requests.get("http://example.com/some/url")
    ```
    
    FastAPI 😑 🛠️ *➡ 🛠️* 💪 👀 💖:
    
    ```Python hl_lines="1"
    @app.get("/some/url")
    def read_url():
        return {"message": "Hello World"}
    ```
    
    👀 🔀 `requests.get(...)` &amp; `@app.get(...)`.
    
    /// check | 😮 **FastAPI**
    
    * ✔️ 🙅 &amp; 🏋️ 🛠️.
    * ⚙️ 🇺🇸🔍 👩‍🔬 📛 (🛠️) 🔗, 🎯 &amp; 🏋️ 🌌.
    * ✔️ 🤔 🔢, ✋️ 🏋️ 🛃.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

            .addEqualityGroup(UNICODE_EXAMPLE)
            .addEqualityGroup(PUNYCODE_EXAMPLE)
            .testEquals();
      }
    
      private static InternetDomainName idn(String domain) {
        return InternetDomainName.from(domain);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNulls() {
        NullPointerTester tester = new NullPointerTester();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.10.md

    * support cross resource group for azure file ([#68117](https://github.com/kubernetes/kubernetes/pull/68117), [@andyzhangx](https://github.com/andyzhangx))
    * Return apiserver panics as 500 errors instead terminating the apiserver process. ([#68001](https://github.com/kubernetes/kubernetes/pull/68001), [@sttts](https://github.com/sttts))
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu May 05 13:44:43 UTC 2022
    - 341.8K bytes
    - Viewed (0)
  8. doc/asm.html

    memory move and subroutine call and return are more abstract.
    The details vary with architecture, and we apologize for the imprecision; the situation is not well-defined.
    </p>
    
    <p>
    The assembler program is a way to parse a description of that
    semi-abstract instruction set and turn it into instructions to be
    input to the linker.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Nov 28 19:15:27 UTC 2023
    - 36.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/IntsTest.java

        assertThat(Ints.toArray(list.subList(2, 2))).isEqualTo(new int[] {});
      }
    
      // `primitives` can't depend on `collect`, so this is what the prod code has to return.
      @SuppressWarnings("EmptyList")
      public void testAsListEmpty() {
        assertThat(Ints.asList(EMPTY)).isSameInstanceAs(Collections.emptyList());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.2K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.27.md

    - Fixed a 1.26 regression scheduling bug by ensuring that preemption is skipped when a PreFilter plugin returns `UnschedulableAndUnresolvable` ([#119952](https://github.com/kubernetes/kubernetes/pull/119952), [@sanposhiho](https://github.com/sanposhiho)) [SIG Scheduling]
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Jul 17 07:48:22 UTC 2024
    - 466.3K bytes
    - Viewed (2)
Back to top