Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 342 for got (0.04 sec)

  1. cmd/background-newdisks-heal-ops.go

    	}
    	var h healingTracker
    	_, err = h.UnmarshalMsg(b)
    	if err != nil {
    		return nil, err
    	}
    	if h.ID != diskID && h.ID != "" {
    		return nil, fmt.Errorf("loadHealingTracker: drive id mismatch expected %s, got %s", h.ID, diskID)
    	}
    	h.disk = disk
    	h.ID = diskID
    	h.mu = &sync.RWMutex{}
    	return &h, nil
    }
    
    // newHealingTracker will create a new healing tracker for the disk.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  2. lib/fips140/v1.0.0.zip

    from RFC 8032, Section 5.1, converted to // little endian hex. x := "1ad5258f602d56c9b2a7" y := "58666666666666666666" if got := hex.EncodeToString(B.x.Bytes()); got != x { t.Errorf("wrong B.x: got %s, expected %s", got, x) } if got := hex.EncodeToString(B.y.Bytes()); got != y { t.Errorf("wrong B.y: got %s, expected %s", got, y) } if B.z.Equal(feOne) != 1 { t.Errorf("wrong B.z: got %v, expected 1", B.z) } // Check that t is correct. checkOnCurve(t, B) } func TestAddSubNegOnBaseP(t *testing.T) { checkLhs,...
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jan 29 15:10:35 UTC 2025
    - 635K bytes
    - Viewed (0)
  3. cmd/test-utils_test.go

    	return s
    }
    
    func TestToErrIsNil(t *testing.T) {
    	if toObjectErr(nil) != nil {
    		t.Errorf("Test expected to return nil, failed instead got a non-nil value %s", toObjectErr(nil))
    	}
    	if toStorageErr(nil) != nil {
    		t.Errorf("Test expected to return nil, failed instead got a non-nil value %s", toStorageErr(nil))
    	}
    	ctx := t.Context()
    	if toAPIError(ctx, nil) != noError {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 77K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        assertThrows(IllegalStateException.class, () -> builder2.weakValues());
      }
    
      @GwtIncompatible // Duration
      @IgnoreJRERequirement // No more dangerous than wherever the caller got the Duration from
      public void testLargeDurationsAreOk() {
        Duration threeHundredYears = Duration.ofDays(365 * 300);
        CacheBuilder<Object, Object> unused =
            CacheBuilder.newBuilder()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/BaseEncodingTest.java

              // decoding stream may differ from the messages for the decode methods.
            } catch (IOException e) {
              fail("Expected DecodingException but got: " + e);
            }
          }
        };
    
        abstract void assertFailsToDecode(
            BaseEncoding encoding, String cannotDecode, @Nullable String expectedMessage);
      }
    
      @GwtIncompatible // Reader/Writer
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  6. cmd/api-router.go

    		throttledHandler := gzippedHandler
    		if !handlerFlags.has(noThrottleS3HFlag) {
    			throttledHandler = maxClients(throttledHandler)
    		}
    
    		// Collect API stats using the API name got from reflection in
    		// `getHandlerName`.
    		statsCollectedHandler := collectAPIStats(handlerName, throttledHandler)
    
    		// Call the final handler.
    		statsCollectedHandler(w, r)
    	}
    
    	return handler
    }
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed May 07 15:37:12 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  7. cmd/object-api-utils.go

    	failOnErr(r.Close())
    	// Decompression reader.
    	s2Reader := s2.NewReader(bytes.NewBuffer(b))
    	// Apply the skipLen on the decompressed stream.
    	failOnErr(s2Reader.Skip(skip))
    	got, err := io.ReadAll(s2Reader)
    	failOnErr(err)
    	if !bytes.Equal(got, data[skip:]) {
    		logger.Fatal(errSelfTestFailure, "compress: self-test roundtrip mismatch.")
    	}
    }
    
    // getDiskInfos returns the disk information for the provided disks.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jun 25 15:08:54 UTC 2025
    - 37.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTransportImpl.java

                ((DfsReferralDataImpl) dr).fixupDomain(req.getDomain());
            }
            if (log.isDebugEnabled()) {
                log.debug("Got referral " + dr);
            }
    
            getContext().getDfs().cache(getContext(), path, dr);
            throw new DfsReferral(dr);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  9. cmd/object-api-errors.go

    type InvalidPart struct {
    	PartNumber int
    	ExpETag    string
    	GotETag    string
    }
    
    func (e InvalidPart) Error() string {
    	return fmt.Sprintf("Specified part could not be found. PartNumber %d, Expected %s, got %s",
    		e.PartNumber, e.ExpETag, e.GotETag)
    }
    
    // PartTooSmall - error if part size is less than 5MB.
    type PartTooSmall struct {
    	PartSize   int64
    	PartNumber int
    	PartETag   string
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 09 02:05:14 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  10. cmd/data-scanner.go

    				reportNotFound: true,
    				minDisks:       f.disksQuorum,
    				agreed: func(entry metaCacheEntry) {
    					f.updateCurrentPath(entry.name)
    					if f.dataUsageScannerDebug {
    						console.Debugf(healObjectsPrefix+" got agreement: %v\n", entry.name)
    					}
    				},
    				// Some disks have data for this.
    				partial: func(entries metaCacheEntries, errs []error) {
    					if !f.shouldHeal() {
    						cancel()
    						return
    					}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 45.5K bytes
    - Viewed (0)
Back to top