Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 208 for Draining (0.09 sec)

  1. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java

            when(mockConfig.getOemEncoding()).thenReturn("ASCII");
        }
    
        @Test
        @DisplayName("Test constructor with standard path")
        void testConstructorWithStandardPath() {
            // Test standard path without trailing backslash
            trans2FindFirst2 = new Trans2FindFirst2(mockConfig, "\\test\\path", "*.txt", 0x16, 10, 1024);
    
            assertEquals(ServerMessageBlock.SMB_COM_TRANSACTION2, trans2FindFirst2.getCommand());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

      }
    
      private fun splitDomain(domain: String): List<String> {
        val domainLabels = domain.split('.')
    
        if (domainLabels.last() == "") {
          // allow for domain name trailing dot
          return domainLabels.dropLast(1)
        }
    
        return domainLabels
      }
    
      private fun findMatchingRule(domainLabels: List<String>): List<String> {
        publicSuffixList.ensureLoaded()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

                assertEquals("special", result.getServer());
            }
    
            @Test
            @DisplayName("Should adjust path consumed for trailing slash")
            void testFromReferralWithTrailingSlash() {
                when(mockReferral.getTtl()).thenReturn(300);
                when(mockReferral.getRFlags()).thenReturn(0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/ContainerNotAvailableExceptionTest.java

            assertNull(exception3.getComponentName());
        }
    
        public void test_exceptionChaining() {
            // Test exception chaining with multiple levels
            Exception rootCause = new Exception("Root cause");
            RuntimeException middleCause = new RuntimeException("Middle cause", rootCause);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java

            // When
            boolean allowChain = request.allowChain(nextRequest);
    
            // Then
            assertFalse(allowChain, "Cancel requests should not allow chaining");
        }
    
        @Test
        @DisplayName("Test split returns null")
        void testSplit() {
            // Given
            Smb2CancelRequest request = new Smb2CancelRequest(mockConfig, 1L, 0L);
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  6. cmd/signature-v4-utils.go

    			extractedSignedHeaders.Set(header, strconv.FormatInt(r.ContentLength, 10))
    		default:
    			return nil, ErrUnsignedHeaders
    		}
    	}
    	return extractedSignedHeaders, ErrNone
    }
    
    // Trim leading and trailing spaces and replace sequential spaces with one space, following Trimall()
    // in http://docs.aws.amazon.com/general/latest/gr/sigv4-create-canonical-request.html
    func signV4TrimAll(input string) string {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Nov 25 17:10:22 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java

     * Examples of frameworks include:
     *
     * <ul>
     *   <li><a href="https://dagger.dev/producers.html">Dagger Producers</a>
     * </ul>
     *
     * <p>The main purpose of {@link #addListener addListener} is to support this chaining. You will
     * rarely use it directly, in part because it does not provide direct access to the {@code Future}
     * result. (If you want such access, you may prefer {@link Futures#addCallback
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/ListenableFuture.java

     * Examples of frameworks include:
     *
     * <ul>
     *   <li><a href="https://dagger.dev/producers.html">Dagger Producers</a>
     * </ul>
     *
     * <p>The main purpose of {@link #addListener addListener} is to support this chaining. You will
     * rarely use it directly, in part because it does not provide direct access to the {@code Future}
     * result. (If you want such access, you may prefer {@link Futures#addCallback
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/DfsTest.java

            dr.pathConsumed = path.length();
    
            dfs.insert(path, dr);
    
            assertNotNull(dfs.referrals);
            assertFalse(dfs.referrals.map.isEmpty());
            String key = "\\server\\share\\folder"; // Trailing slash should be removed
            assertTrue(dfs.referrals.map.containsKey(key.toLowerCase()));
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  10. cmd/object-api-utils.go

    }
    
    // pathJoin - like path.Join() but retains trailing SlashSeparator of the last element
    func pathJoin(elem ...string) string {
    	sb := bytebufferpool.Get()
    	defer func() {
    		sb.Reset()
    		bytebufferpool.Put(sb)
    	}()
    
    	return pathJoinBuf(sb, elem...)
    }
    
    // pathJoinBuf - like path.Join() but retains trailing SlashSeparator of the last element.
    // Provide a string builder to reduce allocation.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jun 25 15:08:54 UTC 2025
    - 37.3K bytes
    - Viewed (0)
Back to top