Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 3,527 for inst (0.12 sec)

  1. src/go/types/instantiate.go

    	}
    
    	// typ may already have been instantiated with identical type arguments. In
    	// that case, re-use the existing instance.
    	for i, ctxt := range ctxts {
    		if inst := ctxt.lookup(hashes[i], orig, targs); inst != nil {
    			return updateContexts(inst)
    		}
    	}
    
    	switch orig := orig.(type) {
    	case *Named:
    		res = check.newNamedInstance(pos, orig, targs, expanding) // substituted lazily
    
    	case *Alias:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/translate/export_tf_dialect_op.h

    namespace tensorflow {
    
    // Extracts the attributes of a MLIR operation and populates the converted
    // attributes in a proto map<string, AttrValue>.
    Status GetAttrValuesFromOperation(
        mlir::Operation* inst, llvm::StringRef name,
        const tensorflow::OpRegistrationData* op_reg_data,
        bool ignore_unregistered_attrs, AttrValueMap* attributes);
    
    // Converts a MLIR operation to TensorFlow NodeDef with given node name. This
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. tests/integration/security/sds_ingress/util/util.go

    			Name:      cn,
    			Namespace: ns,
    		},
    		Data: data,
    	}
    }
    
    // CallType defines ingress gateway type
    type CallType int
    
    const (
    	TLS CallType = iota
    	Mtls
    )
    
    type ExpectedResponse struct {
    	StatusCode                   int
    	SkipErrorMessageVerification bool
    	ErrorMessage                 string
    }
    
    type TLSContext struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jul 25 05:12:36 UTC 2023
    - 20.2K bytes
    - Viewed (0)
  4. src/go/importer/importer.go

    			fset:     fset,
    			packages: make(map[string]*types.Package),
    			lookup:   lookup,
    		}
    
    	case "gccgo":
    		var inst gccgoimporter.GccgoInstallation
    		if err := inst.InitFromDriver("gccgo"); err != nil {
    			return nil
    		}
    		return &gccgoimports{
    			packages: make(map[string]*types.Package),
    			importer: inst.GetImporter(nil, nil),
    			lookup:   lookup,
    		}
    
    	case "source":
    		if lookup != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/instantiate.go

    	}
    
    	// typ may already have been instantiated with identical type arguments. In
    	// that case, re-use the existing instance.
    	for i, ctxt := range ctxts {
    		if inst := ctxt.lookup(hashes[i], orig, targs); inst != nil {
    			return updateContexts(inst)
    		}
    	}
    
    	switch orig := orig.(type) {
    	case *Named:
    		res = check.newNamedInstance(pos, orig, targs, expanding) // substituted lazily
    
    	case *Alias:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/validtype.go

    		if d := len(nest) - 1; d >= 0 {
    			inst := nest[d] // the type instance
    			// Find the corresponding type argument for the type parameter
    			// and proceed with checking that type argument.
    			for i, tparam := range inst.TypeParams().list() {
    				// The type parameter and type argument lists should
    				// match in length but be careful in case of errors.
    				if t == tparam && i < inst.TypeArgs().Len() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 13:22:37 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  7. src/go/types/validtype.go

    		if d := len(nest) - 1; d >= 0 {
    			inst := nest[d] // the type instance
    			// Find the corresponding type argument for the type parameter
    			// and proceed with checking that type argument.
    			for i, tparam := range inst.TypeParams().list() {
    				// The type parameter and type argument lists should
    				// match in length but be careful in case of errors.
    				if t == tparam && i < inst.TypeArgs().Len() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/internal/binutils/disasm.go

    	return nil
    }
    
    // disassemble parses the output of the objdump command and returns
    // the assembly instructions in a slice.
    func disassemble(asm []byte) ([]plugin.Inst, error) {
    	buf := bytes.NewBuffer(asm)
    	function, file, line := "", "", 0
    	var assembly []plugin.Inst
    	for {
    		input, err := buf.ReadString('\n')
    		if err != nil {
    			if err != io.EOF {
    				return nil, err
    			}
    			if input == "" {
    				break
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 16:39:48 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/lookup.go

    }
    
    func (l *instanceLookup) lookup(inst *Named) *Named {
    	for _, t := range l.buf {
    		if t != nil && Identical(inst, t) {
    			return t
    		}
    	}
    	for _, t := range l.m[inst.Origin()] {
    		if Identical(inst, t) {
    			return t
    		}
    	}
    	return nil
    }
    
    func (l *instanceLookup) add(inst *Named) {
    	for i, t := range l.buf {
    		if t == nil {
    			l.buf[i] = inst
    			return
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  10. src/go/types/lookup.go

    }
    
    func (l *instanceLookup) lookup(inst *Named) *Named {
    	for _, t := range l.buf {
    		if t != nil && Identical(inst, t) {
    			return t
    		}
    	}
    	for _, t := range l.m[inst.Origin()] {
    		if Identical(inst, t) {
    			return t
    		}
    	}
    	return nil
    }
    
    func (l *instanceLookup) add(inst *Named) {
    	for i, t := range l.buf {
    		if t == nil {
    			l.buf[i] = inst
    			return
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 19.9K bytes
    - Viewed (0)
Back to top