Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,177 for returnedAt (0.21 sec)

  1. src/database/sql/sql.go

    	// guarded by db.mu
    	inUse      bool
    	dbmuClosed bool      // same as closed, but guarded by db.mu, for removeClosedStmtLocked
    	returnedAt time.Time // Time the connection was created or returned.
    	onPut      []func()  // code (with db.mu held) run when conn is next returned
    }
    
    func (dc *driverConn) releaseConn(err error) {
    	dc.db.putConn(dc, err, true)
    }
    
    func (dc *driverConn) removeOpenStmt(ds *driverStmt) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
  2. src/database/sql/sql_test.go

    			}
    
    			// Validate freeConn order.
    			var last time.Time
    			for _, c := range db.freeConn {
    				if last.After(c.returnedAt) {
    					t.Error("freeConn is not ordered by returnedAt")
    					break
    				}
    				last = c.returnedAt
    			}
    
    			db.mu.Unlock()
    			for _, c := range closing {
    				c.Close()
    			}
    			if g, w := int64(len(closing)), item.wantIdleClosed; g != w {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  3. cmd/typed-errors.go

    // errInvalidRange - returned when given range value is not valid.
    var errInvalidRange = errors.New("Invalid range")
    
    // errInvalidRangeSource - returned when given range value exceeds
    // the source object size.
    var errInvalidRangeSource = errors.New("Range specified exceeds source object size")
    
    // error returned by disks which are to be initialized are waiting for the
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 17:14:16 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. test/fixedbugs/issue18808.go

    	if x == lim {
    		return
    	}
    	panic("x == lim returned false")
    }
    
    //go:noinline
    func neq(x uint32) {
    	if x != lim {
    		panic("x != lim returned true")
    	}
    }
    
    //go:noinline
    func gt(x uint32) {
    	if x > lim {
    		return
    	}
    	panic("x > lim returned false")
    }
    
    //go:noinline
    func gte(x uint32) {
    	if x >= lim {
    		return
    	}
    	panic("x >= lim returned false")
    }
    
    //go:noinline
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 27 16:04:04 UTC 2017
    - 847 bytes
    - Viewed (0)
  5. src/sync/oncefunc.go

    	}
    	return func() {
    		once.Do(g)
    		if !valid {
    			panic(p)
    		}
    	}
    }
    
    // OnceValue returns a function that invokes f only once and returns the value
    // returned by f. The returned function may be called concurrently.
    //
    // If f panics, the returned function will panic with the same value on every call.
    func OnceValue[T any](f func() T) func() T {
    	var (
    		once   Once
    		valid  bool
    		p      any
    		result T
    	)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:31:33 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. pkg/apis/events/v1/conversion.go

    		"regarding.apiVersion":      "involvedObject.apiVersion",      // map events.k8s.io field to fieldset returned by ToSelectableFields
    		"regarding.resourceVersion": "involvedObject.resourceVersion", // map events.k8s.io field to fieldset returned by ToSelectableFields
    		"regarding.fieldPath":       "involvedObject.fieldPath",       // map events.k8s.io field to fieldset returned by ToSelectableFields
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 08 12:46:38 UTC 2020
    - 3.6K bytes
    - Viewed (0)
  7. pkg/apis/events/v1beta1/conversion.go

    		"regarding.apiVersion":      "involvedObject.apiVersion",      // map events.k8s.io field to fieldset returned by ToSelectableFields
    		"regarding.resourceVersion": "involvedObject.resourceVersion", // map events.k8s.io field to fieldset returned by ToSelectableFields
    		"regarding.fieldPath":       "involvedObject.fieldPath",       // map events.k8s.io field to fieldset returned by ToSelectableFields
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 08 12:46:38 UTC 2020
    - 3.7K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/test/float_test.go

    		t.Errorf("d3 >= d9 returned true")
    	}
    	if d5 < d1 {
    		t.Errorf("d5 < d1 returned true")
    	}
    	if d9 <= d1 {
    		t.Errorf("d9 <= d1 returned true")
    	}
    	if math.NaN() == math.NaN() {
    		t.Errorf("math.NaN() == math.NaN() returned true")
    	}
    	if math.NaN() >= math.NaN() {
    		t.Errorf("math.NaN() >= math.NaN() returned true")
    	}
    	if math.NaN() <= math.NaN() {
    		t.Errorf("math.NaN() <= math.NaN() returned true")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 12.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Table.java

       * values. Changes to the returned map will update this table. The returned map does not support
       * {@code put()} or {@code putAll()}, or {@code setValue()} on its entries.
       *
       * <p>In contrast, the maps returned by {@code columnMap().get()} have the same behavior as those
       * returned by {@link #column}. Those maps may support {@code setValue()}, {@code put()}, and
       * {@code putAll()}.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  10. pkg/controller/history/controller_history.go

    // has a Revision equal to revision. The collisionCount is used when creating the name of the ControllerRevision
    // so the name is likely unique. If the returned error is nil, the returned ControllerRevision is valid. If the
    // returned error is not nil, the returned ControllerRevision is invalid for use.
    func NewControllerRevision(parent metav1.Object,
    	parentKind schema.GroupVersionKind,
    	templateLabels map[string]string,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 05 13:33:52 UTC 2021
    - 18.2K bytes
    - Viewed (0)
Back to top