Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 138 for zero32 (0.12 sec)

  1. src/runtime/iface_test.go

    var (
    	eight8  uint8 = 8
    	eight8I T8    = 8
    	yes     bool  = true
    
    	zero16     uint16 = 0
    	zero16I    T16    = 0
    	one16      uint16 = 1
    	thousand16 uint16 = 1000
    
    	zero32     uint32 = 0
    	zero32I    T32    = 0
    	one32      uint32 = 1
    	thousand32 uint32 = 1000
    
    	zero64     uint64 = 0
    	zero64I    T64    = 0
    	one64      uint64 = 1
    	thousand64 uint64 = 1000
    
    	zerostr  string = ""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 7.5K bytes
    - Viewed (0)
  2. src/runtime/memclr_riscv64.s

    	MOV	ZERO, 16(X10)
    	MOV	ZERO, 24(X10)
    	MOV	ZERO, 32(X10)
    	MOV	ZERO, 40(X10)
    	MOV	ZERO, 48(X10)
    	MOV	ZERO, 56(X10)
    	ADD	$64, X10
    	SUB	$64, X11
    	BGE	X11, X9, loop64
    	BEQZ	X11, done
    
    check32:
    	MOV	$32, X9
    	BLT	X11, X9, check16
    zero32:
    	MOV	ZERO, 0(X10)
    	MOV	ZERO, 8(X10)
    	MOV	ZERO, 16(X10)
    	MOV	ZERO, 24(X10)
    	ADD	$32, X10
    	SUB	$32, X11
    	BEQZ	X11, done
    
    check16:
    	MOV	$16, X9
    	BLT	X11, X9, check8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 13:57:06 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/test/testdata/zero_test.go

    	zero8u1_ssa(&a)
    	want := Z8u1{false, [8]byte{0, 0, 0, 0, 0, 0, 0, 0}}
    	if a != want {
    		t.Errorf("zero8u2 got=%v, want %v\n", a, want)
    	}
    	b := Z8u2{15, [8]byte{255, 255, 255, 255, 255, 255, 255, 255}}
    	zero8u2_ssa(&b)
    	wantb := Z8u2{15, [8]byte{0, 0, 0, 0, 0, 0, 0, 0}}
    	if b != wantb {
    		t.Errorf("zero8u2 got=%v, want %v\n", b, wantb)
    	}
    }
    
    type Z16u1 struct {
    	b   bool
    	val [16]byte
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:40:04 UTC 2020
    - 49.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/test/testdata/fp_test.go

    	gg func(a, b float32) float32,
    	zero, one, inf, nan float64, result uint) {
    	fail64bool(s, f, zero, zero, result>>16&1 == 1)
    	fail64bool(s, f, zero, one, result>>12&1 == 1)
    	fail64bool(s, f, zero, inf, result>>8&1 == 1)
    	fail64bool(s, f, zero, nan, result>>4&1 == 1)
    	fail64bool(s, f, nan, nan, result&1 == 1)
    
    	fail64(s, g, zero, zero, ev64[result>>16&1])
    	fail64(s, g, zero, one, ev64[result>>12&1])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 35K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/lower-static-tensor-list.mlir

    // CHECK-DAG:  [[ZERO_1:%cst.*]] = arith.constant dense<0> : tensor<i32>
    
    
    // CHECK:  [[PARTIAL_START_POS:%.*]] = "tf.Fill"([[VECTOR_RANK]], [[ZERO_1]]) : (tensor<1xi32>, tensor<i32>) -> tensor<?xi32>
    // CHECK:  [[ZERO_2:%cst.*]] = arith.constant dense<0> : tensor<i32>
    // CHECK:  [[EXPANDED_START_INDEX:%.*]] = "tf.ExpandDims"([[ZERO]], [[ZERO_2]]) : (tensor<i32>, tensor<i32>) -> tensor<1xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 39.9K bytes
    - Viewed (0)
  6. test/codegen/structs.go

    // struct types.
    
    // ------------- //
    //    Zeroing    //
    // ------------- //
    
    type Z1 struct {
    	a, b, c int
    }
    
    func Zero1(t *Z1) { // Issue #18370
    	// amd64:`MOVUPS\tX[0-9]+, \(.*\)`,`MOVQ\t\$0, 16\(.*\)`
    	*t = Z1{}
    }
    
    type Z2 struct {
    	a, b, c *int
    }
    
    func Zero2(t *Z2) {
    	// amd64:`MOVUPS\tX[0-9]+, \(.*\)`,`MOVQ\t\$0, 16\(.*\)`
    	// amd64:`.*runtime[.]gcWriteBarrier.*\(SB\)`
    	*t = Z2{}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 923 bytes
    - Viewed (0)
  7. src/runtime/mkduff.go

    		fmt.Fprintln(w, "\tADDQ\t$16, SI")
    		fmt.Fprintln(w, "\tMOVUPS\tX0, (DI)")
    		fmt.Fprintln(w, "\tADDQ\t$16, DI")
    		fmt.Fprintln(w)
    	}
    	fmt.Fprintln(w, "\tRET")
    }
    
    func zero386(w io.Writer) {
    	// AX: zero
    	// DI: ptr to memory to be zeroed
    	// DI is updated as a side effect.
    	fmt.Fprintln(w, "TEXT runtime·duffzero(SB), NOSPLIT, $0-0")
    	for i := 0; i < 128; i++ {
    		fmt.Fprintln(w, "\tSTOSL")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:04:21 UTC 2023
    - 8K bytes
    - Viewed (0)
  8. src/runtime/memclr_ppc64x.s

    	MOVD   $16, R8
    	MOVD   $32, R16
    	MOVD   $48, R17
    
    zero64:
    	STXVD2X VS32, (R3+R0)   // store 16 bytes
    	STXVD2X VS32, (R3+R8)
    	STXVD2X VS32, (R3+R16)
    	STXVD2X VS32, (R3+R17)
    	ADD     $64, R3
    	ADD     $-64, R4
    	BDNZ    zero64          // dec ctr, br zero64 if ctr not 0
    	SRDCC   $3, R4, R6	// remaining doublewords
    	BEQ     nozerolarge
    
    lt64gt8:
    	CMP	R4, $32
    	BLT	lt32gt8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 16 17:08:59 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/writebarrier.go

    				// will no longer necessarily be zero).
    				for i := min; i < max; i += ptrSize {
    					bit := i / ptrSize
    					z.mask &^= 1 << uint(bit)
    				}
    				if z.mask == 0 {
    					// No more known zeros - don't bother keeping.
    					continue
    				}
    				// Save updated known zero contents for new store.
    				if zeroes[v.ID] != z {
    					zeroes[v.ID] = z
    					changed = true
    				}
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:09:14 UTC 2023
    - 23.5K bytes
    - Viewed (0)
  10. pilot/pkg/config/kube/gateway/testdata/zero.yaml

      - name: gateway
        namespace: istio-system
      hostnames: ["first.domain.example"]
      rules:
      - matches:
        - path:
            type: PathPrefix
            value: /get
        backendRefs:
          - name: httpbin-zero
            port: 8080
            weight: 0
      - matches:
        - path:
            type: PathPrefix
            value: /weighted-100
        backendRefs:
        - filters:
          - requestHeaderModifier:
              add:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 18 22:43:39 UTC 2023
    - 1.5K bytes
    - Viewed (0)
Back to top