Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 359 for clobber (0.1 sec)

  1. src/cmd/compile/internal/test/testdata/gen/zeroGen.go

    package main
    
    import (
    	"bytes"
    	"fmt"
    	"go/format"
    	"log"
    	"os"
    )
    
    // This program generates tests to verify that zeroing operations
    // zero the data they are supposed to and clobber no adjacent values.
    
    // run as `go run zeroGen.go`.  A file called zero.go
    // will be written into the parent directory containing the tests.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 02:13:02 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  2. src/slices/iter_test.go

    			}
    
    			if len(chunks) == 0 {
    				return
    			}
    
    			// Verify that appending to the end of the first chunk does not
    			// clobber the beginning of the next chunk.
    			s := Clone(tc.s)
    			chunks[0] = append(chunks[0], -1)
    			if !Equal(s, tc.s) {
    				t.Errorf("slice was clobbered: %v, want %v", s, tc.s)
    			}
    		})
    	}
    }
    
    func TestChunkPanics(t *testing.T) {
    	for _, test := range []struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 17:28:50 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/conversions.go

    			}
    			*cause = msg
    		}
    	}
    
    	// generic cases with specific type terms
    	// (generic operands cannot be constants, so we can ignore x.val)
    	switch {
    	case Vp != nil && Tp != nil:
    		x := *x // don't clobber outer x
    		return Vp.is(func(V *term) bool {
    			if V == nil {
    				return false // no specific types
    			}
    			x.typ = V.typ
    			return Tp.is(func(T *term) bool {
    				if T == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:51:00 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/RISCV64.rules

    (MOVHreg  <t> x:(MOVHUload [off] {sym} ptr mem)) && x.Uses == 1 && clobber(x) => @x.Block (MOVHload  <t> [off] {sym} ptr mem)
    (MOVWreg  <t> x:(MOVWUload [off] {sym} ptr mem)) && x.Uses == 1 && clobber(x) => @x.Block (MOVWload  <t> [off] {sym} ptr mem)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/branchelim.go

    		cost := phi * 1
    		if phi > 1 {
    			// If we have more than 1 phi and some values in post have args
    			// in yes or no blocks, we may have to recalculate condition, because
    			// those args may clobber flags. For now assume that all operations clobber flags.
    			cost += other * 1
    		}
    		return cost < maxcost
    	}
    }
    
    // canSpeculativelyExecute reports whether every value in the block can
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 30 17:46:51 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  6. pkg/controller/replicaset/replica_set_utils.go

    		return rs, nil
    	}
    
    	// Save the generation number we acted on, otherwise we might wrongfully indicate
    	// that we've seen a spec update when we retry.
    	// TODO: This can clobber an update if we allow multiple agents to write to the
    	// same status.
    	newStatus.ObservedGeneration = rs.Generation
    
    	var getErr, updateErr error
    	var updatedRS *apps.ReplicaSet
    	for i, rs := 0, rs; ; i++ {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 07 12:19:51 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  7. src/runtime/asm_arm.s

    // to the buffer space in R8.
    // It clobbers condition codes.
    // It does not clobber any other general-purpose registers,
    // but may clobber others (e.g., floating point registers).
    // The act of CALLing gcWriteBarrier will clobber R14 (LR).
    TEXT gcWriteBarrier<>(SB),NOSPLIT|NOFRAME,$0
    	// Save the registers clobbered by the fast path.
    	MOVM.DB.W	[R0,R1], (R13)
    retry:
    	MOVW	g_m(g), R0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 23 21:00:52 UTC 2024
    - 32.1K bytes
    - Viewed (0)
  8. src/runtime/asm_mips64x.s

    // to the buffer space in R25.
    // It clobbers R23 (the linker temp register).
    // The act of CALLing gcWriteBarrier will clobber R31 (LR).
    // It does not clobber any other general-purpose registers,
    // but may clobber others (e.g., floating point registers).
    TEXT gcWriteBarrier<>(SB),NOSPLIT,$192
    	// Save the registers clobbered by the fast path.
    	MOVV	R1, 184(R29)
    	MOVV	R2, 192(R29)
    retry:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 19:45:59 UTC 2023
    - 24.3K bytes
    - Viewed (0)
  9. src/runtime/asm_s390x.s

    // number of bytes of buffer needed in R9, and returns a pointer
    // to the buffer space in R9.
    // It clobbers R10 (the temp register) and R1 (used by PLT stub).
    // It does not clobber any other general-purpose registers,
    // but may clobber others (e.g., floating point registers).
    TEXT gcWriteBarrier<>(SB),NOSPLIT,$96
    	// Save the registers clobbered by the fast path.
    	MOVD	R4, 96(R15)
    retry:
    	MOVD	g_m(g), R1
    	MOVD	m_p(R1), R1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 25 09:18:28 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  10. src/runtime/asm_riscv64.s

    // to the buffer space in X24.
    // It clobbers X31 aka T6 (the linker temp register - REG_TMP).
    // The act of CALLing gcWriteBarrier will clobber RA (LR).
    // It does not clobber any other general-purpose registers,
    // but may clobber others (e.g., floating point registers).
    TEXT gcWriteBarrier<>(SB),NOSPLIT,$208
    	// Save the registers clobbered by the fast path.
    	MOV	A0, 24*8(X2)
    	MOV	A1, 25*8(X2)
    retry:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 13:57:06 UTC 2023
    - 27K bytes
    - Viewed (0)
Back to top