Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 729 for Parses (0.11 sec)

  1. staging/src/k8s.io/apimachinery/pkg/labels/selector.go

    // Parser can now lookahead and consume the tokens
    func (p *Parser) scan() {
    	for {
    		token, literal := p.l.Lex()
    		p.scannedItems = append(p.scannedItems, ScannedItem{token, literal})
    		if token == EndOfStringToken {
    			break
    		}
    	}
    }
    
    // parse runs the left recursive descending algorithm
    // on input string. It returns a list of Requirement objects.
    func (p *Parser) parse() (internalSelector, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 18 04:27:38 UTC 2022
    - 31.8K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/PomReader.java

    import static org.gradle.api.internal.artifacts.ivyservice.ivyresolve.parser.PomDomParser.AddDTDFilterInputStream;
    import static org.gradle.api.internal.artifacts.ivyservice.ivyresolve.parser.PomDomParser.getAllChilds;
    import static org.gradle.api.internal.artifacts.ivyservice.ivyresolve.parser.PomDomParser.getFirstChildElement;
    import static org.gradle.api.internal.artifacts.ivyservice.ivyresolve.parser.PomDomParser.getFirstChildText;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 15:53:23 UTC 2024
    - 30K bytes
    - Viewed (0)
  3. src/go/build/read.go

    	// we are sure we don't change the errors that go/parser returns.
    	if r.err == errSyntax {
    		r.err = nil
    		for r.err == nil && !r.eof {
    			r.readByte()
    		}
    		info.header = r.buf
    	}
    	if r.err != nil {
    		return r.err
    	}
    
    	if info.fset == nil {
    		return nil
    	}
    
    	// Parse file header & record imports.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. cmd/endpoint-ellipses.go

    		var totalSize uint64 = 1
    		for _, p := range argPattern {
    			totalSize *= uint64(len(p.Seq))
    		}
    		totalSizes = append(totalSizes, totalSize)
    	}
    	return totalSizes
    }
    
    // Parses all arguments and returns an endpointSet which is a collection
    // of endpoints following the ellipses pattern, this is what is used
    // by the object layer for initializing itself.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  5. src/debug/pe/file.go

    	return "unknown error"
    }
    
    // readOptionalHeader accepts an io.ReadSeeker pointing to optional header in the PE file
    // and its size as seen in the file header.
    // It parses the given size of bytes and returns optional header. It infers whether the
    // bytes being parsed refer to 32 bit or 64 bit version of optional header.
    func readOptionalHeader(r io.ReadSeeker, sz uint16) (any, error) {
    	// If optional header size is 0, return empty optional header.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/profile/profile.go

    	filenameX   int64
    }
    
    // Parse parses a profile and checks for its validity. The input
    // may be a gzip-compressed encoded protobuf or one of many legacy
    // profile formats which may be unsupported in the future.
    func Parse(r io.Reader) (*Profile, error) {
    	data, err := io.ReadAll(r)
    	if err != nil {
    		return nil, err
    	}
    	return ParseData(data)
    }
    
    // ParseData parses a profile from a buffer and checks for its
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  7. pilot/pkg/model/context.go

    // PushContext returns the push context with lock protected
    func (e *Environment) PushContext() *PushContext {
    	e.mutex.RLock()
    	defer e.mutex.RUnlock()
    	return e.pushContext
    }
    
    // GetDiscoveryAddress parses the DiscoveryAddress specified via MeshConfig.
    func (e *Environment) GetDiscoveryAddress() (host.Name, string, error) {
    	proxyConfig := mesh.DefaultProxyConfig()
    	if e.Mesh().DefaultConfig != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 08:29:05 UTC 2024
    - 33.6K bytes
    - Viewed (0)
  8. cmd/update.go

    // minioVersionToReleaseTime - parses a standard official release
    // MinIO version string.
    //
    // An official binary's version string is the release time formatted
    // with RFC3339 (in UTC) - e.g. `2017-09-29T19:16:56Z`
    func minioVersionToReleaseTime(version string) (releaseTime time.Time, err error) {
    	return time.Parse(time.RFC3339, version)
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  9. internal/bucket/lifecycle/lifecycle.go

    			return true
    		}
    		if !rule.Transition.IsNull() { // this allows for Transition.Days to be zero.
    			return true
    		}
    
    	}
    	return false
    }
    
    // ParseLifecycleConfigWithID - parses for a Lifecycle config and assigns
    // unique id to rules with empty ID.
    func ParseLifecycleConfigWithID(r io.Reader) (*Lifecycle, error) {
    	var lc Lifecycle
    	if err := xml.NewDecoder(r).Decode(&lc); err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  10. internal/etag/etag.go

    		return nil, err
    	}
    	return etag, nil
    }
    
    // Parse parses s as an S3 ETag, returning the result.
    // The string can be an encrypted, singlepart
    // or multipart S3 ETag. It returns an error if s is
    // not a valid textual representation of an ETag.
    func Parse(s string) (ETag, error) {
    	const strict = false
    	return parse(s, strict)
    }
    
    // parse parse s as an S3 ETag, returning the result.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Mar 10 21:09:36 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top