Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for MarshalText (0.26 sec)

  1. api/go1.18.txt

    pkg net/netip, method (Addr) IsValid() bool
    pkg net/netip, method (Addr) Less(Addr) bool
    pkg net/netip, method (Addr) MarshalBinary() ([]uint8, error)
    pkg net/netip, method (Addr) MarshalText() ([]uint8, error)
    pkg net/netip, method (Addr) Next() Addr
    pkg net/netip, method (Addr) Prefix(int) (Prefix, error)
    pkg net/netip, method (Addr) Prev() Addr
    pkg net/netip, method (Addr) String() string
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 13K bytes
    - Viewed (0)
  2. internal/config/storageclass/storage-class.go

    	if scStr == "" {
    		return nil
    	}
    	s, err := parseStorageClass(scStr)
    	if err != nil {
    		return err
    	}
    	sc.Parity = s.Parity
    	return nil
    }
    
    // MarshalText - marshals storage class string.
    func (sc *StorageClass) MarshalText() ([]byte, error) {
    	if sc.Parity != 0 {
    		return []byte(fmt.Sprintf("%s:%d", schemePrefix, sc.Parity)), nil
    	}
    	return []byte{}, nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  3. internal/kms/kms.go

    			return ErrPermission
    		}
    		return errKeyCreationFailed(err)
    	}
    	return nil
    }
    
    func (c *kmsConn) GenerateKey(ctx context.Context, req *GenerateKeyRequest) (DEK, error) {
    	aad, err := req.AssociatedData.MarshalText()
    	if err != nil {
    		return DEK{}, err
    	}
    
    	name := req.Name
    	if name == "" {
    		name = c.defaultKey
    	}
    
    	resp, err := c.client.GenerateKey(ctx, &kms.GenerateKeyRequest{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. api/go1.21.txt

    pkg log/slog, method (Level) MarshalText() ([]uint8, error) #56345
    pkg log/slog, method (Level) String() string #56345
    pkg log/slog, method (*Level) UnmarshalJSON([]uint8) error #56345
    pkg log/slog, method (*Level) UnmarshalText([]uint8) error #56345
    pkg log/slog, method (*LevelVar) Level() Level #56345
    pkg log/slog, method (*LevelVar) MarshalText() ([]uint8, error) #56345
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Aug 07 09:39:17 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  5. api/go1.23.txt

    pkg crypto/x509, method (*OID) UnmarshalText([]uint8) error #66249
    pkg crypto/x509, method (OID) MarshalBinary() ([]uint8, error) #66249
    pkg crypto/x509, method (OID) MarshalText() ([]uint8, error) #66249
    pkg debug/elf, const PT_OPENBSD_NOBTCFI = 1705237480 #66054
    pkg debug/elf, const PT_OPENBSD_NOBTCFI ProgType #66054
    pkg debug/elf, const STT_GNU_IFUNC = 10 #66836
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Jun 25 17:08:08 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  6. api/go1.6.txt

    pkg image/color, type NYCbCrA struct
    pkg image/color, type NYCbCrA struct, A uint8
    pkg image/color, type NYCbCrA struct, embedded YCbCr
    pkg image/color, var NYCbCrAModel Model
    pkg math/big, method (*Float) MarshalText() ([]uint8, error)
    pkg math/big, method (*Float) UnmarshalText([]uint8) error
    pkg math/big, method (*Int) Append([]uint8, int) []uint8
    pkg math/big, method (*Int) Text(int) string
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Jan 13 23:40:13 UTC 2016
    - 12.9K bytes
    - Viewed (0)
Back to top