Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 873 for Parses (0.11 sec)

  1. 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)
  2. 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)
  3. 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)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ExecutionResult.java

        /**
         * Stdout of the Gradle execution, with ANSI characters interpreted and text attributes discarded.
         */
        String getPlainTextOutput();
    
        /**
         * Returns a fixture that parses the output and forms them into the expected groups
         */
        GroupedOutputFixture getGroupedOutput();
    
        /**
         * Stderr of the Gradle execution, normalized to use new-line char as line separator.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/dynamicresources/structuredparameters.go

    }
    
    // assumeCacheLister is the subset of volumebinding.AssumeCache needed by newResourceModel.
    type assumeCacheLister interface {
    	List(indexObj interface{}) []interface{}
    }
    
    // newResourceModel parses the available information about resources. Objects
    // with an unknown structured parameter model silently ignored. An error gets
    // logged later when parameters required for a pod depend on such an unknown
    // model.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 22 09:03:22 UTC 2024
    - 8.7K 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. 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)
  10. internal/crypto/sse-s3.go

    	// Return only true if the SSE header is specified and does not contain the SSE-KMS value
    	return ok && !strings.EqualFold(h.Get(xhttp.AmzServerSideEncryption), xhttp.AmzEncryptionKMS)
    }
    
    // ParseHTTP parses the SSE-S3 related HTTP headers and checks
    // whether they contain valid values.
    func (sses3) ParseHTTP(h http.Header) error {
    	if h.Get(xhttp.AmzServerSideEncryption) != xhttp.AmzEncryptionAES {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top