Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 110 for rejections (0.18 sec)

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

    	return nil, fmt.Errorf("package %q not found", path)
    }
    
    func TestSelection(t *testing.T) {
    	selections := make(map[*syntax.SelectorExpr]*Selection)
    
    	imports := make(testImporter)
    	conf := Config{Importer: imports}
    	makePkg := func(path, src string) {
    		pkg := mustTypecheck(src, &conf, &Info{Selections: selections})
    		imports[path] = pkg
    	}
    
    	const libSrc = `
    package lib
    type T float64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  2. src/go/types/api_test.go

    					sel := call.Fun.(*ast.SelectorExpr)
    					use := info.Uses[sel.Sel].(*Func)
    					selection := info.Selections[sel]
    					if selection.Kind() != MethodVal {
    						t.Errorf("Selection kind = %v, want %v", selection.Kind(), MethodVal)
    					}
    					if selection.Obj() != use {
    						t.Errorf("info.Selections contains %v, want %v", selection.Obj(), use)
    					}
    					switch sel.Sel.Name {
    					case "m":
    						dmm = use
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/unitchecker/unitchecker.go

    		Uses:       make(map[*ast.Ident]types.Object),
    		Implicits:  make(map[ast.Node]types.Object),
    		Instances:  make(map[*ast.Ident]types.Instance),
    		Scopes:     make(map[ast.Node]*types.Scope),
    		Selections: make(map[*ast.SelectorExpr]*types.Selection),
    	}
    	versions.InitFileVersions(info)
    
    	pkg, err := tc.Check(cfg.ImportPath, fset, files, info)
    	if err != nil {
    		if cfg.SucceedOnTypecheckFailure {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13K bytes
    - Viewed (0)
  4. pilot/pkg/security/authn/policy_applier.go

    	p := config.Policy
    	// Reset origins to use with beta API
    	// nolint: staticcheck
    	p.Origins = []*authn_alpha.OriginAuthenticationMethod{}
    	// Always set to true for beta API, as it doesn't doe rejection on missing token.
    	// nolint: staticcheck
    	p.OriginIsOptional = true
    
    	// Always bind request.auth.principal from JWT origin. In v2 policy, authorization config specifies what principal to
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 09:47:21 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/check_test.go

    		Instances:    make(map[*syntax.Name]Instance),
    		Defs:         make(map[*syntax.Name]Object),
    		Uses:         make(map[*syntax.Name]Object),
    		Implicits:    make(map[syntax.Node]Object),
    		Selections:   make(map[*syntax.SelectorExpr]*Selection),
    		Scopes:       make(map[syntax.Node]*Scope),
    		FileVersions: make(map[*syntax.PosBase]string),
    	}
    
    	// typecheck
    	conf.Check(pkgName, files, &info)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  6. src/mime/multipart/formdata_test.go

    `
    	testBody := strings.ReplaceAll(message, "\n", "\r\n")
    	// Try parsing the form with increasing maxMemory values.
    	// Changes in how we account for non-file form data may cause the exact point
    	// where we change from rejecting the form as too large to accepting it to vary,
    	// but we should see both successes and failures.
    	const failWhenMaxMemoryLessThan = 128
    	for maxMemory := int64(0); maxMemory < failWhenMaxMemoryLessThan*2; maxMemory += 16 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 05 18:31:56 UTC 2024
    - 14K bytes
    - Viewed (0)
  7. src/go/types/check_test.go

    		Instances:    make(map[*ast.Ident]Instance),
    		Defs:         make(map[*ast.Ident]Object),
    		Uses:         make(map[*ast.Ident]Object),
    		Implicits:    make(map[ast.Node]Object),
    		Selections:   make(map[*ast.SelectorExpr]*Selection),
    		Scopes:       make(map[ast.Node]*Scope),
    		FileVersions: make(map[*ast.File]string),
    	}
    
    	// typecheck
    	conf.Check(pkgName, fset, files, &info)
    	if listErrors {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/metaobject/BeanDynamicObject.java

    import java.util.List;
    import java.util.Map;
    
    /**
     * A {@link DynamicObject} which uses groovy reflection to provide access to the properties and methods of a bean.
     *
     * <p>Uses some deep hacks to avoid some expensive reflections and the use of exceptions when a particular property or method cannot be found,
     * for example, when a decorated object is used as the delegate of a configuration closure. Also uses some hacks to insert some customised type
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  9. plugin/pkg/admission/serviceaccount/admission.go

    				for _, projSource := range proj.Sources {
    					if projSource.ServiceAccountToken != nil {
    						return admission.NewForbidden(a, fmt.Errorf("a mirror pod may not use ServiceAccountToken volume projections"))
    					}
    				}
    			}
    		}
    		return nil
    	}
    
    	// Require container pods to have service accounts
    	if len(pod.Spec.ServiceAccountName) == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 12 17:49:30 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  10. src/math/rand/v2/rand.go

    	// There are either floor(2⁶⁴/n) or ceil(2⁶⁴/n) possible products
    	// in that range, depending on k.
    	// But suppose we reject the sample and try again when
    	// x*n is in [k*2⁶⁴, k*2⁶⁴+(2⁶⁴%n)), meaning rejecting fewer than n possible
    	// outcomes out of the 2⁶⁴.
    	// Now there are exactly floor(2⁶⁴/n) possible ways to produce
    	// each output value k, so we've restored uniformity.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:25:49 UTC 2024
    - 12.8K bytes
    - Viewed (0)
Back to top