Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 862 for type (0.15 sec)

  1. internal/disk/type_windows.go

    	"path/filepath"
    	"syscall"
    	"unsafe"
    )
    
    // GetVolumeInformation provides windows drive volume information.
    var GetVolumeInformation = kernel32.NewProc("GetVolumeInformationW")
    
    // getFSType returns the filesystem type of the underlying mounted filesystem
    func getFSType(path string) string {
    	volumeNameSize, nFileSystemNameSize := uint32(260), uint32(260)
    	var lpVolumeSerialNumber uint32
    	var lpFileSystemFlags, lpMaximumComponentLength uint32
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 2.2K bytes
    - Viewed (0)
  2. cmd/setup-type.go

    package cmd
    
    // SetupType - enum for setup type.
    type SetupType int
    
    const (
    	// UnknownSetupType - starts with unknown setup type.
    	UnknownSetupType SetupType = iota
    
    	// FSSetupType - FS setup type enum.
    	FSSetupType
    
    	// ErasureSDSetupType - Erasure single drive setup enum.
    	ErasureSDSetupType
    
    	// ErasureSetupType - Erasure setup type enum.
    	ErasureSetupType
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Oct 25 00:44:15 GMT 2022
    - 1.5K bytes
    - Viewed (0)
  3. migrator/table_type.go

    }
    
    // Type returns the type of the table.
    func (ct TableType) Type() string {
    	return ct.TypeValue
    }
    
    // Comment returns the comment of current table.
    func (ct TableType) Comment() (comment string, ok bool) {
    	return ct.CommentValue.String, ct.CommentValue.Valid
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri May 05 07:58:27 GMT 2023
    - 688 bytes
    - Viewed (0)
  4. internal/disk/type_linux.go

    	"f15f":     "ecryptfs",
    	"794c7630": "overlayfs",
    	"2fc12fc1": "zfs",
    	"ff534d42": "cifs",
    	"53464846": "wslfs",
    }
    
    // getFSType returns the filesystem type of the underlying mounted filesystem
    func getFSType(ftype int64) string {
    	fsTypeHex := strconv.FormatInt(ftype, 16)
    	fsTypeString, ok := fsType2StringMap[fsTypeHex]
    	if !ok {
    		return "UNKNOWN"
    	}
    	return fsTypeString
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 1.6K bytes
    - Viewed (3)
  5. migrator/column_type.go

    // are not included.
    // Common type names include "VARCHAR", "TEXT", "NVARCHAR", "DECIMAL", "BOOL",
    // "INT", and "BIGINT".
    func (ct ColumnType) DatabaseTypeName() string {
    	if ct.DataTypeValue.Valid {
    		return ct.DataTypeValue.String
    	}
    	return ct.SQLColumnType.DatabaseTypeName()
    }
    
    // ColumnType returns the database type of the column. like `varchar(16)`
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Mar 24 01:31:58 GMT 2022
    - 3.3K bytes
    - Viewed (0)
  6. internal/disk/type_bsd.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package disk
    
    // getFSType returns the filesystem type of the underlying mounted filesystem
    func getFSType(fstype []int8) string {
    	b := make([]byte, len(fstype))
    	for i, v := range fstype {
    		b[i] = byte(v)
    	}
    	return string(b)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 1.1K bytes
    - Viewed (0)
  7. internal/logger/target/types/types.go

    package types
    
    // TargetType indicates type of the target e.g. console, http, kafka
    type TargetType uint8
    
    //go:generate stringer -type=TargetType -trimprefix=Target $GOFILE
    
    // Constants for target types
    const (
    	_ TargetType = iota
    	TargetConsole
    	TargetHTTP
    	TargetKafka
    )
    
    // TargetStats contains statistics for a target.
    type TargetStats struct {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Nov 10 18:20:21 GMT 2022
    - 1.4K bytes
    - Viewed (0)
  8. src/cmd/cgo/gcc.go

    		}
    	}
    }
    
    // Type returns a *Type with the same memory layout as
    // dtype when used as the type of a variable or a struct field.
    func (c *typeConv) Type(dtype dwarf.Type, pos token.Pos) *Type {
    	return c.loadType(dtype, pos, "")
    }
    
    // loadType recursively loads the requested dtype and its dependency graph.
    func (c *typeConv) loadType(dtype dwarf.Type, pos token.Pos, parent string) *Type {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  9. internal/s3select/sql/parser.go

    )
    
    // Types with custom Capture interface for parsing
    
    // Boolean is a type for a parsed Boolean literal
    type Boolean bool
    
    // Capture interface used by participle
    func (b *Boolean) Capture(values []string) error {
    	*b = Boolean(strings.EqualFold(values[0], "true"))
    	return nil
    }
    
    // LiteralString is a type for parsed SQL string literals
    type LiteralString string
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  10. schema/relationship.go

    	has       RelationshipType = "has"
    )
    
    type Relationships struct {
    	HasOne    []*Relationship
    	BelongsTo []*Relationship
    	HasMany   []*Relationship
    	Many2Many []*Relationship
    	Relations map[string]*Relationship
    
    	EmbeddedRelations map[string]*Relationships
    }
    
    type Relationship struct {
    	Name                     string
    	Type                     RelationshipType
    	Field                    *Field
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 22.4K bytes
    - Viewed (0)
Back to top