Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for tag5 (0.14 sec)

  1. src/bytes/bytes_test.go

    	{"TrimRight", "abba", "ab", ""},
    	{"TrimLeft", "abba", "a", "bba"},
    	{"TrimLeft", "abba", "b", "abba"},
    	{"TrimRight", "abba", "a", "abb"},
    	{"TrimRight", "abba", "b", "abba"},
    	{"Trim", "<tag>", "<>", "tag"},
    	{"Trim", "* listitem", " *", "listitem"},
    	{"Trim", `"quote"`, `"`, "quote"},
    	{"Trim", "\u2C6F\u2C6F\u0250\u0250\u2C6F\u2C6F", "\u2C6F", "\u0250\u0250"},
    	{"Trim", "\x80test\xff", "\xff", "test"},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  2. cmd/erasure-object.go

    	if ok {
    		tags := make(map[string]interface{}, 4)
    		tags["set"] = er.setIndex
    		tags["pool"] = er.poolIndex
    		tags["merrs"] = joinErrs(errs)
    		tags["derrs"] = joinErrs(dataErrs)
    		if m.IsValid() {
    			tags["size"] = m.Size
    			tags["mtime"] = m.ModTime.Format(http.TimeFormat)
    			tags["data"] = m.Erasure.DataBlocks
    			tags["parity"] = m.Erasure.ParityBlocks
    		} else {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  3. cmd/erasure-server-pool.go

    }
    
    // PutObjectTags - replace or add tags to an existing object
    func (z *erasureServerPools) PutObjectTags(ctx context.Context, bucket, object string, tags string, opts ObjectOptions) (ObjectInfo, error) {
    	object = encodeDirObject(object)
    	if z.SinglePool() {
    		return z.serverPools[0].PutObjectTags(ctx, bucket, object, tags, opts)
    	}
    
    	opts.MetadataChg = true
    
    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)
  4. cmd/api-errors.go

    	},
    	ErrInvalidPart: {
    		Code:           "InvalidPart",
    		Description:    "One or more of the specified parts could not be found.  The part may not have been uploaded, or the specified entity tag may not match the part's entity tag.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrMissingPart: {
    		Code:           "InvalidRequest",
    		Description:    "You must specify at least one part",
    		HTTPStatusCode: http.StatusBadRequest,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  5. cmd/sts-handlers_test.go

    	// Validate that the client can remove objects
    	if err = minioClient.RemoveObjectTagging(ctx, bucket, object, minio.RemoveObjectTaggingOptions{}); err != nil {
    		c.Fatalf("user is unable to delete the object tags: %v", err)
    	}
    
    	if err = minioClient.RemoveObject(ctx, bucket, object, minio.RemoveObjectOptions{}); err != nil {
    		c.Fatalf("user is unable to delete the object: %v", err)
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  6. internal/bucket/lifecycle/lifecycle_test.go

    			objectTags:     "tag1=value1&tag2=value2",
    			objectModTime:  time.Now().UTC().Add(-24 * time.Hour), // Created 1 day ago
    			expectedAction: DeleteAction,
    		},
    		// Should remove (Multiple Rules, Tags match)
    		{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  7. cmd/batch-handlers.go

    			return true
    		}
    
    		if hasTags {
    			// Only parse object tags if tags filter is specified.
    			tagMap := map[string]string{}
    			tagStr := oi.UserTags
    			if len(tagStr) != 0 {
    				t, err := tags.ParseObjectTags(tagStr)
    				if err != nil {
    					return false
    				}
    				tagMap = t.ToMap()
    			}
    			for _, kv := range r.Flags.Filter.Tags {
    				for t, v := range tagMap {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  8. src/cmd/cgo/gcc.go

    		// Have to give it a name to simulate C "struct foo" references.
    		tag := dt.StructName
    		if dt.ByteSize < 0 && tag == "" { // opaque unnamed struct - should not be possible
    			break
    		}
    		if tag == "" {
    			tag = anonymousStructTag[dt]
    			if tag == "" {
    				tag = "__" + strconv.Itoa(tagGen)
    				tagGen++
    				anonymousStructTag[dt] = tag
    			}
    		} else if t.C.Empty() {
    			t.C.Set(dt.Kind + " " + tag)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  9. cmd/bucket-handlers.go

    		return
    	}
    
    	tags, err := tags.ParseBucketXML(io.LimitReader(r.Body, r.ContentLength))
    	if err != nil {
    		apiErr := errorCodes.ToAPIErr(ErrMalformedXML)
    		apiErr.Description = err.Error()
    		writeErrorResponse(ctx, w, apiErr, r.URL)
    		return
    	}
    
    	configData, err := xml.Marshal(tags)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  10. cmd/xl-storage-format-v2.go

    	// Shallow copy
    	c := *j
    	// Zero fields that will vary across disks
    	c.ErasureIndex = 0
    
    	// Nil 0 size allownil, so we don't differentiate between nil and 0 len.
    	allEmpty := true
    	for _, tag := range c.PartETags {
    		if len(tag) != 0 {
    			allEmpty = false
    			break
    		}
    	}
    	if allEmpty {
    		c.PartETags = nil
    	}
    	if len(c.PartActualSizes) == 0 {
    		c.PartActualSizes = nil
    	}
    
    	// Get a 64 bit CRC
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
Back to top