Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 1,179 for funcs (0.02 sec)

  1. internal/bucket/versioning/versioning.go

    	default:
    		return Errorf("unsupported Versioning status %s", v.Status)
    	}
    	return nil
    }
    
    // Enabled - returns true if versioning is enabled
    func (v Versioning) Enabled() bool {
    	return v.Status == Enabled
    }
    
    // Versioned returns if 'prefix' has versioning enabled or suspended.
    func (v Versioning) Versioned(prefix string) bool {
    	return v.PrefixEnabled(prefix) || v.PrefixSuspended(prefix)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. internal/jwt/parser_test.go

    )
    
    var (
    	defaultKeyFunc = func(claim *MapClaims) ([]byte, error) { return []byte("HelloSecret"), nil }
    	emptyKeyFunc   = func(claim *MapClaims) ([]byte, error) { return nil, nil }
    	errorKeyFunc   = func(claim *MapClaims) ([]byte, error) { return nil, fmt.Errorf("error loading key") }
    )
    
    var jwtTestData = []struct {
    	name        string
    	tokenString string
    	keyfunc     func(*MapClaims) ([]byte, error)
    	claims      jwt.Claims
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Nov 05 19:20:08 UTC 2021
    - 6K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/parse.go

    	return tok
    }
    
    func (p *Parser) back() {
    	if p.inputPos == 0 {
    		p.errorf("internal error: backing up before BOL")
    	} else {
    		p.inputPos--
    	}
    }
    
    func (p *Parser) peek() lex.ScanToken {
    	if p.more() {
    		return p.input[p.inputPos].ScanToken
    	}
    	return scanner.EOF
    }
    
    func (p *Parser) more() bool {
    	return p.inputPos < len(p.input)
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  4. cmd/tier_gen.go

    package cmd
    
    // Code generated by github.com/tinylib/msgp DO NOT EDIT.
    
    import (
    	"github.com/minio/madmin-go/v3"
    	"github.com/tinylib/msgp/msgp"
    )
    
    // DecodeMsg implements msgp.Decodable
    func (z *TierConfigMgr) DecodeMsg(dc *msgp.Reader) (err error) {
    	var field []byte
    	_ = field
    	var zb0001 uint32
    	zb0001, err = dc.ReadMapHeader()
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0001 > 0 {
    		zb0001--
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 20 00:53:08 UTC 2023
    - 4K bytes
    - Viewed (0)
  5. 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)
  6. cmd/xl-storage.go

    }
    
    // Implements stringer compatible interface.
    func (s *xlStorage) String() string {
    	return s.drivePath
    }
    
    func (s *xlStorage) Hostname() string {
    	return s.endpoint.Host
    }
    
    func (s *xlStorage) Endpoint() Endpoint {
    	return s.endpoint
    }
    
    func (s *xlStorage) Close() error {
    	s.immediatePurgeCancel()
    	return nil
    }
    
    func (s *xlStorage) IsOnline() bool {
    	return true
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/archive/zip/writer.go

    type countWriter struct {
    	w     io.Writer
    	count int64
    }
    
    func (w *countWriter) Write(p []byte) (int, error) {
    	n, err := w.w.Write(p)
    	w.count += int64(n)
    	return n, err
    }
    
    type nopCloser struct {
    	io.Writer
    }
    
    func (w nopCloser) Close() error {
    	return nil
    }
    
    type writeBuf []byte
    
    func (b *writeBuf) uint8(v uint8) {
    	(*b)[0] = v
    	*b = (*b)[1:]
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  10. schema/schema_helper_test.go

    				}
    			}
    
    			if !found {
    				t.Errorf("schema %v failed to found primary key: %v", s, field)
    			}
    		}
    	})
    }
    
    func checkSchemaField(t *testing.T, s *schema.Schema, f *schema.Field, fc func(*schema.Field)) {
    	t.Run("CheckField/"+f.Name, func(t *testing.T) {
    		if fc != nil {
    			fc(f)
    		}
    
    		if f.TagSettings == nil {
    			if f.Tag != "" {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Dec 15 08:31:23 UTC 2023
    - 7.5K bytes
    - Viewed (0)
Back to top