Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 1,025 for _func (0.05 sec)

  1. internal/s3select/sql/utils.go

    	return e.strippedPathExpr
    }
    
    func (e *JSONPathElement) String() string {
    	switch {
    	case e.Key != nil:
    		return e.Key.String()
    	case e.Index != nil:
    		return fmt.Sprintf("[%d]", *e.Index)
    	case e.ObjectWildcard:
    		return ".*"
    	case e.ArrayWildcard:
    		return "[*]"
    	}
    	return ""
    }
    
    // String removes double quotes in quoted identifiers
    func (i *Identifier) String() string {
    	if i.Unquoted != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Nov 10 16:12:50 UTC 2021
    - 3.6K bytes
    - Viewed (0)
  2. internal/config/lambda/target/webhook.go

    	return target.httpClient.Do(req)
    }
    
    // Close the target. Will cancel all active requests.
    func (target *WebhookTarget) Close() error {
    	target.cancel()
    	return nil
    }
    
    func (target *WebhookTarget) init() error {
    	return target.lazyInit.Do(target.initWebhook)
    }
    
    // Only called from init()
    func (target *WebhookTarget) initWebhook() error {
    	args := target.args
    	transport := target.transport
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 08 21:39:49 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. internal/ioutil/ioutil_test.go

    )
    
    type sleepWriter struct {
    	timeout time.Duration
    }
    
    func (w *sleepWriter) Write(p []byte) (n int, err error) {
    	time.Sleep(w.timeout)
    	return len(p), nil
    }
    
    func (w *sleepWriter) Close() error {
    	return nil
    }
    
    func TestDeadlineWorker(t *testing.T) {
    	work := NewDeadlineWorker(500 * time.Millisecond)
    
    	err := work.Run(func() error {
    		time.Sleep(600 * time.Millisecond)
    		return nil
    	})
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. internal/s3select/jstream/decoder.go

    func (d *Decoder) Pos() int { return int(d.pos) }
    
    // Err returns the most recent decoder error if any, or nil
    func (d *Decoder) Err() error { return d.err }
    
    // MaxDepth will set the maximum recursion depth.
    // If the maximum depth is exceeded, ErrMaxDepth is returned.
    // Less than or 0 means no limit (default).
    func (d *Decoder) MaxDepth(n int) *Decoder {
    	d.maxDepth = n
    	return d
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  5. internal/config/identity/openid/openid.go

    	ProviderCfgs map[string]*providerCfg
    
    	pubKeys          publicKeys
    	roleArnPolicyMap map[arn.ARN]string
    
    	transport   http.RoundTripper
    	closeRespFn func(io.ReadCloser)
    }
    
    // Clone returns a cloned copy of OpenID config.
    func (r *Config) Clone() Config {
    	if r == nil {
    		return Config{}
    	}
    	cfg := Config{
    		Enabled:            r.Enabled,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 10 20:16:44 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  6. soft_delete.go

    }
    
    type SoftDeleteQueryClause struct {
    	ZeroValue sql.NullString
    	Field     *schema.Field
    }
    
    func (sd SoftDeleteQueryClause) Name() string {
    	return ""
    }
    
    func (sd SoftDeleteQueryClause) Build(clause.Builder) {
    }
    
    func (sd SoftDeleteQueryClause) MergeClause(*clause.Clause) {
    }
    
    func (sd SoftDeleteQueryClause) ModifyStatement(stmt *Statement) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Feb 01 06:40:55 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  7. internal/grid/grid_types_msgp_test.go

    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z testRequest) Msgsize() (s int) {
    	s = 1 + 4 + msgp.IntSize + 7 + msgp.StringPrefixSize + len(z.String)
    	return
    }
    
    // DecodeMsg implements msgp.Decodable
    func (z *testResponse) DecodeMsg(dc *msgp.Reader) (err error) {
    	var field []byte
    	_ = field
    	var zb0001 uint32
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  8. cmd/local-locker_gen.go

    package cmd
    
    // Code generated by github.com/tinylib/msgp DO NOT EDIT.
    
    import (
    	"github.com/tinylib/msgp/msgp"
    )
    
    // DecodeMsg implements msgp.Decodable
    func (z *localLockMap) DecodeMsg(dc *msgp.Reader) (err error) {
    	var zb0004 uint32
    	zb0004, err = dc.ReadMapHeader()
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	if (*z) == nil {
    		(*z) = make(localLockMap, zb0004)
    	} else if len((*z)) > 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  9. cmd/bucket-stats_gen.go

    func (z *BucketStats) Msgsize() (s int) {
    	s = 1 + 7 + msgp.Int64Size + 17 + z.ReplicationStats.Msgsize() + 11 + 1 + 6 + msgp.ArrayHeaderSize
    	for za0001 := range z.QueueStats.Nodes {
    		s += z.QueueStats.Nodes[za0001].Msgsize()
    	}
    	s += 7 + msgp.Int64Size + 11 + z.ProxyStats.Msgsize()
    	return
    }
    
    // DecodeMsg implements msgp.Decodable
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  10. cmd/bucket-replication-metrics_gen.go

    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z ActiveWorkerStat) Msgsize() (s int) {
    	s = 1 + 5 + msgp.IntSize + 4 + msgp.Float32Size + 4 + msgp.IntSize
    	return
    }
    
    // DecodeMsg implements msgp.Decodable
    func (z *InQueueMetric) DecodeMsg(dc *msgp.Reader) (err error) {
    	var field []byte
    	_ = field
    	var zb0001 uint32
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 33.3K bytes
    - Viewed (0)
Back to top