Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 1,179 for FUNC (0.03 sec)

  1. cmd/warm-backend.go

    const (
    	_ tierOp = iota
    	tierGet
    	tierPut
    	tierDelete
    )
    
    func (op tierOp) String() string {
    	switch op {
    	case tierGet:
    		return "GET"
    	case tierPut:
    		return "PUT"
    	case tierDelete:
    		return "DELETE"
    	}
    	return "UNKNOWN"
    }
    
    type tierPermErr struct {
    	Op  tierOp
    	Err error
    }
    
    func (te tierPermErr) Error() string {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. api/go1.6.txt

    pkg regexp, method (*Regexp) Copy() *Regexp
    pkg runtime/debug, func SetTraceback(string)
    pkg strconv, func AppendQuoteRuneToGraphic([]uint8, int32) []uint8
    pkg strconv, func AppendQuoteToGraphic([]uint8, string) []uint8
    pkg strconv, func IsGraphic(int32) bool
    pkg strconv, func QuoteRuneToGraphic(int32) string
    pkg strconv, func QuoteToGraphic(string) string
    pkg text/template, func IsTrue(interface{}) (bool, bool)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Jan 13 23:40:13 UTC 2016
    - 12.9K bytes
    - Viewed (0)
  3. src/archive/tar/common.go

    }
    
    // FileInfo returns an fs.FileInfo for the Header.
    func (h *Header) FileInfo() fs.FileInfo {
    	return headerFileInfo{h}
    }
    
    // headerFileInfo implements fs.FileInfo.
    type headerFileInfo struct {
    	h *Header
    }
    
    func (fi headerFileInfo) Size() int64        { return fi.h.Size }
    func (fi headerFileInfo) IsDir() bool        { return fi.Mode().IsDir() }
    func (fi headerFileInfo) ModTime() time.Time { return fi.h.ModTime }
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 13 21:03:27 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/lex/lex_test.go

    		}
    	}
    }
    
    // lines joins the arguments together as complete lines.
    func lines(a ...string) string {
    	return strings.Join(a, "\n") + "\n"
    }
    
    // drain returns a single string representing the processed input tokens.
    func drain(input *Input) string {
    	var buf strings.Builder
    	for {
    		tok := input.Next()
    		if tok == scanner.EOF {
    			return buf.String()
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  5. tests/embedded_struct_test.go

    	}
    }
    
    type Content struct {
    	Content interface{} `gorm:"type:String"`
    }
    
    func (c Content) Value() (driver.Value, error) {
    	// mssql driver with issue on handling null bytes https://github.com/denisenkom/go-mssqldb/issues/530,
    	b, err := json.Marshal(c)
    	return string(b[:]), err
    }
    
    func (c *Content) Scan(src interface{}) error {
    	var value Content
    	str, ok := src.(string)
    	if !ok {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. cmd/erasure-object_test.go

    	}
    	gr.Close()
    	if !bytes.Equal(output.Bytes(), bigData) {
    		t.Fatalf("Corrupted data found")
    	}
    }
    
    func TestObjectQuorumFromMeta(t *testing.T) {
    	ExecObjectLayerTestWithDirs(t, testObjectQuorumFromMeta)
    }
    
    func testObjectQuorumFromMeta(obj ObjectLayer, instanceType string, dirs []string, t TestErrHandler) {
    	bucket := getRandomBucketName()
    
    	var opts ObjectOptions
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  7. callbacks/create.go

    					called = true
    					db.AddError(i.BeforeCreate(tx))
    				}
    			}
    			return called
    		})
    	}
    }
    
    // Create create hook
    func Create(config *Config) func(db *gorm.DB) {
    	supportReturning := utils.Contains(config.CreateClauses, "RETURNING")
    
    	return func(db *gorm.DB) {
    		if db.Error != nil {
    			return
    		}
    
    		if db.Statement.Schema != nil {
    			if !db.Statement.Unscoped {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Apr 08 03:29:55 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  8. src/cmd/cgo/gcc.go

    	//
    	// When the call to C.f is deferred, we use an additional function
    	// literal to evaluate the arguments at the right time.
    	//    defer func() func() {
    	//            _cgo0 := p
    	//            return func() {
    	//                    _cgoCheckPointer(_cgo0, nil)
    	//                    C.f(_cgo0)
    	//            }
    	//    }()()
    	// This works because the defer statement evaluates the first
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:07:34 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  9. cmd/data-usage_test.go

    		}
    		return
    	}
    	xls := xlStorage{drivePath: base, diskInfoCache: cachevalue.New[DiskInfo]()}
    	xls.diskInfoCache.InitOnce(time.Second, cachevalue.Opts{}, func(ctx context.Context) (DiskInfo, error) {
    		return DiskInfo{Total: 1 << 40, Free: 1 << 40}, nil
    	})
    	weSleep := func() bool { return false }
    
    	got, err := scanDataFolder(context.Background(), nil, &xls, dataUsageCache{Info: dataUsageCacheInfo{Name: bucket}}, getSize, 0, weSleep)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 22:23:33 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  10. cmd/sts-handlers_test.go

    			etcdStr = " (with etcd backend)"
    		}
    		t.Run(
    			fmt.Sprintf("Test: %d, ServerType: %s%s", i+1, testCase.serverType, etcdStr),
    			func(t *testing.T) {
    				runAllIAMSTSTests(testCase, &check{t, testCase.serverType})
    			},
    		)
    	}
    }
    
    func (s *TestSuiteIAM) TestSTSServiceAccountsWithUsername(c *check) {
    	ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second)
    	defer cancel()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 97.1K bytes
    - Viewed (0)
Back to top