Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,733 for if (0.07 sec)

  1. cmd/object-handlers-common.go

    	if ifNoneMatchETagHeader != "" {
    		if isETagEqual(objInfo.ETag, ifNoneMatchETagHeader) {
    			// Do not care If-Modified-Since, Because:
    			// 1. If If-Modified-Since condition evaluates to true.
    			//  If both of the If-None-Match and If-Modified-Since headers are present in the request as follows:
    			// 	If-None-Match condition evaluates to false , and;
    			//  If-Modified-Since condition evaluates to true ;
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 06:33:53 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  2. src/main/webapp/js/admin/plugins/daterangepicker/daterangepicker.js

            if (typeof options.maxSpan === 'object')
                this.maxSpan = options.maxSpan;
    
            if (typeof options.dateLimit === 'object') //backwards compat
                this.maxSpan = options.dateLimit;
    
            if (typeof options.opens === 'string')
                this.opens = options.opens;
    
            if (typeof options.drops === 'string')
                this.drops = options.drops;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 64.8K bytes
    - Viewed (0)
  3. cmd/common-main.go

    	if dir == "" {
    		dir = getDefaultDir()
    	}
    
    	if dir == "" {
    		if !dirSet {
    			return nil, fmt.Errorf("missing option must be provided")
    		}
    		return nil, fmt.Errorf("provided option cannot be empty")
    	}
    
    	// Disallow relative paths, figure out absolute paths.
    	dirAbs, err := filepath.Abs(dir)
    	if err != nil {
    		return nil, err
    	}
    	err = mkdirAllIgnorePerm(dirAbs)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  4. cmd/batch-handlers.go

    	}
    }
    
    func (ri *batchJobInfo) countItem(size int64, dmarker, success bool, attempt int) {
    	if ri == nil {
    		return
    	}
    	ri.Attempts++
    	if success {
    		if dmarker {
    			ri.DeleteMarkers++
    		} else {
    			ri.Objects++
    			ri.BytesTransferred += size
    		}
    		if attempt > 1 {
    			if dmarker {
    				ri.DeleteMarkersFailed--
    			} else {
    				ri.ObjectsFailed--
    				ri.BytesFailed += size
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  5. cmd/admin-handlers.go

    	hip.objPrefix = vars[mgmtPrefix]
    
    	if hip.bucket == "" {
    		if hip.objPrefix != "" {
    			// Bucket is required if object-prefix is given
    			err = ErrHealMissingBucket
    			return
    		}
    	} else if isReservedOrInvalidBucket(hip.bucket, false) {
    		err = ErrInvalidBucketName
    		return
    	}
    
    	// empty prefix is valid.
    	if !IsValidObjectPrefix(hip.objPrefix) {
    		err = ErrInvalidObjectName
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  6. internal/event/target/postgresql.go

    }
    
    // Validate PostgreSQLArgs fields
    func (p PostgreSQLArgs) Validate() error {
    	if !p.Enable {
    		return nil
    	}
    	if p.Table == "" {
    		return fmt.Errorf("empty table name")
    	}
    	if err := validatePsqlTableName(p.Table); err != nil {
    		return err
    	}
    
    	if p.Format != "" {
    		f := strings.ToLower(p.Format)
    		if f != event.NamespaceFormat && f != event.AccessFormat {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. istioctl/pkg/describe/describe.go

    	outlierDetection *v1alpha3.OutlierDetection,
    ) string {
    	extra := make([]string, 0)
    	if lb != nil {
    		extra = append(extra, "load balancer")
    	}
    	if connectionPool != nil {
    		extra = append(extra, "connection pool")
    	}
    	if outlierDetection != nil {
    		extra = append(extra, "outlier detection")
    	}
    	if len(extra) > 0 {
    		return fmt.Sprintf("Policies: %s\n", strings.Join(extra, "/"))
    	}
    	return ""
    }
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
  8. src/archive/zip/writer_test.go

    		w := NewWriter(buf)
    		if err := w.SetComment(test.comment); err != nil {
    			if test.ok {
    				t.Fatalf("SetComment: unexpected error %v", err)
    			}
    			continue
    		} else {
    			if !test.ok {
    				t.Fatalf("SetComment: unexpected success, want error")
    			}
    		}
    
    		if err := w.Close(); test.ok == (err != nil) {
    			t.Fatal(err)
    		}
    
    		if w.closed != test.ok {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  9. cmd/config-current.go

    			return err
    		} else if ppargs.URL == nil {
    			// Check if legacy opa is configured.
    			if _, err := opa.LookupConfig(s[config.PolicyOPASubSys][config.Default],
    				NewHTTPTransport(), xhttp.DrainBody); err != nil {
    				return err
    			}
    		}
    	case config.BrowserSubSys:
    		if _, err := browser.LookupConfig(s[config.BrowserSubSys][config.Default]); err != nil {
    			return err
    		}
    	default:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  10. cmd/data-usage-cache_gen_test.go

    	v := allTierStats{}
    	bts, err := v.MarshalMsg(nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    	left, err := v.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left)
    	}
    
    	left, err = msgp.Skip(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 22:23:33 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top