Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,905 for zero (0.04 sec)

  1. test/fixedbugs/issue11674.go

    // Issue 11674: cmd/compile: does not diagnose constant division by
    // zero
    
    package p
    
    const x complex64 = 0
    const y complex128 = 0
    
    var _ = x / 1e-20
    var _ = x / 1e-50   // GC_ERROR "division by zero"
    var _ = x / 1e-1000 // GC_ERROR "division by zero"
    var _ = x / 1e-20i
    var _ = x / 1e-50i   // GC_ERROR "division by zero"
    var _ = x / 1e-1000i // GC_ERROR "division by zero"
    
    var _ = x / 1e-45 // smallest positive float32
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 22 17:50:13 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/MapCreationTester.java

      @MapFeature.Require(ALLOWS_NULL_KEYS)
      @CollectionSize.Require(absent = ZERO)
      public void testCreateWithNullKeySupported() {
        initMapWithNullKey();
        expectContents(createArrayWithNullKey());
      }
    
      @MapFeature.Require(absent = ALLOWS_NULL_KEYS)
      @CollectionSize.Require(absent = ZERO)
      public void testCreateWithNullKeyUnsupported() {
        try {
          initMapWithNullKey();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. test/fixedbugs/issue20227.go

    package p
    
    var _ = 1 / 1e-600000000i  // ERROR "division by zero"
    var _ = 1i / 1e-600000000  // ERROR "division by zero"
    var _ = 1i / 1e-600000000i // ERROR "division by zero"
    
    var _ = 1 / (1e-600000000 + 1e-600000000i)  // ERROR "division by zero"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 14 17:37:52 UTC 2020
    - 565 bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java

       * first decrementing to zero, and then removing. putIfAbsent or replace could observe the
       * intermediate zero-state. Ways we could deal with this are:
       *
       * - Don't define any of the ConcurrentMap operations. This is the current state of affairs.
       *
       * - Define putIfAbsent and replace as treating zero and absent identically (as currently
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

      }
    
      // retainAll(empty)
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(ZERO)
      public void testRetainAll_emptyPreviouslyEmpty() {
        expectReturnsFalse(empty);
        expectUnchanged();
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      @CollectionSize.Require(ZERO)
      public void testRetainAll_emptyPreviouslyEmptyUnsupported() {
        expectReturnsFalseOrThrows(empty);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/BiMapRemoveTester.java

      @MapFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testRemoveKeyRemovesFromInverse() {
        getMap().remove(k0());
        expectMissing(e0());
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testRemoveKeyFromKeySetRemovesFromInverse() {
        getMap().keySet().remove(k0());
        expectMissing(e0());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. src/internal/types/testdata/check/const0.go

    	ui7 = ui2 * ui1
    	ui8 = ui3 / ui3
    	ui9 = ui3 % ui3
    
    	ui10 = 1 / 0 /* ERROR "division by zero" */
    	ui11 = ui1 / 0 /* ERROR "division by zero" */
    	ui12 = ui3 / ui0 /* ERROR "division by zero" */
    	ui13 = 1 % 0 /* ERROR "division by zero" */
    	ui14 = ui1 % 0 /* ERROR "division by zero" */
    	ui15 = ui3 % ui0 /* ERROR "division by zero" */
    
    	ui16 = ui2 & ui3
    	ui17 = ui2 | ui3
    	ui18 = ui2 ^ ui3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  8. src/syscall/asm_freebsd_riscv64.s

    	MOV	a1+8(FP), A0
    	MOV	a2+16(FP), A1
    	MOV	a3+24(FP), A2
    	MOV	trap+0(FP), T0	// syscall entry
    	ECALL
    	BNE	T0, ZERO, err
    	MOV	A0, r1+32(FP)	// r1
    	MOV	A1, r2+40(FP)	// r2
    	MOV	ZERO, err+48(FP)	// errno
    	CALL	runtime·exitsyscall(SB)
    	RET
    err:
    	MOV	$-1, T0
    	MOV	T0, r1+32(FP)	// r1
    	MOV	ZERO, r2+40(FP)	// r2
    	MOV	A0, err+48(FP)	// errno
    	CALL	runtime·exitsyscall(SB)
    	RET
    
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 29 22:39:46 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  9. pkg/registry/flowcontrol/prioritylevelconfiguration/strategy_test.go

    		},
    		{
    			name:        "v1, update, zero value, existing has zero, no error expected",
    			obj:         v1ObjFn(ptr.To(int32(0))),
    			old:         internalObjFn(0),
    			scheme:      v1SchemeFn(t),
    			errExpected: nil,
    		},
    		{
    			name:        "v1, update, non-zero value, existing has zero, no error expected",
    			obj:         v1ObjFn(ptr.To(int32(1))),
    			old:         internalObjFn(0),
    			scheme:      v1SchemeFn(t),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 26 20:55:50 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/endpoints/deprecation/deprecation_test.go

    			obj:  &fakeObject{},
    			want: "",
    		},
    		{
    			name: "interface, zero-value",
    			obj:  &fakeRemovedObject{removedMajor: 0, removedMinor: 0},
    			want: "",
    		},
    		{
    			name: "interface, non-zero major",
    			obj:  &fakeRemovedObject{removedMajor: 1, removedMinor: 0},
    			want: "1.0",
    		},
    		{
    			name: "interface, non-zero minor",
    			obj:  &fakeRemovedObject{removedMajor: 0, removedMinor: 1},
    			want: "0.1",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 11 20:04:19 UTC 2020
    - 8.5K bytes
    - Viewed (0)
Back to top