Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for Precision (0.04 sec)

  1. migrator/column_type.go

    	if ct.LengthValue.Valid {
    		return ct.LengthValue.Int64, true
    	}
    	return ct.SQLColumnType.Length()
    }
    
    // DecimalSize returns the scale and precision of a decimal type.
    func (ct ColumnType) DecimalSize() (precision int64, scale int64, ok bool) {
    	if ct.DecimalSizeValue.Valid {
    		return ct.DecimalSizeValue.Int64, ct.ScaleValue.Int64, true
    	}
    	return ct.SQLColumnType.DecimalSize()
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Mar 24 01:31:58 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/LinearTransformationTest.java

        assertThat(transformation.slope()).isWithin(ALLOWED_ERROR).of(slope);
        // Note that we cannot test the actual mapping of points, as the results will be unreliable due
        // to loss of precision with this value of the slope.
      }
    
      public void testMappingWithSlope_maximalSlope() {
        double x1 = 1.2;
        double y1 = 3.4;
        double slope = Double.MAX_VALUE;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/LinearTransformationTest.java

        assertThat(transformation.slope()).isWithin(ALLOWED_ERROR).of(slope);
        // Note that we cannot test the actual mapping of points, as the results will be unreliable due
        // to loss of precision with this value of the slope.
      }
    
      public void testMappingWithSlope_maximalSlope() {
        double x1 = 1.2;
        double y1 = 3.4;
        double slope = Double.MAX_VALUE;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Hashing.java

     * @author Austin Appleby
     */
    @GwtCompatible
    final class Hashing {
      private Hashing() {}
    
      /*
       * These should be ints, but we need to use longs to force GWT to do the multiplications with
       * enough precision.
       */
      private static final long C1 = 0xcc9e2d51;
      private static final long C2 = 0x1b873593;
    
      /*
       * This method was rewritten in Java from an intermediate step of the Murmur hash function in
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/base/super/com/google/common/base/Platform.java

        return toPrecision(value, 4);
      }
    
      @JsMethod(name = "Number.prototype.toPrecision.call", namespace = JsPackage.GLOBAL)
      private static native String toPrecision(double value, int precision);
    
      @JsMethod
      static native boolean stringIsNullOrEmpty(@Nullable String string) /*-{
        return !string;
      }-*/;
    
      @JsMethod
      static native String nullToEmpty(@Nullable String string) /*-{
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Feb 03 21:52:39 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  6. migrator.go

    	ColumnType() (columnType string, ok bool) // varchar(64)
    	PrimaryKey() (isPrimaryKey bool, ok bool)
    	AutoIncrement() (isAutoIncrement bool, ok bool)
    	Length() (length int64, ok bool)
    	DecimalSize() (precision int64, scale int64, ok bool)
    	Nullable() (nullable bool, ok bool)
    	Unique() (unique bool, ok bool)
    	ScanType() reflect.Type
    	Comment() (value string, ok bool)
    	DefaultValue() (value string, ok bool)
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Oct 30 09:15:49 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/pac/PacDataInputStreamTest.java

            data[7] = (byte) (high >> 24);
    
            PacDataInputStream pdis = createInputStream(data);
            Date date = pdis.readFiletime();
            assertNotNull(date);
            // Allow for a small difference due to precision loss
            assertEquals(time / 1000, date.getTime() / 1000);
    
            // Test with null date (0x7fffffff ffffffff)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  8. schema/schema_helper_test.go

    			tests.AssertObjEqual(t, parsedField, f, "Name", "DBName", "BindNames", "DataType", "PrimaryKey", "AutoIncrement", "Creatable", "Updatable", "Readable", "HasDefaultValue", "DefaultValue", "NotNull", "Unique", "Comment", "Size", "Precision", "TagSettings")
    
    			if f.DBName != "" {
    				if field, ok := s.FieldsByDBName[f.DBName]; !ok || parsedField != field {
    					t.Errorf("schema %v failed to look up field with dbname %v", s, f.DBName)
    				}
    			}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Aug 28 02:57:17 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/rpc.idl

    	 * 
    	 * #define SECURITY_NT_AUTHORITY           {0,0,0,0,0,5}
    	 * 
    	 * typedef struct _SID {
    	 *    UCHAR Revision;
    	 *    UCHAR SubAuthorityCount;
    	 *    SID_IDENTIFIER_AUTHORITY IdentifierAuthority;
    	 *    [size_is(SubAuthorityCount)] ULONG SubAuthority[*];
    	 * } SID, *PSID;
    	 */
    
    	typedef struct {
    		uint8_t revision;
    		uint8_t sub_authority_count;
    		uint8_t identifier_authority[6];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/rpc.idl

    	 * 
    	 * #define SECURITY_NT_AUTHORITY           {0,0,0,0,0,5}
    	 * 
    	 * typedef struct _SID {
    	 *    UCHAR Revision;
    	 *    UCHAR SubAuthorityCount;
    	 *    SID_IDENTIFIER_AUTHORITY IdentifierAuthority;
    	 *    [size_is(SubAuthorityCount)] ULONG SubAuthority[*];
    	 * } SID, *PSID;
    	 */
    
    	typedef struct {
    		uint8_t revision;
    		uint8_t sub_authority_count;
    		uint8_t identifier_authority[6];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 1.4K bytes
    - Viewed (0)
Back to top