Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 560 for parseRhs (0.31 sec)

  1. src/cmd/compile/internal/syntax/testing.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This file implements testing support.
    
    package syntax
    
    import (
    	"io"
    	"regexp"
    )
    
    // CommentsDo parses the given source and calls the provided handler for each
    // comment or error. If the text provided to handler starts with a '/' it is
    // the comment text; otherwise it is the error message.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:53:18 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/telemetry/internal/upload/date.go

    	t, err := time.Parse("2006-01-02", date)
    	if err != nil {
    		u.logger.Printf("tooOld: %v", err)
    		return false
    	}
    	age := uploadStartTime.Sub(t)
    	return age > distantPast
    }
    
    // counterDateSpan parses the counter file named fname and returns the (begin,
    // end) span recorded in its metadata, or an error if this data could not be
    // extracted.
    func (u *uploader) counterDateSpan(fname string) (begin, end time.Time, _ error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:12:15 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. cni/pkg/plugin/sidecar_iptables_linux.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    // This is a sample chained plugin that supports multiple CNI versions. It
    // parses prevResult according to the cniVersion
    package plugin
    
    import (
    	"fmt"
    
    	"github.com/containernetworking/plugins/pkg/ns"
    
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/tools/istio-iptables/pkg/cmd"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 17:36:41 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/DisconnectedIvyXmlModuleDescriptorParserTest.groovy

            newDisconnectedParser != null
            newDisconnectedParser instanceof DisconnectedIvyXmlModuleDescriptorParser.DisconnectedParser
        }
    
        def "parses other Ivy file and return with standard module descriptor"() throws Exception {
            when:
            IvyXmlModuleDescriptorParser.Parser disconnectedParser = parser.createParser(parseContext, localResource, [:])
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/Docbook2Xhtml.groovy

                        classpath = xslClasspath
                        systemProperty 'xslthl.config', xslthlConfigFile
                        systemProperty 'org.apache.xerces.xni.parser.XMLParserConfiguration', 'org.apache.xerces.parsers.XIncludeParserConfiguration'
                    }
                }
            } as Runnable)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types/goversion.go

    		if langWant.major > defVers.major || (langWant.major == defVers.major && langWant.minor > defVers.minor) {
    			log.Fatalf("invalid value %q for -lang: max known version is %q", base.Flag.Lang, def)
    		}
    	}
    }
    
    // parseLang parses a -lang option into a langVer.
    func parseLang(s string) (lang, error) {
    	if s == "go1" { // cmd/go's new spelling of "go1.0" (#65528)
    		s = "go1.0"
    	}
    
    	matches := goVersionRE.FindStringSubmatch(s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 21:36:02 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. src/cmd/go/internal/vcweb/auth.go

    // authHandler serves requests only if the Basic Auth data sent with the request
    // matches the contents of a ".access" file in the requested directory.
    //
    // For each request, the handler looks for a file named ".access" and parses it
    // as a JSON-serialized accessToken. If the credentials from the request match
    // the accessToken, the file is served normally; otherwise, it is rejected with
    // the StatusCode and Message provided by the token.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 17:47:26 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  8. src/syscall/sockcmsg_unix.go

    }
    
    // SocketControlMessage represents a socket control message.
    type SocketControlMessage struct {
    	Header Cmsghdr
    	Data   []byte
    }
    
    // ParseSocketControlMessage parses b as an array of socket control
    // messages.
    func ParseSocketControlMessage(b []byte) ([]SocketControlMessage, error) {
    	var msgs []SocketControlMessage
    	i := 0
    	for i+CmsgLen(0) <= len(b) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/verification/serializer/DependencyVerificationsXmlReaderTest.groovy

            e.message == "Unable to read dependency verification metadata"
            e.cause.message == "Invalid dependency verification metadata file: <component> must be found under the <components> tag"
        }
    
        def "parses configuration (metadata=#verifyMetadata, signatures=#verifySignatures)"() {
            when:
            parse """<?xml version="1.0" encoding="UTF-8"?>
    <verification-metadata>
       <configuration>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 18 10:13:31 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  10. src/internal/trace/raw/reader.go

    // license that can be found in the LICENSE file.
    
    package raw
    
    import (
    	"bufio"
    	"encoding/binary"
    	"fmt"
    	"io"
    
    	"internal/trace/event"
    	"internal/trace/version"
    )
    
    // Reader parses trace bytes with only very basic validation
    // into an event stream.
    type Reader struct {
    	r     *bufio.Reader
    	v     version.Version
    	specs []event.Spec
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top