Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for handlers (1.46 sec)

  1. src/cmd/dist/build.go

    }
    
    // find reports the first index of p in l[0:n], or else -1.
    func find(p string, l []string) int {
    	for i, s := range l {
    		if p == s {
    			return i
    		}
    	}
    	return -1
    }
    
    // xinit handles initialization of the various global state, like goroot and goarch.
    func xinit() {
    	b := os.Getenv("GOROOT")
    	if b == "" {
    		fatalf("$GOROOT must be set")
    	}
    	goroot = filepath.Clean(b)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/S390X.rules

      => ((SUB|SUBW) (SL(D|W)const <t> x [uint8(log32(-c&^(-c-1)))])
                     (SL(D|W)const <t> x [uint8(log32(-c+(-c&^(-c-1))))]))
    
    // Fold ADD into MOVDaddr. Odd offsets from SB shouldn't be folded (LARL can't handle them).
    (ADDconst [c] (MOVDaddr [d] {s} x:(SB))) && ((c+d)&1 == 0) && is32Bit(int64(c)+int64(d)) => (MOVDaddr [c+d] {s} x)
    (ADDconst [c] (MOVDaddr [d] {s} x)) && x.Op != OpSB && is20Bit(int64(c)+int64(d)) => (MOVDaddr [c+d] {s} x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 18:09:26 UTC 2023
    - 74.3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/api_test.go

    		t.Fatal(err)
    	}
    
    	for ident, obj := range info.Defs {
    		if obj == nil {
    			// only package names and implicit vars have a nil object
    			// (in this test we only need to handle the package name)
    			if ident.Value != "p" {
    				t.Errorf("%v has nil object", ident)
    			}
    			continue
    		}
    
    		// struct fields, type-associated and interface methods
    		// have no parent scope
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/regalloc.go

    			for r := register(0); r < s.numRegs; r++ {
    				v := s.regs[r].v
    				if v == nil {
    					continue
    				}
    				if phiUsed>>r&1 != 0 {
    					// Skip registers that phis used, we'll handle those
    					// specially during merge edge processing.
    					continue
    				}
    				regList = append(regList, startReg{r, v, s.regs[r].c, s.values[v.ID].uses.pos})
    				s.startRegsMask |= regMask(1) << r
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:49:56 UTC 2023
    - 87.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/AMD64.rules

    (SET(NE|EQ)store [off] {sym} ptr (TESTQ (MOVQconst [c]) x) mem) && isUint64PowerOfTwo(c)
        => (SET(B|AE)store  [off] {sym} ptr (BTQconst [int8(log64(c))] x) mem)
    
    // Handle bit-testing in the form (a>>b)&1 != 0 by building the above rules
    // and further combining shifts.
    (BT(Q|L)const [c] (SHRQconst [d] x)) && (c+d)<64 => (BTQconst [c+d] x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 93.9K bytes
    - Viewed (0)
  6. src/cmd/cgo/gcc.go

    func (c *typeConv) badStructPointerTypedef(name string, dt *dwarf.StructType) bool {
    	// Windows handle types can all potentially contain non-pointers.
    	// badVoidPointerTypedef handles the "void *" HANDLE type, but other
    	// handles are defined as
    	//
    	// struct <name>__{int unused;}; typedef struct <name>__ *name;
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ppc64/ssa.go

    		// can be set to zero.
    
    		// This same problem can happen with gostrings since the final offset is not
    		// known yet, but could be unaligned after the relocation is resolved.
    		// So gostrings are handled the same way.
    
    		// This allows the MOVDload and MOVWload to be generated in more cases and
    		// eliminates some offset and alignment checking in the rules file.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  8. src/cmd/go/internal/test/test.go

    variables are unchanged. A cached test result is treated as executing
    in no time at all, so a successful package test result will be cached and
    reused regardless of -timeout setting.
    
    In addition to the build flags, the flags handled by 'go test' itself are:
    
    	-args
    	    Pass the remainder of the command line (everything after -args)
    	    to the test binary, uninterpreted and unchanged.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  9. src/bufio/bufio_test.go

    		},
    		// ReadLine doesn't fit the data/pattern easily
    		// so we leave it out. It should be covered via
    		// the ReadSlice test since ReadLine simply calls
    		// ReadSlice, and it's that function that handles
    		// the last byte.
    	}
    
    	// Try all readers with UnreadByte.
    	for rno, read := range readers {
    		// Some input data that is longer than the minimum reader buffer size.
    		const n = 10
    		var buf bytes.Buffer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:56:01 UTC 2023
    - 51.5K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/debug.go

    	setSlot := func(slot SlotID, loc VarLoc) {
    		changed = true
    		state.changedVars.add(ID(state.slotVars[slot]))
    		state.changedSlots.add(ID(slot))
    		state.currentState.slots[slot] = loc
    	}
    
    	// Handle any register clobbering. Call operations, for example,
    	// clobber all registers even though they don't explicitly write to
    	// them.
    	clobbers := uint64(opcodeTable[v.Op].reg.clobbers)
    	for {
    		if clobbers == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
Back to top