Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 533 for Parses (0.18 sec)

  1. src/cmd/vendor/github.com/google/pprof/driver/driver.go

    	AddExtraUsage(eu string)
    
    	// Parse initializes the flags with their values for this run
    	// and returns the non-flag command line arguments.
    	// If an unknown flag is encountered or there are no arguments,
    	// Parse should call usage and return nil.
    	Parse(usage func()) []string
    }
    
    // A Fetcher reads and returns the profile named by src, using
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/helpers.go

    	return filepath.Join(podLogsDir, strings.Join([]string{podNamespace, podName,
    		string(podUID)}, logPathDelimiter))
    }
    
    // parsePodUIDFromLogsDirectory parses pod logs directory name and returns the pod UID.
    // It supports both the old pod log directory /var/log/pods/UID, and the new pod log
    // directory /var/log/pods/NAMESPACE_NAME_UID.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. src/mime/mediatype.go

    // the media type value was found but there was an error parsing
    // the optional parameters
    var ErrInvalidMediaParameter = errors.New("mime: invalid media parameter")
    
    // ParseMediaType parses a media type value and any optional
    // parameters, per RFC 1521.  Media types are the values in
    // Content-Type and Content-Disposition headers (RFC 2183).
    // On success, ParseMediaType returns the media type converted
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  4. cmd/encryption-v1.go

    	k, err := crypto.SSECopy.ParseHTTP(h)
    	return k[:], err
    }
    
    // ParseSSECustomerRequest parses the SSE-C header fields of the provided request.
    // It returns the client provided key on success.
    func ParseSSECustomerRequest(r *http.Request) (key []byte, err error) {
    	return ParseSSECustomerHeader(r.Header)
    }
    
    // ParseSSECustomerHeader parses the SSE-C header fields and returns
    // the client provided key on success.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/PomReaderTest.groovy

     */
    package org.gradle.api.internal.artifacts.ivyservice.ivyresolve.parser
    
    import org.gradle.api.internal.artifacts.DefaultModuleIdentifier
    import org.gradle.api.internal.artifacts.DefaultModuleVersionIdentifier
    import org.gradle.api.internal.artifacts.ImmutableModuleIdentifierFactory
    import org.gradle.api.internal.artifacts.ivyservice.ivyresolve.parser.data.MavenDependencyKey
    import org.xml.sax.SAXParseException
    import spock.lang.Issue
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 15:53:23 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  6. internal/config/storageclass/storage-class.go

    	}
    	return []byte{}, nil
    }
    
    func (sc *StorageClass) String() string {
    	if sc.Parity != 0 {
    		return fmt.Sprintf("%s:%d", schemePrefix, sc.Parity)
    	}
    	return ""
    }
    
    // Parses given storageClassEnv and returns a storageClass structure.
    // Supported Storage Class format is "Scheme:Number of parity drives".
    // Currently only supported scheme is "EC".
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  7. src/crypto/x509/x509.go

    		rest, err := asn1.Unmarshal(rawAttr.FullBytes, &attr)
    		// Ignore attributes that don't parse into pkix.AttributeTypeAndValueSET
    		// (i.e.: challengePassword or unstructuredName).
    		if err == nil && len(rest) == 0 {
    			attributes = append(attributes, attr)
    		}
    	}
    	return attributes
    }
    
    // parseCSRExtensions parses the attributes from a CSR and extracts any
    // requested extensions.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:20:15 UTC 2024
    - 82K bytes
    - Viewed (0)
  8. src/cmd/go/internal/workcmd/edit.go

    // during -fix).  Even so, we need to make sure the version is a valid token.
    func allowedVersionArg(arg string) bool {
    	return !modfile.MustQuote(arg)
    }
    
    // parsePathVersionOptional parses path[@version], using adj to
    // describe any errors.
    func parsePathVersionOptional(adj, arg string, allowDirPath bool) (path, version string, err error) {
    	before, after, found := strings.Cut(arg, "@")
    	if !found {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. internal/config/identity/ldap/ldap.go

    			if strings.Contains(err.Error(), "User DN not found for") {
    				return nil, nil
    			}
    			return nil, fmt.Errorf("Unable to find user DN: %w", err)
    		}
    		return bindDN, nil
    	}
    
    	// Since the username parses as a valid DN, check that it exists and is
    	// under a configured base DN in the LDAP directory.
    	validDN, isUnderBaseDN, err := l.GetValidatedUserDN(conn, username)
    	if err == nil && !isUnderBaseDN {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 25 13:43:06 UTC 2024
    - 10.3K bytes
    - Viewed (1)
  10. cmd/endpoint-ellipses_test.go

    		if paddinglen == 0 {
    			seq = append(seq, fmt.Sprintf("%d", i))
    		} else {
    			seq = append(seq, fmt.Sprintf(fmt.Sprintf("%%0%dd", paddinglen), i))
    		}
    	}
    	return seq
    }
    
    // Test tests parses endpoint ellipses input pattern.
    func TestParseEndpointSet(t *testing.T) {
    	testCases := []struct {
    		arg     string
    		es      endpointSet
    		success bool
    	}{
    		// Tests invalid inputs.
    		{
    			"...",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.2K bytes
    - Viewed (0)
Back to top