Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Parse (0.25 sec)

  1. src/crypto/x509/verify_test.go

    			if !ok {
    				t.Fatalf("failed to parse root #%d", j)
    			}
    		}
    	}
    
    	for j, intermediate := range test.intermediates {
    		ok := opts.Intermediates.AppendCertsFromPEM([]byte(intermediate))
    		if !ok {
    			t.Fatalf("failed to parse intermediate #%d", j)
    		}
    	}
    
    	leaf, err := certificateFromPEM(test.leaf)
    	if err != nil {
    		t.Fatalf("failed to parse leaf: %v", err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 110.2K bytes
    - Viewed (0)
  2. src/crypto/x509/x509_test.go

    			continue
    		}
    
    		cert, err := ParseCertificate(derBytes)
    		if err != nil {
    			t.Errorf("%s: failed to parse certificate: %s", test.name, err)
    			continue
    		}
    
    		if len(cert.PolicyIdentifiers) != 1 || !cert.PolicyIdentifiers[0].Equal(template.PolicyIdentifiers[0]) {
    			t.Errorf("%s: failed to parse policy identifiers: got:%#v want:%#v", test.name, cert.PolicyIdentifiers, template.PolicyIdentifiers)
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 163.4K bytes
    - Viewed (0)
  3. src/cmd/go/internal/load/pkg.go

    	IgnoredGoFiles    []string `json:",omitempty"` // .go source files ignored due to build constraints
    	InvalidGoFiles    []string `json:",omitempty"` // .go source files with detected problems (parse error, wrong package name, and so on)
    	IgnoredOtherFiles []string `json:",omitempty"` // non-.go source files ignored due to build constraints
    	CFiles            []string `json:",omitempty"` // .c source files
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  4. src/cmd/go/alldocs.go

    // that can be run locally. It must either be in the shell path
    // (gofmt), a fully qualified path (/usr/you/bin/mytool), or a
    // command alias, described below.
    //
    // Note that go generate does not parse the file, so lines that look
    // like directives in comments or multiline strings will be treated
    // as directives.
    //
    // The arguments to the directive are space-separated tokens or
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
  5. src/cmd/go/internal/work/exec.go

    func envList(key, def string) []string {
    	v := cfg.Getenv(key)
    	if v == "" {
    		v = def
    	}
    	args, err := quoted.Split(v)
    	if err != nil {
    		panic(fmt.Sprintf("could not parse environment variable %s with value %q: %v", key, v, err))
    	}
    	return args
    }
    
    // CFlags returns the flags to use when invoking the C, C++ or Fortran compilers, or cgo.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
Back to top