Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 94 for Parses (0.12 sec)

  1. src/go/types/api_test.go

    	"fmt"
    	"go/ast"
    	"go/importer"
    	"go/parser"
    	"go/token"
    	"internal/goversion"
    	"internal/testenv"
    	"reflect"
    	"regexp"
    	"slices"
    	"strings"
    	"sync"
    	"testing"
    
    	. "go/types"
    )
    
    // nopos indicates an unknown position
    var nopos token.Pos
    
    func mustParse(fset *token.FileSet, src string) *ast.File {
    	f, err := parser.ParseFile(fset, pkgName(src), src, parser.ParseComments)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  2. src/cmd/go/internal/test/test.go

    		fmt.Fprintf(os.Stderr, "testcache: %s: test ID %x => input ID %x => %x\n", a.Package.ImportPath, testID, testInputsID, testAndInputKey(testID, testInputsID))
    	}
    
    	// Parse cached result in preparation for changing run time to "(cached)".
    	// If we can't parse the cached result, don't use it.
    	data, entry, err = cache.GetBytes(cache.Default(), testAndInputKey(testID, testInputsID))
    	if len(data) == 0 || data[len(data)-1] != '\n' {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  3. pkg/apis/batch/validation/validation.go

    		if cErr != nil {
    			// Failure to parse "completed" interval. We go to the next interval,
    			// the error will be reported to the user when validating the format.
    			completedPos++
    			if completedPos < len(completedIndexesIntervals) {
    				cX, cY, cErr = parseIndexInterval(completedIndexesIntervals[completedPos], completions)
    			}
    		} else if fErr != nil {
    			// Failure to parse "failed" interval. We go to the next interval,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 16:43:24 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  4. go.sum

    github.com/envoyproxy/protoc-gen-validate v1.0.2/go.mod h1:GpiZQP3dDbg4JouG/NNS7QWXpgx6x8QiMKdmN72jogE=
    github.com/euank/go-kmsg-parser v2.0.0+incompatible h1:cHD53+PLQuuQyLZeriD1V/esuG4MuU0Pjs5y6iknohY=
    github.com/euank/go-kmsg-parser v2.0.0+incompatible/go.mod h1:MhmAMZ8V4CYH4ybgdRwPr2TU5ThnS43puaKEMpja1uw=
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:11 UTC 2024
    - 93.1K bytes
    - Viewed (0)
  5. pkg/controller/cronjob/cronjob_controllerv2_test.go

    				},
    			},
    		},
    	}
    }
    
    func justASecondBeforeTheHour() time.Time {
    	T1, err := time.Parse(time.RFC3339, "2016-05-19T09:59:59Z")
    	if err != nil {
    		panic("test setup error")
    	}
    	return T1
    }
    
    func justAfterThePriorHour() time.Time {
    	T1, err := time.Parse(time.RFC3339, "2016-05-19T09:01:00Z")
    	if err != nil {
    		panic("test setup error")
    	}
    	return T1
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 70.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/server/filters/priority-and-fairness_test.go

    		// get a timeout response without directly affecting execution.  For the second request, the
    		// fact that the timeout filter closes the request's Context.Done() causes the request to be
    		// promptly ejected from its queue.  The goroutine doing the APF handling writes an HTTP
    		// response message with status 429.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  7. src/net/http/transport.go

    	isProxy   bool
    	sawEOF    bool  // whether we've seen EOF from conn; owned by readLoop
    	readLimit int64 // bytes allowed to be read; owned by readLoop
    	// writeErrCh passes the request write error (usually nil)
    	// from the writeLoop goroutine to the readLoop which passes
    	// it off to the res.Body reader, which then uses it to decide
    	// whether or not a connection can be reused. Issue 7569.
    	writeErrCh chan error
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    	cacheInterval, err = c.watchCache.getAllEventsSinceLocked(requiredResourceVersion, key, opts)
    	if err != nil {
    		// To match the uncached watch implementation, once we have passed authn/authz/admission,
    		// and successfully parsed a resource version, other errors must fail with a watch event of type ERROR,
    		// rather than a directly returned error.
    		return newErrWatcher(err), nil
    	}
    
    	addedWatcher := false
    	func() {
    		c.Lock()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/admission_test.go

    	// require.Equal(t, []*unstructured.Unstructured{fakeParams, fakeParams2}, passedParams, "expected call to `Validate` to cause call to evaluator")
    	require.Equal(t, 2, numCompiles, "expect changing binding causes a recompile")
    }
    
    // Shows that a policy which is in effect will stop being in effect when removed
    func TestRemoveDefinition(t *testing.T) {
    	compiler := &fakeCompiler{}
    	matcher := &fakeMatcher{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 25 01:39:01 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  10. pkg/apis/admissionregistration/types.go

    	Name string
    
    	// ClientConfig defines how to communicate with the hook.
    	// Required
    	ClientConfig WebhookClientConfig
    
    	// Rules describes what operations on what resources/subresources the webhook cares about.
    	// The webhook cares about an operation if it matches _any_ Rule.
    	Rules []RuleWithOperations
    
    	// FailurePolicy defines how unrecognized errors from the admission endpoint are handled -
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 20:14:19 UTC 2024
    - 52.6K bytes
    - Viewed (0)
Back to top