Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 603 for parsed (0.06 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketExtensions.kt

          var unexpectedValues = false
    
          // Parse each header.
          for (i in 0 until responseHeaders.size) {
            if (!responseHeaders.name(i).equals(HEADER_WEB_SOCKET_EXTENSION, ignoreCase = true)) {
              continue // Not a header we're interested in.
            }
            val header = responseHeaders.value(i)
    
            // Parse each extension.
            var pos = 0
            while (pos < header.length) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeGetTest.kt

    import okhttp3.MediaType.Companion.toMediaType
    
    open class MediaTypeGetTest : MediaTypeTest() {
      override fun parse(string: String): MediaType = string.toMediaType()
    
      override fun assertInvalid(
        string: String,
        exceptionMessage: String?,
      ) {
        val e =
          assertFailsWith<IllegalArgumentException> {
            parse(string)
          }
        assertEquals(exceptionMessage, e.message)
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

       * specified accumulator function, returning the new value. The previous value associated with
       * {@code key} (or zero, if there is none) is passed as the first argument to {@code
       * accumulatorFunction}, and {@code x} is passed as the second argument.
       *
       * @since 21.0
       */
      @CanIgnoreReturnValue
      public long accumulateAndGet(K key, long x, LongBinaryOperator accumulatorFunction) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/http/NtlmSsp.java

         * @param req
         *            The request being serviced.
         * @param resp
         *            The response.
         * @param challenge
         *            The domain controller challenge.
         * @return credentials passed in the servlet request
         * @throws IOException
         *             If an IO error occurs.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

                assertNotNull(parsedMessage);
                // Context and TargetInformation should be null because there's no room to parse them
                assertNull(parsedMessage.getContext());
                assertNull(parsedMessage.getTargetInformation());
            }
    
            @Test
            @DisplayName("parse should handle truncated message missing context")
            void testParse_InputLengthTooSmallForContext() {
                // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

            if (StringUtil.isNotBlank(roleName)) {
                roleNameList.add(roleName);
            }
        }
    
        /**
         * Parses the role set from a string.
         * @param value The string to parse.
         * @param encrypted Whether the string is encrypted.
         * @param roleSet The set of roles.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java

            // Test reset behavior
            response.reset();
            assertTrue(response.hasMoreElements());
        }
    
        @Test
        @DisplayName("Verify Configuration is passed to parent")
        void testConfigurationPassedToParent() {
            // Arrange
            Configuration testConfig = mock(Configuration.class);
    
            // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  8. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

          assertThat(expected).hasMessage("Failed to parse UTCTime 191216#30210Z")
        }
      }
    
      @Test fun `cannot decode generalized time with offset`() {
        assertFailsWith<ProtocolException> {
          Adapters.GENERALIZED_TIME.fromDer("181332303139313231353139303231302d30383030".decodeHex())
        }.also { expected ->
          assertThat(expected).hasMessage("Failed to parse GeneralizedTime 20191215190210-0800")
        }
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/CookiesTest.kt

    import java.net.HttpURLConnection
    import java.net.InetAddress
    import java.net.URI
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.junit5.StartStop
    import okhttp3.Cookie.Companion.parse
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.java.net.cookiejar.JavaNetCookieJar
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.Timeout
    import org.junit.jupiter.api.extension.RegisterExtension
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 13K bytes
    - Viewed (0)
  10. src/test/java/jcifs/netbios/LmhostsTest.java

            assertNotNull(validHost);
    
            // Invalid entries should not be found or may have incorrect parsing
            // Note: The actual Lmhosts parser may accept "192.168.1" and parse it differently
            // than expected, so we're not asserting null for HOST1
        }
    
        @Test
        void testPopulateWithLongHostname() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
Back to top