Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 1,624 for index2 (0.09 sec)

  1. cmd/format-erasure.go

    	g := errgroup.WithNErrs(len(storageDisks))
    
    	// Write `format.json` to all disks.
    	for index := range storageDisks {
    		index := index
    		g.Go(func() error {
    			if formats[index] == nil {
    				return errDiskNotFound
    			}
    			return saveFormatErasure(storageDisks[index], formats[index], "")
    		}, index)
    	}
    
    	// Wait for the routines to finish.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveAtIndexTester.java

        runRemoveTest(getNumElements() - 1);
      }
    
      private void runRemoveTest(int index) {
        assertEquals(
            Platform.format("remove(%d) should return the element at index %d", index, index),
            getList().get(index),
            getList().remove(index));
        List<E> expected = copyToList(createSamplesArray());
        expected.remove(index);
        expectContents(expected);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReaderTest.java

    import org.junit.Before;
    import org.junit.BeforeClass;
    import org.junit.Test;
    import org.opensearch.action.bulk.BulkRequestBuilder;
    import org.opensearch.action.index.IndexAction;
    import org.opensearch.action.index.IndexRequestBuilder;
    import org.opensearch.client.Client;
    import org.opensearch.index.IndexNotFoundException;
    import org.opensearch.search.sort.SortBuilders;
    import org.opensearch.search.sort.SortOrder;
    
    public class ESSourceReaderTest {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. cmd/erasure.go

    	g := errgroup.WithNErrs(len(disks))
    	for index := range disks {
    		index := index
    		g.Go(func() error {
    			di := madmin.Disk{
    				Endpoint:  endpoints[index].String(),
    				PoolIndex: endpoints[index].PoolIdx,
    				SetIndex:  endpoints[index].SetIdx,
    				DiskIndex: endpoints[index].DiskIdx,
    				Local:     endpoints[index].IsLocal,
    			}
    			if disks[index] == OfflineDisk {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 22:23:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  5. cmd/erasure-metadata_test.go

    	for _, testCase := range testCases {
    		if index := objectPartIndex(fi.Parts, testCase.partNum); index != testCase.expectedIndex {
    			t.Fatalf("%+v: expected = %d, got: %d", testCase, testCase.expectedIndex, index)
    		}
    	}
    }
    
    // Test FileInfo.ObjectToPartOffset().
    func TestObjectToPartOffset(t *testing.T) {
    	// Setup.
    	fi := newFileInfo("test-object", 8, 8)
    	fi.Erasure.Index = 1
    	if !fi.IsValid() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jul 25 21:02:50 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/index/writer/SuggestWriter.java

        SuggestWriterResult delete(Client client, SuggestSettings settings, String index, String id);
    
        SuggestWriterResult deleteByQuery(Client client, SuggestSettings settings, String index, QueryBuilder queryBuilder);
    
        default SuggestItem[] mergeItems(final SuggestItem[] items) {
            final Set<String> mergedIdSet = new HashSet<>();
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/idn/IdnaMappingTableTest.kt

        // Search for misses.
        assertEquals(-1, binarySearch(0, 6) { index -> 0.compareTo(table[index]) })
        assertEquals(-2, binarySearch(0, 6) { index -> 2.compareTo(table[index]) })
        assertEquals(-3, binarySearch(0, 6) { index -> 4.compareTo(table[index]) })
        assertEquals(-4, binarySearch(0, 6) { index -> 6.compareTo(table[index]) })
        assertEquals(-5, binarySearch(0, 6) { index -> 8.compareTo(table[index]) })
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.9K 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. guava/javadoc-link/checker-framework/package-list

    org.checkerframework.checker.i18nformatter.unittests
    org.checkerframework.checker.index
    org.checkerframework.checker.index.lowerbound
    org.checkerframework.checker.index.qual
    org.checkerframework.checker.index.samelen
    org.checkerframework.checker.index.searchindex
    org.checkerframework.checker.index.substringindex
    org.checkerframework.checker.index.upperbound
    org.checkerframework.checker.initialization
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 07 19:00:31 UTC 2017
    - 3.8K bytes
    - Viewed (0)
  10. docs/debugging/reorder-disks/main.go

    	exp := argP.Expand()
    
    	if node == "" {
    		for index, e := range exp {
    			result = append(result, localDisk{index: index, path: strings.Join(e, "")})
    		}
    	} else {
    		for index, e := range exp {
    			u, err := url.Parse(strings.Join(e, ""))
    			if err != nil {
    				return nil, err
    			}
    			if strings.Contains(u.Host, node) {
    				result = append(result, localDisk{index: index, path: u.Path})
    			}
    		}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top