Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 71 for vfunc (0.04 sec)

  1. src/regexp/syntax/parse.go

    // Flags, and returns a regular expression parse tree. The syntax is
    // described in the top-level comment.
    func Parse(s string, flags Flags) (*Regexp, error) {
    	return parse(s, flags)
    }
    
    func parse(s string, flags Flags) (_ *Regexp, err error) {
    	defer func() {
    		switch r := recover(); r {
    		default:
    			panic(r)
    		case nil:
    			// ok
    		case ErrLarge: // too big
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  2. src/cmd/cgo/out.go

    //go:linkname _cgo_runtime_cgocall runtime.cgocall
    func _cgo_runtime_cgocall(unsafe.Pointer, uintptr) int32
    
    //go:linkname _cgoCheckPointer runtime.cgoCheckPointer
    //go:noescape
    func _cgoCheckPointer(interface{}, interface{})
    
    //go:linkname _cgoCheckResult runtime.cgoCheckResult
    //go:noescape
    func _cgoCheckResult(interface{})
    `
    
    const gccgoGoProlog = `
    func _cgoCheckPointer(interface{}, interface{})
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  3. pilot/pkg/config/kube/crdclient/types.gen.go

    	default:
    		return fmt.Errorf("unsupported type: %v", typ)
    	}
    }
    
    var translationMap = map[config.GroupVersionKind]func(r runtime.Object) config.Config{
    	gvk.AuthorizationPolicy: func(r runtime.Object) config.Config {
    		obj := r.(*apiistioioapisecurityv1beta1.AuthorizationPolicy)
    		return config.Config{
    			Meta: config.Meta{
    				GroupVersionKind:  gvk.AuthorizationPolicy,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 17:37:32 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  4. src/go/printer/nodes.go

    	// different line (all whitespace preceding the FUNC is emitted only when the
    	// FUNC is emitted).
    	startCol := p.out.Column - len("func ")
    	if d.Recv != nil {
    		p.parameters(d.Recv, funcParam) // method: print receiver
    		p.print(blank)
    	}
    	p.expr(d.Name)
    	p.signature(d.Type)
    	p.funcBody(p.distanceFrom(d.Pos(), startCol), vtab, d.Body)
    }
    
    func (p *printer) decl(decl ast.Decl) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  5. src/runtime/map.go

    func bucketShift(b uint8) uintptr {
    	// Masking the shift amount allows overflow checks to be elided.
    	return uintptr(1) << (b & (goarch.PtrSize*8 - 1))
    }
    
    // bucketMask returns 1<<b - 1, optimized for code generation.
    func bucketMask(b uint8) uintptr {
    	return bucketShift(b) - 1
    }
    
    // tophash calculates the tophash value for hash.
    func tophash(hash uintptr) uint8 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go

    // another following <template-args>.  In that case, we reset the
    // parse and just return the <template-param>.
    func (st *state) demangleCastTemplateArgs(tp AST, addSubst bool) AST {
    	save := st.copy()
    
    	var args []AST
    	failed := false
    	func() {
    		defer func() {
    			if r := recover(); r != nil {
    				if _, ok := r.(demangleErr); ok {
    					failed = true
    				} else {
    					panic(r)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 94.1K bytes
    - Viewed (0)
  7. src/go/build/build.go

    	// If JoinPath is nil, Import uses filepath.Join.
    	JoinPath func(elem ...string) string
    
    	// SplitPathList splits the path list into a slice of individual paths.
    	// If SplitPathList is nil, Import uses filepath.SplitList.
    	SplitPathList func(list string) []string
    
    	// IsAbsPath reports whether path is an absolute path.
    	// If IsAbsPath is nil, Import uses filepath.IsAbs.
    	IsAbsPath func(path string) bool
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/route/route_test.go

    	"istio.io/istio/pkg/util/sets"
    )
    
    func TestBuildHTTPRoutes(t *testing.T) {
    	serviceRegistry := map[host.Name]*model.Service{
    		"*.example.org": {
    			Hostname:       "*.example.org",
    			DefaultAddress: "1.1.1.1",
    			Ports: model.PortList{
    				&model.Port{
    					Name:     "default",
    					Port:     8080,
    					Protocol: protocol.HTTP,
    				},
    			},
    		},
    	}
    
    	node := func(cg *core.ConfigGenTest) *model.Proxy {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 88.1K bytes
    - Viewed (0)
  9. pkg/controller/history/controller_history_test.go

    		},
    	}
    	for i := range tests {
    		testFn(&tests[i], t)
    	}
    }
    
    func TestSortControllerRevisions(t *testing.T) {
    	type testcase struct {
    		name      string
    		revisions []*apps.ControllerRevision
    		want      []string
    	}
    	testFn := func(test *testcase, t *testing.T) {
    		t.Run(test.name, func(t *testing.T) {
    			SortControllerRevisions(test.revisions)
    			for i := range test.revisions {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 21 13:31:28 UTC 2023
    - 49.1K bytes
    - Viewed (0)
  10. src/cmd/internal/testdir/testdir_test.go

    		if set[testName] {
    			return true
    		}
    	}
    	return false
    }
    
    func (t test) goFileName() string {
    	return filepath.Join(t.dir, t.goFile)
    }
    
    func (t test) goDirName() string {
    	return filepath.Join(t.dir, strings.Replace(t.goFile, ".go", ".dir", -1))
    }
    
    // goDirFiles returns .go files in dir.
    func goDirFiles(dir string) (filter []fs.DirEntry, _ error) {
    	files, err := os.ReadDir(dir)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
Back to top