Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 278 for Parses (0.38 sec)

  1. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/parsing/BasicParsingTest.kt

    import org.gradle.internal.declarativedsl.parsing.ParseTestUtil
    import org.gradle.internal.declarativedsl.parsing.assert
    import org.junit.jupiter.api.Test
    
    
    class BasicParsingTest {
    
        @Test
        fun `parses literals`() {
            val results = parse(
                """
                a = 1
                b = "test"
                c = ${'"'}""test${'"'}""
                e = true
                d = false
                """.trimIndent()
            )
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 22:06:18 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  2. src/net/http/cookie.go

    		case "partitioned":
    			c.Partitioned = true
    			continue
    		}
    		c.Unparsed = append(c.Unparsed, parts[i])
    	}
    	return c, nil
    }
    
    // readSetCookies parses all "Set-Cookie" values from
    // the header h and returns the successfully parsed Cookies.
    func readSetCookies(h Header) []*Cookie {
    	cookieCount := len(h["Set-Cookie"])
    	if cookieCount == 0 {
    		return []*Cookie{}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:33:05 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  3. internal/bucket/object/lock/lock.go

    		}
    	}
    
    	return r
    }
    
    // Maximum 4KiB size per object lock config.
    const maxObjectLockConfigSize = 1 << 12
    
    // ParseObjectLockConfig parses ObjectLockConfig from xml
    func ParseObjectLockConfig(reader io.Reader) (*Config, error) {
    	config := Config{}
    	if err := xml.NewDecoder(io.LimitReader(reader, maxObjectLockConfigSize)).Decode(&config); err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  4. src/net/url/url.go

    func (u *URL) IsAbs() bool {
    	return u.Scheme != ""
    }
    
    // Parse parses a [URL] in the context of the receiver. The provided URL
    // may be relative or absolute. Parse returns nil, err on parse
    // failure, otherwise its return value is the same as [URL.ResolveReference].
    func (u *URL) Parse(ref string) (*URL, error) {
    	refURL, err := Parse(ref)
    	if err != nil {
    		return nil, err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 36.1K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modcmd/edit.go

    			return nil, errors.New("go.mod changed during editing; not overwriting")
    		}
    		return out, nil
    	})
    	if err != nil {
    		base.Fatal(err)
    	}
    }
    
    // parsePathVersion parses -flag=arg expecting arg to be path@version.
    func parsePathVersion(flag, arg string) (path, version string) {
    	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
    - 17.2K bytes
    - Viewed (0)
  6. src/crypto/x509/parser.go

    				return errors.New("x509: SAN uniformResourceIdentifier is malformed")
    			}
    			uri, err := url.Parse(uriStr)
    			if err != nil {
    				return fmt.Errorf("x509: cannot parse URI %q: %s", uriStr, err)
    			}
    			if len(uri.Host) > 0 {
    				if _, ok := domainToReverseLabels(uri.Host); !ok {
    					return fmt.Errorf("x509: cannot parse URI %q: invalid domain", uriStr)
    				}
    			}
    			uris = append(uris, uri)
    		case nameTypeIP:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  7. cni/pkg/plugin/plugin.go

    }
    
    // parseConfig parses the supplied configuration (and prevResult) from stdin.
    func parseConfig(stdin []byte) (*Config, error) {
    	conf := Config{}
    
    	if err := json.Unmarshal(stdin, &conf); err != nil {
    		return nil, fmt.Errorf("failed to parse network configuration: %v", err)
    	}
    
    	log.Debugf("istio-cni: Config is: %+v", conf)
    	// Parse previous result. Remove this if your plugin is not chained.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:35 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  8. src/crypto/tls/tls.go

    	return c, nil
    }
    
    // LoadX509KeyPair reads and parses a public/private key pair from a pair of
    // files. The files must contain PEM encoded data. The certificate file may
    // contain intermediate certificates following the leaf certificate to form a
    // certificate chain. On successful return, Certificate.Leaf will be populated.
    //
    // Before Go 1.23 Certificate.Leaf was left nil, and the parsed certificate was
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top