Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for re (0.15 sec)

  1. cmd/peer-rest-server.go

    	}
    
    	vars := mux.Vars(r)
    	bucketName := vars[peerRESTBucket]
    	ctx := newContext(r, w, "GetReplicationMRF")
    	re, err := globalReplicationPool.getMRF(ctx, bucketName)
    	if err != nil {
    		s.writeErrorResponse(w, err)
    		return
    	}
    	enc := gob.NewEncoder(w)
    
    	for m := range re {
    		if err := enc.Encode(m); err != nil {
    			s.writeErrorResponse(w, errors.New("Encoding mrf failed: "+err.Error()))
    			return
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  2. cmd/xl-storage.go

    }
    
    // ReadAll is a raw call, reads content at any path and returns the buffer.
    func (s *xlStorage) ReadAll(ctx context.Context, volume string, path string) (buf []byte, err error) {
    	// Specific optimization to avoid re-read from the drives for `format.json`
    	// in-case the caller is a network operation.
    	if volume == minioMetaBucket && path == formatConfigFile {
    		s.RLock()
    		formatData := make([]byte, len(s.formatData))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  3. istioctl/pkg/describe/describe.go

    		return "", "", err
    	}
    
    	// Starting with recent 1.5.0 builds, the path will include .istio.io.  Handle both.
    	// nolint: gosimple
    	re := regexp.MustCompile("/apis/networking(\\.istio\\.io)?/v1alpha3/namespaces/(?P<namespace>[^/]+)/virtual-service/(?P<name>[^/]+)")
    	ss := re.FindStringSubmatch(path)
    	if ss == nil {
    		return "", "", fmt.Errorf("not a VS path: %s", path)
    	}
    	return ss[3], ss[2], nil
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  4. cmd/erasure-object.go

    					// Add an MRF heal for next time.
    					er.addPartial(bucket, object, opts.VersionID)
    
    					return objInfo, InsufficientWriteQuorum{}
    				}
    				return objInfo, gerr
    			}
    
    			// Add protection and re-verify the ILM rules for qualification
    			// based on the latest objectInfo and see if the object still
    			// qualifies for deletion.
    			if gerr == nil {
    				var isErr bool
    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)
  5. cmd/sts-handlers_test.go

    		for _, group := range entity.Groups {
    			m[group] = append(m[group], entity.Policy)
    		}
    	}
    
    	{
    		// We don't compare the values of the canned policies because server is
    		// re-encoding them. (FIXME?)
    		for k := range content.policies {
    			content.policies[k] = nil
    			gotContent.policies[k] = nil
    		}
    		if !reflect.DeepEqual(content.policies, gotContent.policies) {
    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. src/cmd/cgo/gcc.go

    			}
    			f.Name[info.typedef] = n
    			f.NamePos[n] = info.pos
    		}
    		needType := p.guessKinds(f)
    		if len(needType) > 0 {
    			p.loadDWARF(f, &conv, needType)
    		}
    
    		// In godefs mode we're OK with the typedefs, which
    		// will presumably also be defined in the file, we
    		// don't want to resolve them to their base types.
    		if *godefs {
    			break
    		}
    	}
    	p.prepareNames(f)
    	if p.rewriteCalls(f) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  7. cmd/admin-handlers-users.go

    	// account.
    	//
    	// 2. We would like to let a user update their own access keys, however it
    	// is currently blocked pending a re-design. Users are still able to delete
    	// and re-create them.
    	if !globalIAMSys.IsAllowed(policy.Args{
    		AccountName:     cred.AccessKey,
    		Groups:          cred.Groups,
    		Action:          policy.UpdateServiceAccountAdminAction,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
  8. cmd/bucket-handlers.go

    		}
    
    		defer globalCacheConfig.Delete(bucket, dobj.ObjectName)
    
    		if replicateDeletes && (dobj.DeleteMarkerReplicationStatus() == replication.Pending || dobj.VersionPurgeStatus() == Pending) {
    			// copy so we can re-add null ID.
    			dobj := dobj
    			if isDirObject(dobj.ObjectName) && dobj.VersionID == "" {
    				dobj.VersionID = nullVersionID
    			}
    			dv := DeletedObjectReplicationInfo{
    				DeletedObject: dobj,
    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)
  9. cmd/xl-storage-format-v2.go

    				bts, err = tmp.unmarshalV(1, bts)
    				if err != nil {
    					return msgp.WrapError(err, "Versions", za0001)
    				}
    				end := len(allMeta) - len(bts)
    				// We reference the marshaled data, so we don't have to re-marshal.
    				x.versions[za0001] = xlMetaV2ShallowVersion{
    					header: tmp.header(),
    					meta:   allMeta[start:end],
    				}
    			}
    		default:
    			bts, err = msgp.Skip(bts)
    			if err != nil {
    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)
  10. src/archive/zip/reader_test.go

    		// TODO(bradfitz): add a new test that only corrupts
    		// one of these values, and verify that that's also an
    		// error. Currently, the reader code doesn't verify the
    		// fileheader and TOC's crc32 match if they're both
    		// non-zero and only the second line above, the TOC,
    		// is what matters.
    	})
    }
    
    // rZipBytes returns the bytes of a recursive zip file, without
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
Back to top