Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,399 for zero (0.05 sec)

  1. src/internal/runtime/atomic/atomic_riscv64.s

    	SCW	A2, (A0), A4
    	BNE	A4, ZERO, cas_again
    	MOV	$1, A0
    	MOVB	A0, ret+16(FP)
    	RET
    cas_fail:
    	MOV	$0, A0
    	MOV	A0, ret+16(FP)
    	RET
    
    // func Cas64(ptr *uint64, old, new uint64) bool
    TEXT ·Cas64(SB), NOSPLIT, $0-25
    	MOV	ptr+0(FP), A0
    	MOV	old+8(FP), A1
    	MOV	new+16(FP), A2
    cas_again:
    	LRD	(A0), A3
    	BNE	A3, A1, cas_fail
    	SCD	A2, (A0), A4
    	BNE	A4, ZERO, cas_again
    	MOV	$1, A0
    	MOVB	A0, ret+24(FP)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. src/crypto/aes/gcm_arm64.s

    	MOVW.W	-4(srcPtr), H0
    	VEXT	$12, T0.B16, ZERO.B16, T0.B16
    	VEXT	$12, T3.B16, ZERO.B16, T3.B16
    	VMOV	H0, T0.S[0]
    	VMOV	H1, T3.S[0]
    ld2:
    	TBZ	$1, srcPtrLen, ld1
    	MOVH.W	-2(srcPtr), H0
    	VEXT	$14, T0.B16, ZERO.B16, T0.B16
    	VEXT	$14, T3.B16, ZERO.B16, T3.B16
    	VMOV	H0, T0.H[0]
    	VMOV	H1, T3.H[0]
    ld1:
    	TBZ	$0, srcPtrLen, ld0
    	MOVB.W	-1(srcPtr), H0
    	VEXT	$15, T0.B16, ZERO.B16, T0.B16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveIfTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testRemoveIf_sometimesTrue() {
        assertTrue(
            "removeIf(isEqual(present)) should return true",
            collection.removeIf(Predicate.isEqual(samples.e0())));
        expectMissing(samples.e0());
      }
    
      @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testRemoveIf_allPresent() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java

          if (entries.size() >= 3) {
            c = entries.get(2);
          }
        }
      }
    
      @CollectionSize.Require(ZERO)
      public void testEmptyMapFirst() {
        try {
          navigableMap.firstKey();
          fail();
        } catch (NoSuchElementException e) {
        }
      }
    
      @CollectionSize.Require(ZERO)
      public void testEmptyMapLast() {
        try {
          assertNull(navigableMap.lastKey());
          fail();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. src/net/netip/netip.go

    func (ip Addr) v6u16(i uint8) uint16 {
    	return uint16(*(ip.addr.halves()[(i/4)%2]) >> ((3 - i%4) * 16))
    }
    
    // isZero reports whether ip is the zero value of the IP type.
    // The zero value is not a valid IP address of any type.
    //
    // Note that "0.0.0.0" and "::" are not the zero value. Use IsUnspecified to
    // check for these values instead.
    func (ip Addr) isZero() bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/RISCV64.rules

    // Small zeroing
    (Zero [0] _ mem) => mem
    (Zero [1] ptr mem) => (MOVBstore ptr (MOVDconst [0]) mem)
    (Zero [2] {t} ptr mem) && t.Alignment()%2 == 0 =>
    	(MOVHstore ptr (MOVDconst [0]) mem)
    (Zero [2] ptr mem) =>
    	(MOVBstore [1] ptr (MOVDconst [0])
    		(MOVBstore ptr (MOVDconst [0]) mem))
    (Zero [4] {t} ptr mem) && t.Alignment()%4 == 0 =>
    	(MOVWstore ptr (MOVDconst [0]) 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)
  7. src/cmd/go/testdata/script/mod_tidy_diff.txt

    ! stdout 'diff current/go.mod tidy/go.mod'
    stdout 'diff current/go.sum tidy/go.sum'
    
    # Everything is tidy, should return zero exit code.
    go mod tidy
    go mod tidy -diff
    ! stdout 'diff current/go.mod tidy/go.mod'
    ! stdout 'diff current/go.sum tidy/go.sum'
    
    # go.mod requires updates, should return non-zero exit code.
    cp go.mod.orig go.mod
    ! go mod tidy -diff
    stdout 'diff current/go.mod tidy/go.mod'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. src/html/template/exec_test.go

    	{"if 1", "{{if 1}}NON-ZERO{{else}}ZERO{{end}}", "NON-ZERO", tVal, true},
    	{"if 0", "{{if 0}}NON-ZERO{{else}}ZERO{{end}}", "ZERO", tVal, true},
    	{"if 1.5", "{{if 1.5}}NON-ZERO{{else}}ZERO{{end}}", "NON-ZERO", tVal, true},
    	{"if 0.0", "{{if .FloatZero}}NON-ZERO{{else}}ZERO{{end}}", "ZERO", tVal, true},
    	{"if 1.5i", "{{if 1.5i}}NON-ZERO{{else}}ZERO{{end}}", "NON-ZERO", tVal, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/BiMapPutTester.java

      @CollectionSize.Require(ZERO)
      public void testPutPresentKeyDifferentValue() {
        getMap().put(k0(), v0());
        getMap().put(k0(), v1());
        // verify that the bimap is changed, and that the old inverse mapping
        // from v1 -> v0 is deleted
        expectContents(Helpers.mapEntry(k0(), v1()));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(ZERO)
      public void putDistinctKeysDistinctValues() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/MultimapEqualsTester.java

     * the License.
     */
    
    package com.google.common.collect.testing.google;
    
    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_KEYS;
    import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_VALUES;
    
    import com.google.common.annotations.GwtCompatible;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top