Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,399 for zero (0.09 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/QueuePollTester.java

    import static com.google.common.collect.testing.features.CollectionSize.ONE;
    import static com.google.common.collect.testing.features.CollectionSize.SEVERAL;
    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.features.CollectionFeature;
    import com.google.common.collect.testing.features.CollectionSize;
    import org.junit.Ignore;
    
    /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/QueueRemoveTester.java

    import static com.google.common.collect.testing.features.CollectionSize.ONE;
    import static com.google.common.collect.testing.features.CollectionSize.SEVERAL;
    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.features.CollectionFeature;
    import com.google.common.collect.testing.features.CollectionSize;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/quantization/numerical_utils_test.cc

      ASSERT_FLOAT_EQ(ComposeScale(QuantizeMultiplier(1.0e-7)), 0.0);
      ASSERT_FLOAT_EQ(ComposeScale(QuantizeMultiplier(1.0e-8)), 0.0);
    }
    
    TEST(NumericalUtils, ActivationRange) {
      // zero point = 0
      auto a =
          CalculateQuantizedRange(1e-6, 0, std::nullopt, std::nullopt, -128, 127);
      ASSERT_EQ(a.first, -128);
      ASSERT_EQ(a.second, 127);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 08 01:38:03 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetElementSetTester.java

      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testElementSetReflectsRemove() {
        Set<E> elementSet = getMultiset().elementSet();
        assertTrue(elementSet.contains(e0()));
        getMultiset().removeAll(Collections.singleton(e0()));
        assertFalse(elementSet.contains(e0()));
      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(SUPPORTS_REMOVE)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. pkg/kubelet/winstats/perfcounters_test.go

    				}
    				return
    			}
    
    			// There are some counters that we can't expect to see any non-zero values, like the
    			// networking-related counters.
    			if tc.skipCheck {
    				return
    			}
    
    			// Wait until we get a non-zero perf counter data.
    			if pollErr := wait.Poll(100*time.Millisecond, 5*perfCounterUpdatePeriod, func() (bool, error) {
    				data, err := counter.getData()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. src/math/big/float_test.go

    	}
    	return i
    }
    
    func TestFloatZeroValue(t *testing.T) {
    	// zero (uninitialized) value is a ready-to-use 0.0
    	var x Float
    	if s := x.Text('f', 1); s != "0.0" {
    		t.Errorf("zero value = %s; want 0.0", s)
    	}
    
    	// zero value has precision 0
    	if prec := x.Prec(); prec != 0 {
    		t.Errorf("prec = %d; want 0", prec)
    	}
    
    	// zero value can be used in any and all positions of binary operations
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 51.9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/convert/BigDecimalConversionUtilTest.java

    public class BigDecimalConversionUtilTest extends TestCase {
        private static final BigDecimal ZERO = new BigDecimal("0");
    
        /**
         * @throws Exception
         */
        public void testToBigDecimal() throws Exception {
            assertNull(BigDecimalConversionUtil.toBigDecimal(null));
            assertSame(ZERO, BigDecimalConversionUtil.toBigDecimal(ZERO));
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_DivByZero.descriptors.txt

    expression: 42 / 0
    constant: error("Division by zero")
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 11:53:09 UTC 2024
    - 80 bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/telemetry/internal/mmap/mmap_windows.go

    		munmapFile(*previous)
    	}
    	st, err := f.Stat()
    	if err != nil {
    		return Data{}, err
    	}
    	size := st.Size()
    	if size == 0 {
    		return Data{f, nil, nil}, nil
    	}
    	// set the min and max sizes to zero to map the whole file, as described in
    	// https://learn.microsoft.com/en-us/windows/win32/memory/creating-a-file-mapping-object#file-mapping-size
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:10:54 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. src/cmd/internal/buildid/buildid_test.go

    			// in Readfile; see issue #62097.
    			if id != "" || err != nil {
    				t.Errorf("ReadFile with zero ELF Align = %q, %v, want %q, nil", id, err, "")
    				continue
    			}
    		}
    	}
    }
    
    func TestFindAndHash(t *testing.T) {
    	buf := make([]byte, 64)
    	buf2 := make([]byte, 64)
    	id := make([]byte, 8)
    	zero := make([]byte, 8)
    	for i := range id {
    		id[i] = byte(i)
    	}
    	numError := 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:28 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top