Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 862 for now (0.03 sec)

  1. doc/next/6-stdlib/99-minor/os/user/68312.md

    On Windows, [Current] has been made considerably faster when
    the current user is joined to a slow domain, which is the
    usual case for many corporate users. The new implementation
    performance is now in the order of milliseconds, compared to
    the previous implementation which could take several seconds,
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 21 19:59:22 UTC 2024
    - 332 bytes
    - Viewed (0)
  2. cmd/mrf.go

    					continue
    				}
    				if wildcard.Match("multipart/*", u.Object) {
    					continue
    				}
    				if wildcard.Match("tmp-old/*", u.Object) {
    					continue
    				}
    			}
    
    			now := time.Now()
    			if now.Sub(u.Queued) < time.Second {
    				// let recently failed networks to reconnect
    				// making MRF wait for 1s before retrying,
    				// i.e 4 reconnect attempts.
    				time.Sleep(time.Second)
    			}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:26:05 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. doc/next/6-stdlib/99-minor/crypto/md5/62384.md

    The value returned by [md5.New] now also implements the [encoding.BinaryAppender] interface....
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Aug 01 14:57:46 UTC 2024
    - 93 bytes
    - Viewed (0)
  4. doc/next/6-stdlib/99-minor/os/user/21867.md

    On Windows, [Current] can now be used in Windows Nano Server.
    The implementation has been updated to avoid using functions
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 21 19:59:22 UTC 2024
    - 191 bytes
    - Viewed (0)
  5. doc/next/6-stdlib/99-minor/net/56539.md

    [ListenConfig] now uses MPTCP by default on systems where it is supported
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Sep 03 15:27:29 UTC 2024
    - 101 bytes
    - Viewed (0)
  6. docs_src/security/tutorial005_an_py310.py

        return user
    
    
    def create_access_token(data: dict, expires_delta: timedelta | None = None):
        to_encode = data.copy()
        if expires_delta:
            expire = datetime.now(timezone.utc) + expires_delta
        else:
            expire = datetime.now(timezone.utc) + timedelta(minutes=15)
        to_encode.update({"exp": expire})
        encoded_jwt = jwt.encode(to_encode, SECRET_KEY, algorithm=ALGORITHM)
        return encoded_jwt
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. docs_src/security/tutorial005_an_py39.py

        return user
    
    
    def create_access_token(data: dict, expires_delta: Union[timedelta, None] = None):
        to_encode = data.copy()
        if expires_delta:
            expire = datetime.now(timezone.utc) + expires_delta
        else:
            expire = datetime.now(timezone.utc) + timedelta(minutes=15)
        to_encode.update({"exp": expire})
        encoded_jwt = jwt.encode(to_encode, SECRET_KEY, algorithm=ALGORITHM)
        return encoded_jwt
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. doc/next/6-stdlib/99-minor/crypto/sha512/62384.md

    The values returned by [sha512.New], [sha512.New384], [sha512.New512_224] and [sha512.New512_256] now also implement the [encoding.BinaryAppender] interface....
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Aug 01 14:57:46 UTC 2024
    - 158 bytes
    - Viewed (0)
  9. cmd/main.go

    	"github.com/minio/pkg/v3/env"
    	"github.com/minio/pkg/v3/trie"
    	"github.com/minio/pkg/v3/words"
    )
    
    // GlobalFlags - global flags for minio.
    var GlobalFlags = []cli.Flag{
    	// Deprecated flag, so its hidden now - existing deployments will keep working.
    	cli.StringFlag{
    		Name:   "config-dir, C",
    		Value:  defaultConfigDir.Get(),
    		Usage:  "[DEPRECATED] path to legacy configuration directory",
    		Hidden: true,
    	},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 30 22:59:48 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. cmd/os-instrumented.go

    	operations [osMetricLast]uint64
    	latency    [osMetricLast]lockedLastMinuteLatency
    }
    
    // time an os action.
    func (o *osMetrics) time(s osMetric) func() {
    	startTime := time.Now()
    	return func() {
    		duration := time.Since(startTime)
    
    		atomic.AddUint64(&o.operations[s], 1)
    		o.latency[s].add(duration)
    	}
    }
    
    // incTime will increment time on metric s with a specific duration.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 15 01:09:38 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top