Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 306 for minutou (0.18 sec)

  1. docs_src/security/tutorial005_an_py310.py

        if not user:
            raise HTTPException(status_code=400, detail="Incorrect username or password")
        access_token_expires = timedelta(minutes=ACCESS_TOKEN_EXPIRE_MINUTES)
        access_token = create_access_token(
            data={"sub": user.username, "scopes": form_data.scopes},
            expires_delta=access_token_expires,
        )
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/WrappingScheduledExecutorServiceTest.java

        @SuppressWarnings("unused") // https://errorprone.info/bugpattern/FutureReturnValueIgnored
        Future<?> possiblyIgnoredError = testExecutor.schedule(DO_NOTHING, 10, TimeUnit.MINUTES);
        mock.assertLastMethodCalled("scheduleRunnable", 10, TimeUnit.MINUTES);
    
        @SuppressWarnings("unused") // https://errorprone.info/bugpattern/FutureReturnValueIgnored
        Future<?> possiblyIgnoredError1 =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 7.6K bytes
    - Viewed (0)
  3. docs_src/security/tutorial005_an_py39.py

        if not user:
            raise HTTPException(status_code=400, detail="Incorrect username or password")
        access_token_expires = timedelta(minutes=ACCESS_TOKEN_EXPIRE_MINUTES)
        access_token = create_access_token(
            data={"sub": user.username, "scopes": form_data.scopes},
            expires_delta=access_token_expires,
        )
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  4. docs_src/security/tutorial005_py39.py

        if not user:
            raise HTTPException(status_code=400, detail="Incorrect username or password")
        access_token_expires = timedelta(minutes=ACCESS_TOKEN_EXPIRE_MINUTES)
        access_token = create_access_token(
            data={"sub": user.username, "scopes": form_data.scopes},
            expires_delta=access_token_expires,
        )
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  5. docs_src/security/tutorial005.py

        if not user:
            raise HTTPException(status_code=400, detail="Incorrect username or password")
        access_token_expires = timedelta(minutes=ACCESS_TOKEN_EXPIRE_MINUTES)
        access_token = create_access_token(
            data={"sub": user.username, "scopes": form_data.scopes},
            expires_delta=access_token_expires,
        )
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  6. okcurl/src/main/kotlin/okhttp3/curl/logging/OneLineLogFormat.kt

    import java.time.ZoneOffset
    import java.time.format.DateTimeFormatterBuilder
    import java.time.temporal.ChronoField.HOUR_OF_DAY
    import java.time.temporal.ChronoField.MINUTE_OF_HOUR
    import java.time.temporal.ChronoField.NANO_OF_SECOND
    import java.time.temporal.ChronoField.SECOND_OF_MINUTE
    import java.util.logging.Formatter
    import java.util.logging.LogRecord
    
    /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  7. cmd/handler-api.go

    	return t.staleUploadsExpiry
    }
    
    func (t *apiConfig) getDeleteCleanupInterval() time.Duration {
    	t.mu.RLock()
    	defer t.mu.RUnlock()
    
    	if t.deleteCleanupInterval == 0 {
    		return 5 * time.Minute // every 5 minutes
    	}
    
    	return t.deleteCleanupInterval
    }
    
    func (t *apiConfig) getClusterDeadline() time.Duration {
    	t.mu.RLock()
    	defer t.mu.RUnlock()
    
    	if t.clusterDeadline == 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 10K bytes
    - Viewed (0)
  8. cmd/dynamic-timeouts_test.go

    		if duration < 100*time.Millisecond {
    			duration = 100 * time.Millisecond
    		}
    		if duration >= time.Minute {
    			timeout.LogFailure()
    		} else {
    			timeout.LogSuccess(duration)
    		}
    	}
    }
    
    func TestDynamicTimeoutAdjustExponential(t *testing.T) {
    	timeout := newDynamicTimeout(time.Minute, time.Second)
    
    	rand.Seed(0)
    
    	initial := timeout.Timeout()
    
    	for try := 0; try < 10; try++ {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Oct 14 10:08:40 GMT 2022
    - 5.4K bytes
    - Viewed (0)
  9. docs_src/security/tutorial004_py310.py

                status_code=status.HTTP_401_UNAUTHORIZED,
                detail="Incorrect username or password",
                headers={"WWW-Authenticate": "Bearer"},
            )
        access_token_expires = timedelta(minutes=ACCESS_TOKEN_EXPIRE_MINUTES)
        access_token = create_access_token(
            data={"sub": user.username}, expires_delta=access_token_expires
        )
        return Token(access_token=access_token, token_type="bearer")
    
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 4K bytes
    - Viewed (0)
  10. cmd/metrics-v2.go

    	writeTotal        MetricName = "write_total"
    	total             MetricName = "total"
    	freeInodes        MetricName = "free_inodes"
    
    	lastMinFailedCount  MetricName = "last_minute_failed_count"
    	lastMinFailedBytes  MetricName = "last_minute_failed_bytes"
    	lastHourFailedCount MetricName = "last_hour_failed_count"
    	lastHourFailedBytes MetricName = "last_hour_failed_bytes"
    	totalFailedCount    MetricName = "total_failed_count"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
Back to top