Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 2,973 for Hour (0.17 sec)

  1. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/micro_time.go

    }
    
    // DateMicro returns the MicroTime corresponding to the supplied parameters
    // by wrapping time.Date.
    func DateMicro(year int, month time.Month, day, hour, min, sec, nsec int, loc *time.Location) MicroTime {
    	return MicroTime{time.Date(year, month, day, hour, min, sec, nsec, loc)}
    }
    
    // NowMicro returns the current local time.
    func NowMicro() MicroTime {
    	return MicroTime{time.Now()}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. pkg/log/config.go

    	buf[4] = '-'
    	buf[5] = byte((month)/10) + '0'
    	buf[6] = byte((month)%10) + '0'
    	buf[7] = '-'
    	buf[8] = byte((day)/10) + '0'
    	buf[9] = byte((day)%10) + '0'
    	buf[10] = 'T'
    	buf[11] = byte((hour)/10) + '0'
    	buf[12] = byte((hour)%10) + '0'
    	buf[13] = ':'
    	buf[14] = byte((minute)/10) + '0'
    	buf[15] = byte((minute)%10) + '0'
    	buf[16] = ':'
    	buf[17] = byte((second)/10) + '0'
    	buf[18] = byte((second)%10) + '0'
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 26 20:38:10 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. internal/config/identity/ldap/config.go

    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/pkg/v3/ldap"
    )
    
    const (
    	defaultLDAPExpiry = time.Hour * 1
    
    	minLDAPExpiry time.Duration = 15 * time.Minute
    	maxLDAPExpiry time.Duration = 365 * 24 * time.Hour
    )
    
    // Config contains AD/LDAP server connectivity information.
    type Config struct {
    	LDAP ldap.Config
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/time.go

    	return Time{time}
    }
    
    // Date returns the Time corresponding to the supplied parameters
    // by wrapping time.Date.
    func Date(year int, month time.Month, day, hour, min, sec, nsec int, loc *time.Location) Time {
    	return Time{time.Date(year, month, day, hour, min, sec, nsec, loc)}
    }
    
    // Now returns the current local time.
    func Now() Time {
    	return Time{time.Now()}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:09 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. src/net/conn_test.go

    	"time"
    )
    
    // someTimeout is used just to test that net.Conn implementations
    // don't explode when their SetFooDeadline methods are called.
    // It isn't actually used for testing timeouts.
    const someTimeout = 1 * time.Hour
    
    func TestConnAndListener(t *testing.T) {
    	for i, network := range []string{"tcp", "unix", "unixpacket"} {
    		i, network := i, network
    		t.Run(network, func(t *testing.T) {
    			if !testableNetwork(network) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  6. src/time/zoneinfo_windows_test.go

    package time_test
    
    import (
    	"internal/syscall/windows/registry"
    	"testing"
    	. "time"
    )
    
    func testZoneAbbr(t *testing.T) {
    	t1 := Now()
    	// discard nsec
    	t1 = Date(t1.Year(), t1.Month(), t1.Day(), t1.Hour(), t1.Minute(), t1.Second(), 0, t1.Location())
    
    	t2, err := Parse(RFC1123, t1.Format(RFC1123))
    	if err != nil {
    		t.Fatalf("Parse failed: %v", err)
    	}
    	if t1 != t2 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 07:20:34 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. src/net/tcpsock_test.go

    	if err != nil {
    		b.Fatal(err)
    	}
    	defer c.Close()
    	if err := <-done; err != nil {
    		b.Fatal(err)
    	}
    	defer serv.Close()
    	c.SetWriteDeadline(time.Now().Add(2 * time.Hour))
    	deadline := time.Now().Add(time.Hour)
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		c.SetReadDeadline(deadline)
    		deadline = deadline.Add(1)
    	}
    }
    
    func TestDialTCPDefaultKeepAlive(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  8. pkg/controlplane/apiserver/options/options.go

    			lowBound := time.Hour
    			upBound := time.Duration(1<<32) * time.Second
    			if completed.Authentication.ServiceAccounts.MaxExpiration < lowBound ||
    				completed.Authentication.ServiceAccounts.MaxExpiration > upBound {
    				return CompletedOptions{}, fmt.Errorf("the service-account-max-token-expiration must be between 1 hour and 2^32 seconds")
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 12:19:56 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/Cookie.kt

          var hour = -1
          var minute = -1
          var second = -1
          var dayOfMonth = -1
          var month = -1
          var year = -1
          val matcher = TIME_PATTERN.matcher(s)
    
          while (pos < limit) {
            val end = dateCharacterOffset(s, pos + 1, limit, true)
            matcher.region(pos, end)
    
            when {
              hour == -1 && matcher.usePattern(TIME_PATTERN).matches() -> {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 04:12:05 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  10. internal/s3select/sql/parser_test.go

    //
    // This program is free software: you can redistribute it and/or modify
    // it under the terms of the GNU Affero General Public License as published by
    // the Free Software Foundation, either version 3 of the License, or
    // (at your option) any later version.
    //
    // This program is distributed in the hope that it will be useful
    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top