Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 549 for indexFor (0.19 sec)

  1. pkg/controller/volume/common/common.go

    func AddPodPVCIndexerIfNotPresent(indexer cache.Indexer) error {
    	return AddIndexerIfNotPresent(indexer, PodPVCIndex, PodPVCIndexFunc())
    }
    
    // AddIndexerIfNotPresent adds the index function with the name into the cache indexer if not present
    func AddIndexerIfNotPresent(indexer cache.Indexer, indexName string, indexFunc cache.IndexFunc) error {
    	indexers := indexer.GetIndexers()
    	if _, ok := indexers[indexName]; ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 11 18:54:20 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        assertThat(Doubles.indexOf(EMPTY, (double) 1)).isEqualTo(-1);
        assertThat(Doubles.indexOf(ARRAY1, (double) 2)).isEqualTo(-1);
        assertThat(Doubles.indexOf(ARRAY234, (double) 1)).isEqualTo(-1);
        assertThat(Doubles.indexOf(new double[] {(double) -1}, (double) -1)).isEqualTo(0);
        assertThat(Doubles.indexOf(ARRAY234, (double) 2)).isEqualTo(0);
        assertThat(Doubles.indexOf(ARRAY234, (double) 3)).isEqualTo(1);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  3. README.md

    suggester.indexer().index(new SuggestItem(new String[] { "検索", "エンジン" }, readings, 1, tags, roles, SuggestItem.Kind.DOCUMENT));
    ```
    
    ### Add suggest documents from source of index
    
    ```java
    DocumentReader reader = new ESSourceReader(
        client,
        suggester.settings(),
        "contentIndexName",
        "contentTypeName");
    suggester.indexer().indexFromDocument(reader, 2, 100).getResponse();
    ```
    
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Jan 19 03:33:49 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/IntsTest.java

      }
    
      public void testIndexOf() {
        assertThat(Ints.indexOf(EMPTY, (int) 1)).isEqualTo(-1);
        assertThat(Ints.indexOf(ARRAY1, (int) 2)).isEqualTo(-1);
        assertThat(Ints.indexOf(ARRAY234, (int) 1)).isEqualTo(-1);
        assertThat(Ints.indexOf(new int[] {(int) -1}, (int) -1)).isEqualTo(0);
        assertThat(Ints.indexOf(ARRAY234, (int) 2)).isEqualTo(0);
        assertThat(Ints.indexOf(ARRAY234, (int) 3)).isEqualTo(1);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 06 16:10:08 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/listers/cr/v1/example.go

    type exampleLister struct {
    	listers.ResourceIndexer[*v1.Example]
    }
    
    // NewExampleLister returns a new ExampleLister.
    func NewExampleLister(indexer cache.Indexer) ExampleLister {
    	return &exampleLister{listers.New[*v1.Example](indexer, v1.Resource("example"))}
    }
    
    // Examples returns an object that can list and get Examples.
    func (s *exampleLister) Examples(namespace string) ExampleNamespaceLister {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 11:15:04 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/BooleansTest.java

        assertThat(Booleans.indexOf(ARRAY_TRUE, new boolean[0])).isEqualTo(0);
      }
    
      public void testIndexOf_arrays() {
        assertThat(Booleans.indexOf(EMPTY, false)).isEqualTo(-1);
        assertThat(Booleans.indexOf(ARRAY_FALSE, true)).isEqualTo(-1);
        assertThat(Booleans.indexOf(ARRAY_FALSE_FALSE, true)).isEqualTo(-1);
        assertThat(Booleans.indexOf(ARRAY_FALSE, false)).isEqualTo(0);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 04 15:43:29 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

                suggester.indexer().addBadWord(word, apply);
            }
            refresh();
        }
    
        public void addBadWord(final String badWord, final boolean apply) {
            suggester.indexer().addBadWord(badWord, apply);
            refresh();
        }
    
        public void deleteBadWord(final String badWord) {
            suggester.indexer().deleteBadWord(badWord);
            refresh();
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/ShortsTest.java

      public void testIndexOf() {
        assertThat(Shorts.indexOf(EMPTY, (short) 1)).isEqualTo(-1);
        assertThat(Shorts.indexOf(ARRAY1, (short) 2)).isEqualTo(-1);
        assertThat(Shorts.indexOf(ARRAY234, (short) 1)).isEqualTo(-1);
        assertThat(Shorts.indexOf(new short[] {(short) -1}, (short) -1)).isEqualTo(0);
        assertThat(Shorts.indexOf(ARRAY234, (short) 2)).isEqualTo(0);
        assertThat(Shorts.indexOf(ARRAY234, (short) 3)).isEqualTo(1);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheInitScriptsIntegrationTest.groovy

            then:
            output.indexOf('initscript1!') < output.indexOf('initscript2!')
            configurationCache.assertStateStored()
    
            when:
            configurationCacheRun 'build', '-I', initScript2.absolutePath, '-I', initScript1.absolutePath
    
            then:
            output.indexOf('initscript2!') < output.indexOf('initscript1!')
            configurationCache.assertStateStored()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/initialization/buildsrc/BuildSrcEventsIntegrationTest.groovy

                    assert System.getProperty("buildsrc") == "done"
                }
            """
    
            when:
            run()
    
            then:
            output.indexOf("running tasks") < output.indexOf("buildSrc finished")
            output.indexOf("buildSrc finished") < output.indexOf("root build finished")
        }
    
        @UnsupportedWithConfigurationCache(because = "uses buildFinished")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 13 02:04:27 UTC 2022
    - 3.4K bytes
    - Viewed (0)
Back to top