Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Hillis (0.18 sec)

  1. schema/field.go

    		if field.DataType == Time {
    			field.AutoCreateTime = UnixTime
    		} else if strings.ToUpper(v) == "NANO" {
    			field.AutoCreateTime = UnixNanosecond
    		} else if strings.ToUpper(v) == "MILLI" {
    			field.AutoCreateTime = UnixMillisecond
    		} else {
    			field.AutoCreateTime = UnixSecond
    		}
    	}
    
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 32K bytes
    - Viewed (1)
  2. src/bufio/bufio.go

    // If ReadSlice encounters an error before finding a delimiter,
    // it returns all the data in the buffer and the error itself (often io.EOF).
    // ReadSlice fails with error [ErrBufferFull] if the buffer fills without a delim.
    // Because the data returned from ReadSlice will be overwritten
    // by the next I/O operation, most clients should use
    // [Reader.ReadBytes] or ReadString instead.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
  3. src/cmd/cgo/ast.go

    	f.walk(ast2, ctxProg, (*File).saveExprs)
    
    	// Accumulate exported functions.
    	// The comments are only on ast1 but we need to
    	// save the function bodies from ast2.
    	// The first walk fills in ExpFunc, and the
    	// second walk changes the entries to
    	// refer to ast2 instead.
    	f.walk(ast1, ctxProg, (*File).saveExport)
    	f.walk(ast2, ctxProg, (*File).saveExport2)
    
    	f.Comments = ast1.Comments
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  4. src/bufio/bufio_test.go

    	b, err := io.ReadAll(r)
    	w.buf = append(w.buf, b...)
    	w.readFromBytes += len(b)
    	return int64(len(b)), err
    }
    
    // Test that calling (*Writer).ReadFrom with a partially-filled buffer
    // fills the buffer before switching over to ReadFrom.
    func TestWriterReadFromWithBufferedData(t *testing.T) {
    	const bufsize = 16
    
    	input := createTestInput(64)
    	rfw := &readFromWriter{}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  5. internal/s3select/csv/reader_contrib_test.go

    3389229,2,2014-03-07 09:46:32,2014-03-07 09:55:01,N,1,-73.952301025390625,40.789798736572266,-73.935806274414062,40.794448852539063,1,1.67,8,0,0.5,2,0,,,10.5,1,1,75,74,green,0.00,3.9,0.0,37,26,7.83,1267,168,1,Manhattan,016800,1016800,E,MN33,East...
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 38.5K bytes
    - Viewed (0)
  6. cmd/prepare-storage.go

    		return nil, nil, errInvalidArgument
    	}
    
    	// prepare getElapsedTime() to calculate elapsed time since we started trying formatting disks.
    	// All times are rounded to avoid showing milli, micro and nano seconds
    	formatStartTime := time.Now().Round(time.Second)
    	getElapsedTime := func() string {
    		return time.Now().Round(time.Second).Sub(formatStartTime).String()
    	}
    
    	var (
    		tries   int
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  7. internal/s3select/parquet/reader.go

    						return nil, errors.New("Invalid LogicalType annotation found")
    					}
    					value = sql.FormatSQLTimestamp(time.Unix(0, 0).Add(duration))
    				}
    			} else if se.GetConvertedType() == parquettypes.ConvertedType_TIMESTAMP_MILLIS {
    				duration := time.Duration(val) * time.Millisecond
    				value = sql.FormatSQLTimestamp(time.Unix(0, 0).Add(duration))
    			} else if se.GetConvertedType() == parquettypes.ConvertedType_TIMESTAMP_MICROS {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 14 13:54:47 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  8. tests/customize_field_test.go

    		AutoUnixCreateTime      int32  `gorm:"autocreatetime"`
    		AutoUnixMilliCreateTime int    `gorm:"autocreatetime:milli"`
    		AutoUnixNanoCreateTime  int64  `gorm:"autocreatetime:nano"`
    		AutoUnixUpdateTime      uint32 `gorm:"autoupdatetime"`
    		AutoUnixMilliUpdateTime int    `gorm:"autoupdatetime:milli"`
    		AutoUnixNanoUpdateTime  uint64 `gorm:"autoupdatetime:nano"`
    	}
    
    	DB.Migrator().DropTable(&CustomizeFieldStruct{})
    
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Fri Sep 11 09:33:31 GMT 2020
    - 6.9K bytes
    - Viewed (0)
  9. internal/mountinfo/mountinfo_linux.go

    		return fmt.Errorf(msg, path, crossMounts)
    	}
    	return nil
    }
    
    // readProcMounts reads the given mountFilePath (normally /proc/mounts) and produces a hash
    // of the contents.  If the out argument is not nil, this fills it with MountPoint structs.
    func readProcMounts(mountFilePath string) (mountInfos, error) {
    	file, err := os.Open(mountFilePath)
    	if err != nil {
    		return nil, err
    	}
    	defer file.Close()
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 4.7K bytes
    - Viewed (0)
  10. src/archive/tar/writer.go

    	}
    	return nil
    }
    
    type (
    	stringFormatter func([]byte, string)
    	numberFormatter func([]byte, int64)
    )
    
    // templateV7Plus fills out the V7 fields of a block using values from hdr.
    // It also fills out fields (uname, gname, devmajor, devminor) that are
    // shared in the USTAR, PAX, and GNU formats using the provided formatters.
    //
    // The block returned is only valid until the next call to
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
Back to top