Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 755 for Ensure (0.07 sec)

  1. src/main/java/jcifs/ntlmssp/av/AvTimestamp.java

     */
    package jcifs.ntlmssp.av;
    
    import jcifs.internal.util.SMBUtil;
    
    /**
     * NTLMSSP AV pair representing timestamp information in NTLM authentication.
     * Contains time-based data used to prevent replay attacks and ensure message freshness.
     *
     * @author mbechler
     */
    public class AvTimestamp extends AvPair {
    
        /**
         * Constructs an AvTimestamp from raw byte data
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/toolchain/RequirementMatcherFactoryTest.java

            assertFalse(matcher.matches("(1.5.2,1.6)"));
            assertTrue(matcher.matches("(1.4,1.5.2]"));
            assertTrue(matcher.matches("(1.5,)"));
            assertEquals("1.5.2", matcher.toString());
    
            // Ensure it is not printed as 1.5.0
            matcher = RequirementMatcherFactory.createVersionMatcher("1.5");
            assertEquals("1.5", matcher.toString());
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Feb 11 12:33:57 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java

            assertEquals(-1, result);
        }
    
        public void test_setProcessDestroyTimeout() {
            processHelper.setProcessDestroyTimeout(20);
            // We can't directly verify the timeout value, but we can ensure the method doesn't throw
            assertTrue(true);
        }
    
        public void test_sendCommand_jobNotFound() {
            try {
                processHelper.sendCommand("nonexistent", "test command");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/MapRetrievalCache.java

        if (value != null) {
          return value;
        }
    
        // Store a local reference to the cache entry. If the backing map is immutable, this,
        // in combination with immutable cache entries, will ensure a thread-safe cache.
        CacheEntry<K, V> entry;
    
        // Check cache. We use == on purpose because it's cheaper and a cache miss is ok.
        entry = cacheEntry1;
        if (entry != null && entry.key == key) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

    import java.lang.reflect.Method;
    import java.util.Locale;
    import junit.framework.TestCase;
    
    /**
     * Since annotations have some reusability issues that force copy and paste all over the place, it's
     * worth having a test to ensure that all our Feature enums have their annotations correctly set up.
     *
     * @author George van den Driessche
     */
    public class FeatureEnumTest extends TestCase {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/entity/RequestParameterTest.java

            String name = "getName";
            String[] values = { "test" };
            RequestParameter param = new RequestParameter(name, values);
    
            assertEquals(name, param.getName());
            // Call multiple times to ensure consistency
            assertEquals(name, param.getName());
            assertEquals(name, param.getName());
        }
    
        public void test_getValues() {
            // Test getValues method explicitly
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/com/SmbComWriteResponseTest.java

            String str = resp.toString();
            assertTrue(str.contains("count=512"), "toString should include numeric count");
        }
    
        @Test
        public void testReturnFromReadParameterWordsWireFormatIs8() {
            // ensure the method returns 8 as claimed
            byte[] buf = new byte[12];
            buf[0] = 0x00;
            buf[1] = 0x10; // count = 4096 in little-endian (0x1000)
            int returned = resp.readParameterWordsWireFormat(buf, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  8. cmd/admin-handlers-idp-config.go

    		// More than maxConfigSize bytes were available
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminConfigTooLarge), r.URL)
    		return
    	}
    
    	// Ensure body content type is opaque to ensure that request body has not
    	// been interpreted as form data.
    	contentType := r.Header.Get("Content-Type")
    	if contentType != "application/octet-stream" {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbAuthExceptionTest.java

            assertEquals(NtStatus.NT_STATUS_UNSUCCESSFUL, ex.getNtStatus());
    
            // Verify: constructor should not have interacted with the cause
            Mockito.verifyNoInteractions(mockCause);
        }
    
        /**
         * Ensure toString includes the exception class name and message, providing a readable representation.
         */
        @Test
        @DisplayName("toString contains class name and message")
        void toString_containsClassAndMessage() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

          for (int i = off; i < off + len; i++) {
            out.write(b[i]);
          }
        } else {
          out.write(b, off, len);
        }
        out.flush(); // for coverage
      }
    
      // TODO(chrisn): only works if we ensure we have crossed file threshold
    
      public void testWriteErrorAfterClose() throws Exception {
        byte[] data = newPreFilledByteArray(100);
        FileBackedOutputStream out = new FileBackedOutputStream(50);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top