Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 117 for dupe (0.02 sec)

  1. cmd/xl-storage-format-v2.go

    	}
    
    	// Sanity check. Enable if duplicates show up.
    	if false {
    		found := make(map[[16]byte]struct{})
    		for _, ver := range merged {
    			if _, ok := found[ver.header.VersionID]; ok {
    				panic("found dupe")
    			}
    			found[ver.header.VersionID] = struct{}{}
    		}
    	}
    	return merged
    }
    
    type xlMetaBuf []byte
    
    // ToFileInfo converts xlMetaV2 into a common FileInfo datastructure
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 65.6K bytes
    - Viewed (1)
  2. src/test/java/jcifs/smb/SimpleMemoryManagementTest.java

            SmbSessionImpl session = new SmbSessionImpl(mockContext, "testhost", "testdomain", mockTransport);
    
            // Test initial state - session starts with usage count > 0 due to transport.acquire()
            assertTrue(session.isInUse(), "New session should be in use due to transport acquisition");
    
            // Test additional acquire
            session.acquire();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainBeforeHookTest.java

            if (provider != null) {
                TimeZone providedTimeZone = provider.provide();
                assertEquals(FessUserTimeZoneProcessProvider.centralTimeZone, providedTimeZone);
            } else {
                // Cannot test due to reflection access limitations
                assertTrue("Cannot access DBFluteSystem fields via reflection", true);
            }
        }
    
        public void test_processDBFluteSystem_setsTimeZoneProvider() {
            // When
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java

                // but we mainly want to ensure the method signature is correct
                testTarget.expired();
    
                // If we get here, the method executed successfully
                assertTrue("expired method executed successfully", true);
            } catch (Throwable t) {
                // In test environments, system monitoring may fail due to missing dependencies
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/PathValidatorTest.java

            PathValidator noUncValidator = new PathValidator(260, 255, false, false);
            // Due to normalization bug, UNC paths are not properly detected
            // The normalization removes all duplicate backslashes, so \\\\server becomes \server
            // This test validates that paths which should be UNC but aren't detected due to normalization
            // still pass validation (which is the current behavior, though not ideal)
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  6. cmd/data-usage-cache.go

    func (d *dataUsageCache) find(path string) *dataUsageEntry {
    	due, ok := d.Cache[hashPath(path).Key()]
    	if !ok {
    		return nil
    	}
    	return &due
    }
    
    // isCompacted returns whether an entry is compacted.
    // Returns false if not found.
    func (d *dataUsageCache) isCompacted(h dataUsageHash) bool {
    	due, ok := d.Cache[h.Key()]
    	if !ok {
    		return false
    	}
    	return due.Compacted
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/SecureCredentialStorageTest.java

            byte[] encrypted = storage.encryptCredentials(plaintext);
            assertNotNull(encrypted, "Encrypted long password should not be null");
            assertTrue(encrypted.length > plaintext.length, "Encrypted data should be larger due to IV and auth tag");
    
            char[] decrypted = storage.decryptCredentials(encrypted);
            assertArrayEquals(plaintext, decrypted, "Decrypted long password should match original");
    
            // Clean up
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/util/transport/ConnectionTimeoutExceptionTest.java

        }
    
        @Test
        void testStringAndThrowableConstructor() {
            // Test the constructor with both message and cause
            String message = "Failed to connect due to timeout.";
            Throwable cause = new IllegalStateException("Network unreachable");
            ConnectionTimeoutException exception = new ConnectionTimeoutException(message, cause);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

                // Test parent of a server
                assertEquals("smb1://", new SmbFile("smb1://server/").getParent());
                // Test parent of root - currently throws NPE due to bug in SmbFile.getParent()
                // when authority is null. This is a known issue in the legacy implementation.
                // For now, we expect the NPE to maintain backward compatibility
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserLocaleProcessProviderTest.java

            // Execute
            OptionalThing<Locale> result = provider.findBusinessLocale(null, mockRequestManager);
    
            // Verify - invalid format should return empty due to exception in LocaleUtils.toLocale
            assertFalse(result.isPresent());
        }
    
        // Test findBusinessLocale with language and country and variant
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11K bytes
    - Viewed (0)
Back to top