Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for shape (0.23 sec)

  1. clause/locking_test.go

    		},
    		{
    			[]clause.Interface{clause.Select{}, clause.From{}, clause.Locking{Strength: clause.LockingStrengthShare, Table: clause.Table{Name: clause.CurrentTable}}},
    			"SELECT * FROM `users` FOR SHARE OF `users`", nil,
    		},
    		{
    			[]clause.Interface{clause.Select{}, clause.From{}, clause.Locking{Strength: clause.LockingStrengthUpdate, Options: clause.LockingOptionsNoWait}},
    			"SELECT * FROM `users` FOR UPDATE NOWAIT", nil,
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Dec 15 08:32:56 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/envoy/configdump/configdump.go

    	)
    
    	md := bootstrapDump.GetBootstrap().GetNode().GetMetadata().GetFields()
    
    	if versionPB, ok := md[istioVersionKey]; ok {
    		version = versionPB.GetStringValue()
    	}
    	if shaPB, ok := md[istioProxyShaKey]; ok {
    		sha = shaPB.GetStringValue()
    		if shaParts := strings.Split(sha, ":"); len(shaParts) > 1 {
    			sha = shaParts[1]
    		}
    	}
    
    	return
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Feb 29 20:46:41 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  3. cmd/metacache.go

    	metacacheBlockSize = 5000
    
    	// metacacheSharePrefix controls whether prefixes on dirty paths are always shared.
    	// This will make `test/a` and `test/b` share listings if they are concurrent.
    	// Enabling this will make cache sharing more likely and cause less IO,
    	// but may cause additional latency to some calls.
    	metacacheSharePrefix = false
    )
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5K bytes
    - Viewed (0)
  4. src/archive/tar/writer_test.go

    			testHeader{Header{
    				Typeflag: TypeReg,
    				Name:     strings.Repeat("longname/", 15) + "file.txt",
    				Size:     6,
    				Mode:     0644,
    				Uid:      501,
    				Gid:      20,
    				Uname:    "shane",
    				Gname:    "staff",
    				ModTime:  time.Unix(1360135598, 0),
    			}, nil},
    			testWrite{"hello\n", 6, nil},
    			testClose{nil},
    		},
    	}, {
    		// This file was produced using GNU tar v1.26:
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
  5. src/archive/tar/reader_test.go

    			Mode:       0664,
    			Uid:        1000,
    			Gid:        1000,
    			Uname:      "shane",
    			Gname:      "shane",
    			Size:       7,
    			ModTime:    time.Unix(1350244992, 23960108),
    			ChangeTime: time.Unix(1350244992, 23960108),
    			AccessTime: time.Unix(1350244992, 23960108),
    			Typeflag:   TypeReg,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Nov 21 21:14:38 GMT 2022
    - 47.1K bytes
    - Viewed (0)
  6. src/cmd/cgo/doc.go

    	named <local> into the program's exported symbol table as
    	<remote>, so that C code can refer to it by that name. This
    	mechanism makes it possible for C code to call back into Go or
    	to share Go's data.
    
    	For compatibility with current versions of SWIG,
    	#pragma dynexport is an alias for //go:cgo_export_dynamic.
    
    //go:cgo_import_static <local>
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  7. cmd/endpoint.go

    		// style is necessary to provide paths other than C:/,
    		// such as F:/, D:/ etc.
    		//
    		// Another additional benefit here is that this style also
    		// supports providing \\host\share support as well.
    		if runtime.GOOS == globalWindowsOSName {
    			if filepath.VolumeName(u.Path[1:]) != "" {
    				u.Path = u.Path[1:]
    			}
    		}
    
    	} else {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 34.1K bytes
    - Viewed (0)
  8. src/cmd/cgo/gcc.go

    	if s == "CFType" {
    		return true
    	}
    	if c.getTypeIDs[s] {
    		return true
    	}
    	if i := strings.Index(s, "Mutable"); i >= 0 && c.getTypeIDs[s[:i]+s[i+7:]] {
    		// Mutable and immutable variants share a type ID.
    		return true
    	}
    	return false
    }
    
    // Comment from Darwin's CFInternal.h
    /*
    // Tagged pointer support
    // Low-bit set means tagged object, next 3 bits (currently)
    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. cmd/xl-storage-format-v2.go

    	}
    
    	// We did not find it, add it.
    	return x.addVersion(ventry)
    }
    
    func (x *xlMetaV2) SharedDataDirCount(versionID [16]byte, dataDir [16]byte) int {
    	// v2 object is inlined, if it is skip dataDir share check.
    	if x.data.entries() > 0 && x.data.find(uuid.UUID(versionID).String()) != nil {
    		return 0
    	}
    	var sameDataDirCount int
    	var decoded xlMetaDataDirDecoder
    	for _, version := range x.versions {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  10. clause/locking.go

    package clause
    
    const (
    	LockingStrengthUpdate    = "UPDATE"
    	LockingStrengthShare     = "SHARE"
    	LockingOptionsSkipLocked = "SKIP LOCKED"
    	LockingOptionsNoWait     = "NOWAIT"
    )
    
    type Locking struct {
    	Strength string
    	Table    Table
    	Options  string
    }
    
    // Name where clause name
    func (locking Locking) Name() string {
    	return "FOR"
    }
    
    // Build build where clause
    func (locking Locking) Build(builder Builder) {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Dec 15 08:32:56 GMT 2023
    - 773 bytes
    - Viewed (0)
Back to top