Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 110 for conf (0.19 sec)

  1. src/cmd/compile/internal/types2/check.go

    	// mutate *pkg.
    	//
    	// (previously, pkg.goVersion was mutated here: go.dev/issue/61212)
    
    	return &Checker{
    		conf:    conf,
    		ctxt:    conf.Context,
    		pkg:     pkg,
    		Info:    info,
    		version: asGoVersion(conf.GoVersion),
    		objMap:  make(map[Object]*declInfo),
    		impMap:  make(map[importKey]*Package),
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/issues_test.go

    		t.Fatal("expected syntax error")
    	}
    
    	var conf Config
    	conf.Check(f.PkgName.Value, []*syntax.File{f}, nil) // must not panic
    }
    
    func TestIssue61938(t *testing.T) {
    	const src = `
    package p
    
    func f[T any]() {}
    func _()        { f() }
    `
    	// no error handler provided (this issue)
    	var conf Config
    	typecheck(src, &conf, nil) // must not panic
    
    	// with error handler (sanity check)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/export_test.go

    	"arm64": obj.Linknew(&arm64.Linkarm64),
    }
    
    func testConfig(tb testing.TB) *Conf      { return testConfigArch(tb, "amd64") }
    func testConfigS390X(tb testing.TB) *Conf { return testConfigArch(tb, "s390x") }
    func testConfigARM64(tb testing.TB) *Conf { return testConfigArch(tb, "arm64") }
    
    func testConfigArch(tb testing.TB, arch string) *Conf {
    	ctxt, ok := testCtxts[arch]
    	if !ok {
    		tb.Fatalf("unknown arch %s", arch)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 21:19:39 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/check_test.go

    	}
    
    	// set up typechecker
    	var conf Config
    	conf.Trace = manual && testing.Verbose()
    	conf.Importer = defaultImporter()
    	conf.Error = func(err error) {
    		if *haltOnError {
    			defer panic(err)
    		}
    		if listErrors {
    			t.Error(err)
    			return
    		}
    		errlist = append(errlist, err)
    	}
    
    	// apply custom configuration
    	for _, opt := range opts {
    		opt(&conf)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/sizes.go

    // stdSizes is used if Config.Sizes == nil.
    var stdSizes = SizesFor("gc", "amd64")
    
    func (conf *Config) alignof(T Type) int64 {
    	f := stdSizes.Alignof
    	if conf.Sizes != nil {
    		f = conf.Sizes.Alignof
    	}
    	if a := f(T); a >= 1 {
    		return a
    	}
    	panic("implementation of alignof returned an alignment < 1")
    }
    
    func (conf *Config) offsetsof(T *Struct) []int64 {
    	var offsets []int64
    	if T.NumFields() > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/const.go

    	if x.Kind() == constant.Unknown {
    		return true // avoid follow-up errors
    	}
    
    	var conf *Config
    	if check != nil {
    		conf = check.conf
    	}
    
    	sizeof := func(T Type) int64 {
    		s := conf.sizeof(T)
    		return s
    	}
    
    	switch {
    	case isInteger(typ):
    		x := constant.ToInt(x)
    		if x.Kind() != constant.Int {
    			return false
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

        protected static final String SPNEGO_LOGIN_CLIENT_MODULE = "spnego.login.client.module";
        protected static final String SPNEGO_KRB5_CONF = "spnego.krb5.conf";
        protected static final String SPNEGO_LOGIN_CONF = "spnego.login.conf";
        protected static final String SPNEGO_LOGGER_LEVEL = "spnego.logger.level";
    
        protected org.codelibs.spnego.SpnegoAuthenticator authenticator = null;
    
        @PostConstruct
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/errors.go

    		if code == InvalidSyntaxTree {
    			msg = "invalid syntax tree: " + msg
    		}
    
    		// If we have a URL for error codes, add a link to the first line.
    		if check.conf.ErrorURL != "" {
    			url := fmt.Sprintf(check.conf.ErrorURL, code)
    			if i := strings.Index(msg, "\n"); i >= 0 {
    				msg = msg[:i] + url + msg[i:]
    			} else {
    				msg += url
    			}
    		}
    	} else {
    		// Indent sub-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)
  9. src/cmd/compile/internal/types2/api_test.go

    	}
    	return f
    }
    
    func typecheck(src string, conf *Config, info *Info) (*Package, error) {
    	f := mustParse(src)
    	if conf == nil {
    		conf = &Config{
    			Error:    func(err error) {}, // collect all errors
    			Importer: defaultImporter(),
    		}
    	}
    	return conf.Check(f.PkgName.Value, []*syntax.File{f}, info)
    }
    
    func mustTypecheck(src string, conf *Config, info *Info) *Package {
    	pkg, err := typecheck(src, conf, info)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/resolver.go

    	}
    
    	// no package yet => import it
    	if path == "C" && (check.conf.FakeImportC || check.conf.go115UsesCgo) {
    		if check.conf.FakeImportC && check.conf.go115UsesCgo {
    			check.error(pos, BadImportPath, "cannot use FakeImportC and go115UsesCgo together")
    		}
    		imp = NewPackage("C", "C")
    		imp.fake = true // package scope is not populated
    		imp.cgo = check.conf.go115UsesCgo
    	} else {
    		// ordinary import
    		var err error
    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