Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 240 for formik (0.2 sec)

  1. cni/pkg/nodeagent/podcgroupns.go

    	GroupPath      string
    }
    
    // GetCGroups returns a slice of cgroups for pid using fs for filesystem calls.
    //
    // The expected cgroup format is "hierarchy-ID:controller-list:cgroup-path", and
    // this function will return an error if every cgroup does not meet that format.
    //
    // For more information, see:
    //   - http://man7.org/linux/man-pages/man7/cgroups.7.html
    //   - https://www.kernel.org/doc/Documentation/cgroup-v2.txt
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 11K bytes
    - Viewed (0)
  2. cmd/object-api-deleteobject_test.go

    			[]objectUpload{{"object0", "content"}, {"object1", "content"}},
    			"object0",
    			[]string{"object1"},
    		},
    		// Test 2: remove an object inside a directory and checks it is deleted
    		// with its parent since this former becomes empty
    		{
    			"bucket2",
    			[]objectUpload{{"object0", "content"}, {"dir/object1", "content"}},
    			"dir/object1",
    			[]string{"object0"},
    		},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 23 15:46:00 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  3. internal/s3select/parquet/reader.go

    }
    
    // convertFromAnnotation - converts values based on the Parquet column's type
    // annotations. LogicalType annotations if present override the deprecated
    // ConvertedType annotations. Ref:
    // https://github.com/apache/parquet-format/blob/master/LogicalTypes.md
    func convertFromAnnotation(se *parquettypes.SchemaElement, v interface{}) (interface{}, error) {
    	if se == nil {
    		return v, nil
    	}
    
    	var value interface{}
    	switch val := v.(type) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 14 13:54:47 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  4. internal/bucket/lifecycle/rule.go

    		return p
    	}
    	return ""
    }
    
    // Tags - a rule can either have tag under <filter></filter> or under
    // <filter><and></and></filter>. This method returns all the tags from the
    // rule in the format tag1=value1&tag2=value2
    func (r Rule) Tags() string {
    	if !r.Filter.Tag.IsEmpty() {
    		return r.Filter.Tag.String()
    	}
    	if len(r.Filter.And.Tags) != 0 {
    		var buf bytes.Buffer
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  5. internal/config/etcd/etcd.go

    	}
    
    	cfg.Enabled = true
    	cfg.DialTimeout = defaultDialTimeout
    	cfg.DialKeepAliveTime = defaultDialKeepAlive
    	// Disable etcd client SDK logging, etcd client
    	// incorrectly starts logging in unexpected data
    	// format.
    	cfg.LogConfig = &zap.Config{
    		Level:    zap.NewAtomicLevelAt(zap.FatalLevel),
    		Encoding: "console",
    	}
    	cfg.Endpoints = etcdEndpoints
    	cfg.CoreDNSPath = env.Get(EnvEtcdCoreDNSPath, kvs.Get(CoreDNSPath))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  6. internal/disk/stat_linux.go

    func readDriveStats(statsFile string) (iostats IOStats, err error) {
    	stats, err := readStat(statsFile)
    	if err != nil {
    		return IOStats{}, err
    	}
    	if len(stats) < 11 {
    		return IOStats{}, fmt.Errorf("found invalid format while reading %v", statsFile)
    	}
    	// refer https://www.kernel.org/doc/Documentation/block/stat.txt
    	iostats = IOStats{
    		ReadIOs:      stats[0],
    		ReadMerges:   stats[1],
    		ReadSectors:  stats[2],
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  7. cmd/erasure-server-pool.go

    		Object: object,
    	}
    }
    
    func (z *erasureServerPools) getPoolAndSet(id string) (poolIdx, setIdx, diskIdx int, err error) {
    	for poolIdx := range z.serverPools {
    		format := z.serverPools[poolIdx].format
    		for setIdx, set := range format.Erasure.Sets {
    			for i, diskID := range set {
    				if diskID == id {
    					return poolIdx, setIdx, i, nil
    				}
    			}
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  8. docs/debugging/s3-check-md5/main.go

    			switch len(s) {
    			case 1:
    				// nothing to do
    			case 2:
    				if p, err := strconv.Atoi(s[1]); err == nil {
    					parts = p
    				} else {
    					log.Println("FAILED: ETAG of", objFullPath(object), "has a wrong format:", err)
    					continue
    				}
    				multipart = true
    			default:
    				log.Println("FAILED: Unexpected ETAG", object.ETag, "for object:", objFullPath(object))
    				continue
    			}
    
    			var partsMD5Sum [][]byte
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Feb 17 01:15:57 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  9. src/archive/zip/zip_test.go

    }
    
    // Issue 4302.
    func TestHeaderInvalidTagAndSize(t *testing.T) {
    	const timeFormat = "20060102T150405.000.txt"
    
    	ts := time.Now()
    	filename := ts.Format(timeFormat)
    
    	h := FileHeader{
    		Name:   filename,
    		Method: Deflate,
    		Extra:  []byte(ts.Format(time.RFC3339Nano)), // missing tag and len, but Extra is best-effort parsing
    	}
    	h.SetModTime(ts)
    
    	testValidHeader(&h, t)
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  10. cmd/object-multipart-handlers.go

    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    		return
    	}
    
    	uploadID := r.Form.Get(xhttp.UploadID)
    	partIDString := r.Form.Get(xhttp.PartNumber)
    
    	partID, err := strconv.Atoi(partIDString)
    	if err != nil || partID <= 0 {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidPart), r.URL)
    		return
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 39K bytes
    - Viewed (0)
Back to top