Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 183 for Like (0.3 sec)

  1. internal/s3select/sql/parser.go

    	Operand  *Operand `parser:"  @@"`
    }
    
    // Like represents the RHS of a LIKE expression
    type Like struct {
    	Not        bool     `parser:" @\"NOT\"? "`
    	Pattern    *Operand `parser:" \"LIKE\" @@ "`
    	EscapeChar *Operand `parser:" (\"ESCAPE\" @@)? "`
    }
    
    // Between represents the RHS of a BETWEEN expression
    type Between struct {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  2. internal/s3select/sql/evaluate.go

    	"github.com/minio/simdjson-go"
    )
    
    var (
    	errInvalidASTNode    = errors.New("invalid AST Node")
    	errExpectedBool      = errors.New("expected bool")
    	errLikeNonStrArg     = errors.New("LIKE clause requires string arguments")
    	errLikeInvalidEscape = errors.New("LIKE clause has invalid ESCAPE character")
    	errNotImplemented    = errors.New("not implemented")
    )
    
    // AST Node Evaluation functions
    //
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 12K bytes
    - Viewed (0)
  3. internal/disk/directio_unsupported.go

    // before issuing IO to underlying devices. ZFS users often enable features like
    // compression and checksumming which currently necessitates mutating data in
    // the kernel.
    //
    // DirectIO semantics for a filesystem like ZFS would be quite different than
    // the semantics on filesystems like XFS, and these semantics are not
    // implemented at this time.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  4. cmd/config-dir.go

    }
    
    // Attempts to create all directories, ignores any permission denied errors.
    func mkdirAllIgnorePerm(path string) error {
    	err := os.MkdirAll(path, 0o700)
    	if err != nil {
    		// It is possible in kubernetes like deployments this directory
    		// is already mounted and is not writable, ignore any write errors.
    		if osIsPermission(err) {
    			err = nil
    		}
    	}
    	return err
    }
    
    func getConfigFile() string {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 3K bytes
    - Viewed (0)
  5. internal/s3select/sql/analysis.go

    		result.combine(e.Between.Start.analyze(s))
    		result.combine(e.Between.End.analyze(s))
    	case e.In != nil:
    		result.combine(e.In.analyze(s))
    	case e.Like != nil:
    		result.combine(e.Like.Pattern.analyze(s))
    		if e.Like.EscapeChar != nil {
    			result.combine(e.Like.EscapeChar.analyze(s))
    		}
    	default:
    		result = qProp{err: errUnexpectedInvalidNode}
    	}
    	return
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  6. internal/s3select/sql/aggregation.go

    		if e.ConditionRHS.In.ListExpr != nil {
    			return e.ConditionRHS.In.ListExpr.aggregateRow(r, tableAlias)
    		}
    		return nil
    	case e.ConditionRHS.Like != nil:
    		err = e.ConditionRHS.Like.Pattern.aggregateRow(r, tableAlias)
    		if err != nil {
    			return err
    		}
    		return e.ConditionRHS.Like.EscapeChar.aggregateRow(r, tableAlias)
    	default:
    		return errInvalidASTNode
    	}
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  7. cmd/erasure-metadata-utils.go

    }
    
    // reduceReadQuorumErrs behaves like reduceErrs but only for returning
    // values of maximally occurring errors validated against readQuorum.
    func reduceReadQuorumErrs(ctx context.Context, errs []error, ignoredErrs []error, readQuorum int) (maxErr error) {
    	return reduceQuorumErrs(ctx, errs, ignoredErrs, readQuorum, errErasureReadQuorum)
    }
    
    // reduceWriteQuorumErrs behaves like reduceErrs but only for returning
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  8. docs/sts/dex.md

    ## Prerequisites
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Mar 21 06:38:06 GMT 2023
    - 3.8K bytes
    - Viewed (1)
  9. internal/ioutil/ioutil.go

    type WriteOnCloser struct {
    	io.Writer
    	hasWritten bool
    }
    
    func (w *WriteOnCloser) Write(p []byte) (int, error) {
    	w.hasWritten = true
    	return w.Writer.Write(p)
    }
    
    // Close closes the WriteOnCloser. It behaves like io.Closer.
    func (w *WriteOnCloser) Close() error {
    	if !w.hasWritten {
    		_, err := w.Write(nil)
    		if err != nil {
    			return err
    		}
    	}
    	if closer, ok := w.Writer.(io.Closer); ok {
    		return closer.Close()
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 11:26:59 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  10. internal/config/config.go

    // DelFrom - deletes all keys in the input reader.
    func (c Config) DelFrom(r io.Reader) error {
    	scanner := bufio.NewScanner(r)
    	for scanner.Scan() {
    		// Skip any empty lines, or comment like characters
    		text := scanner.Text()
    		if text == "" || strings.HasPrefix(text, KvComment) {
    			continue
    		}
    		if err := c.DelKVS(text); err != nil {
    			return err
    		}
    	}
    	return scanner.Err()
    }
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
Back to top