Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 560 for parseRhs (0.16 sec)

  1. src/internal/trace/testtrace/format.go

    // license that can be found in the LICENSE file.
    
    package testtrace
    
    import (
    	"bytes"
    	"fmt"
    	"internal/trace/raw"
    	"internal/txtar"
    	"io"
    )
    
    // ParseFile parses a test file generated by the testgen package.
    func ParseFile(testPath string) (io.Reader, *Expectation, error) {
    	ar, err := txtar.ParseFile(testPath)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. internal/event/arn.go

    	if err := d.DecodeElement(&s, &start); err != nil {
    		return err
    	}
    
    	parsedARN, err := parseARN(s)
    	if err != nil {
    		return err
    	}
    
    	*arn = *parsedARN
    	return nil
    }
    
    // parseARN - parses string to ARN.
    func parseARN(s string) (*ARN, error) {
    	// ARN must be in the format of arn:minio:sqs:<REGION>:<ID>:<TYPE>
    	if !strings.HasPrefix(s, "arn:minio:sqs:") {
    		return nil, &ErrInvalidARN{s}
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/utils/device_util.h

    // failure if can't parse device metadata from the attribute.
    mlir::LogicalResult GetDevicesFromOp(mlir::Operation* op,
                                         mlir::TF::RuntimeDevices* devices);
    
    // Parses a device string and returns its ordinal (id). This will return an
    // error if the device string is invalid or has no id.
    mlir::LogicalResult GetDeviceOrdinalFromDeviceString(mlir::Location loc,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 05 20:02:33 UTC 2020
    - 2.3K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/maven/MavenMetadataLoader.java

    import org.gradle.internal.resource.transfer.CacheAwareExternalResourceAccessor.DefaultResourceFileStore;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    import org.xml.sax.SAXException;
    
    import javax.xml.parsers.ParserConfigurationException;
    import java.io.IOException;
    import java.io.InputStream;
    
    public class MavenMetadataLoader {
        private static final Logger LOGGER = LoggerFactory.getLogger(MavenMetadataLoader.class);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/bootstrap/DaemonGreeterTest.groovy

    import org.gradle.process.ExecResult
    import spock.lang.Specification
    
    class DaemonGreeterTest extends Specification {
    
        def registry = Mock(DocumentationRegistry)
        def args = ["foo", "bar"]
    
        def "parses the process output"() {
            given:
            def address = new MultiChoiceAddress(UUID.randomUUID(), 123, [])
    
            def outputStream = new ByteArrayOutputStream()
            def printStream = new PrintStream(outputStream)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  6. src/net/mac.go

    	for i, b := range a {
    		if i > 0 {
    			buf = append(buf, ':')
    		}
    		buf = append(buf, hexDigit[b>>4])
    		buf = append(buf, hexDigit[b&0xF])
    	}
    	return string(buf)
    }
    
    // ParseMAC parses s as an IEEE 802 MAC-48, EUI-48, EUI-64, or a 20-octet
    // IP over InfiniBand link-layer address using one of the following formats:
    //
    //	00:00:5e:00:53:01
    //	02:00:5e:10:00:00:00:01
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_modinfo.txt

    # Test to ensure runtime/debug.ReadBuildInfo parses
    # the modinfo embedded in a binary by the go tool
    # when module is enabled.
    env GO111MODULE=on
    
    cd x
    go mod edit -require=rsc.io/quote@v1.5.2
    go mod edit -replace=rsc.io/quote@v1.5.2=rsc.io/quote@v1.0.0
    go mod tidy # populate go.sum
    
    # Build a binary and ensure that it can output its own debug info.
    # The debug info should be accessible before main starts (golang.org/issue/29628).
    go build
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 09 19:12:23 UTC 2020
    - 1.8K bytes
    - Viewed (0)
  8. src/cmd/internal/pgo/deserialize.go

    		// Empty file.
    		return false, nil
    	} else if err != nil {
    		return false, fmt.Errorf("error reading profile header: %w", err)
    	}
    
    	return string(hdr) == serializationHeader, nil
    }
    
    // FromSerialized parses a profile from serialization output of Profile.WriteTo.
    func FromSerialized(r io.Reader) (*Profile, error) {
    	d := emptyProfile()
    
    	scanner := bufio.NewScanner(r)
    	scanner.Split(bufio.ScanLines)
    
    	if !scanner.Scan() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:20:01 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. src/syscall/dirent.go

    	case 4:
    		return uint64(byteorder.LeUint32(b))
    	case 8:
    		return uint64(byteorder.LeUint64(b))
    	default:
    		panic("syscall: readInt with unsupported size")
    	}
    }
    
    // ParseDirent parses up to max directory entries in buf,
    // appending the names to names. It returns the number of
    // bytes consumed from buf, the number of entries added
    // to names, and the new names slice.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 20:13:24 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java

    import java.io.BufferedReader;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    import java.util.zip.GZIPInputStream;
    
    import javax.xml.XMLConstants;
    import javax.xml.parsers.SAXParser;
    import javax.xml.parsers.SAXParserFactory;
    
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.crawler.Constants;
    import org.codelibs.fess.crawler.entity.SitemapFile;
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top