Search Options

Results per page
Sort
Preferred Languages
Advance

Results 621 - 630 of 3,152 for get2 (0.02 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/eventspy/EventSpy.java

     * under the License.
     */
    package org.apache.maven.eventspy;
    
    import java.util.Map;
    
    /**
     * A core extension to monitor Maven's execution. Typically, such an extension gets loaded into Maven by specifying the
     * property {@code maven.ext.class.path} on the command line. As soon as dependency injection is set up, Maven
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt

            value: String,
          ) {
            builder.password(value)
          }
    
          override operator fun get(url: HttpUrl): String = url.password
        },
    
        HOST {
          override fun urlString(value: String): String = "http://a${value}z.com/"
    
          override fun encodedValue(url: HttpUrl): String = get(url)
    
          override operator fun set(
            builder: HttpUrl.Builder,
            value: String,
          ) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        assertEquals(1, threadLocalCount.get().intValue());
        otherThread.join(1000);
        assertEquals(Thread.State.TERMINATED, otherThread.getState());
        Throwable throwable = throwableFromOtherThread.get();
        assertNull(
            "Throwable from other thread: "
                + (throwable == null ? null : Throwables.getStackTraceAsString(throwable)),
            throwableFromOtherThread.get());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/RangeMap.java

       *
       * <p>If {@code !range.contains(k)}, {@link #get(Comparable) get(k)} will return the same result
       * before and after a call to {@code remove(range)}. If {@code range.contains(k)}, then after a
       * call to {@code remove(range)}, {@code get(k)} will return {@code null}.
       */
      void remove(Range<K> range);
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. docs_src/app_testing/app_b_an/test_main.py

    client = TestClient(app)
    
    
    def test_read_item():
        response = client.get("/items/foo", headers={"X-Token": "coneofsilence"})
        assert response.status_code == 200
        assert response.json() == {
            "id": "foo",
            "title": "Foo",
            "description": "There goes my hero",
        }
    
    
    def test_read_item_bad_token():
        response = client.get("/items/foo", headers={"X-Token": "hailhydra"})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Aug 15 22:31:16 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. docs_src/app_testing/app_b_an_py310/test_main.py

    client = TestClient(app)
    
    
    def test_read_item():
        response = client.get("/items/foo", headers={"X-Token": "coneofsilence"})
        assert response.status_code == 200
        assert response.json() == {
            "id": "foo",
            "title": "Foo",
            "description": "There goes my hero",
        }
    
    
    def test_read_item_bad_token():
        response = client.get("/items/foo", headers={"X-Token": "hailhydra"})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Aug 15 22:31:16 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/fileconfig/AdminFileconfigAction.java

                        form.permissions = stream(entity.getPermissions()).get(stream -> stream.map(s -> permissionHelper.decode(s))
                                .filter(StringUtil::isNotBlank).distinct().collect(Collectors.joining("\n")));
                        form.virtualHosts = stream(entity.getVirtualHosts())
                                .get(stream -> stream.filter(StringUtil::isNotBlank).map(String::trim).collect(Collectors.joining("\n")));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/webconfig/AdminWebconfigAction.java

                        form.permissions = stream(entity.getPermissions()).get(stream -> stream.map(s -> permissionHelper.decode(s))
                                .filter(StringUtil::isNotBlank).distinct().collect(Collectors.joining("\n")));
                        form.virtualHosts = stream(entity.getVirtualHosts())
                                .get(stream -> stream.filter(StringUtil::isNotBlank).map(String::trim).collect(Collectors.joining("\n")));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/hash/BloomFilterStrategies.java

        boolean set(long bitIndex) {
          if (get(bitIndex)) {
            return false;
          }
    
          int longIndex = (int) (bitIndex >>> LONG_ADDRESSABLE_BITS);
          long mask = 1L << bitIndex; // only cares about low 6 bits of bitIndex
    
          long oldValue;
          long newValue;
          do {
            oldValue = data.get(longIndex);
            newValue = oldValue | mask;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 10.7K bytes
    - Viewed (0)
  10. tests/test_additional_responses_default_validationerror.py

    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    @app.get("/a/{id}")
    async def a(id):
        pass  # pragma: no cover
    
    
    client = TestClient(app)
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top