Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for Haddad (0.18 sec)

  1. cmd/object-api-utils.go

    	trailingSlash := len(elem) > 0 && hasSuffixByte(elem[len(elem)-1], SlashSeparatorChar)
    	dst.Reset()
    	added := 0
    	for _, e := range elem {
    		if added > 0 || e != "" {
    			if added > 0 {
    				dst.WriteByte(SlashSeparatorChar)
    			}
    			dst.WriteString(e)
    			added += len(e)
    		}
    	}
    
    	if pathNeedsClean(dst.Bytes()) {
    		s := path.Clean(dst.String())
    		if trailingSlash {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  2. cni/pkg/nodeagent/net.go

    	}
    	log.Debug("stopping ztunnel server")
    	s.ztunnelServer.Close()
    }
    
    func (s *NetServer) rescanPod(pod *corev1.Pod) error {
    	// this can happen if the pod was dynamically added to the mesh after it was created.
    	// in that case, try finding the netns using procfs.
    	filter := map[types.UID]*corev1.Pod{
    		pod.UID: pod,
    	}
    	return s.scanProcForPodsAndCache(filter)
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.2K bytes
    - Viewed (1)
  3. operator/cmd/mesh/manifest-diff.go

    			"changed paths with the value changes shown as OLD-VALUE -> NEW-VALUE.\n" +
    			"List order changes are shown as [OLD-INDEX->NEW-INDEX], with ? used where a list item is added or\n" +
    			"removed.",
    		Args: func(cmd *cobra.Command, args []string) error {
    			if len(args) != 2 {
    				return fmt.Errorf("diff requires two files or directories")
    			}
    			return nil
    		},
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  4. cmd/metacache-entries.go

    					// Discard current "best"
    					if err := selectFrom(bestIdx); err != nil {
    						return err
    					}
    					bestIdx = idx
    					best = other
    					xl = xl2
    				} else {
    					// Mark read, unless we added it as new "best".
    					if err := selectFrom(idx); err != nil {
    						return err
    					}
    				}
    				versions = append(versions, xl2.versions)
    			}
    
    			if xl != nil && len(versions) > 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  5. cmd/signature-v4-utils_test.go

    		t.Errorf("transfer-encoding mismatch: expected %s, got %s", expectedTransferEncoding, extractedTransferEncoding)
    	}
    
    	// Since the list of signed headers value contained `expect`, the default value of `100-continue` will be added to extracted signed headers.
    	if extractedExpect != expectedExpect {
    		t.Errorf("expect header incorrect value: expected `%s`, got `%s`", expectedExpect, extractedExpect)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 14.3K bytes
    - Viewed (0)
  6. internal/grid/connection.go

    	cl.subroute = &c.subID
    	return cl, nil
    }
    
    // Request allows to do a single remote request.
    // 'req' will not be used after the call and caller can reuse.
    // If no deadline is set on ctx, a 1-minute deadline will be added.
    func (c *Connection) Request(ctx context.Context, h HandlerID, req []byte) ([]byte, error) {
    	if !h.valid() {
    		return nil, ErrUnknownHandler
    	}
    	if c.State() != StateConnected {
    		return nil, ErrDisconnected
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  7. cmd/object-api-datatypes.go

    	// The total count of all versions of this object
    	NumVersions int
    	//  The modtime of the successor object version if any
    	SuccessorModTime time.Time
    
    	// Checksums added on upload.
    	// Encoded, maybe encrypted.
    	Checksum []byte
    
    	// Inlined
    	Inlined bool
    
    	DataBlocks   int
    	ParityBlocks int
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  8. internal/grid/handlers.go

    }
    
    // Call the remote with the request and return the response.
    // The response should be returned with PutResponse when no error.
    // If no deadline is set, a 1-minute deadline is added.
    func (h *SingleHandler[Req, Resp]) Call(ctx context.Context, c Requester, req Req) (resp Resp, err error) {
    	if c == nil {
    		if h.ignoreNilConn {
    			return resp, nil
    		}
    		return resp, ErrDisconnected
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  9. cmd/site-replication.go

    	DeploymentID string
    	Replicated   bool // true if already participating in site replication
    	Empty        bool // true if cluster has no buckets
    }
    
    // getSiteStatuses gathers more info on the sites being added
    func (c *SiteReplicationSys) getSiteStatuses(ctx context.Context, sites ...madmin.PeerSite) (psi []PeerSiteInfo, err error) {
    	psi = make([]PeerSiteInfo, 0, len(sites))
    	for _, v := range sites {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  10. cmd/test-utils_test.go

    	if method == "" {
    		method = http.MethodPost
    	}
    
    	req, err := http.NewRequest(method, urlStr, nil)
    	if err != nil {
    		return nil, err
    	}
    
    	if body == nil {
    		// this is added to avoid panic during io.ReadAll(req.Body).
    		// th stack trace can be found here  https://github.com/minio/minio/pull/2074 .
    		// This is very similar to https://github.com/golang/go/issues/7527.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
Back to top