Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 420 for Parses (0.14 sec)

  1. 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)
  2. 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 (1)
  3. 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)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

        List<Version> resolveVersionRange(@Nonnull ArtifactCoordinate artifact);
    
        /**
         * Parses the specified version string, for example "1.0".
         * <p>
         * Shortcut for {@code getService(VersionParser.class).parseVersion(...)}.
         *
         * @param version the version string to parse
         * @return the version parsed from the given string
         * @throws org.apache.maven.api.services.VersionParserException if the parsing failed
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/vendor/golang.org/x/net/http/httpproxy/proxy.go

    		if m.match(addr, port, ip) {
    			return false
    		}
    	}
    	return true
    }
    
    func (c *config) init() {
    	if parsed, err := parseProxy(c.HTTPProxy); err == nil {
    		c.httpProxy = parsed
    	}
    	if parsed, err := parseProxy(c.HTTPSProxy); err == nil {
    		c.httpsProxy = parsed
    	}
    
    	for _, p := range strings.Split(c.NoProxy, ",") {
    		p = strings.ToLower(strings.TrimSpace(p))
    		if len(p) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 00:09:40 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top