Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 189 for now (0.01 sec)

  1. cmd/signature-v4_test.go

    			},
    			expected: ErrInvalidAccessKeyID,
    		},
    		// (2) It should fail with a bad signature.
    		{
    			form: http.Header{
    				"X-Amz-Credential": []string{fmt.Sprintf(credentialTemplate, accessKey, now.Format(yyyymmdd), globalMinioDefaultRegion)},
    				"X-Amz-Date":       []string{now.Format(iso8601Format)},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/AuthenticationRateLimiter.java

            private volatile Instant lastAttempt = Instant.now();
            private volatile Instant windowStart = Instant.now();
            private volatile Instant blockExpiry = null;
            private final AtomicBoolean blocked = new AtomicBoolean(false);
    
            void recordAttempt() {
                Instant now = Instant.now();
    
                // Reset window if more than 1 minute has passed
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  3. schema/field_test.go

    		user          = tests.User{
    			Model: gorm.Model{
    				ID:        10,
    				CreatedAt: time.Now(),
    				UpdatedAt: time.Now(),
    				DeletedAt: gorm.DeletedAt{Time: time.Now(), Valid: true},
    			},
    			Name:     "valuer_and_setter",
    			Age:      18,
    			Birthday: tests.Now(),
    			Active:   true,
    		}
    		reflectValue = reflect.ValueOf(&user)
    	)
    
    	// test valuer
    	values := map[string]interface{}{
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sat Feb 19 09:02:53 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  4. cmd/erasure-server-pool-rebalance.go

    			case rebalErr := <-doneCh:
    				quit = true
    				notify = true
    				now := time.Now()
    				var status rebalStatus
    
    				switch {
    				case errors.Is(rebalErr, context.Canceled):
    					status = rebalStopped
    					traceMsg = fmt.Sprintf("stopped at %s", now)
    				case rebalErr == nil:
    					status = rebalCompleted
    					traceMsg = fmt.Sprintf("completed at %s", now)
    				default:
    					status = rebalFailed
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Sep 04 20:47:24 UTC 2025
    - 28.9K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/sql-databases.md

    <img src="/img/tutorial/sql-databases/image01.png">
    </div>
    
    ## Update the App with Multiple Models { #update-the-app-with-multiple-models }
    
    Now let's **refactor** this app a bit to increase **security** and **versatility**.
    
    If you check the previous app, in the UI you can see that, up to now, it lets the client decide the `id` of the `Hero` to create. 😱
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/security/oauth2-scopes.md

    {* ../../docs_src/security/tutorial005_an_py310.py hl[5,9,13,47,65,106,108:116,122:126,130:136,141,157] *}
    
    Now let's review those changes step by step.
    
    ## OAuth2 Security scheme { #oauth2-security-scheme }
    
    The first change is that now we are declaring the OAuth2 security scheme with two available scopes, `me` and `items`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/query-params-str-validations.md

    ```
    
    ////
    
    Both of those versions mean the same thing, `q` is a parameter that can be a `str` or `None`, and by default, it is `None`.
    
    Now let's jump to the fun stuff. 🎉
    
    ## Add `Query` to `Annotated` in the `q` parameter { #add-query-to-annotated-in-the-q-parameter }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  8. internal/lru/lru.go

    func (c *LRU[K, V]) Add(key K, value V) (evicted bool) {
    	c.mu.Lock()
    	defer c.mu.Unlock()
    	now := time.Now()
    
    	// Check for existing item
    	if ent, ok := c.items[key]; ok {
    		c.evictList.MoveToFront(ent)
    		c.removeFromBucket(ent) // remove the entry from its current bucket as expiresAt is renewed
    		ent.Value = value
    		ent.ExpiresAt = now.Add(c.ttl)
    		c.addToBucket(ent)
    		return false
    	}
    
    	// Add new item
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/FaultTolerantClientTest.java

             */
            @Override
            public ResponseData execute(final RequestData request) {
                final long now = SystemUtil.currentTimeMillis();
                if (now - previousTime < interval) {
                    throw new IllegalStateException();
                }
                previousTime = now;
    
                count++;
                if (count <= exceptionCount) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/generate-clients.md

    ### Generate a TypeScript Client with Custom Operation IDs { #generate-a-typescript-client-with-custom-operation-ids }
    
    Now, if you generate the client again, you will see that it has the improved method names:
    
    <img src="/img/tutorial/generate-clients/image07.png">
    
    As you see, the method names now have the tag and then the function name, now they don't include information from the URL path and the HTTP operation.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 10.1K bytes
    - Viewed (1)
Back to top