Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 188 for const2 (0.23 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go

    }
    
    func Futimes(fd int, tv []Timeval) (err error) {
    	// Believe it or not, this is the best we can do on Linux
    	// (and is what glibc does).
    	return Utimes("/proc/self/fd/"+strconv.Itoa(fd), tv)
    }
    
    const ImplementsGetwd = true
    
    //sys	Getcwd(buf []byte) (n int, err error)
    
    func Getwd() (wd string, err error) {
    	var buf [PathMax]byte
    	n, err := Getcwd(buf[0:])
    	if err != nil {
    		return "", err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 77.5K bytes
    - Viewed (0)
  2. tests/migrate_test.go

    		}
    	}
    }
    
    func TestTableType(t *testing.T) {
    	// currently it is only supported for mysql driver
    	if !isMysql() {
    		return
    	}
    
    	const tblName = "cities"
    	const tblSchema = "gorm"
    	const tblType = "BASE TABLE"
    	const tblComment = "foobar comment"
    
    	type City struct {
    		gorm.Model
    		Name string `gorm:"unique"`
    	}
    
    	DB.Migrator().DropTable(&City{})
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Mar 18 11:24:16 UTC 2024
    - 56.2K bytes
    - Viewed (0)
  3. cmd/iam.go

    // Types of users configured in the server.
    const (
    	// This mode uses the internal users system in MinIO.
    	MinIOUsersSysType UsersSysType = "MinIOUsersSys"
    
    	// This mode uses users and groups from a configured LDAP
    	// server.
    	LDAPUsersSysType UsersSysType = "LDAPUsersSys"
    )
    
    const (
    	statusEnabled  = "enabled"
    	statusDisabled = "disabled"
    )
    
    const (
    	embeddedPolicyType  = "embedded-policy"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  4. src/crypto/tls/tls_test.go

    	if err != nil {
    		panic(err)
    	}
    	rootCAs := x509.NewCertPool()
    	rootCAs.AddCert(issuer)
    
    	now := func() time.Time { return time.Unix(1476984729, 0) }
    
    	const alpnProtocol = "golang"
    	const serverName = "example.golang"
    	var scts = [][]byte{[]byte("dummy sct 1"), []byte("dummy sct 2")}
    	var ocsp = []byte("dummy ocsp")
    
    	for _, v := range []uint16{VersionTLS12, VersionTLS13} {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 60.5K bytes
    - Viewed (0)
  5. src/syscall/zerrors_linux_amd64.go

    // mkerrors.sh -m64
    // Code generated by the command above; DO NOT EDIT.
    
    // Created by cgo -godefs - DO NOT EDIT
    // cgo -godefs -- -m64 _const.go
    
    //go:build amd64 && linux
    
    package syscall
    
    const (
    	AF_ALG                           = 0x26
    	AF_APPLETALK                     = 0x5
    	AF_ASH                           = 0x12
    	AF_ATMPVC                        = 0x8
    	AF_ATMSVC                        = 0x14
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 19 16:12:50 UTC 2022
    - 57.4K bytes
    - Viewed (0)
  6. src/syscall/zerrors_openbsd_arm.go

    // mkerrors.sh
    // Code generated by the command above; DO NOT EDIT.
    
    // Created by cgo -godefs - DO NOT EDIT
    // cgo -godefs -- _const.go
    
    //go:build arm && openbsd
    
    package syscall
    
    const (
    	AF_APPLETALK                      = 0x10
    	AF_BLUETOOTH                      = 0x20
    	AF_CCITT                          = 0xa
    	AF_CHAOS                          = 0x5
    	AF_CNT                            = 0x15
    	AF_COIP                           = 0x14
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 62.5K bytes
    - Viewed (0)
  7. src/vendor/golang.org/x/net/dns/dnsmessage/message.go

    // unnecessary packing and unpacking as much as possible.
    package dnsmessage
    
    import (
    	"errors"
    )
    
    // Message formats
    
    // A Type is a type of DNS request and response.
    type Type uint16
    
    const (
    	// ResourceHeader.Type and Question.Type
    	TypeA     Type = 1
    	TypeNS    Type = 2
    	TypeCNAME Type = 5
    	TypeSOA   Type = 6
    	TypePTR   Type = 12
    	TypeMX    Type = 15
    	TypeTXT   Type = 16
    	TypeAAAA  Type = 28
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 00:09:40 UTC 2024
    - 69K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/prove.go

    		//
    		//	loop:
    		//		ind = (Phi (Const [x]) nxt),
    		//		if ind < end
    		//		then goto enter_loop
    		//		else goto exit_loop
    		//
    		//	enter_loop:
    		//		do something without using ind nor nxt
    		//		nxt = inc + ind
    		//		goto loop
    		//
    		//	exit_loop:
    		//
    		// is rewritten to:
    		//
    		//	loop:
    		//		ind = (Phi end nxt)
    		//		if (Const [x]) < ind
    		//		then goto enter_loop
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:21 UTC 2024
    - 48.9K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types/type.go

    type Object interface {
    	Pos() src.XPos
    	Sym() *Sym
    	Type() *Type
    }
    
    //go:generate stringer -type Kind -trimprefix T type.go
    
    // Kind describes a kind of type.
    type Kind uint8
    
    const (
    	Txxx Kind = iota
    
    	TINT8
    	TUINT8
    	TINT16
    	TUINT16
    	TINT32
    	TUINT32
    	TINT64
    	TUINT64
    	TINT
    	TUINT
    	TUINTPTR
    
    	TCOMPLEX64
    	TCOMPLEX128
    
    	TFLOAT32
    	TFLOAT64
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/zerrors_aix_ppc64.go

    // mkerrors.sh -maix64
    // Code generated by the command above; see README.md. DO NOT EDIT.
    
    //go:build ppc64 && aix
    
    // Code generated by cmd/cgo -godefs; DO NOT EDIT.
    // cgo -godefs -- -maix64 _const.go
    
    package unix
    
    import "syscall"
    
    const (
    	AF_APPLETALK                  = 0x10
    	AF_BYPASS                     = 0x19
    	AF_CCITT                      = 0xa
    	AF_CHAOS                      = 0x5
    	AF_DATAKIT                    = 0x9
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 52.7K bytes
    - Viewed (0)
Back to top