Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for f2 (0.33 sec)

  1. cmd/admin-router.go

    				return
    			}
    		}
    
    		// Apply http tracing "middleware" based on presence of flag.
    		var f2 http.HandlerFunc
    		if handlerFlags.Has(traceAllFlag) {
    			f2 = httpTraceAll(f)
    		} else {
    			f2 = httpTraceHdrs(f)
    		}
    
    		// call the final handler
    		f2(w, r)
    	}
    
    	// Enable compression of responses based on presence of flag.
    	if !handlerFlags.Has(noGZFlag) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  2. internal/bucket/lifecycle/filter_test.go

    	if err != nil {
    		t.Fatalf("Failed to marshal %v", f1)
    	}
    	var f2 Filter
    	err = xml.Unmarshal(b, &f2)
    	if err != nil {
    		t.Fatalf("Failed to unmarshal %s", string(b))
    	}
    	if f1.ObjectSizeLessThan != f2.ObjectSizeLessThan {
    		t.Fatalf("Expected %v but got %v", f1.ObjectSizeLessThan, f2.And.ObjectSizeLessThan)
    	}
    	if f1.ObjectSizeGreaterThan != f2.ObjectSizeGreaterThan {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 27 00:01:20 GMT 2024
    - 7.2K bytes
    - Viewed (0)
Back to top