Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 1,076 for forNaN (0.05 seconds)

  1. android/guava/src/com/google/common/math/LinearTransformation.java

       * #transform} methods all return {@link Double#NaN}. The {@link #inverse} method returns the same
       * instance.
       */
      public static LinearTransformation forNaN() {
        return NaNLinearTransformation.INSTANCE;
      }
    
      /** Returns whether this is a vertical transformation. */
      public abstract boolean isVertical();
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  2. guava/src/com/google/common/math/PairedStatsAccumulator.java

       *
       * <p>If the dataset contains any non-finite values ({@link Double#POSITIVE_INFINITY}, {@link
       * Double#NEGATIVE_INFINITY}, or {@link Double#NaN}) then the result is {@link
       * LinearTransformation#forNaN()}.
       *
       * @throws IllegalStateException if the dataset is empty or contains a single pair of values, or
       *     both the {@code x} and {@code y} dataset have zero population variance
       */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  3. guava/src/com/google/common/math/PairedStats.java

       *
       * <p>If the dataset contains any non-finite values ({@link Double#POSITIVE_INFINITY}, {@link
       * Double#NEGATIVE_INFINITY}, or {@link Double#NaN}) then the result is {@link
       * LinearTransformation#forNaN()}.
       *
       * @throws IllegalStateException if the dataset is empty or contains a single pair of values, or
       *     both the {@code x} and {@code y} dataset must have zero population variance
       */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/math/StatsTesting.java

        assertThat(transformation.inverse().inverse()).isSameInstanceAs(transformation);
      }
    
      /**
       * Asserts that {@code transformation} behaves as expected for {@link
       * LinearTransformation#forNaN}.
       */
      static void assertLinearTransformationNaN(LinearTransformation transformation) {
        assertThat(transformation.isHorizontal()).isFalse();
        assertThat(transformation.isVertical()).isFalse();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 23.8K bytes
    - Click Count (0)
  5. scripts/format.sh

    #!/usr/bin/env bash
    set -x
    
    ruff check fastapi tests docs_src scripts --fix
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Aug 17 03:59:06 GMT 2024
    - 119 bytes
    - Click Count (0)
  6. cmd/format-erasure_test.go

    func TestFormatErasureEmpty(t *testing.T) {
    	format := newFormatErasureV3(1, 16)
    	format.Erasure.DistributionAlgo = formatErasureVersionV2DistributionAlgoV1
    	formats := make([]*formatErasureV3, 16)
    
    	for j := range 16 {
    		newFormat := format.Clone()
    		newFormat.Erasure.This = format.Erasure.Sets[0][j]
    		formats[j] = newFormat
    	}
    
    	// empty format to indicate disk not found, but this
    	// empty should return false.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  7. cmd/format-erasure.go

    	format := &formatErasureV3{}
    	format.Version = formatMetaVersionV1
    	format.Format = formatBackendErasure
    	if setLen == 1 {
    		format.Format = formatBackendErasureSingle
    	}
    	format.ID = mustGetUUID()
    	format.Erasure.Version = formatErasureVersionV3
    	format.Erasure.DistributionAlgo = formatErasureVersionV3DistributionAlgoV3
    	format.Erasure.Sets = make([][]string, numSets)
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 23.1K bytes
    - Click Count (0)
  8. cmd/xl-storage-format-v1.go

    )
    
    // Valid - tells us if the format is sane by validating
    // format version and erasure coding information.
    func (m *xlMetaV1Object) valid() bool {
    	return isXLMetaFormatValid(m.Version, m.Format) &&
    		isXLMetaErasureInfoValid(m.Erasure.DataBlocks, m.Erasure.ParityBlocks)
    }
    
    // Verifies if the backend format metadata is sane by validating
    // the version string and format style.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Oct 22 15:30:50 GMT 2024
    - 8.4K bytes
    - Click Count (0)
  9. cmd/xl-storage-format-v1_gen.go

    		case "Version":
    			z.Version, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Version")
    				return
    			}
    		case "Format":
    			z.Format, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Format")
    				return
    			}
    		case "Stat":
    			err = z.Stat.DecodeMsg(dc)
    			if err != nil {
    				err = msgp.WrapError(err, "Stat")
    				return
    			}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 41.2K bytes
    - Click Count (0)
  10. cmd/xl-storage-format-v2.go

    	"github.com/tinylib/msgp/msgp"
    )
    
    var (
    	// XL header specifies the format
    	xlHeader = [4]byte{'X', 'L', '2', ' '}
    
    	// Current version being written.
    	xlVersionCurrent [4]byte
    )
    
    //msgp:clearomitted
    
    //go:generate msgp -file=$GOFILE -unexported
    //go:generate stringer -type VersionType,ErasureAlgo -output=xl-storage-format-v2_string.go $GOFILE
    
    const (
    	// Breaking changes.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 65.6K bytes
    - Click Count (1)
Back to Top