Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 2,385 for When (0.02 sec)

  1. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

        val sectionList = result.getOrPut(section) { mutableListOf() }
    
        sectionList +=
          when (mapping.type) {
            TYPE_MAPPED ->
              run {
                val deltaMapping = inlineDeltaOrNull(mapping)
                if (deltaMapping != null) {
                  return@run deltaMapping
                }
    
                when (mapping.mappedTo.size) {
                  1 -> MappedRange.Inline1(rangeStart, mapping.mappedTo)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

            request.setFileInfoClass((byte) 0x04);
            request.setAdditionalInformation(0x12345678);
    
            Encodable mockInfo = mock(Encodable.class);
            when(mockInfo.encode(any(byte[].class), anyInt())).thenReturn(20);
            when(mockInfo.size()).thenReturn(20);
            request.setInfo(mockInfo);
    
            // Set up header start for offset calculation
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/mylasta/direction/FessEnv.java

         * @throws ConfigPropertyNotFoundException When the property is not found.
         */
        String get(String propertyKey);
    
        /**
         * Is the property true?
         * @param propertyKey The key of the property which is boolean type. (NotNull)
         * @return The determination, true or false. (if not found, exception)
         * @throws ConfigPropertyNotFoundException When the property is not found.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 10K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/security/http-basic-auth.md

    And returns a header `WWW-Authenticate` with a value of `Basic`, and an optional `realm` parameter.
    
    That tells the browser to show the integrated prompt for a username and password.
    
    Then, when you type that username and password, the browser sends them in the header automatically.
    
    ## Simple HTTP Basic Auth { #simple-http-basic-auth }
    
    * Import `HTTPBasic` and `HTTPBasicCredentials`.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

        /** The key of the configuration. e.g. Referrer-Policy:strict-origin-when-cross-origin */
        String API_JSON_RESPONSE_HEADERS = "api.json.response.headers";
    
        /** The key of the configuration. e.g. false */
        String API_JSON_RESPONSE_EXCEPTION_INCLUDED = "api.json.response.exception.included";
    
        /** The key of the configuration. e.g. Referrer-Policy:strict-origin-when-cross-origin */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 525.6K bytes
    - Viewed (2)
  6. src/test/java/jcifs/context/SingletonContextTest.java

            // Test registerSmbURLHandler when java.protocol.handler.pkgs is null
            System.clearProperty("java.protocol.handler.pkgs");
            SingletonContext.registerSmbURLHandler();
            assertEquals("jcifs", System.getProperty("java.protocol.handler.pkgs"));
        }
    
        @Test
        void testRegisterSmbURLHandlerWhenPkgsDoesNotContainJcifs() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/DcerpcSecurityProviderTest.java

        }
    
        @Test
        void testWrapMethodThrowsDcerpcException() throws DcerpcException {
            // Configure the mock to throw DcerpcException when wrap is called
            doThrow(new DcerpcException("Test wrap exception")).when(dcerpcSecurityProvider).wrap(mockNdrBuffer);
    
            // Assert that calling wrap throws DcerpcException
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/AllocInfoTest.java

         * implementation.
         */
        @Test
        @DisplayName("verify getters return stubbed values")
        void testGettersHappyPath() {
            when(mockAllocInfo.getCapacity()).thenReturn(1000L);
            when(mockAllocInfo.getFree()).thenReturn(400L);
    
            assertEquals(1000L, mockAllocInfo.getCapacity(), "capacity should match stubbed value");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java

            }
    
            // Test channel selection with mock request when no channels available
            ServerMessageBlock2Request mockRequest = mock(ServerMessageBlock2Request.class);
            when(mockRequest.getTreeId()).thenReturn(123);
    
            // Should throw NoAvailableChannelException when no healthy channels
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt

      // These properties are guarded by `this`.
    
      /**
       * If true, no new exchanges can be created on this connection. It is necessary to set this to
       * true when removing a connection from the pool; otherwise a racing caller might get it from the
       * pool when it shouldn't. Symmetrically, this must always be checked before returning a
       * connection from the pool.
       *
       * Once true this is always true. Guarded by this.
       */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 14.9K bytes
    - Viewed (0)
Back to top