Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,752 for Parses (0.14 sec)

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

    // current parser position, not the position of the pragma itself.
    // Blank specifies whether the line is blank before the pragma.
    type PragmaHandler func(pos Pos, blank bool, text string, current Pragma) Pragma
    
    // Parse parses a single Go source file from src and returns the corresponding
    // syntax tree. If there are errors, Parse will return the first error found,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 01 18:18:07 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  2. internal/bucket/lifecycle/expiration.go

    )
    
    // ExpirationDays is a type alias to unmarshal Days in Expiration
    type ExpirationDays int
    
    // UnmarshalXML parses number of days from Expiration and validates if
    // greater than zero
    func (eDays *ExpirationDays) UnmarshalXML(d *xml.Decoder, startElement xml.StartElement) error {
    	var numDays int
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Feb 21 20:28:34 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/net/route/address.go

    	}
    	_, a, err := parseKernelLinkAddr(syscall.AF_LINK, b[4:])
    	if err != nil {
    		return nil, err
    	}
    	a.(*LinkAddr).Index = int(nativeEndian.Uint16(b[2:4]))
    	return a, nil
    }
    
    // parseKernelLinkAddr parses b as a link-layer address in
    // conventional BSD kernel form.
    func parseKernelLinkAddr(_ int, b []byte) (int, Addr, error) {
    	// The encoding looks like the following:
    	// +----------------------------+
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  4. src/internal/trace/testtrace/expectation.go

    		return fmt.Errorf("unexpected error while reading the trace: want something matching %q, got %s", e.errorMatcher, err.Error())
    	}
    	return nil
    }
    
    // ParseExpectation parses the serialized form of an Expectation.
    func ParseExpectation(data []byte) (*Expectation, error) {
    	exp := new(Expectation)
    	s := bufio.NewScanner(bytes.NewReader(data))
    	if s.Scan() {
    		c := strings.SplitN(s.Text(), " ", 2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/tf_executor.h

     public:
      static StringRef getDialectNamespace() { return "tf_executor"; }
      explicit TensorFlowExecutorDialect(MLIRContext *context);
    
      // Parses a type registered to this dialect.
      Type parseType(DialectAsmParser &parser) const override;
    
      // Prints a type registered to this dialect.
      void printType(Type type, DialectAsmPrinter &os) const override;
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 05 07:17:01 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/cmd/internal/quoted/quoted.go

    			buf = append(buf, '"')
    
    		default:
    			return "", fmt.Errorf("argument %q contains both single and double quotes and cannot be quoted", arg)
    		}
    	}
    	return string(buf), nil
    }
    
    // A Flag parses a list of string arguments encoded with Join.
    // It is useful for flags like cmd/link's -extldflags.
    type Flag []string
    
    var _ flag.Value = (*Flag)(nil)
    
    func (f *Flag) Set(v string) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 23 21:04:06 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top