Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 940 for Cstime (0.05 sec)

  1. internal/bucket/lifecycle/expiration.go

    	if eDays == 0 {
    		return nil
    	}
    	return e.EncodeElement(int(eDays), startElement)
    }
    
    // ExpirationDate is a embedded type containing time.Time to unmarshal
    // Date in Expiration
    type ExpirationDate struct {
    	time.Time
    }
    
    // UnmarshalXML parses date from Expiration and validates date format
    func (eDate *ExpirationDate) UnmarshalXML(d *xml.Decoder, startElement xml.StartElement) error {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Feb 21 20:28:34 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. internal/grid/grid.go

    			// No need to read more...
    			return b, nil
    		}
    	}
    }
    
    // getDeadline will truncate the deadline so it is at least 1ms and at most MaxDeadline.
    func getDeadline(d time.Duration) time.Duration {
    	if d < time.Millisecond {
    		return 0
    	}
    	if d > MaxDeadline {
    		return MaxDeadline
    	}
    	return d
    }
    
    type writerWrapper struct {
    	ch  chan<- []byte
    	ctx context.Context
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. cmd/tier-last-day-stats.go

    }
    
    // forwardTo moves time to t, clearing entries between last update and t.
    func (l *lastDayTierStats) forwardTo(t time.Time) {
    	if t.IsZero() {
    		t = time.Now()
    	}
    
    	since := t.Sub(l.UpdatedAt).Hours()
    	// within the hour since l.UpdatedAt
    	if since < 1 {
    		return
    	}
    
    	idx, lastIdx := t.Hour(), l.UpdatedAt.Hour()
    
    	l.UpdatedAt = t // update to the latest time index
    
    	if since >= 24 {
    		l.Bins = [24]tierStats{}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 19 22:54:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. cmd/bucket-replication-utils.go

    type TargetReplicationResyncStatus struct {
    	StartTime  time.Time `json:"startTime" msg:"st"`
    	LastUpdate time.Time `json:"lastUpdated" msg:"lst"`
    	// Resync ID assigned to this reset
    	ResyncID string `json:"resyncID" msg:"id"`
    	// ResyncBeforeDate - resync all objects created prior to this date
    	ResyncBeforeDate time.Time `json:"resyncBeforeDate" msg:"rdt"`
    	// Status of resync operation
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/RateLimiter.java

       * @return the time that permits are available, or, if permits are available immediately, an
       *     arbitrary past or present time
       */
      abstract long queryEarliestAvailable(long nowMicros);
    
      /**
       * Reserves the requested number of permits and returns the time that those permits can be used
       * (with one caveat).
       *
       * @return the time that the permits may be used, or, if the permits may be used immediately, an
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  6. internal/config/identity/tls/config.go

    	InsecureSkipVerify bool `json:"skip_verify"`
    }
    
    const (
    	defaultExpiry time.Duration = 1 * time.Hour
    	minExpiry     time.Duration = 15 * time.Minute
    	maxExpiry     time.Duration = 365 * 24 * time.Hour
    )
    
    // GetExpiryDuration - return parsed expiry duration.
    func (l Config) GetExpiryDuration(dsecs string) (time.Duration, error) {
    	if dsecs == "" {
    		return defaultExpiry, nil
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. internal/grid/connection.go

    	var wsw wsWriter
    	var lastSetDeadline time.Time
    
    	// Helper to write everything in buf.
    	// Return false if an error occurred and the connection is unusable.
    	// Buffer will be reset empty when returning successfully.
    	writeBuffer := func() (ok bool) {
    		now := time.Now()
    		// Only set write deadline once every second
    		if now.Sub(lastSetDeadline) > time.Second {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  8. internal/grid/msg.go

    	return OpMuxConnectError
    }
    
    type pongMsg struct {
    	NotFound bool      `msg:"nf"`
    	Err      *string   `msg:"e,allownil"`
    	T        time.Time `msg:"t"`
    }
    
    func (pongMsg) Op() Op {
    	return OpPong
    }
    
    type pingMsg struct {
    	T time.Time `msg:"t"`
    }
    
    func (pingMsg) Op() Op {
    	return OpPing
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jul 25 21:07:21 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. internal/event/target/kafka.go

    		config.Producer.CompressionLevel = args.Producer.CompressionLevel
    	}
    
    	config.Net.ReadTimeout = (5 * time.Second)
    	config.Net.DialTimeout = (5 * time.Second)
    	config.Net.WriteTimeout = (5 * time.Second)
    	config.Metadata.Retry.Max = 1
    	config.Metadata.Retry.Backoff = (1 * time.Second)
    	config.Metadata.RefreshFrequency = (15 * time.Minute)
    
    	target.config = config
    
    	brokers := []string{}
    	for _, broker := range args.Brokers {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/log/exbhv/FavoriteLogBhv.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.es.log.exbhv;
    
    import java.time.Instant;
    import java.time.LocalDateTime;
    import java.time.ZoneId;
    import java.time.format.DateTimeFormatter;
    import java.time.format.DateTimeParseException;
    import java.util.regex.Pattern;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top