Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 215 for noposn (0.1 sec)

  1. src/cmd/compile/internal/test/mergelocals_test.go

    	"internal/testenv"
    	"path/filepath"
    	"sort"
    	"strings"
    	"testing"
    )
    
    func mkiv(name string) *ir.Name {
    	i32 := types.Types[types.TINT32]
    	s := typecheck.Lookup(name)
    	v := ir.NewNameAt(src.NoXPos, s, i32)
    	return v
    }
    
    func TestMergeLocalState(t *testing.T) {
    	v1 := mkiv("v1")
    	v2 := mkiv("v2")
    	v3 := mkiv("v3")
    
    	testcases := []struct {
    		vars      []*ir.Name
    		partition map[*ir.Name][]int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:43:53 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. src/go/types/interface.go

    	tset *_TypeSet // type set described by this interface, computed lazily
    }
    
    // typeSet returns the type set for interface t.
    func (t *Interface) typeSet() *_TypeSet { return computeInterfaceTypeSet(t.check, nopos, t) }
    
    // emptyInterface represents the empty (completed) interface
    var emptyInterface = Interface{complete: true, tset: &topTypeSet}
    
    // NewInterface returns a new interface for the given methods and embedded types.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 17:24:42 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/check.go

    package types2
    
    import (
    	"cmd/compile/internal/syntax"
    	"fmt"
    	"go/constant"
    	. "internal/types/errors"
    	"sync/atomic"
    )
    
    // nopos indicates an unknown position
    var nopos syntax.Pos
    
    // debugging/development support
    const debug = false // leave on during development
    
    // _aliasAny changes the behavior of [Scope.Lookup] for "any" in the
    // [Universe] scope.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  4. pkg/config/analysis/analyzers/testdata/authorizationpolicies.yaml

          when:
            - key: request.auth.claims[iss]
              values: ["https://accounts.google.com"]
    ---
    apiVersion: security.istio.io/v1beta1
    kind: AuthorizationPolicy
    metadata:
      name: httpbin-nopods # Invalid: there aren't matching workloads for this selector
      namespace: httpbin
    spec:
      selector:
        matchLabels:
          app: bogus-label # Bogus label. No matching workloads
          version: v1
      rules:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 08 14:14:46 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  5. cluster/gce/util.sh

        # shellcheck disable=SC2153
        ./easyrsa --batch "--req-cn=${PRIMARY_CN}@$(date +%s)" build-ca nopass
        # SANS (expected to be) defined by caller
        # shellcheck disable=SC2153
        ./easyrsa --subject-alt-name="${SANS}" build-server-full "${MASTER_NAME}" nopass
        ./easyrsa build-client-full kube-apiserver nopass
    
        kube::util::ensure-cfssl "${KUBE_TEMP}/cfssl"
    
        # make the config for the signer
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:17 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  6. src/go/internal/gcimporter/iimport.go

    }
    
    func (r *importReader) pos() token.Pos {
    	if r.p.version >= 1 {
    		r.posv1()
    	} else {
    		r.posv0()
    	}
    
    	if r.prevFile == "" && r.prevLine == 0 && r.prevColumn == 0 {
    		return token.NoPos
    	}
    	return r.p.fake.pos(r.prevFile, int(r.prevLine), int(r.prevColumn))
    }
    
    func (r *importReader) posv0() {
    	delta := r.int64()
    	if delta != deltaNewFile {
    		r.prevLine += delta
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/errors.go

    		err.addf(obj, "other declaration of %s", obj.Name())
    	}
    }
    
    func (err *error_) empty() bool {
    	return err.desc == nil
    }
    
    func (err *error_) pos() syntax.Pos {
    	if err.empty() {
    		return nopos
    	}
    	return err.desc[0].pos
    }
    
    // msg returns the formatted error message without the primary error position pos().
    func (err *error_) msg() string {
    	if err.empty() {
    		return "no error"
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/api_test.go

    	sig1 := NewSignatureType(nil, nil, nil, NewTuple(NewParam(nopos, nil, "", Typ[Int])), nil, false)
    	sig2 := NewSignatureType(nil, nil, nil, NewTuple(NewParam(nopos, nil, "", Typ[String])), nil, false)
    
    	methods := []*Func{
    		NewFunc(nopos, nil, "M", sig1),
    		NewFunc(nopos, nil, "M", sig2),
    	}
    
    	embeddedMethods := []*Func{
    		NewFunc(nopos, nil, "M", sig2),
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  9. src/go/types/builtins.go

    func makeSig(res Type, args ...Type) *Signature {
    	list := make([]*Var, len(args))
    	for i, param := range args {
    		list[i] = NewVar(nopos, nil, "", Default(param))
    	}
    	params := NewTuple(list...)
    	var result *Tuple
    	if res != nil {
    		assert(!isUntyped(res))
    		result = NewTuple(NewVar(nopos, nil, "", res))
    	}
    	return &Signature{params: params, results: result}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/resolver.go

    	if ident.Value == "main" && check.pkg.name == "main" {
    		check.error(ident, InvalidMainDecl, "cannot declare main - must be func")
    		return
    	}
    
    	check.declare(check.pkg.scope, ident, obj, nopos)
    	check.objMap[obj] = d
    	obj.setOrder(uint32(len(check.objMap)))
    }
    
    // filename returns a filename suitable for debugging output.
    func (check *Checker) filename(fileNo int) string {
    	file := check.files[fileNo]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 26.3K bytes
    - Viewed (0)
Back to top