Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for Murray (0.21 sec)

  1. src/builtin/builtin.go

    //
    // For some arguments, such as a string literal or a simple array expression, the
    // result can be a constant. See the Go language specification's "Length and
    // capacity" section for details.
    func len(v Type) int
    
    // The cap built-in function returns the capacity of v, according to its type:
    //
    //	Array: the number of elements in v (same as len(v)).
    //	Pointer to array: the number of elements in *v (same as len(v)).
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  2. callbacks/create.go

    				}
    				insertID += schema.DefaultAutoIncrementIncrement
    			}
    		default:
    			if pkField == nil {
    				return
    			}
    
    			switch db.Statement.ReflectValue.Kind() {
    			case reflect.Slice, reflect.Array:
    				if config.LastInsertIDReversed {
    					for i := db.Statement.ReflectValue.Len() - 1; i >= 0; i-- {
    						rv := db.Statement.ReflectValue.Index(i)
    						if reflect.Indirect(rv).Kind() != reflect.Struct {
    							break
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 08 03:29:55 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  3. internal/grid/handlers_string.go

    // Code generated by "stringer -type=HandlerID -output=handlers_string.go -trimprefix=Handler msg.go handlers.go"; DO NOT EDIT.
    
    package grid
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[handlerInvalid-0]
    	_ = x[HandlerLockLock-1]
    	_ = x[HandlerLockRLock-2]
    	_ = x[HandlerLockUnlock-3]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  4. cmd/erasure-server-pool.go

    	}
    	return PoolObjInfo{}, noReadQuorumPools, toObjectErr(errFileNotFound, bucket, object)
    }
    
    // return all pools with read quorum error or no error for an object with given opts.Note that this array is
    // returned in the order of recency of object ModTime.
    func (z *erasureServerPools) poolsWithObject(pools []PoolObjInfo, opts ObjectOptions) (errs []poolErrs) {
    	for _, pool := range pools {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  5. cmd/xl-storage-format-v2_gen.go

    	if err != nil {
    		err = msgp.WrapError(err, "EcN")
    		return
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z *xlMetaV2VersionHeader) EncodeMsg(en *msgp.Writer) (err error) {
    	// array header, size 7
    	err = en.Append(0x97)
    	if err != nil {
    		return
    	}
    	err = en.WriteBytes((z.VersionID)[:])
    	if err != nil {
    		err = msgp.WrapError(err, "VersionID")
    		return
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  6. scan.go

    						var val interface{}
    						values[idx] = &val
    					}
    				}
    			}
    		}
    
    		switch reflectValue.Kind() {
    		case reflect.Slice, reflect.Array:
    			var (
    				elem        reflect.Value
    				isArrayKind = reflectValue.Kind() == reflect.Array
    			)
    
    			if !update || reflectValue.Len() == 0 {
    				update = false
    				if isArrayKind {
    					db.Statement.ReflectValue.Set(reflect.Zero(reflectValue.Type()))
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Apr 26 09:53:11 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  7. cmd/storage-datatypes.go

    			}
    		}
    		return -1
    	}
    
    	for i, ver := range f.Versions {
    		if ver.VersionID == v {
    			return i
    		}
    	}
    	return -1
    }
    
    // RawFileInfo - represents raw file stat information as byte array.
    // The above means that any added/deleted fields are incompatible.
    // Make sure to bump the internode version at storage-rest-common.go
    type RawFileInfo struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  8. cmd/format-erasure.go

    		This    string `json:"this"`    // This field carries assigned disk uuid.
    		// Sets field carries the input disk order generated the first
    		// time when fresh disks were supplied, it is a two dimensional
    		// array second dimension represents list of disks used per set.
    		Sets [][]string `json:"sets"`
    		// Distribution algorithm represents the hashing algorithm
    		// to pick the right set index for an object.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  9. cmd/bucket-lifecycle.go

    	// Lock to avoid multiple resizes to happen at the same time.
    	es.mu.Lock()
    	defer es.mu.Unlock()
    	var workers []chan expiryOp
    	if v := es.workers.Load(); v != nil {
    		// Copy to new array.
    		workers = append(workers, *v...)
    	}
    
    	if n == len(workers) || n < 1 {
    		return
    	}
    
    	for len(workers) < n {
    		input := make(chan expiryOp, 10000)
    		workers = append(workers, input)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  10. internal/grid/grid_test.go

    				return true
    			})
    			t.Errorf("expected no active streams, got %d outgoing: %v", stats.OutgoingStreams, found)
    		}
    		return
    	}
    }
    
    // Inserted manually.
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[StateUnconnected-0]
    	_ = x[StateConnecting-1]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:03:35 GMT 2024
    - 30.1K bytes
    - Viewed (0)
Back to top