Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,446 for time (0.07 sec)

  1. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

        }
      }
    
      @Test fun `parse utc time`() {
        assertThat(Adapters.parseUtcTime("920521000000Z"))
          .isEqualTo(date("1992-05-21T00:00:00.000+0000").time)
        assertThat(Adapters.parseUtcTime("920622123421Z"))
          .isEqualTo(date("1992-06-22T12:34:21.000+0000").time)
        assertThat(Adapters.parseUtcTime("920722132100Z"))
          .isEqualTo(date("1992-07-22T13:21:00.000+0000").time)
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  2. tests/postgres_test.go

    		gorm.Model
    		Name      string         `gorm:"check:name_checker,name <> ''"`
    		Test      uuid.UUID      `gorm:"type:uuid;not null;default:gen_random_uuid()"`
    		CreatedAt time.Time      `gorm:"type:TIMESTAMP WITHOUT TIME ZONE"`
    		UpdatedAt time.Time      `gorm:"type:TIMESTAMP WITHOUT TIME ZONE;default:current_timestamp"`
    		Things    pq.StringArray `gorm:"type:text[]"`
    	}
    
    	if err := DB.Exec("CREATE EXTENSION IF NOT EXISTS pgcrypto;").Error; err != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Oct 08 09:16:32 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  3. cmd/leak-detect_test.go

    	deadline := UTCNow().Add(leakDetectDeadline * time.Second)
    	for {
    		// get sack snapshot of relevant go routines.
    		leaked := initialSnapShot.CompareCurrentSnapshot()
    		// current stack snapshot matches the initial one, no leaks, return.
    		if len(leaked) == 0 {
    			return
    		}
    		// wait a test again will deadline.
    		if UTCNow().Before(deadline) {
    			time.Sleep(leakDetectPauseTimeMs * time.Millisecond)
    			continue
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. cni/pkg/log/uds_test.go

    			continue
    		}
    		// remove scope since it is constant and not needed to test
    		delete(parsedLog, "scope")
    		// check time is there
    		if _, f := parsedLog["time"]; !f {
    			t.Fatalf("log %v did not have time", i)
    		}
    		// but remove time since it changes on each test
    		delete(parsedLog, "time")
    		want := map[string]any{
    			"level": cases[i].level,
    			"msg":   cases[i].msg,
    		}
    		if k := cases[i].key; k != nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jun 12 16:26:28 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/MoreExecutors.java

       *     JVM
       * @param timeUnit unit of time for the time parameter
       * @return an unmodifiable version of the input which will not hang the JVM
       */
      @J2ktIncompatible
      @GwtIncompatible // TODO
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      public static ExecutorService getExitingExecutorService(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 44.1K bytes
    - Viewed (0)
  6. cmd/metrics-v3-cache.go

    		// values for IOStat related disk metrics e.g. reads/sec.
    		prevDriveIOStats            map[string]madmin.DiskIOStats
    		prevDriveIOStatsMu          sync.RWMutex
    		prevDriveIOStatsRefreshedAt time.Time
    	)
    
    	loadDriveMetrics := func(ctx context.Context) (v storageMetrics, err error) {
    		objLayer := newObjectLayerFn()
    		if objLayer == nil {
    			return
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 09 00:51:34 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

       *     ordered by startup time.
       */
      public ImmutableMap<Service, Long> startupTimes() {
        return state.startupTimes();
      }
    
      /**
       * Returns the service load times. This value will only return startup times for services that
       * have finished starting.
       *
       * @return Map of services and their corresponding startup time, the map entries will be ordered
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/ServiceManager.java

       *     ordered by startup time.
       */
      public ImmutableMap<Service, Long> startupTimes() {
        return state.startupTimes();
      }
    
      /**
       * Returns the service load times. This value will only return startup times for services that
       * have finished starting.
       *
       * @return Map of services and their corresponding startup time, the map entries will be ordered
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  9. internal/kms/kms.go

    	Latency map[time.Duration]uint64 `json:"kms_resp_time"`   // Latency histogram of all requests
    }
    
    var defaultLatencyBuckets = []time.Duration{
    	10 * time.Millisecond,
    	50 * time.Millisecond,
    	100 * time.Millisecond,
    	250 * time.Millisecond,
    	500 * time.Millisecond,
    	1000 * time.Millisecond, // 1s
    	1500 * time.Millisecond,
    	3000 * time.Millisecond,
    	5000 * time.Millisecond,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  10. 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)
Back to top