Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 68 for Below (0.13 sec)

  1. tests/joins_test.go

    	DB.Create(&companyB)
    
    	user := User{Name: "kingGo", CompanyID: &companyB.ID}
    	DB.Create(&user)
    
    	query := DB.Model(&User{}).Joins("Company")
    	// Bug happens when .Count is called on a query.
    	// Removing the below two lines or downgrading to gorm v1.20.12 will make this test pass.
    	var total int64
    	query.Count(&total)
    
    	var result User
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Apr 26 14:19:32 GMT 2023
    - 13.5K bytes
    - Viewed (1)
  2. cni/pkg/nodeagent/podcgroupns.go

    func GetFd(f fs.File) (uintptr, error) {
    	if fdable, ok := f.(interface{ Fd() uintptr }); ok {
    		return fdable.Fd(), nil
    	}
    
    	return 0, fmt.Errorf("unable to get fd")
    }
    
    /// mostly copy pasted from spire below:
    
    // regexes listed here have to exclusively match a cgroup path
    // the regexes must include two named groups "poduid" and "containerid"
    // if the regex needs to exclude certain substrings, the "mustnotmatch" group can be used
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 11K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/lex/input.go

    	if in.peek {
    		in.peek = false
    		tok := in.peekToken
    		in.text = in.peekText
    		return tok
    	}
    	// If we cannot generate a token after 100 macro invocations, we're in trouble.
    	// The usual case is caught by Push, below, but be safe.
    	for nesting := 0; nesting < 100; {
    		tok := in.Stack.Next()
    		switch tok {
    		case '#':
    			if !in.beginningOfLine {
    				in.Error("'#' must be first item on line")
    			}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  4. cmd/data-usage_test.go

    			// Gets compacted at this level...
    			path:   "bucket/dirwithalot/0",
    			size:   filesBelowT,
    			objs:   filesBelowT,
    			oSizes: sizeHistogram{0: filesBelowT},
    		},
    		{
    			// Gets compacted at this level (below obj threshold)...
    			path:   "bucket/dirwithalot/0",
    			size:   filesBelowT,
    			objs:   filesBelowT,
    			oSizes: sizeHistogram{0: filesBelowT},
    		},
    		{
    			// Gets compacted at this level...
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Mar 27 15:10:40 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  5. cmd/object-api-utils.go

    	compReadAheadBuffers = 5
    	// Size of each buffer.
    	compReadAheadBufSize = 1 << 20
    	// Pad Encrypted+Compressed files to a multiple of this.
    	compPadEncrypted = 256
    	// Disable compressed file indices below this size
    	compMinIndexSize = 8 << 20
    )
    
    // isMinioBucket returns true if given bucket is a MinIO internal
    // bucket and false otherwise.
    func isMinioMetaBucketName(bucket string) bool {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  6. cmd/object-api-multipart_test.go

    		inputDataSize   int64
    		expectedMd5     string
    	}{
    		// Case 1-4.
    		// Creating sequence of parts for same uploadID.
    		// Used to ensure that the ListMultipartResult produces one output for the four parts uploaded below for the given upload ID.
    		{bucketNames[0], objectNames[0], uploadIDs[0], 1, "abcd", "e2fc714c4727ee9395f324cd2e7f331f", int64(len("abcd")), "e2fc714c4727ee9395f324cd2e7f331f"},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  7. cmd/config-dir.go

    package cmd
    
    import (
    	"os"
    	"path/filepath"
    
    	homedir "github.com/mitchellh/go-homedir"
    )
    
    const (
    	// Default minio configuration directory where below configuration files/directories are stored.
    	defaultMinioConfigDir = ".minio"
    
    	// Directory contains below files/directories for HTTPS configuration.
    	certsDir = "certs"
    
    	// Directory contains all CA certificates other than system defaults for HTTPS.
    	certsCADir = "CAs"
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 3K bytes
    - Viewed (0)
  8. internal/s3select/message.go

    		progressTickerC = progressTicker.C
    	}
    	recordStagingTicker := time.NewTicker(500 * time.Millisecond)
    
    	// Exit conditions:
    	//
    	// 1. If a writer.write() returns false, select loop below exits and
    	// closes `doneCh` to indicate to caller to also exit.
    	//
    	// 2. If caller (Evaluate()) has an error, it sends an error
    	// message and waits for this go-routine to quit in
    	// FinishWithError()
    	//
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 30 15:26:43 GMT 2022
    - 15.2K bytes
    - Viewed (0)
  9. internal/s3select/select.go

    func (s3Select *S3Select) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
    	// S3 also supports the older SelectObjectContentRequest tag,
    	// though it is no longer found in documentation. This is
    	// checked and renamed below to allow older clients to also
    	// work.
    	if start.Name.Local == legacyXMLName {
    		start.Name = xml.Name{Space: "", Local: "SelectRequest"}
    	}
    
    	// Make subtype to avoid recursive UnmarshalXML().
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 06 22:26:08 GMT 2023
    - 21K bytes
    - Viewed (0)
  10. internal/s3select/sql/value.go

    		a.setFloat(f)
    		return nil
    	}
    
    	err := fmt.Errorf("Could not convert %q to a number", string(a.value.([]byte)))
    	return errInvalidDataType(err)
    }
    
    // All the bytesTo* functions defined below assume the value is a byte-slice.
    
    // Converts untyped value into int. The bool return implies success -
    // it returns false only if there is a conversion failure.
    func (v Value) bytesToInt() (int64, bool) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 20.2K bytes
    - Viewed (0)
Back to top