Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 88 for Indexes (0.04 seconds)

  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.
    		{
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/math/QuantilesTest.java

        // array of indexes to be calculated is modified between the calls to indexes and compute: since
        // the contract is that it is snapshotted, this shouldn't make any difference to the result.
        int[] indexes = {0, 10, 5, 1, 8, 10};
        ScaleAndIndexes intermediate = Quantiles.scale(10).indexes(indexes);
        indexes[0] = 3;
        assertThat(intermediate.compute(SIXTEEN_SQUARES_DOUBLES))
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 29.8K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/math/QuantilesTest.java

        // array of indexes to be calculated is modified between the calls to indexes and compute: since
        // the contract is that it is snapshotted, this shouldn't make any difference to the result.
        int[] indexes = {0, 10, 5, 1, 8, 10};
        ScaleAndIndexes intermediate = Quantiles.scale(10).indexes(indexes);
        indexes[0] = 3;
        assertThat(intermediate.compute(SIXTEEN_SQUARES_DOUBLES))
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 29.8K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/DenseImmutableTable.java

        // requireNonNull is safe because we use indexes that were populated by the constructor.
        V value = requireNonNull(values[rowIndex][columnIndex]);
        return cellOf(rowKey, columnKey, value);
      }
    
      @Override
      V getValue(int index) {
        // requireNonNull is safe because we use indexes that were populated by the constructor.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  5. 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.
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 34.4K bytes
    - Click Count (0)
  6. 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.
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Fri Nov 14 13:19:40 GMT 2025
    - 34.9K bytes
    - Click Count (0)
  7. 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);
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  8. CLAUDE.md

    # CLAUDE.md
    
    This file provides guidance to Claude Code when working with this repository.
    
    ## Project Overview
    
    Fess is an Enterprise Search Server built on OpenSearch. It's a Java-based web application that crawls and indexes documents from various sources and provides full-text search capabilities.
    
    ## Development Commands
    
    ### Setup
    ```bash
    # Download OpenSearch plugins (required before first build)
    mvn antrun:run
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 4.8K bytes
    - Click Count (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);
        }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Dec 16 14:46:34 GMT 2025
    - 37.1K bytes
    - Click Count (0)
  10. cmd/metacache-bucket.go

    )
    
    // a bucketMetacache keeps track of all caches generated
    // for a bucket.
    type bucketMetacache struct {
    	// Name of bucket
    	bucket string
    
    	// caches indexed by id.
    	caches map[string]metacache
    	// cache ids indexed by root paths
    	cachesRoot map[string][]string `msg:"-"`
    
    	// Internal state
    	mu      sync.RWMutex `msg:"-"`
    	updated bool         `msg:"-"`
    }
    
    type deleteAllStorager interface {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 6.6K bytes
    - Click Count (0)
Back to Top