Search Options

Results per page
Sort
Preferred Languages
Advance

Results 631 - 640 of 1,179 for _func (0.07 sec)

  1. internal/s3select/sql/timestampfuncs.go

    	layoutDay,
    	layoutMinute,
    	layoutSecond,
    	layoutNanosecond,
    }
    
    func parseSQLTimestamp(s string) (t time.Time, err error) {
    	for _, f := range tformats {
    		t, err = time.Parse(f, s)
    		if err == nil {
    			break
    		}
    	}
    	return
    }
    
    // FormatSQLTimestamp - returns the a string representation of the
    // timestamp as used in S3 Select
    func FormatSQLTimestamp(t time.Time) string {
    	_, zoneOffset := t.Zone()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  2. cmd/object-api-options_test.go

    )
    
    // TestGetAndValidateAttributesOpts is currently minimal and covers a subset of getAndValidateAttributesOpts(),
    // it is intended to be expanded when the function is worked on in the future.
    func TestGetAndValidateAttributesOpts(t *testing.T) {
    	globalBucketVersioningSys = &BucketVersioningSys{}
    	bucket := minioMetaBucket
    	ctx := context.Background()
    	testCases := []struct {
    		name            string
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 21 21:13:59 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. docs/site-replication/gen-oidc-sts-cred.go

    import (
    	"context"
    	"fmt"
    	"log"
    	"net/http"
    	"os"
    
    	cr "github.com/minio/minio-go/v7/pkg/credentials"
    	cmd "github.com/minio/minio/cmd"
    )
    
    func main() {
    	ctx := context.Background()
    
    	endpoint := os.Getenv("MINIO_ENDPOINT")
    	if endpoint == "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 29 01:27:09 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  4. cmd/test-utils_test.go

    func resetGlobalEndpoints() {
    	globalEndpoints = EndpointServerPools{}
    }
    
    func resetGlobalIsErasure() {
    	globalIsErasure = false
    }
    
    // reset global heal state
    func resetGlobalHealState() {
    	// Init global heal state
    	if globalAllHealState == nil {
    		globalAllHealState = newHealState(GlobalContext, false)
    	} else {
    		globalAllHealState.Lock()
    		for _, v := range globalAllHealState.healSeqMap {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  5. api/go1.16.txt

    pkg os, const ModeType fs.FileMode
    pkg os, func Chmod(string, fs.FileMode) error
    pkg os, func CreateTemp(string, string) (*File, error)
    pkg os, func DirFS(string) fs.FS
    pkg os, func Lstat(string) (fs.FileInfo, error)
    pkg os, func Mkdir(string, fs.FileMode) error
    pkg os, func MkdirAll(string, fs.FileMode) error
    pkg os, func MkdirTemp(string, string) (string, error)
    pkg os, func OpenFile(string, int, fs.FileMode) (*File, error)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Dec 02 16:30:41 UTC 2022
    - 479.2K bytes
    - Viewed (0)
  6. internal/event/targetlist.go

    			}
    		}()
    	}
    	wk.Wait()
    }
    
    var startOnce sync.Once
    
    // Init initialize target send workers.
    func (list *TargetList) Init(workers int) *TargetList {
    	startOnce.Do(func() {
    		go list.startSendWorkers(workers)
    	})
    	return list
    }
    
    // NewTargetList - creates TargetList.
    func NewTargetList(ctx context.Context) *TargetList {
    	list := &TargetList{
    		targets:     make(map[TargetID]Target),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  7. cmd/stserrorcode_string.go

    // Code generated by "stringer -type=STSErrorCode -trimprefix=Err sts-errors.go"; DO NOT EDIT.
    
    package cmd
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[ErrSTSNone-0]
    	_ = x[ErrSTSAccessDenied-1]
    	_ = x[ErrSTSMissingParameter-2]
    	_ = x[ErrSTSInvalidParameterValue-3]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 03 20:24:25 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  8. tensorflow/c/c_api.h

    // between them if `func` does not already have a gradient. If `func` already
    // has a gradient different from `grad`, an error is returned.
    //
    // `func` must not be null.
    // If `grad` is null and `func` is not in `g`, `func` is added without a
    // gradient.
    // If `grad` is null and `func` is in `g`, TF_GraphCopyFunction is a noop.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  9. api/go1.8.txt

    pkg plugin, func Open(string) (*Plugin, error)
    pkg plugin, method (*Plugin) Lookup(string) (Symbol, error)
    pkg plugin, type Plugin struct
    pkg plugin, type Symbol interface {}
    pkg reflect, func Swapper(interface{}) func(int, int)
    pkg runtime, func MutexProfile([]BlockProfileRecord) (int, bool)
    pkg runtime, func SetMutexProfileFraction(int) int
    pkg runtime, type MemStats struct, NumForcedGC uint32
    pkg sort, func Slice(interface{}, func(int, int) bool)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Dec 21 05:25:57 UTC 2016
    - 16.3K bytes
    - Viewed (0)
  10. cmd/metrics-v3-types.go

    // a function to unlock the buckets.
    func (mg *MetricsGroup) LockAndSetBuckets(buckets []string) func() {
    	mg.bucketsLock.Lock()
    	mg.buckets = buckets
    	return func() {
    		mg.bucketsLock.Unlock()
    	}
    }
    
    // MetricFQN - returns the fully qualified name for the given metric name.
    func (mg *MetricsGroup) MetricFQN(name MetricName) string {
    	v, ok := mg.descriptorMap[name]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 30 22:28:46 UTC 2024
    - 15.6K bytes
    - Viewed (0)
Back to top