Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for rawValue (0.16 sec)

  1. security/pkg/pki/util/san.go

    	}
    
    	ids := []Identity{}
    	for bytes := sequence.Bytes; len(bytes) > 0; {
    		var rawValue asn1.RawValue
    		var err error
    
    		bytes, err = asn1.Unmarshal(bytes, &rawValue)
    		if err != nil {
    			return nil, err
    		}
    		ids = append(ids, Identity{Type: identityTypeMap[rawValue.Tag], Value: rawValue.Bytes})
    	}
    
    	return ids, nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Oct 14 06:50:22 UTC 2022
    - 6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/ParseRequest.java

    /** A string to be parsed as a number and the radix to interpret it in. */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class ParseRequest {
      final String rawValue;
      final int radix;
    
      private ParseRequest(String rawValue, int radix) {
        this.rawValue = rawValue;
        this.radix = radix;
      }
    
      static ParseRequest fromString(String stringValue) {
        if (stringValue.length() == 0) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 22 13:09:25 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/ParseRequest.java

    /** A string to be parsed as a number and the radix to interpret it in. */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class ParseRequest {
      final String rawValue;
      final int radix;
    
      private ParseRequest(String rawValue, int radix) {
        this.rawValue = rawValue;
        this.radix = radix;
      }
    
      static ParseRequest fromString(String stringValue) {
        if (stringValue.length() == 0) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 22 13:09:25 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  4. src/runtime/debug/mod.go

    				key, _ = strconv.Unquote(rawKey)
    				rawValue = kv[len(rawKey)+1:]
    
    			default:
    				var ok bool
    				key, rawValue, ok = strings.Cut(kv, "=")
    				if !ok {
    					return nil, fmt.Errorf("build line missing '=' after key")
    				}
    				if quoteKey(key) {
    					return nil, fmt.Errorf("unquoted key %q must be quoted", key)
    				}
    			}
    
    			var value string
    			if len(rawValue) > 0 {
    				switch rawValue[0] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 15:06:51 UTC 2023
    - 7.6K bytes
    - Viewed (1)
  5. src/crypto/x509/pkcs8.go

    		if err != nil {
    			return nil, errors.New("x509: failed to marshal curve OID: " + err.Error())
    		}
    		privKey.Algo = pkix.AlgorithmIdentifier{
    			Algorithm: oidPublicKeyECDSA,
    			Parameters: asn1.RawValue{
    				FullBytes: oidBytes,
    			},
    		}
    		if privKey.PrivateKey, err = marshalECPrivateKeyWithOID(k, nil); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  6. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/text/AbstractStyledTextOutputTest.groovy

            when:
            output.text(null)
    
            then:
            output.value == 'null'
        }
    
        def writesEndOfLine() {
            when:
            output.println()
    
            then:
            output.rawValue == SystemProperties.instance.lineSeparator
        }
    
        def appendsCharacter() {
            when:
            output.append('c' as char)
    
            then:
            output.value == 'c'
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  7. src/crypto/x509/pkix/pkix.go

    	"math/big"
    	"time"
    )
    
    // AlgorithmIdentifier represents the ASN.1 structure of the same name. See RFC
    // 5280, section 4.1.1.2.
    type AlgorithmIdentifier struct {
    	Algorithm  asn1.ObjectIdentifier
    	Parameters asn1.RawValue `asn1:"optional"`
    }
    
    type RDNSequence []RelativeDistinguishedNameSET
    
    var attributeTypeNames = map[string]string{
    	"2.5.4.6":  "C",
    	"2.5.4.10": "O",
    	"2.5.4.11": "OU",
    	"2.5.4.3":  "CN",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/rewrite_util.h

    DenseElementsAttr GetScalarOfType(Type ty, T raw_value) {
      RankedTensorType scalar_ty = RankedTensorType::get({}, ty);
      if (auto float_ty = mlir::dyn_cast<FloatType>(ty)) {
        FloatAttr attr = FloatAttr::get(float_ty, raw_value);
        return DenseElementsAttr::get(scalar_ty, attr);
      } else if (auto int_ty = mlir::dyn_cast<IntegerType>(ty)) {
        IntegerAttr attr = IntegerAttr::get(int_ty, raw_value);
        return DenseElementsAttr::get(scalar_ty, attr);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/transforms/utils.cc

    #include "xla/mlir_hlo/utils/hlo_utils.h"
    
    namespace mlir {
    namespace mhlo {
    
    ConstantOp GetScalarConstOfType(Type ty, Location loc, int64_t raw_value,
                                    OpBuilder* builder) {
      return builder->create<ConstantOp>(loc, hlo::getScalarOfType(ty, raw_value));
    }
    
    ConstantOp GetScalarNegZeroOfType(Type ty, Location loc, OpBuilder* builder) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/transforms/utils.h

      auto reducer =
          builder->create<Op>(loc, block->getArgument(0), block->getArgument(1));
      builder->create<ReturnOp>(loc, reducer.getResult());
    }
    
    ConstantOp GetScalarConstOfType(Type ty, Location loc, int64_t raw_value,
                                    OpBuilder* builder);
    
    ConstantOp GetScalarNegZeroOfType(Type ty, Location loc, OpBuilder* builder);
    
    // Converts an ArrayAttr to a 1D 64-bit dense elements attribute.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 2.3K bytes
    - Viewed (0)
Back to top