Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 81 for Indexes (0.05 sec)

  1. cmd/endpoint-ellipses_test.go

    			}
    			if !reflect.DeepEqual(testCase.indexes, gotIndexes) {
    				t.Errorf("Expected %v, got %v", testCase.indexes, gotIndexes)
    			}
    		})
    	}
    }
    
    // Test tests calculating set indexes.
    func TestGetSetIndexes(t *testing.T) {
    	testCases := []struct {
    		args       []string
    		totalSizes []uint64
    		indexes    [][]uint64
    		success    bool
    	}{
    		// Invalid inputs.
    		{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. schema/index.go

    				})
    			}
    		}
    	}
    	for _, index := range indexes {
    		if index.Class == "UNIQUE" && len(index.Fields) == 1 {
    			index.Fields[0].Field.UniqueIndex = index.Name
    		}
    	}
    	return indexes
    }
    
    func (schema *Schema) LookIndex(name string) *Index {
    	if schema != nil {
    		indexes := schema.ParseIndexes()
    		for _, index := range indexes {
    			if index.Name == name {
    				return index
    			}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed May 21 02:35:56 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java

    /**
     * Helper class for parsing and validating sitemaps.
     * It supports XML sitemaps, XML sitemap indexes, and text sitemaps,
     * and can handle GZIP compressed sitemaps.
     * The class provides methods to check if an input stream is a valid sitemap,
     * and to parse an input stream into a {@link SitemapSet} object.
     * It uses SAX parser for XML sitemaps and XML sitemap indexes,
     * and handles potential exceptions during parsing.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

            this.threadPool = threadPool;
        }
    
        /**
         * Indexes a single suggest item.
         * @param item The suggest item to index.
         * @return The SuggestIndexResponse.
         */
        public SuggestIndexResponse index(final SuggestItem item) {
            return index(new SuggestItem[] { item });
        }
    
        /**
         * Indexes multiple suggest items.
         * @param items The suggest items to index.
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  5. tests/migrate_test.go

    		}
    	}
    
    	checkIndex := func(t *testing.T, expected []gorm.Index) {
    		indexes, err := DB.Migrator().GetIndexes(table)
    		if err != nil {
    			t.Fatalf("%v: failed to get indexes, got error: %v", utils.FileWithLineNum(), err)
    		}
    		assert.ElementsMatch(t, expected, indexes)
    	}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 65.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/dict/protwords/CreateForm.java

    /**
     * Form class for creating protected words dictionary entries.
     * Protected words are terms that should not be modified or analyzed during
     * text processing, preserving their original form in search indexes.
     *
     */
    public class CreateForm {
    
        /**
         * Creates a new CreateForm instance.
         */
        public CreateForm() {
            // Default constructor
        }
    
        /** Dictionary identifier */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java

        @DisplayName("readBytesWireFormat")
        class ReadBytesWireFormat {
    
            @ParameterizedTest
            @ValueSource(ints = { 0, 1, 5, 10 })
            @DisplayName("Reads structure size 4 and returns 4 for various start indexes")
            void returnsFour_whenStructureSizeIsFour(int start) throws Exception {
                // Arrange: build a buffer that has the little-endian value 4 at 'start'
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

                suggester.indexer().addBadWord(word, apply);
            }
            refresh();
        }
    
        /**
         * Adds a bad word to the suggest index.
         *
         * @param badWord The bad word to add.
         * @param apply   true to apply the changes immediately.
         */
        public void addBadWord(final String badWord, final boolean apply) {
            suggester.indexer().addBadWord(badWord, apply);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/HashBiMap.java

        KeySet() {
          super(HashBiMap.this);
        }
    
        @Override
        @ParametricNullness
        K forEntry(int entry) {
          // The cast is safe because we call forEntry only for indexes that contain entries.
          return uncheckedCastNullableTToT(keys[entry]);
        }
    
        @Override
        public boolean contains(@Nullable Object o) {
          return HashBiMap.this.containsKey(o);
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  10. cmd/storage-interface.go

    	// Read all.
    	ReadAll(ctx context.Context, volume string, path string) (buf []byte, err error)
    	GetDiskLoc() (poolIdx, setIdx, diskIdx int) // Retrieve location indexes.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 25 05:41:04 UTC 2025
    - 5.3K bytes
    - Viewed (0)
Back to top