Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 554 for Parses (0.16 sec)

  1. src/crypto/x509/oid.go

    	"math/bits"
    	"strconv"
    	"strings"
    )
    
    var (
    	errInvalidOID = errors.New("invalid oid")
    )
    
    // An OID represents an ASN.1 OBJECT IDENTIFIER.
    type OID struct {
    	der []byte
    }
    
    // ParseOID parses a Object Identifier string, represented by ASCII numbers separated by dots.
    func ParseOID(oid string) (OID, error) {
    	var o OID
    	return o, o.unmarshalOIDText(oid)
    }
    
    func newOIDFromDER(der []byte) (OID, bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 19:10:38 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/TestOperationMapper.java

        }
    
        /**
         * This is a workaround to preserve backward compatibility with IntelliJ IDEA.
         * The problem only occurs in IntelliJ IDEA because it parses {@link OperationDescriptor#getDisplayName()} to get the test display name.
         * Once its code is updated to use {@link org.gradle.tooling.events.test.TestOperationDescriptor#getTestDisplayName()}, the workaround can be removed as well.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 08:42:44 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. src/net/netip/netip.go

    	}
    	fields[3] = uint8(val)
    	return nil
    }
    
    // parseIPv4 parses s as an IPv4 address (in form "192.168.0.1").
    func parseIPv4(s string) (ip Addr, err error) {
    	var fields [4]uint8
    	err = parseIPv4Fields(s, 0, len(s), fields[:])
    	if err != nil {
    		return Addr{}, err
    	}
    	return AddrFrom4(fields), nil
    }
    
    // parseIPv6 parses s as an IPv6 address (in form "2001:db8::68").
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  4. src/runtime/string.go

    	}
    	s, b := rawstring(l)
    	memmove(unsafe.Pointer(&b[0]), unsafe.Pointer(p), uintptr(l))
    	return s
    }
    
    const (
    	maxUint64 = ^uint64(0)
    	maxInt64  = int64(maxUint64 >> 1)
    )
    
    // atoi64 parses an int64 from a string s.
    // The bool result reports whether s is a number
    // representable by a value of type int64.
    func atoi64(s string) (int64, bool) {
    	if s == "" {
    		return 0, false
    	}
    
    	neg := false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. src/net/ip.go

    	if nn == nil || m == nil {
    		return "<nil>"
    	}
    	l := simpleMaskLength(m)
    	if l == -1 {
    		return nn.String() + "/" + m.String()
    	}
    	return nn.String() + "/" + itoa.Uitoa(uint(l))
    }
    
    // ParseIP parses s as an IP address, returning the result.
    // The string s can be in IPv4 dotted decimal ("192.0.2.1"), IPv6
    // ("2001:db8::68"), or IPv4-mapped IPv6 ("::ffff:192.0.2.1") form.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 03:13:26 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/mod/modfile/work.go

    type Use struct {
    	Path       string // Use path of module.
    	ModulePath string // Module path in the comment.
    	Syntax     *Line
    }
    
    // ParseWork parses and returns a go.work file.
    //
    // file is the name of the file, used in positions and errors.
    //
    // data is the content of the file.
    //
    // fix is an optional function that canonicalizes module versions.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 18:34:56 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  7. internal/config/identity/openid/jwt.go

    			return err
    		}
    		for k, v := range uclaims {
    			if _, ok := claims[k]; !ok { // only add to claims not update it.
    				claims[k] = v
    			}
    		}
    	}
    	return nil
    }
    
    // DiscoveryDoc - parses the output from openid-configuration
    // for example https://accounts.google.com/.well-known/openid-configuration
    type DiscoveryDoc struct {
    	Issuer                           string   `json:"issuer,omitempty"`
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 18:10:41 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. internal/event/name.go

    	if err := json.Unmarshal(data, &s); err != nil {
    		return err
    	}
    
    	eventName, err := ParseName(s)
    	if err != nil {
    		return err
    	}
    
    	*name = eventName
    	return nil
    }
    
    // ParseName - parses string to Name.
    func ParseName(s string) (Name, error) {
    	switch s {
    	case "s3:BucketCreated:*":
    		return BucketCreated, nil
    	case "s3:BucketRemoved:*":
    		return BucketRemoved, nil
    	case "s3:ObjectAccessed:*":
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 01:11:10 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/utils/attribute_utils.h

    // Checks if the device attribute is valid.
    LogicalResult IsValidDeviceTypeOrEmpty(StringAttr attr);
    
    using ParallelExecutionIdPairs =
        llvm::SmallVector<std::pair<std::string, std::string>, 8>;
    // Parses the parallel execution attribute for `op` and fills `id_pairs` with
    // the corresponding (group ID,branch ID) pairs.
    // Returns `failure` if the attribute is malformed.
    LogicalResult ParseParallelExecutionIds(Operation *op,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_metadata_utils.cc

                                            step_marker_location.getValue()));
    
      metadata->set_step_marker_location(location);
    
      return success();
    }
    
    // Parses a xla::OpSharding from a string attribute.
    LogicalResult SetOpSharding(Operation* op, Attribute attr, llvm::StringRef name,
                                int index, xla::OpSharding* sharding_ptr) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top