Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 66 for ast1 (0.06 sec)

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

    	}
    }
    
    func verifyPrint(t *testing.T, filename string, ast1 *File) {
    	var buf1 bytes.Buffer
    	_, err := Fprint(&buf1, ast1, LineForm)
    	if err != nil {
    		panic(err)
    	}
    	bytes1 := buf1.Bytes()
    
    	ast2, err := Parse(NewFileBase(filename), &buf1, nil, nil, 0)
    	if err != nil {
    		panic(err)
    	}
    
    	var buf2 bytes.Buffer
    	_, err = Fprint(&buf2, ast2, LineForm)
    	if err != nil {
    		panic(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 16:30:19 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. src/go/ast/ast.go

    	// be conservative and guard against bad ASTs
    	if len(f.List) > 0 {
    		return f.List[0].Pos()
    	}
    	return token.NoPos
    }
    
    func (f *FieldList) End() token.Pos {
    	if f.Closing.IsValid() {
    		return f.Closing + 1
    	}
    	// the list should not be empty in this case;
    	// be conservative and guard against bad ASTs
    	if n := len(f.List); n > 0 {
    		return f.List[n-1].End()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 21:32:41 UTC 2024
    - 35.6K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/ianlancetaylor/demangle/ast.go

    	Copy(copy func(AST) AST, skip func(AST) bool) AST
    
    	// Implement the fmt.GoStringer interface.
    	GoString() string
    	goString(indent int, field string) string
    }
    
    // ASTToString returns the demangled name of the AST.
    func ASTToString(a AST, options ...Option) string {
    	tparams := true
    	enclosingParams := true
    	llvmStyle := false
    	max := 0
    	for _, o := range options {
    		switch {
    		case o == NoTemplateParams:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 105.8K bytes
    - Viewed (0)
  4. pkg/config/schema/ast/ast.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package ast
    
    import (
    	"encoding/json"
    	"fmt"
    
    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/pkg/config/validation"
    	// Force-import a function.
    	_ "istio.io/istio/pkg/config/validation/envoyfilter"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 00:31:03 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. src/crypto/x509/oid_test.go

    		{oid: mustNewOIDFromInts(t, []uint64{1, 33, 23}), oid2: asn1.ObjectIdentifier{1, 33, 22}, eq: false},
    		{oid: mustNewOIDFromInts(t, []uint64{1, 33, 127}), oid2: asn1.ObjectIdentifier{1, 33, 127}, eq: true},
    		{oid: mustNewOIDFromInts(t, []uint64{1, 33, 128}), oid2: asn1.ObjectIdentifier{1, 33, 127}, eq: false},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 19:10:38 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  6. src/crypto/x509/x509.go

    	SubjectUniqueId    asn1.BitString   `asn1:"optional,tag:2"`
    	Extensions         []pkix.Extension `asn1:"omitempty,optional,explicit,tag:3"`
    }
    
    type dsaAlgorithmParameters struct {
    	P, Q, G *big.Int
    }
    
    type validity struct {
    	NotBefore, NotAfter time.Time
    }
    
    type publicKeyInfo struct {
    	Raw       asn1.RawContent
    	Algorithm pkix.AlgorithmIdentifier
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:20:15 UTC 2024
    - 82K bytes
    - Viewed (0)
  7. security/pkg/pki/util/san_test.go

    			found: false,
    		},
    		"An extensions with wrong OID": {
    			exts: []pkix.Extension{
    				{Id: asn1.ObjectIdentifier{1, 2, 3}},
    			},
    			found: false,
    		},
    		"Correct SAN extension": {
    			exts: []pkix.Extension{
    				{Id: asn1.ObjectIdentifier{1, 2, 3}},
    				{Id: asn1.ObjectIdentifier{2, 5, 29, 17}},
    				{Id: asn1.ObjectIdentifier{3, 2, 1}},
    			},
    			found: true,
    		},
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 12 17:36:33 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.30.md

    oud.google.com/artifacts/docker/k8s-artifacts-prod/southamerica-east1/images/conformance) | [amd64](https://console.cloud.google.com/artifacts/docker/k8s-artifacts-prod/southamerica-east1/images/conformance-amd64), [arm64](https://console.cloud.google.com/artifacts/docker/k8s-artifacts-prod/southamerica-east1/images/conformance-arm64), [ppc64le](https://console.cloud.google.com/artifacts/docker/k8s-artifacts-prod/southamerica-east1/images/conformance-ppc64le), [s390x](https://console.cloud.googl...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 04:05:28 UTC 2024
    - 253.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/prepare-tf.mlir

      // CHECK-DAG: %[[CST1:.*]] = arith.constant dense<1> : tensor<4xi32>
      // CHECK-DAG: %[[cst_1:.*]] = arith.constant dense<[1, 2, 3, 1]> : tensor<4xi32>
      // CHECK: %0 = "tf.Reshape"(%arg0, %[[cst_1]]) : (tensor<2x3xf32>, tensor<4xi32>) -> tensor<1x2x3x1xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 07:26:59 UTC 2024
    - 59.8K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/unmarshal/unmarshal.go

    	// TODO(taking): Consider using a prepass to collect typeutil.Callees.
    
    	inspect := pass.ResultOf[inspect.Analyzer].(*inspector.Inspector)
    
    	nodeFilter := []ast.Node{
    		(*ast.CallExpr)(nil),
    	}
    	inspect.Preorder(nodeFilter, func(n ast.Node) {
    		call := n.(*ast.CallExpr)
    		fn := typeutil.StaticCallee(pass.TypesInfo, call)
    		if fn == nil {
    			return // not a static call
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top