Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 120 for getIdx (0.06 sec)

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

    			return xl.versions[i].header.ModTime > xl.versions[j].header.ModTime
    		}) {
    			t.Errorf("Contents not sorted")
    		}
    		for i := range xl.versions {
    			hdr := xl.versions[i].header
    			ver, err := xl.getIdx(i)
    			if err != nil {
    				t.Error(err)
    				continue
    			}
    			gotHdr := ver.header()
    			if hdr != gotHdr {
    				t.Errorf("Header does not match, index: %+v != meta: %+v", hdr, gotHdr)
    			}
    		}
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 37.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/NtlmUtil.java

        public static byte[] getNTHash(final String password) {
            if (password == null) {
                throw new NullPointerException("Password parameter is required");
            }
            final MessageDigest md4 = Crypto.getMD4();
            md4.update(Strings.getUNIBytes(password));
            return md4.digest();
        }
    
        /**
         * Generates the NT password hash for the given password.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/HMACT64Test.java

        @Mock
        private MessageDigest mockMd5;
    
        @BeforeEach
        void setUp() throws NoSuchAlgorithmException {
            // Mock Crypto.getMD5() to return our mockMd5 instance
            // This requires Mockito 3.4.0+ for MockedStatic
            // For simplicity, we'll assume Crypto.getMD5() is static and mock it.
            // If it's not static, we'd need to inject it or mock the class that provides it.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java

            assertEquals("01T", crawlingConfigHelper.getDefaultConfig(ConfigType.WEB).get().getId());
            assertEquals("11T", crawlingConfigHelper.getDefaultConfig(ConfigType.FILE).get().getId());
            assertEquals("21T", crawlingConfigHelper.getDefaultConfig(ConfigType.DATA).get().getId());
        }
    
        public void test_getId() {
            // Test getId method through reflection since it's protected
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 34.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/service/ElevateWordService.java

        public void store(final ElevateWord elevateWord) {
            final boolean isNew = elevateWord.getId() == null;
            final String[] labelTypeIds = elevateWord.getLabelTypeIds();
    
            elevateWordBhv.insertOrUpdate(elevateWord, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
            final String elevateWordId = elevateWord.getId();
            if (labelTypeIds != null) {
                if (isNew) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java

        public void test_getId() {
            // Test getId method from parent class
            StopwordsItem item1 = new StopwordsItem(0, "word1");
            assertEquals(0, item1.getId());
    
            StopwordsItem item2 = new StopwordsItem(999, "word2");
            assertEquals(999, item2.getId());
    
            StopwordsItem item3 = new StopwordsItem(-1, "word3");
            assertEquals(-1, item3.getId());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

                        try {
                            wagonManager.getArtifactMetadata(metadata, repository, file, policy.getChecksumPolicy());
                        } catch (ResourceDoesNotExistException e) {
                            getLogger().debug(metadata + " could not be found on repository: " + repository.getId());
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                        "Skipping disabled repository " + repository.getId() + " for resolution of " + artifact.getId());
    
            } else if (artifact.isSnapshot() || !artifact.getFile().exists()) {
                if (force || updateCheckManager.isUpdateRequired(artifact, repository)) {
                    logger.debug("Trying repository " + repository.getId() + " for resolution of " + artifact.getId()
                            + " from " + remotePath);
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

         *            The initial sequence number for signing
         */
        public SMB1SigningDigest(final byte[] macSigningKey, final boolean bypass, final int initialSequence) {
            this.digest = Crypto.getMD5();
            this.macSigningKey = macSigningKey;
            this.signSequence = initialSequence;
            this.bypass = bypass;
    
            if (log.isTraceEnabled()) {
                log.trace("macSigningKey:");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java

        public void test_getId() {
            // Test getId method inherited from DictionaryItem
            ProtwordsItem item1 = new ProtwordsItem(0, "word");
            assertEquals(0, item1.getId());
    
            ProtwordsItem item2 = new ProtwordsItem(999, "word");
            assertEquals(999, item2.getId());
    
            ProtwordsItem item3 = new ProtwordsItem(-1, "word");
            assertEquals(-1, item3.getId());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.2K bytes
    - Viewed (0)
Back to top