Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 326 for asDays (0.08 sec)

  1. internal/s3select/sql/record.go

    	// Replaces the underlying data
    	Replace(k interface{}) error
    }
    
    // IterToValue converts a simdjson Iter to its underlying value.
    // Objects are returned as simdjson.Object
    // Arrays are returned as []interface{} with parsed values.
    func IterToValue(iter simdjson.Iter) (interface{}, error) {
    	switch iter.Type() {
    	case simdjson.TypeString:
    		v, err := iter.String()
    		if err != nil {
    			return nil, err
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 3.4K bytes
    - Viewed (0)
  2. internal/pubsub/pubsub.go

    	types          uint64
    	numSubscribers int32
    	maxSubscribers int32
    
    	// not atomics:
    	subs []*Sub[T]
    	sync.RWMutex
    }
    
    // Publish message to the subscribers.
    // Note that publish is always non-blocking send so that we don't block on slow receivers.
    // Hence receivers should use buffered channel so as not to miss the published events.
    func (ps *PubSub[T, M]) Publish(item T) {
    	ps.RLock()
    	defer ps.RUnlock()
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Feb 06 16:57:30 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. internal/etag/etag.go

    // It operates in one of two modes:
    //   - strict
    //   - non-strict
    //
    // In strict mode, parse only accepts ETags that
    // are AWS S3 compatible. In particular, an AWS
    // S3 ETag always consists of a 128 bit checksum
    // value and an optional -<part-number> suffix.
    // Therefore, s must have the following form in
    // strict mode:  <32-hex-characters>[-<integer>]
    //
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sun Mar 10 21:09:36 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. docs/en/docs/benchmarks.md

    * **FastAPI**:
        * The same way that Starlette uses Uvicorn and cannot be faster than it, **FastAPI** uses Starlette, so it cannot be faster than it.
        * FastAPI provides more features on top of Starlette. Features that you almost always need when building APIs, like data validation and serialization. And by using it, you get automatic documentation for free (the automatic documentation doesn't even add overhead to running applications, it is generated on startup).
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. ci/official/utilities/code_check_changed_files.bats

    setup_file() {
        bazel version  # Start the bazel server
    
        # Fixes "fatal: detected dubious ownership in repository" for Docker.
        git config --system --add safe.directory '*'
        git config --system protocol.file.allow always
    
        # Note that you could generate a list of all the affected targets with e.g.:
        # bazel query $(paste -sd "+" $BATS_FILE_TMPDIR/changed_files) --keep_going
    Registered: Tue Oct 29 12:39:09 UTC 2024
    - Last Modified: Wed Jan 10 19:39:41 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. internal/s3select/select.go

    			Quote:          []rune(s3Select.Output.CSVArgs.QuoteCharacter)[0],
    			QuoteEscape:    []rune(s3Select.Output.CSVArgs.QuoteEscapeCharacter)[0],
    			AlwaysQuote:    strings.EqualFold(s3Select.Output.CSVArgs.QuoteFields, "always"),
    		}
    		err := record.WriteCSV(bufioWriter, opts)
    		if err != nil {
    			return err
    		}
    		err = bufioWriter.Flush()
    		if err != nil {
    			return err
    		}
    		if buf.Bytes()[buf.Len()-1] == '\n' {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  7. internal/s3select/json/record.go

    		v = s
    	} else if value.IsNull() {
    		v = nil
    	} else if value.IsMissing() {
    		return r, nil
    	} else if b, ok := value.ToBytes(); ok {
    		// This can either be raw json or a CSV value.
    		// Only treat objects and arrays as JSON.
    		if len(b) > 0 && (b[0] == '{' || b[0] == '[') {
    			v = RawJSON(b)
    		} else {
    			v = string(b)
    		}
    	} else if arr, ok := value.ToArray(); ok {
    		v = arr
    	} else {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. internal/logger/targets.go

    }
    
    var (
    
    	// systemTargets is the set of enabled loggers.
    	systemTargets = newTargetsList()
    
    	// auditTargets is the list of enabled audit loggers
    	auditTargets = newTargetsList()
    
    	// This is always set represent /dev/console target
    	consoleTgt Target
    )
    
    // SystemTargets returns active targets.
    // Returned slice may not be modified in any way.
    func SystemTargets() []Target {
    	return systemTargets.get()
    }
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Jun 03 15:44:50 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. internal/s3select/csv/record.go

    	columnNames  []string
    	csvRecord    []string
    	nameIndexMap map[string]int64
    }
    
    // Get - gets the value for a column name. CSV fields do not have any
    // defined type (other than the default string). So this function
    // always returns fields using sql.FromBytes so that the type
    // specified/implied by the query can be used, or can be automatically
    // converted based on the query.
    func (r *Record) Get(name string) (*sql.Value, error) {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. internal/s3select/parquet/reader.go

    	if se == nil {
    		return v, nil
    	}
    
    	var value interface{}
    	switch val := v.(type) {
    	case []byte:
    		// TODO: only strings are supported in s3select output (not
    		// binary arrays) - perhaps we need to check the annotation to
    		// ensure it's UTF8 encoded.
    		value = string(val)
    	case [12]byte:
    		// TODO: This is returned for the parquet INT96 type. We just
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top