Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 420 for Parses (0.3 sec)

  1. src/internal/trace/internal/oldtrace/parser.go

    // version.ReadHeader.
    func Parse(r io.Reader, vers version.Version) (Trace, error) {
    	// We accept the version as an argument because internal/trace will have
    	// already read the version to determine which parser to use.
    	p, err := newParser(r, vers)
    	if err != nil {
    		return Trace{}, err
    	}
    	return p.parse()
    }
    
    // parse parses, post-processes and verifies the trace.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  2. src/crypto/tls/ticket.go

    }
    
    func certificatesToBytesSlice(certs []*x509.Certificate) [][]byte {
    	s := make([][]byte, 0, len(certs))
    	for _, c := range certs {
    		s = append(s, c.Raw)
    	}
    	return s
    }
    
    // ParseSessionState parses a [SessionState] encoded by [SessionState.Bytes].
    func ParseSessionState(data []byte) (*SessionState, error) {
    	ss := &SessionState{}
    	s := cryptobyte.String(data)
    	var typ, extMasterSecret, earlyData uint8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  3. pkg/bootstrap/config.go

    		}
    	}
    	return &core.Node{
    		Id:       node.ID,
    		Cluster:  getServiceCluster(node.Metadata),
    		Locality: node.Locality,
    		Metadata: pbst,
    	}
    }
    
    // ConvertXDSNodeToNode parses Istio node descriptor from an Envoy node descriptor, using only typed metadata.
    func ConvertXDSNodeToNode(node *core.Node) *model.Node {
    	b, err := protomarshal.MarshalProtoNames(node.Metadata)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:02:38 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. api/maven-api-settings/src/main/mdo/settings.mdo

            </codeSegment>
            <codeSegment>
              <version>2.0.0+</version>
              <code>
        /**
         * Indicates if this proxy is active.
         * To allow interpolation of this field, this method lazily parses
         * the {@link #getActiveString()} value as a boolean and defaults to {@code true}
         * if not set.
         *
         * @return a boolean indicating if this proxy is active
         */
        public boolean isActive() {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat Feb 17 18:40:11 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top