Search Options

Results per page
Sort
Preferred Languages
Advance

Results 931 - 940 of 3,084 for shouldn (0.04 sec)

  1. docs/smb3-features/04-directory-leasing-design.md

        
        SmbFile dir = new SmbFile("smb://server/share/testdir/", context);
        
        // First listing should hit the server
        long start1 = System.currentTimeMillis();
        SmbFile[] files1 = dir.listFiles();
        long time1 = System.currentTimeMillis() - start1;
        
        // Second listing should use cache (much faster)
        long start2 = System.currentTimeMillis();
        SmbFile[] files2 = dir.listFiles();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/entity/QueryContextTest.java

        public void test_addFieldLog_nullFieldLogMap() {
            queryContext = new QueryContext("test", false);
            // fieldLogMap is null when isQuery is false
            queryContext.addFieldLog("field", "text");
            // Should not throw exception
        }
    
        // Test addFieldLog with existing field
        public void test_addFieldLog_existingField() {
            Map<String, List<String>> fieldLogMap = new HashMap<>();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/Service.java

       *     State#TERMINATED} when this method is called then this will throw an IllegalStateException.
       * @since 15.0
       */
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      void awaitRunning(long timeout, TimeUnit unit) throws TimeoutException;
    
      /**
       * Waits for the {@link Service} to reach the {@linkplain State#TERMINATED terminated state}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbOperationException.java

        public boolean isRetryable() {
            return errorCode.isRetryable() && retryPolicy != RetryPolicy.NO_RETRY;
        }
    
        /**
         * Check if retry should be attempted
         *
         * @param attemptNumber the current attempt number
         * @return true if retry should be attempted
         */
        public boolean shouldRetry(int attemptNumber) {
            return retryPolicy.shouldRetry(this, attemptNumber);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

            // SmbInfoAllocation.decode() always returns 20 bytes regardless of len parameter
            assertEquals(20, bytesRead);
            assertNotNull(response.getInfo());
    
            // The info should be created with zero values
            SmbInfoAllocation info = (SmbInfoAllocation) response.getInfo();
            assertEquals(0, info.getCapacity());
            assertEquals(0, info.getFree());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/HMACT64Test.java

                HMACT64 hmac = new HMACT64(TEST_KEY);
                assertNotNull(hmac);
                verify(mockMd5, times(1)).reset();
                verify(mockMd5, times(1)).update(any(byte[].class)); // Should update with ipad
            }
        }
    
        @Test
        void testConstructorWithLongKey() throws NoSuchAlgorithmException {
            // Test constructor with a key longer than BLOCK_LENGTH (64 bytes)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/pac/PacTest.java

            writeLittleEndianLong(baos, 1000); // offset way out of bounds
            byte[] pacData = baos.toByteArray();
    
            // This currently throws ArrayIndexOutOfBoundsException
            // but should be wrapped in PACDecodingException
            assertThrows(Exception.class, () -> new Pac(pacData, keys));
        }
    
        @Test
        void testZeroBufferCount() throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RegexRule.java

     * }
     * </pre>
     *
     */
    public class RegexRule extends AbstractRule {
    
        /** Serial version UID for serialization. */
        private static final long serialVersionUID = 1L;
    
        /** Whether this rule should match all responses by default. */
        protected boolean defaultRule = false;
    
        /** Whether all regular expressions must match (true) or just one (false). */
        protected boolean allRequired = true;
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  9. cmd/erasure-decode_test.go

    		closeBitrotReaders(bitrotReaders)
    		if err != nil && !test.shouldFail {
    			t.Errorf("Test %d: should pass but failed with: %v", i, err)
    		}
    		if err == nil && test.shouldFail {
    			t.Errorf("Test %d: should fail but it passed", i)
    		}
    		if err == nil {
    			if content := writer.Bytes(); !bytes.Equal(content, data[test.offset:test.offset+test.length]) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 21K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ForwardingSet.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.Collection;
    import java.util.Set;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A set which forwards all its method calls to another set. Subclasses should override one or more
     * methods to modify the behavior of the backing set as desired per the <a
     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top