Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 1,583 for makeT (0.05 sec)

  1. cmd/metrics-v3-types.go

    ) []prometheus.Metric {
    	metrics := make([]prometheus.Metric, 0, len(m.values))
    	for metricName, mv := range m.values {
    		desc := m.descriptors[metricName]
    		promDesc := desc.toPromDesc(namePrefix, extraLabels)
    		for _, v := range mv {
    			// labelValues is in the same order as the variable labels in the
    			// descriptor.
    			labelValues := make([]string, 0, len(v.Labels))
    			for _, k := range desc.VariableLabels {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 30 22:28:46 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  2. cmd/erasure-healing.go

    	copyPartsMetadata := make([]FileInfo, len(partsMetadata))
    	for i := range latestDisks {
    		if latestDisks[i] == nil {
    			continue
    		}
    		copyPartsMetadata[i] = partsMetadata[i]
    	}
    
    	for i := range outDatedDisks {
    		if outDatedDisks[i] == nil {
    			continue
    		}
    		// Make sure to write the FileInfo information
    		// that is expected to be in quorum.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 02 17:50:41 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  3. cmd/erasure-object_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// Make 9 disks offline, which leaves less than quorum number of disks
    	// in a 16 disk Erasure setup. The original disks are 'replaced' with
    	// naughtyDisks that fail after 'f' successful StorageAPI method
    	// invocations, where f - [0,4)
    	for f := 0; f < 2; f++ {
    		diskErrors := make(map[int]error)
    		for i := 0; i <= f; i++ {
    			diskErrors[i] = nil
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  4. cmd/xl-storage-format-v2.go

    			BitrotChecksumAlgo: HighwayHash,
    			ErasureDist:        make([]uint8, len(fi.Erasure.Distribution)),
    			PartNumbers:        make([]int, len(fi.Parts)),
    			PartETags:          nil,
    			PartSizes:          make([]int64, len(fi.Parts)),
    			PartActualSizes:    make([]int64, len(fi.Parts)),
    			MetaSys:            make(map[string][]byte),
    			MetaUser:           make(map[string]string, len(fi.Metadata)),
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  5. proguard/base.pro

    # Note: We intentionally don't add the flags we'd need to make Flags and Enums
    # work. That's because the Proguard configuration required to make them work on
    # optimized code would preclude lots of optimization, like converting enums
    # into ints.
    
    # Throwables uses internal APIs for lazy stack trace resolution
    -dontnote sun.misc.SharedSecrets
    -keep class sun.misc.SharedSecrets {
      *** getJavaLangAccess(...);
    }
    -dontnote sun.misc.JavaLangAccess
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 09 00:29:01 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

     * An implementation of {@code Iterable} which throws an exception on all invocations of the {@link
     * #iterator()} method after the first, and whose iterator is always unmodifiable.
     *
     * <p>The {@code Iterable} specification does not make it absolutely clear what should happen on a
     * second invocation, so implementors have made various choices, including:
     *
     * <ul>
     *   <li>returning the same iterator again
     *   <li>throwing an exception of some kind
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. ci/official/containers/linux_arm64/builder.devtoolset/build_devtoolset.sh

    patch -p1 < /gcc9-fixups.patch
    patch -p1 < /stringop_trunc.patch
    cd ../glibc-build
    ../glibc-src/configure --prefix=/usr --disable-werror --enable-obsolete-rpc --disable-profile
    make -j$(nproc)
    make install DESTDIR=${TARGET}
    cd ..
    
    # Symlinks in the binary distribution are set up for installation in /usr, we
    # need to fix up all the links to stay within /${TARGET}.
    /fixlinks.sh "/${TARGET}"
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Sep 29 00:26:34 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  8. internal/ringbuffer/ring_buffer_test.go

    	})
    	testCancel(func() {
    		rb.Write(make([]byte, sz))
    		rb.WriteByte(0)
    	})
    	testCancel(func() {
    		rb.Read([]byte{10: 1})
    	})
    	testCancel(func() {
    		rb.ReadByte()
    	})
    	testCancel(func() {
    		rb.Write(make([]byte, sz))
    		rb.Flush()
    	})
    }
    
    func TestWriteAfterWriterClose(t *testing.T) {
    	rb := New(100).SetBlocking(true)
    
    	done := make(chan error)
    	go func() {
    		defer close(done)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  9. docs/debugging/reorder-disks/main.go

    	}
    
    	format, err := getFormatJSON(localDisks[0].path)
    	if err != nil {
    		log.Fatal(err)
    	}
    
    	setSize := len(format.XL.Sets[0])
    
    	expectedDisksName := make(map[string]string)
    	actualDisksName := make(map[string]string)
    
    	// Calculate the set/disk index
    	for _, disk := range localDisks {
    		expectedDisksName[fmt.Sprintf("%d-%d", disk.index/setSize, disk.index%setSize)] = disk.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)
  10. cmd/erasure-metadata.go

    	// with less quorum return error.
    	if quorum < 1 {
    		return FileInfo{}, InsufficientReadQuorum{Err: errErasureReadQuorum, Type: RQInsufficientOnlineDrives}
    	}
    	metaHashes := make([]string, len(metaArr))
    	h := sha256.New()
    	for i, meta := range metaArr {
    		if !meta.IsValid() {
    			continue
    		}
    		etagOnly := modTime.Equal(timeSentinel) && (etag != "" && etag == meta.Metadata["etag"])
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
Back to top