Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 716 for NOW (0.2 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)},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 10.4K bytes
    - Viewed (1)
  2. internal/bucket/lifecycle/lifecycle_test.go

    				},
    			},
    		},
    	}
    
    	now := time.Now().UTC()
    
    	obj1 := ObjectOpts{
    		Name:     "obj1",
    		IsLatest: true,
    		ModTime:  now,
    	}
    
    	obj2 := ObjectOpts{
    		Name:    "obj2",
    		ModTime: now,
    	}
    
    	// Go back seven days in the past
    	now = now.Add(7 * 24 * time.Hour)
    
    	evt := lc.eval(obj1, now)
    	if evt.Action != TransitionAction {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 06:41:22 GMT 2024
    - 45.6K bytes
    - Viewed (0)
  3. docs/en/docs/how-to/custom-docs-ui-assets.md

    ### Create a *path operation* to test it
    
    Now, to be able to test that everything works, create a *path operation*:
    
    ```Python hl_lines="36-38"
    {!../../../docs_src/custom_docs_ui/tutorial001.py!}
    ```
    
    ### Test it
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Oct 30 09:58:58 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  4. internal/bucket/lifecycle/lifecycle.go

    }
    
    // Eval returns the lifecycle event applicable now.
    func (lc Lifecycle) Eval(obj ObjectOpts) Event {
    	return lc.eval(obj, time.Now().UTC())
    }
    
    // eval returns the lifecycle event applicable at the given now. If now is the
    // zero value of time.Time, it returns the upcoming lifecycle event.
    func (lc Lifecycle) eval(obj ObjectOpts, now time.Time) Event {
    	var events []Event
    	if obj.ModTime.IsZero() {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 06:41:22 GMT 2024
    - 17K bytes
    - Viewed (0)
  5. internal/grid/benchmark_test.go

    				defer cancel()
    				b.ReportAllocs()
    				b.SetBytes(int64(len(payload) * 2))
    				b.ResetTimer()
    				t := time.Now()
    				var ops int64
    				var lat int64
    				b.SetParallelism(par)
    				b.RunParallel(func(pb *testing.PB) {
    					rng := rand.New(rand.NewSource(time.Now().UnixNano()))
    					n := 0
    					var latency int64
    					managers := grid.Managers
    					hosts := grid.Hosts
    					for pb.Next() {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 12.2K bytes
    - Viewed (0)
  6. doc/next/6-stdlib/99-minor/net/63116.md

    The [DNSError] type now wraps errors caused by timeouts or cancellation.
    For example, `errors.Is(someDNSErr, context.DeadlineExceedeed)`
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Apr 24 13:37:36 GMT 2024
    - 198 bytes
    - Viewed (0)
  7. doc/go1.22.html

      <a href="https://go.dev/doc/pgo">Profile-guided Optimization (PGO)</a> builds
      can now devirtualize a higher proportion of calls than previously possible.
      Most programs from a representative set of Go programs now see between 2 and
      14% improvement from enabling PGO.
    </p>
    
    <p><!-- https://go.dev/cl/528321 -->
      The compiler now interleaves devirtualization and inlining, so interface
      method calls are better optimized.
    </p>
    HTML
    - Registered: Tue Feb 06 11:13:10 GMT 2024
    - Last Modified: Wed Jan 31 20:51:56 GMT 2024
    - 45.6K bytes
    - Viewed (0)
  8. cmd/data-scanner_test.go

    	}
    
    	bucket := "bucket"
    	obj := "obj-1"
    	now := time.Now()
    	meta := BucketMetadata{
    		Name:                      bucket,
    		Created:                   now,
    		LifecycleConfigXML:        lcXML,
    		VersioningConfigXML:       vcfgXML,
    		VersioningConfigUpdatedAt: now,
    		LifecycleConfigUpdatedAt:  now,
    		lifecycleConfig:           &lc,
    		versioningConfig:          &vcfg,
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

            final long now = System.currentTimeMillis();
            assertTrue(now + ">=" + current + " : " + (now - current), now >= current);
            assertTrue(now - 1000 + "<" + current + " : " + (current - now + 1000), now - 1000 < current);
        }
    
        public void test_getLogFilePath() {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 18.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/LocalCache.java

              ReferenceEntry<K, V> e = getEntry(key, hash);
              if (e != null) {
                long now = map.ticker.read();
                V value = getLiveValue(e, now);
                if (value != null) {
                  recordRead(e, now);
                  statsCounter.recordHits(1);
                  return scheduleRefresh(e, key, hash, value, now, loader);
                }
                ValueReference<K, V> valueReference = e.getValueReference();
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
Back to top