Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 100 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/vendor/golang.org/x/crypto/cryptobyte/asn1.go

    package cryptobyte
    
    import (
    	encoding_asn1 "encoding/asn1"
    	"fmt"
    	"math/big"
    	"reflect"
    	"time"
    
    	"golang.org/x/crypto/cryptobyte/asn1"
    )
    
    // This file contains ASN.1-related methods for String and Builder.
    
    // Builder
    
    // AddASN1Int64 appends a DER-encoded ASN.1 INTEGER.
    func (b *Builder) AddASN1Int64(v int64) {
    	b.addASN1Signed(asn1.INTEGER, v)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  3. src/encoding/asn1/asn1.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package asn1 implements parsing of DER-encoded ASN.1 data structures,
    // as defined in ITU-T Rec X.690.
    //
    // See also “A Layman's Guide to a Subset of ASN.1, BER, and DER,”
    // http://luca.ntop.org/Teaching/Appunti/asn1.html.
    package asn1
    
    // ASN.1 is a syntax for specifying abstract objects and BER, DER, PER, XER etc
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 31.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/optimize.td

    // This pattern optimizes:
    //   (x + cst1) + cst2 -> x + cst
    //   (x - cst1) - cst2 -> x - cst
    // Where: cst = cst1 + cst2
    foreach BinaryOp = [TF_AddV2Op, TF_SubOp] in {
      def OptimizeConsecutive#BinaryOp : Pat<
        (BinaryOp
          (BinaryOp $x, (TF_ConstOp:$cst1 $cst1_value)),
          (TF_ConstOp:$cst2 $cst2_value)),
        (BinaryOp
          $x, (TF_AddV2Op $cst1, $cst2))>;
    }
    
    // This pattern optimizes:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Dec 10 05:52:02 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  9. 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)
  10. src/crypto/x509/sec1.go

    // most cases it is not.
    type ecPrivateKey struct {
    	Version       int
    	PrivateKey    []byte
    	NamedCurveOID asn1.ObjectIdentifier `asn1:"optional,explicit,tag:0"`
    	PublicKey     asn1.BitString        `asn1:"optional,explicit,tag:1"`
    }
    
    // ParseECPrivateKey parses an EC private key in SEC 1, ASN.1 DER form.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 4.6K bytes
    - Viewed (0)
Back to top