Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for bb (0.11 sec)

  1. internal/grid/types.go

    func NewBytesWith(b []byte) *Bytes {
    	bb := Bytes(b)
    	return &bb
    }
    
    // NewBytesWithCopyOf returns a new byte slice with a copy of the provided content.
    func NewBytesWithCopyOf(b []byte) *Bytes {
    	if b == nil {
    		bb := Bytes(nil)
    		return &bb
    	}
    	bb := NewBytesCap(len(b))
    	*bb = append(*bb, b...)
    	return bb
    }
    
    // Bytes provides a byte slice that can be serialized.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 01 23:42:09 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  2. internal/s3select/sql/value.go

    			a.setFloat(fA)
    			b.setInt(iB)
    			return nil
    		}
    
    		// Not numeric types at this point.
    
    		// Check for bool inference
    		bA, okAb := a.bytesToBool()
    		bB, okBb := b.bytesToBool()
    		if okAb && okBb {
    			a.setBool(bA)
    			b.setBool(bB)
    			return nil
    		}
    
    		// Fallback to string
    		sA := a.bytesToString()
    		sB := b.bytesToString()
    		a.setString(sA)
    		b.setString(sB)
    		return nil
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 20.2K bytes
    - Viewed (0)
Back to top