Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for DumpTables (0.44 sec)

  1. src/strings/export_test.go

    				s += r.printNode(t.table[m], depth+1)
    			}
    		}
    	}
    	return
    }
    
    func StringFind(pattern, text string) int {
    	return makeStringFinder(pattern).next(text)
    }
    
    func DumpTables(pattern string) ([]int, []int) {
    	finder := makeStringFinder(pattern)
    	return finder.badCharSkip[:], finder.goodSuffixSkip
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  2. src/strings/search_test.go

    		},
    		{
    			"abyxcdeyx",
    			[256]int{'a': 8, 'b': 7, 'c': 4, 'd': 3, 'e': 2, 'y': 1, 'x': 5},
    			[]int{17, 16, 15, 14, 13, 12, 7, 10, 1},
    		},
    	}
    
    	for _, tc := range testCases {
    		bad, good := DumpTables(tc.pattern)
    
    		for i, got := range bad {
    			want := tc.bad[i]
    			if want == 0 {
    				want = len(tc.pattern)
    			}
    			if got != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 01 21:52:00 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/link.go

    	OpenCodedDeferInfo *LSym
    	ArgInfo            *LSym // argument info for traceback
    	ArgLiveInfo        *LSym // argument liveness info for traceback
    	WrapInfo           *LSym // for wrapper, info of wrapped function
    	JumpTables         []JumpTable
    
    	FuncInfoSym   *LSym
    	WasmImportSym *LSym
    	WasmImport    *WasmImport
    
    	sehUnwindInfoSym *LSym
    }
    
    // JumpTable represents a table used for implementing multi-way
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssagen/ssa.go

    	ABI obj.ABI
    
    	pp *objw.Progs
    
    	// Branches remembers all the branch instructions we've seen
    	// and where they would like to go.
    	Branches []Branch
    
    	// JumpTables remembers all the jump tables we've seen.
    	JumpTables []*ssa.Block
    
    	// bstart remembers where each block starts (indexed by block ID)
    	bstart []*obj.Prog
    
    	maxarg int64 // largest frame size for arguments to calls made by the function
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/x86/asm6.go

    	}
    
    	// Now that we know byte offsets, we can generate jump table entries.
    	// TODO: could this live in obj instead of obj/$ARCH?
    	for _, jt := range s.Func().JumpTables {
    		for i, p := range jt.Targets {
    			// The ith jumptable entry points to the p.Pc'th
    			// byte in the function symbol s.
    			jt.Sym.WriteAddr(ctxt, int64(i)*8, 8, s, p.Pc)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/arm64/asm7.go

    	obj.MarkUnsafePoints(c.ctxt, c.cursym.Func().Text, c.newprog, c.isUnsafePoint, c.isRestartable)
    
    	// Now that we know byte offsets, we can generate jump table entries.
    	for _, jt := range cursym.Func().JumpTables {
    		for i, p := range jt.Targets {
    			// The ith jumptable entry points to the p.Pc'th
    			// byte in the function symbol s.
    			// TODO: try using relative PCs.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 201.1K bytes
    - Viewed (0)
Back to top