Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 938 for timme (0.03 sec)

  1. cmd/local-locker.go

    // Caller must hold 'l.mutex' lock.
    func (l *localLocker) expireOldLocks(interval time.Duration) {
    	l.mutex.Lock()
    	defer l.mutex.Unlock()
    
    	for k, lris := range l.lockMap {
    		modified := false
    		for i := 0; i < len(lris); {
    			lri := &lris[i]
    			if time.Since(time.Unix(0, lri.TimeLastRefresh)) > interval {
    				delete(l.lockUID, formatUUID(lri.UID, lri.idx))
    				if len(lris) == 1 {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. internal/s3select/sql/value_test.go

    		return FromBytes([]byte("byte contents"))
    	},
    	func() *Value {
    		return FromFloat(math.Pi)
    	},
    	func() *Value {
    		return FromInt(0x1337)
    	},
    	func() *Value {
    		t, err := time.Parse(time.RFC3339, "2006-01-02T15:04:05Z")
    		if err != nil {
    			panic(err)
    		}
    		return FromTimestamp(t)
    	},
    	func() *Value {
    		return FromString("string contents")
    	},
    }
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Mar 06 16:56:10 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  3. cmd/data-usage-utils.go

    	TotalFreeCapacity uint64 `json:"freeCapacity,omitempty"`
    
    	// LastUpdate is the timestamp of when the data usage info was last updated.
    	// This does not indicate a full scan.
    	LastUpdate time.Time `json:"lastUpdate"`
    
    	// Objects total count across all buckets
    	ObjectsTotalCount uint64 `json:"objectsCount"`
    
    	// Versions total count across all buckets
    	VersionsTotalCount uint64 `json:"versionsCount"`
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sun Mar 10 09:15:15 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. docs/en/docs/history-design-future.md

    # History, Design and Future
    
    Some time ago, <a href="https://github.com/fastapi/fastapi/issues/3#issuecomment-454956920" class="external-link" target="_blank">a **FastAPI** user asked</a>:
    
    > What’s the history of this project? It seems to have come from nowhere to awesome in a few weeks [...]
    
    Here's a little bit of that history.
    
    ## Alternatives
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Mon Jul 29 23:35:07 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. tests/migrate_test.go

    		Name     string
    		Salary   float64
    		Birthday time.Time `gorm:"precision:4"`
    	}
    
    	DB.Migrator().DropTable(&UserMigrateColumn{})
    
    	DB.AutoMigrate(&UserMigrateColumn{})
    
    	type UserMigrateColumn2 struct {
    		ID                  uint
    		Name                string    `gorm:"size:128"`
    		Salary              float64   `gorm:"precision:2"`
    		Birthday            time.Time `gorm:"precision:2"`
    Registered: Sun Oct 27 09:35:08 UTC 2024
    - Last Modified: Mon Mar 18 11:24:16 UTC 2024
    - 56.2K bytes
    - Viewed (0)
  6. cmd/iam-etcd-store.go

    					return
    				case watchResp, ok := <-watchCh:
    					if !ok {
    						time.Sleep(1 * time.Second)
    						// Upon an error on watch channel
    						// re-init the watch channel.
    						goto outerLoop
    					}
    					if err := watchResp.Err(); err != nil {
    						iamLogIf(ctx, err)
    						// log and retry.
    						time.Sleep(1 * time.Second)
    						// Upon an error on watch channel
    						// re-init the watch channel.
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Aug 15 01:29:20 UTC 2024
    - 14K bytes
    - Viewed (0)
  7. internal/grid/msg_gen.go

    				return
    			}
    		case "Host":
    			z.Host, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Host")
    				return
    			}
    		case "Time":
    			z.Time, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "Time")
    				return
    			}
    		case "Token":
    			z.Token, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Token")
    				return
    			}
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Jul 25 21:07:21 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  8. docs/em/docs/tutorial/extra-data-types.md

        * πŸ“¨ &amp; πŸ“¨ πŸ”œ 🎨 `str` πŸ’Ύ 8️⃣6️⃣0️⃣1️⃣ πŸ“, πŸ’–: `2008-09-15T15:53:00+05:00`.
    * `datetime.date`:
        * 🐍 `datetime.date`.
        * πŸ“¨ &amp; πŸ“¨ πŸ”œ 🎨 `str` πŸ’Ύ 8️⃣6️⃣0️⃣1️⃣ πŸ“, πŸ’–: `2008-09-15`.
    * `datetime.time`:
        * 🐍 `datetime.time`.
        * πŸ“¨ &amp; πŸ“¨ πŸ”œ 🎨 `str` πŸ’Ύ 8️⃣6️⃣0️⃣1️⃣ πŸ“, πŸ’–: `14:23:55.003`.
    * `datetime.timedelta`:
        * 🐍 `datetime.timedelta`.
        * πŸ“¨ &amp; πŸ“¨ πŸ”œ 🎨 `float` 🌐 πŸ₯ˆ.
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. lib/time/mkzip.go

    // and its subdirectories, with no compression, suitable for package time.
    //
    // Usage:
    //
    //	go run ../../mkzip.go ../../zoneinfo.zip
    //
    // We use this program instead of 'zip -0 -r ../../zoneinfo.zip *' to get
    // a reproducible generator that does not depend on which version of the
    // external zip tool is used or the ordering of file names in a directory
    // or the current time.
    package main
    
    import (
    	"archive/zip"
    	"bytes"
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Mon Mar 04 17:32:07 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. docs/en/docs/how-to/custom-request-and-route.md

    {!../../docs_src/custom_request_and_route/tutorial003.py!}
    ```
    
    In this example, the *path operations* under the `router` will use the custom `TimedRoute` class, and will have an extra `X-Response-Time` header in the response with the time it took to generate the response:
    
    ```Python hl_lines="13-20"
    {!../../docs_src/custom_request_and_route/tutorial003.py!}
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top