Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 126 for const2 (0.17 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/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)
  6. 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)
  7. 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)
  8. cmd/kubelet/app/server.go

    	"k8s.io/utils/cpuset"
    	"k8s.io/utils/exec"
    	netutils "k8s.io/utils/net"
    )
    
    func init() {
    	utilruntime.Must(logsapi.AddFeatureGates(utilfeature.DefaultMutableFeatureGate))
    }
    
    const (
    	// Kubelet component name
    	componentKubelet = "kubelet"
    )
    
    // NewKubeletCommand creates a *cobra.Command object with default parameters
    func NewKubeletCommand() *cobra.Command {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:34 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go

    const (
    	SETXOFF  = 1
    	SETXON   = 2
    	SETRTS   = 3
    	CLRRTS   = 4
    	SETDTR   = 5
    	CLRDTR   = 6
    	SETBREAK = 8
    	CLRBREAK = 9
    )
    
    // PurgeComm constants. See https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-purgecomm.
    const (
    	PURGE_TXABORT = 0x0001
    	PURGE_RXABORT = 0x0002
    	PURGE_TXCLEAR = 0x0004
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  10. src/runtime/traceback.go

    // the call instruction, so the return PC ends up above the stack frame.
    // In this file, the return PC is always called LR, no matter how it was found.
    
    const usesLR = sys.MinFrameSize > 0
    
    const (
    	// tracebackInnerFrames is the number of innermost frames to print in a
    	// stack trace. The total maximum frames is tracebackInnerFrames +
    	// tracebackOuterFrames.
    	tracebackInnerFrames = 50
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
Back to top