Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for toCBytes (0.18 sec)

  1. src/main/java/jcifs/internal/smb2/Smb3KeyDerivation.java

        private static final byte[] SIGNCONTEXT_300 = toCBytes("SmbSign");
        private static final byte[] SIGNLABEL_300 = toCBytes("SMB2AESCMAC");
        private static final byte[] SIGNLABEL_311 = toCBytes("SMBSigningKey");
    
        private static final byte[] APPCONTEXT_300 = toCBytes("SmbRpc");
        private static final byte[] APPLABEL_300 = toCBytes("SMB2APP");
        private static final byte[] APPLABEL_311 = toCBytes("SMBAppKey");
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.7K bytes
    - Viewed (0)
  2. internal/s3select/sql/value.go

    	return
    }
    
    // ToTimestamp returns the timestamp value if present.
    func (v Value) ToTimestamp() (t time.Time, ok bool) {
    	t, ok = v.value.(time.Time)
    	return
    }
    
    // ToBytes returns the value if byte-slice.
    func (v Value) ToBytes() (val []byte, ok bool) {
    	val, ok = v.value.([]byte)
    	return
    }
    
    // ToArray returns the value if it is a slice of values.
    func (v Value) ToArray() (val []Value, ok bool) {
    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)
  3. internal/s3select/json/record.go

    		v = sql.FormatSQLTimestamp(t)
    	} else if s, ok := value.ToString(); ok {
    		v = s
    	} else if value.IsNull() {
    		v = nil
    	} else if value.IsMissing() {
    		return r, nil
    	} else if b, ok := value.ToBytes(); ok {
    		// This can either be raw json or a CSV value.
    		// Only treat objects and arrays as JSON.
    		if len(b) > 0 && (b[0] == '{' || b[0] == '[') {
    			v = RawJSON(b)
    		} else {
    			v = string(b)
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 5.2K bytes
    - Viewed (0)
Back to top