Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 536 for palmer (0.13 sec)

  1. security/pkg/server/ca/authenticate/xfcc_authenticator_test.go

    	cases := []struct {
    		name               string
    		xfccHeader         string
    		caller             *security.Caller
    		authenticateErrMsg string
    		useHttpRequest     bool //nolint
    	}{
    		{
    			name:               "No xfcc header",
    			xfccHeader:         "",
    			authenticateErrMsg: "caller from 127.0.0.1:2301 does not have Xfcc header",
    		},
    		{
    			name:               "junk xfcc header",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 17:05:56 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/json_to_flatbuffer.cc

      // parse schema first, so we can use it to parse the data after
      flatbuffers::Parser parser;
      const bool schema_parse_result =
          parser.Parse(schema.c_str()) && parser.Parse(json.c_str());
      if (!schema_parse_result) {
        std::cerr << "Parse error.\n";
        return 1;
      }
      const size_t length = parser.builder_.GetSize();
      const size_t n =
          std::fwrite(parser.builder_.GetBufferPointer(), 1, length, stdout);
      if (n != length) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. src/cmd/gofmt/gofmt.go

    var fdSem = make(chan bool, 200)
    
    var (
    	rewrite    func(*token.FileSet, *ast.File) *ast.File
    	parserMode parser.Mode
    )
    
    func usage() {
    	fmt.Fprintf(os.Stderr, "usage: gofmt [flags] [path ...]\n")
    	flag.PrintDefaults()
    }
    
    func initParserMode() {
    	parserMode = parser.ParseComments
    	if *allErrors {
    		parserMode |= parser.AllErrors
    	}
    	// It's only -r that makes use of go/ast's object resolution,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultRootLocator.java

                XMLStreamReader parser = new WstxInputFactory().createXMLStreamReader(is);
                if (parser.nextTag() == XMLStreamReader.START_ELEMENT
                        && parser.getLocalName().equals("project")) {
                    for (int i = 0; i < parser.getAttributeCount(); i++) {
                        if ("root".equals(parser.getAttributeLocalName(i))) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. src/go/printer/printer_test.go

    	// silently dropping or mangling it.
    
    	fname := "foo\nbar/bar.go"
    	src := `package bar`
    	fset := token.NewFileSet()
    	f, err := parser.ParseFile(fset, fname, src, parser.ParseComments|parser.AllErrors|parser.SkipObjectResolution)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	cfg := &Config{
    		Mode:     SourcePos, // emit line comments
    		Tabwidth: 8,
    	}
    	var buf bytes.Buffer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  6. platforms/core-runtime/wrapper-main/src/main/java/org/gradle/wrapper/GradleWrapperMain.java

            File propertiesFile = wrapperProperties(wrapperJar);
            File rootDir = rootDir(wrapperJar);
    
            CommandLineParser parser = new CommandLineParser();
            parser.allowUnknownOptions();
            parser.option(GRADLE_USER_HOME_OPTION, GRADLE_USER_HOME_DETAILED_OPTION).hasArgument();
            parser.option(GRADLE_QUIET_OPTION, GRADLE_QUIET_DETAILED_OPTION);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/ir/tf_device.cc

        if (parser->parseOptionalOperand(operand_type).has_value()) {
          packed_inputs->emplace_back(operand_type);
          if (parser->parseKeyword("as",
                                   " between packed input and block argument") ||
              parser->parseOperand(packed_region_args.emplace_back(),
                                   /*allowResultNumber=*/false) ||
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  8. src/net/dnsclient_unix.go

    	if _, err := c.Write(b); err != nil {
    		return dnsmessage.Parser{}, dnsmessage.Header{}, err
    	}
    
    	b = make([]byte, maxDNSPacketSize)
    	for {
    		n, err := c.Read(b)
    		if err != nil {
    			return dnsmessage.Parser{}, dnsmessage.Header{}, err
    		}
    		var p dnsmessage.Parser
    		// Ignore invalid responses as they may be malicious
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/internal/classpath/intercept/CallInterceptor.java

         * The implementation may choose to delegate to the original Groovy implementation by returning the value of {@code invocation.callOriginal()}.
         *
         * @param invocation the arguments supplied by the caller
         * @param consumer the class that invokes the intercepted call
         * @return the value to return to the caller
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 14:02:30 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. security/pkg/server/ca/authenticate/xfcc_authenticator.go

    // Authenticate extracts identities from Xfcc Header.
    func (xff XfccAuthenticator) Authenticate(ctx security.AuthContext) (*security.Caller, error) {
    	remoteAddr := ctx.RemoteAddress()
    	xfccHeader := ctx.Header(xfccparser.ForwardedClientCertHeader)
    	if len(remoteAddr) == 0 || len(xfccHeader) == 0 {
    		return nil, fmt.Errorf("caller from %s does not have Xfcc header", remoteAddr)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 17:05:56 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top