Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1501 - 1510 of 3,913 for getS (0.04 sec)

  1. src/test/java/org/codelibs/core/collection/LruHashMapTest.java

            lru.put("ccc", "333");
            assertThat(lru.get("aaa"), is("111"));
            Iterator<String> i = lru.keySet().iterator();
            assertThat(i.next(), is("bbb"));
            assertThat(i.next(), is("ccc"));
            assertThat(i.next(), is("aaa"));
            lru.put("ddd", "444");
            assertThat(lru.size(), is(3));
            assertThat(lru.get("bbb"), is(nullValue()));
            i = lru.keySet().iterator();
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. docs_src/security/tutorial003_py310.py

            raise HTTPException(status_code=400, detail="Inactive user")
        return current_user
    
    
    @app.post("/token")
    async def login(form_data: OAuth2PasswordRequestForm = Depends()):
        user_dict = fake_users_db.get(form_data.username)
        if not user_dict:
            raise HTTPException(status_code=400, detail="Incorrect username or password")
        user = UserInDB(**user_dict)
        hashed_password = fake_hash_password(form_data.password)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  3. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.build-logic.groovy-dsl-gradle-plugin.gradle.kts

            if (testVersionProvider.get().canCompileOrRun(9)) {
                listOf("--add-opens", "java.base/java.lang=ALL-UNNAMED")
            } else {
                emptyList()
            }
        })
        jvmArgumentProviders.add(CommandLineArgumentProvider {
            val testVersion = testVersionProvider.get()
            if (testVersion.canCompileOrRun(9) && !testVersion.canCompileOrRun(17)) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Sep 30 15:18:07 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt

              Platform.get().getSelectedProtocol(sslSocket)
            } else {
              null
            }
          socket = sslSocket
          source = sslSocket.source().buffer()
          sink = sslSocket.sink().buffer()
          protocol = if (maybeProtocol != null) Protocol.get(maybeProtocol) else Protocol.HTTP_1_1
          success = true
        } finally {
          Platform.get().afterHandshake(sslSocket)
          if (!success) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

    import org.opensearch.action.fieldcaps.FieldCapabilitiesResponse;
    import org.opensearch.action.get.GetRequest;
    import org.opensearch.action.get.GetRequestBuilder;
    import org.opensearch.action.get.GetResponse;
    import org.opensearch.action.get.MultiGetRequest;
    import org.opensearch.action.get.MultiGetRequestBuilder;
    import org.opensearch.action.get.MultiGetResponse;
    import org.opensearch.action.index.IndexRequest;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.kt

        val encodedFragment: String? = httpUrl.encodedFragment()
        val fragment: String? = httpUrl.fragment()
        val getFromUrl: HttpUrl? = HttpUrl.get(URL(""))
        val getFromUri: HttpUrl? = HttpUrl.get(URI(""))
        val parse: HttpUrl? = HttpUrl.parse("")
      }
    
      @Test @Disabled
      fun handshakeCertificates() {
        val handshakeCertificates = HandshakeCertificates.Builder().build()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/SocketChannelTest.kt

        server.enqueue(MockResponse(body = "abc"))
    
        @Suppress("HttpUrlsUsage")
        val url =
          if (socketMode is TlsInstance) {
            "https://$hostname:${server.port}/get"
          } else {
            "http://$hostname:${server.port}/get"
          }
    
        val request =
          Request.Builder()
            .url(url)
            .build()
    
        val promise = CompletableFuture<Response>()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt

      private var trailersBuilder = Headers.Builder()
    
      @set:JvmName("headers")
      var headers: Headers
        get() = headersBuilder.build()
        set(value) {
          this.headersBuilder = value.newBuilder()
        }
    
      @set:JvmName("trailers")
      var trailers: Headers
        get() = trailersBuilder.build()
        set(value) {
          this.trailersBuilder = value.newBuilder()
        }
    
      private var body: Buffer? = null
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java

        assertEquals("foo", callableFuture.get());
    
        TestRunnable runnable2 = new TestRunnable();
        ListenableFuture<Integer> runnableFuture2 = e.submit(runnable2, 3);
        assertThat(runnableFuture2).isInstanceOf(TrustedListenableFutureTask.class);
        assertTrue(runnableFuture2.isDone());
        assertTrue(runnable2.run);
        assertEquals((Integer) 3, runnableFuture2.get());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/TransposedTableTest.java

        original.put(1, "foo", 'a');
        assertEquals((Character) 'a', transpose.get("foo", 1));
      }
    
      public void testPutTransposeModifiesOriginal() {
        Table<Integer, String, Character> original = HashBasedTable.create();
        Table<String, Integer, Character> transpose = transpose(original);
        transpose.put("foo", 1, 'a');
        assertEquals((Character) 'a', original.get(1, "foo"));
      }
    
      public void testTransposedViews() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top