Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for Murray (0.16 sec)

  1. internal/grid/types.go

    			return newFn()
    		}},
    	}
    }
    
    // New returns a new empty Array.
    func (p *ArrayOf[T]) New() *Array[T] {
    	return &Array[T]{
    		p: p,
    	}
    }
    
    // NewWith returns a new Array with the provided value (not copied).
    func (p *ArrayOf[T]) NewWith(val []T) *Array[T] {
    	return &Array[T]{
    		p:   p,
    		val: val,
    	}
    }
    
    func (p *ArrayOf[T]) newA(sz uint32) []T {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 01 23:42:09 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  2. internal/s3select/sql/jsonpath.go

    	errIndexLookup                = errors.New("Cannot look up array index in non-array value")
    	errWildcardObjectLookup       = errors.New("Object wildcard used on non-object value")
    	errWildcardArrayLookup        = errors.New("Array wildcard used on non-array value")
    	errWildcardObjectUsageInvalid = errors.New("Invalid usage of object wildcard")
    )
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  3. 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 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  4. 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 Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Apr 08 03:29:55 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  5. 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 Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 01 23:42:09 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  6. cmd/signature-v4-utils.go

    	}
    
    	if _, ok := claims[policy.SessionPolicyName]; ok {
    		owner = false
    	}
    
    	return cred, owner, ErrNone
    }
    
    // sumHMAC calculate hmac between two input byte array.
    func sumHMAC(key []byte, data []byte) []byte {
    	hash := hmac.New(sha256.New, key)
    	hash.Write(data)
    	return hash.Sum(nil)
    }
    
    // extractSignedHeaders extract signed headers from Authorization header
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Jan 31 18:56:45 GMT 2024
    - 9K bytes
    - Viewed (0)
  7. cmd/data-usage-cache_gen.go

    		err = msgp.WrapError(err, "ReplicaCount")
    		return
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z *replicationAllStatsV1) EncodeMsg(en *msgp.Writer) (err error) {
    	// array header, size 3
    	err = en.Append(0x93)
    	if err != nil {
    		return
    	}
    	err = en.WriteMapHeader(uint32(len(z.Targets)))
    	if err != nil {
    		err = msgp.WrapError(err, "Targets")
    		return
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 100.8K bytes
    - Viewed (0)
  8. tests/migrate_test.go

    	ct, err = findColumnType(&ArrayTypeModel{}, "text_array")
    	AssertEqual(t, nil, err)
    	AssertEqual(t, "text[]", ct.DatabaseTypeName())
    
    	ct, err = findColumnType(&ArrayTypeModel{}, "nested_text_array")
    	AssertEqual(t, nil, err)
    	AssertEqual(t, "text[]", ct.DatabaseTypeName())
    
    	ct, err = findColumnType(&ArrayTypeModel{}, "nested_int_array")
    	AssertEqual(t, nil, err)
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Mar 18 11:24:16 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  9. cmd/server_test.go

    		buffer.WriteString(data)
    	}
    	// String content which is used for put object range test.
    	putBytes := buffer.Bytes()
    	putBytes = putBytes[:randInt]
    	// randomize the order of bytes in the byte array and create a reader.
    	putBytes = randomizeBytes(putBytes, -1)
    	buf := bytes.NewReader(putBytes)
    	putContent := string(putBytes)
    	objectName := "test-big-file"
    	// HTTP request to upload the object.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  10. 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 Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 53.8K bytes
    - Viewed (0)
Back to top