Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 658 for zero (0.53 sec)

  1. src/cmd/asm/internal/asm/expr_test.go

    	}
    }
    
    type badExprTest struct {
    	input string
    	error string // Empty means no error.
    }
    
    var badExprTests = []badExprTest{
    	{"0/0", "division by zero"},
    	{"3/0", "division by zero"},
    	{"(1<<63)/0", "divide of value with high bit set"},
    	{"3%0", "modulo by zero"},
    	{"(1<<63)%0", "modulo of value with high bit set"},
    	{"3<<-4", "negative left shift count"},
    	{"3<<(1<<63)", "negative left shift count"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java

      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPutAll_supportedSomePresent() {
        putAll(MinimalCollection.of(e3(), e0()));
        expectAdded(e3());
      }
    
      @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_PUT})
      @CollectionSize.Require(absent = ZERO)
      public void testPutAllSomePresentConcurrentWithEntrySetIteration() {
        try {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 7K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java

    import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_ADD;
    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    import static java.util.Collections.singletonList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveTester.java

     */
    
    package com.google.common.collect.testing.testers;
    
    import static com.google.common.collect.testing.features.CollectionSize.SEVERAL;
    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_KEY_QUERIES;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/syntax/testdata/map2.go

    	*pn = &node[K, V]{key: key, val: val}
    	return true
    }
    
    // Find returns the value associated with a key, or zero if not present.
    // The found result reports whether the key was found.
    func (m *Map[K, V]) Find(key K) (V, bool) {
    	pn := m.find(key)
    	if *pn == nil {
    		var zero V // see the discussion of zero values, above
    		return zero, false
    	}
    	return (*pn).val, true
    }
    
    // keyValue is a pair of key and value used when iterating.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 01 12:49:49 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  6. src/compress/gzip/issue14937_test.go

    	"runtime"
    	"strings"
    	"testing"
    )
    
    // TestGZIPFilesHaveZeroMTimes checks that every .gz file in the tree
    // has a zero MTIME. This is a requirement for the Debian maintainers
    // to be able to have deterministic packages.
    //
    // To patch a .gz file, use the following command:
    //
    //	$ dd if=/dev/zero bs=1 seek=4 count=4 conv=notrunc of=filename.gz
    //
    // See https://golang.org/issue/14937.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 10 16:37:53 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/SortedSetNavigationTester.java

            b = values.get(1);
            c = values.get(2);
          }
        }
      }
    
      @CollectionSize.Require(ZERO)
      public void testEmptySetFirst() {
        try {
          sortedSet.first();
          fail();
        } catch (NoSuchElementException e) {
        }
      }
    
      @CollectionSize.Require(ZERO)
      public void testEmptySetLast() {
        try {
          sortedSet.last();
          fail();
        } catch (NoSuchElementException e) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java

      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPutAll_supportedSomePresent() {
        putAll(MinimalCollection.of(e3(), e0()));
        expectAdded(e3());
      }
    
      @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_PUT})
      @CollectionSize.Require(absent = ZERO)
      public void testPutAllSomePresentConcurrentWithEntrySetIteration() {
        try {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 7K bytes
    - Viewed (0)
  9. src/regexp/syntax/doc.go

    Repetitions:
    
    	x*             zero or more x, prefer more
    	x+             one or more x, prefer more
    	x?             zero or one x, prefer one
    	x{n,m}         n or n+1 or ... or m x, prefer more
    	x{n,}          n or more x, prefer more
    	x{n}           exactly n x
    	x*?            zero or more x, prefer fewer
    	x+?            one or more x, prefer fewer
    	x??            zero or one x, prefer zero
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:21:02 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. src/crypto/internal/boring/boring.go

    // output depends on the input.  noescape is inlined and currently
    // compiles down to zero instructions.
    // USE CAREFULLY!
    //
    //go:nosplit
    func noescape(p unsafe.Pointer) unsafe.Pointer {
    	x := uintptr(p)
    	return unsafe.Pointer(x ^ 0)
    }
    
    var zero byte
    
    // addr converts p to its base addr, including a noescape along the way.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 14:00:54 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top