Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 228 for from (0.18 sec)

  1. internal/s3select/sql/funceval.go

    		if !ok {
    			return nil, errNonStringTrimArg
    		}
    	}
    
    	fromV, ferr := e.TrimFrom.evalNode(r, tableAlias)
    	if ferr != nil {
    		return nil, ferr
    	}
    	inferTypeAsString(fromV)
    	from, ok := fromV.ToString()
    	if !ok {
    		return nil, errNonStringTrimArg
    	}
    
    	result, terr := evalSQLTrim(e.TrimWhere, chars, from)
    	if terr != nil {
    		return nil, terr
    	}
    	return FromString(result), nil
    }
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 13.2K bytes
    - Viewed (0)
  2. istioctl/pkg/kubeinject/kubeinject.go

    	if err != nil {
    		err = multierror.Append(err, fmt.Errorf("istioctl version %s cannot parse mesh config.  Install istioctl from the latest Istio release",
    			version.Info.Version))
    	}
    	return cfg, err
    }
    
    // grabs the raw values from the ConfigMap. These are encoded as JSON.
    func GetValuesFromConfigMap(ctx cli.Context, revision string) (string, error) {
    	client, err := ctx.CLIClient()
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  3. internal/config/notify/legacy.go

    package notify
    
    import (
    	"fmt"
    	"strconv"
    	"strings"
    
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/minio/internal/event/target"
    )
    
    // SetNotifyKafka - helper for config migration from older config.
    func SetNotifyKafka(s config.Config, name string, cfg target.KafkaArgs) error {
    	if !cfg.Enable {
    		return nil
    	}
    
    	if err := cfg.Validate(); err != nil {
    		return err
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Mar 19 04:37:54 GMT 2024
    - 13.1K bytes
    - Viewed (0)
  4. internal/s3select/sql/parser.go

    	From     *PrimaryTerm `parser:" \"FROM\" @@ \")\" "`
    }
    
    // TrimFunc represents TRIM sql function
    type TrimFunc struct {
    	TrimWhere *string      `parser:" \"TRIM\" \"(\" ( @( \"LEADING\" | \"TRAILING\" | \"BOTH\" ) "`
    	TrimChars *PrimaryTerm `parser:"             @@?  "`
    	TrimFrom  *PrimaryTerm `parser:"             \"FROM\" )? @@ \")\" "`
    }
    
    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)
  5. istioctl/pkg/proxyconfig/proxyconfig.go

    	configCmd := &cobra.Command{
    		Use:   "proxy-config",
    		Short: "Retrieve information about proxy configuration from Envoy [kube only]",
    		Long:  `A group of commands used to retrieve information about proxy configuration from the Envoy config dump`,
    		Example: `  # Retrieve information about proxy configuration from an Envoy instance.
      istioctl proxy-config <clusters|listeners|routes|endpoints|bootstrap|log|secret> <pod-name[.namespace]>`,
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  6. misc/go_android_exec/main.go

    		}
    	}
    
    	deviceBin := fmt.Sprintf("%s/%s", deviceGotmp, binName)
    	if err := adb("push", os.Args[1], deviceBin); err != nil {
    		return 0, err
    	}
    
    	// Forward SIGQUIT from the go command to show backtraces from
    	// the binary instead of from this wrapper.
    	quit := make(chan os.Signal, 1)
    	signal.Notify(quit, syscall.SIGQUIT)
    	go func() {
    		for range quit {
    			// We don't have the PID of the running process; use the
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  7. src/bufio/bufio.go

    // from any read operation.)
    func (b *Reader) UnreadRune() error {
    	if b.lastRuneSize < 0 || b.r < b.lastRuneSize {
    		return ErrInvalidUnreadRune
    	}
    	b.r -= b.lastRuneSize
    	b.lastByte = -1
    	b.lastRuneSize = -1
    	return nil
    }
    
    // Buffered returns the number of bytes that can be read from the current buffer.
    func (b *Reader) Buffered() int { return b.w - b.r }
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
  8. cmd/bucket-metadata-sys.go

    }
    
    var errBucketMetadataNotInitialized = errors.New("bucket metadata not initialized yet")
    
    // GetConfig returns a specific configuration from the bucket metadata.
    // The returned object may not be modified.
    // reloaded will be true if metadata refreshed from disk
    func (sys *BucketMetadataSys) GetConfig(ctx context.Context, bucket string) (meta BucketMetadata, reloaded bool, err error) {
    	objAPI := newObjectLayerFn()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  9. cmd/notification.go

    func (g *NotificationGroup) WithRetries(retryCount int) *NotificationGroup {
    	if g != nil {
    		g.retryCount = retryCount
    	}
    	return g
    }
    
    // Wait blocks until all function calls from the Go method have returned, then
    // returns the slice of errors from all function calls.
    func (g *NotificationGroup) Wait() []NotificationPeerErr {
    	g.workers.Wait()
    	return g.errs
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  10. internal/config/config.go

    // ContextKeyString is type(string) for contextKey
    type ContextKeyString string
    
    // ContextKeyForTargetFromConfig - key for context for target from config
    const ContextKeyForTargetFromConfig = ContextKeyString("ContextKeyForTargetFromConfig")
    
    // ParseConfigTargetID - read all targetIDs from reader
    func ParseConfigTargetID(r io.Reader) (ids map[string]bool, err error) {
    	ids = make(map[string]bool)
    	scanner := bufio.NewScanner(r)
    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