Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 549 for indexFor (0.12 sec)

  1. 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)
  2. platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/kotlinapplication/multi/utilities/SplitUtils.kt.template

    class SplitUtils {
        companion object {
            fun split(source: String): LinkedList {
                var lastFind = 0
                val result = LinkedList()
    
                var currentFind = source.indexOf(" ", lastFind)
                while (currentFind != -1) {
                    var token = source.substring(lastFind)
                    if (currentFind != -1) {
                        token = token.substring(0, currentFind - lastFind)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 26 19:39:09 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache_interval.go

    type indexValidator func(int) bool
    
    func newCacheInterval(startIndex, endIndex int, indexer indexerFunc, indexValidator indexValidator, locker sync.Locker) *watchCacheInterval {
    	return &watchCacheInterval{
    		startIndex:     startIndex,
    		endIndex:       endIndex,
    		indexer:        indexer,
    		indexValidator: indexValidator,
    		buffer:         &watchCacheIntervalBuffer{buffer: make([]*watchCacheEvent, bufferSize)},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/LongsTest.java

        assertThat(Longs.indexOf(ARRAY1, ARRAY1)).isEqualTo(0);
        assertThat(Longs.indexOf(ARRAY234, ARRAY234)).isEqualTo(0);
        assertThat(Longs.indexOf(ARRAY234, new long[] {(long) 2, (long) 3})).isEqualTo(0);
        assertThat(Longs.indexOf(ARRAY234, new long[] {(long) 3, (long) 4})).isEqualTo(1);
        assertThat(Longs.indexOf(ARRAY234, new long[] {(long) 3})).isEqualTo(1);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 30K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/collection/ArrayUtilTest.java

            assertThat(ArrayUtil.indexOf(array, "222"), is(1));
            assertThat(ArrayUtil.indexOf(array, "222", 2), is(3));
            assertThat(ArrayUtil.indexOf(array, new Object()), is(-1));
            assertThat(ArrayUtil.indexOf(array, null), is(-1));
            array[1] = null;
            assertThat(ArrayUtil.indexOf(array, null), is(1));
        }
    
        /**
         * @throws Exception
         */
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceAllTester.java

        getMap()
            .replaceAll(
                (K k, V v) -> {
                  int index = keys().asList().indexOf(k);
                  return values().asList().get(index + 1);
                });
        List<Entry<K, V>> expectedEntries = new ArrayList<>();
        for (Entry<K, V> entry : getSampleEntries()) {
          int index = keys().asList().indexOf(entry.getKey());
          expectedEntries.add(Helpers.mapEntry(entry.getKey(), values().asList().get(index + 1)));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 4.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/client/listers/apiextensions/v1/customresourcedefinition.go

    }
    
    // NewCustomResourceDefinitionLister returns a new CustomResourceDefinitionLister.
    func NewCustomResourceDefinitionLister(indexer cache.Indexer) CustomResourceDefinitionLister {
    	return &customResourceDefinitionLister{listers.New[*v1.CustomResourceDefinition](indexer, v1.Resource("customresourcedefinition"))}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 11:15:04 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. README.ja.md

        client,
        suggester.settings(),
        "contentIndexName",
        "contentTypeName");
    suggester.indexer().indexFromDocument(reader, 2, 100).getResponse();
    ```
    
    ### Add suggest document from queryLog
    
    クエリーログ(query_string)を解析してサジェストドキュメントを登録
    
    ```java
    QueryLog queryLog = new QueryLog("field1:value1", null);
    suggester.indexer().indexFromQueryLog(queryLog);
    ```
    
    ### Add suggest document from search words
    
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Mon Jul 27 10:00:55 UTC 2015
    - 2.2K bytes
    - Viewed (0)
  9. platforms/software/resources-http/src/main/java/org/gradle/internal/resource/transport/http/ntlm/NTLMCredentials.java

            String domain;
            String username = Preconditions.checkNotNull(credentials.getUsername(), "Username must not be null!");
            int slashPos = username.indexOf('\\');
            slashPos = slashPos >= 0 ? slashPos : username.indexOf('/');
            if (slashPos >= 0) {
                domain = username.substring(0, slashPos);
                username = username.substring(slashPos + 1);
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

        assertThat(Floats.indexOf(EMPTY, EMPTY)).isEqualTo(0);
        assertThat(Floats.indexOf(ARRAY234, EMPTY)).isEqualTo(0);
        assertThat(Floats.indexOf(EMPTY, ARRAY234)).isEqualTo(-1);
        assertThat(Floats.indexOf(ARRAY234, ARRAY1)).isEqualTo(-1);
        assertThat(Floats.indexOf(ARRAY1, ARRAY234)).isEqualTo(-1);
        assertThat(Floats.indexOf(ARRAY1, ARRAY1)).isEqualTo(0);
        assertThat(Floats.indexOf(ARRAY234, ARRAY234)).isEqualTo(0);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 29.5K bytes
    - Viewed (0)
Back to top