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 21 19:28:08 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 2.2K bytes
    - Viewed (0)
  2. 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 21 09:35:09 GMT 2024
    - Last Modified: Fri May 05 07:58:27 GMT 2023
    - 688 bytes
    - Viewed (0)
  3. 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 21 19:28:08 GMT 2024
    - Last Modified: Tue Oct 25 00:44:15 GMT 2022
    - 1.5K 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 21 19:28:08 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 21 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 21 19:28:08 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 23 11:13:09 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  9. internal/config/dns/types.go

    package dns
    
    import (
    	"encoding/json"
    	"time"
    )
    
    const (
    	defaultTTL            = 30
    	defaultContextTimeout = 5 * time.Minute
    )
    
    // SrvRecord - represents a DNS service record
    type SrvRecord struct {
    	Host     string      `json:"host,omitempty"`
    	Port     json.Number `json:"port,omitempty"`
    	Priority int         `json:"priority,omitempty"`
    	Weight   int         `json:"weight,omitempty"`
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2K bytes
    - Viewed (0)
  10. istioctl/pkg/writer/compare/sds/writer_test.go

    						Valid:        true,
    						SerialNumber: "serial_number",
    						NotAfter:     "expires",
    						NotBefore:    "valid",
    						Type:         "type",
    					},
    				},
    			},
    			expected: append(
    				[]string{"olinger", "serial_number", "expires", "valid", "type"},
    				secretItemColumns...),
    			unexpected: []string{"source", "destination", "certdata"},
    		},
    		{
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri May 29 20:42:01 GMT 2020
    - 4.9K bytes
    - Viewed (0)
Back to top