Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4381 - 4390 of 5,169 for String (0.05 sec)

  1. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourcesHttpTest.kt

        )
        var request = Request.Builder().url(server.url("/")).build()
        repeat(2) {
          val response = client.newCall(request).execute()
    
          if (response.code == 401) {
            assertThat(response.body.string()).isEqualTo("{\"error\":{\"message\":\"No auth credentials found\",\"code\":401}}")
            request = request.newBuilder().header("Authorization", "XYZ").build()
          } else {
            response.processEventSource(listener)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 13:49:38 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractListIndexOfTester.java

      /** Override to call {@code indexOf()} or {@code lastIndexOf()}. */
      protected abstract int find(@Nullable Object o);
    
      /** Override to return "indexOf" or "lastIndexOf()" for use in failure messages. */
      protected abstract String getMethodName();
    
      @CollectionSize.Require(absent = ZERO)
      public void testFind_yes() {
        assertEquals(
            getMethodName() + "(firstElement) should return 0", 0, find(getOrderedElements().get(0)));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/pac/kerberos/KerberosCredentials.java

         *
         * @param loginContextName the name of the JAAS login context
         * @throws LoginException if authentication fails
         */
        public KerberosCredentials(String loginContextName) throws LoginException {
            LoginContext lc = new LoginContext(loginContextName);
            lc.login();
            this.subject = lc.getSubject();
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  4. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/Restriction.java

                }
    
                return upperBoundInclusive == restriction.upperBoundInclusive;
            } else {
                return false;
            }
        }
    
        @Override
        public String toString() {
            StringBuilder buf = new StringBuilder();
    
            buf.append(isLowerBoundInclusive() ? '[' : '(');
            if (getLowerBound() != null) {
                buf.append(getLowerBound().toString());
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. docs/en/docs/how-to/conditional-openapi.md

    And then we use it when creating the `FastAPI` app.
    
    Then you could disable OpenAPI (including the UI docs) by setting the environment variable `OPENAPI_URL` to the empty string, like:
    
    <div class="termy">
    
    ```console
    $ OPENAPI_URL= uvicorn main:app
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TarExtractorTest.java

            ;
    
            tarExtractor = container.getComponent("tarExtractor");
        }
    
        public void test_getText() {
            final InputStream in = ResourceUtil.getResourceAsStream("extractor/tar/test.tar");
            final String content = tarExtractor.getText(in, null).getContent();
            CloseableUtil.closeQuietly(in);
            logger.info(content);
            assertTrue(content.contains("テスト"));
            assertTrue(content.contains("テキスト"));
        }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/WebSocket.kt

       * This method returns false in that case, and in any other case where this web socket is closing,
       * closed, or canceled.
       *
       * This method returns immediately.
       */
      fun send(text: String): Boolean
    
      /**
       * Attempts to enqueue `bytes` to be sent as a the data of a binary (type `0x2`) message.
       *
       * This method returns true if the message was enqueued. Messages that would overflow the outgoing
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbNamedPipe.java

         * @param tc the CIFS context to use
         * @throws MalformedURLException if the URL is not properly formatted
         */
    
        public SmbNamedPipe(final String url, final int pipeType, final boolean unshared, final CIFSContext tc) throws MalformedURLException {
            super(url, tc);
            this.pipeType = pipeType;
            setNonPooled(unshared);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/HandlerTest.java

            URL rel = new URL(base, "foo/bar", handler);
    
            // Assert
            assertEquals(SmbConstants.DEFAULT_PORT, rel.getPort(), "Default port should be applied");
            String actualPath = rel.getPath();
            assertNotNull(actualPath, "Path should not be null");
            // Based on the test output, the actual path is "/bar" when parsing relative spec "foo/bar"
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapInverseTester.java

        return Collections.singletonList(getMethod("testInverseSerialization"));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      private static Method getMethod(String methodName) {
        return Helpers.getMethod(BiMapInverseTester.class, methodName);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.1K bytes
    - Viewed (0)
Back to top