Search Options

Results per page
Sort
Preferred Languages
Advance

Results 461 - 470 of 1,627 for indexOf (0.11 sec)

  1. src/test/java/org/codelibs/core/collection/IndexedIteratorTest.java

            final List<String> list = newArrayList();
            list.add("aaa");
            list.add("bbb");
            list.add("ccc");
            for (final Indexed<String> indexed : indexed(list)) {
                System.out.println(indexed.getIndex());
                System.out.println(indexed.getElement());
            }
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testForEachLineIterator() throws Exception {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. internal/s3select/select_test.go

    		},
    		{
    			name:       "indexed-list-match-equals-s-star",
    			query:      `SELECT s.* from s3object s WHERE (7,8.5,9) = s.nested[1]`,
    			wantResult: `{"id":3,"title":"Second Record","desc":"another text","nested":[[2,3,4],[7,8.5,9]]}`,
    		},
    		{
    			name:       "indexed-list-match-equals-s-index",
    			query:      `SELECT s.nested[1], s.nested[0] from s3object s WHERE (7,8.5,9) = s.nested[1]`,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 76.2K bytes
    - Viewed (0)
  3. cmd/admin-heal-ops.go

    	// map of heal path to heal sequence
    	healSeqMap map[string]*healSequence // Indexed by endpoint
    	// keep track of the healing status of disks in the memory
    	//   false: the disk needs to be healed but no healing routine is started
    	//    true: the disk is currently healing
    	healLocalDisks map[Endpoint]bool
    	healStatus     map[string]healingTracker // Indexed by disk ID
    }
    
    // newHealState - initialize global heal state management
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  4. cmd/erasure-server-pool-rebalance.go

    				part.Number,
    				NewPutObjReader(hr),
    				ObjectOptions{
    					PreserveETag: part.ETag, // Preserve original ETag to ensure same metadata.
    					IndexCB: func() []byte {
    						return part.Index // Preserve part Index to ensure decompression works.
    					},
    					NoAuditLog: true,
    				})
    			if err != nil {
    				return fmt.Errorf("rebalanceObject: PutObjectPart() %w", err)
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  5. migrator/migrator.go

    	if stmt.TableExpr != nil {
    		return *stmt.TableExpr
    	}
    	return clause.Table{Name: stmt.Table}
    }
    
    // GetIndexes return Indexes []gorm.Index and execErr error
    func (m Migrator) GetIndexes(dst interface{}) ([]gorm.Index, error) {
    	return nil, errors.New("not support")
    }
    
    // GetTypeAliases return database type aliases
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Apr 26 07:15:49 UTC 2024
    - 29K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/math/QuantilesAlgorithmTest.java

        ImmutableSet<Integer> indexes = ImmutableSet.of(50, 90, 99);
        Map<Integer, Double> referenceQuantiles =
            REFERENCE_ALGORITHM.multipleQuantiles(indexes, 100, dataset.clone());
        assertThat(referenceQuantiles.keySet()).isEqualTo(indexes);
        for (QuantilesAlgorithm algorithm : NON_REFERENCE_ALGORITHMS) {
          Map<Integer, Double> quantiles = algorithm.multipleQuantiles(indexes, 100, dataset.clone());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertEquals(-1, matcher.indexIn(s));
        assertEquals(-1, matcher.indexIn(s, 0));
        assertEquals(-1, matcher.indexIn(s, 1));
        assertEquals(-1, matcher.indexIn(s, s.length()));
        try {
          matcher.indexIn(s, s.length() + 1);
          fail();
        } catch (IndexOutOfBoundsException expected) {
        }
        try {
          matcher.indexIn(s, -1);
          fail();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  8. cmd/xl-storage-format-v2.go

    			if err == errDoneForNow {
    				err = nil
    			}
    			return err
    		}
    	}
    	return nil
    }
    
    // isIndexedMetaV2 returns non-nil result if metadata is indexed.
    // Returns 3x nil if not XLV2 or not indexed.
    // If indexed and unable to parse an error will be returned.
    func isIndexedMetaV2(buf []byte) (meta xlMetaBuf, data xlMetaInlineData, err error) {
    	buf, major, minor, err := checkXL2V1(buf)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  9. android/guava-tests/test/com/google/common/math/QuantilesAlgorithmTest.java

        ImmutableSet<Integer> indexes = ImmutableSet.of(50, 90, 99);
        Map<Integer, Double> referenceQuantiles =
            REFERENCE_ALGORITHM.multipleQuantiles(indexes, 100, dataset.clone());
        assertThat(referenceQuantiles.keySet()).isEqualTo(indexes);
        for (QuantilesAlgorithm algorithm : NON_REFERENCE_ALGORITHMS) {
          Map<Integer, Double> quantiles = algorithm.multipleQuantiles(indexes, 100, dataset.clone());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertEquals(-1, matcher.indexIn(s));
        assertEquals(-1, matcher.indexIn(s, 0));
        assertEquals(-1, matcher.indexIn(s, 1));
        assertEquals(-1, matcher.indexIn(s, s.length()));
        try {
          matcher.indexIn(s, s.length() + 1);
          fail();
        } catch (IndexOutOfBoundsException expected) {
        }
        try {
          matcher.indexIn(s, -1);
          fail();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
Back to top