Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 177 for zero (1.08 sec)

  1. src/go/types/expr.go

    		x.mode = invalid
    		return
    	}
    
    	if op == token.QUO || op == token.REM {
    		// check for zero divisor
    		if (x.mode == constant_ || allInteger(x.typ)) && y.mode == constant_ && constant.Sign(y.val) == 0 {
    			check.error(&y, DivByZero, invalidOp+"division by zero")
    			x.mode = invalid
    			return
    		}
    
    		// check for divisor underflow in complex division (see go.dev/issue/20227)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/apps/v1/types.go

    }
    
    // DeploymentSpec is the specification of the desired behavior of the Deployment.
    type DeploymentSpec struct {
    	// Number of desired pods. This is a pointer to distinguish between explicit
    	// zero and not specified. Defaults to 1.
    	// +optional
    	Replicas *int32 `json:"replicas,omitempty" protobuf:"varint,1,opt,name=replicas"`
    
    	// Label selector for pods. Existing ReplicaSets whose pods are
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 49.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ppc64/ssa.go

    		// then the address of the symbol to be loaded is computed (base + offset)
    		// and used as the new base register and the offset field in the instruction
    		// can be set to zero.
    
    		// This same problem can happen with gostrings since the final offset is not
    		// known yet, but could be unaligned after the relocation is resolved.
    		// So gostrings are handled the same way.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/apps/v1beta2/types.go

    }
    
    // DeploymentSpec is the specification of the desired behavior of the Deployment.
    type DeploymentSpec struct {
    	// Number of desired pods. This is a pointer to distinguish between explicit
    	// zero and not specified. Defaults to 1.
    	// +optional
    	Replicas *int32 `json:"replicas,omitempty" protobuf:"varint,1,opt,name=replicas"`
    
    	// Label selector for pods. Existing ReplicaSets whose pods are
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:24 UTC 2023
    - 52.2K bytes
    - Viewed (0)
  5. src/crypto/tls/tls_test.go

    	}
    }
    
    func isTimeoutError(err error) bool {
    	if ne, ok := err.(net.Error); ok {
    		return ne.Timeout()
    	}
    	return false
    }
    
    // tests that Conn.Read returns (non-zero, io.EOF) instead of
    // (non-zero, nil) when a Close (alertCloseNotify) is sitting right
    // behind the application data in the buffer.
    func TestConnReadNonzeroAndEOF(t *testing.T) {
    	// This test is racy: it assumes that after a write to a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 60.5K bytes
    - Viewed (0)
  6. src/crypto/tls/handshake_messages.go

    	}
    	if m.earlyData {
    		// RFC 8446, Section 4.2.10
    		exts.AddUint16(extensionEarlyData)
    		exts.AddUint16(0) // empty extension_data
    	}
    	if m.quicTransportParameters != nil { // marshal zero-length parameters when present
    		// RFC 9001, Section 8.2
    		exts.AddUint16(extensionQUICTransportParameters)
    		exts.AddUint16LengthPrefixed(func(exts *cryptobyte.Builder) {
    			exts.AddBytes(m.quicTransportParameters)
    		})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  7. internal/bucket/lifecycle/lifecycle_test.go

    			expectedParsingErr:    nil,
    			expectedValidationErr: nil,
    		},
    		// Lifecycle with zero Transition Days
    		{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  8. src/runtime/map.go

    }
    
    func mapaccess1_fat(t *maptype, h *hmap, key, zero unsafe.Pointer) unsafe.Pointer {
    	e := mapaccess1(t, h, key)
    	if e == unsafe.Pointer(&zeroVal[0]) {
    		return zero
    	}
    	return e
    }
    
    func mapaccess2_fat(t *maptype, h *hmap, key, zero unsafe.Pointer) (unsafe.Pointer, bool) {
    	e := mapaccess1(t, h, key)
    	if e == unsafe.Pointer(&zeroVal[0]) {
    		return zero, false
    	}
    	return e, true
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/mark_for_compilation_pass_test.cc

      ops::TensorArray tensor_array(root.WithOpName("test/tensor_array"), 1,
                                    DT_INT32);
      Output zero = ops::Const(root.WithOpName("test/zero"), 0);
      ops::TensorArrayWrite tensor_array_write(
          root.WithOpName("test/write"), tensor_array.handle, zero,
          ops::Const(root.WithOpName("test/forty_two"), 42.0f), tensor_array.flow);
      Output tensor_array_read =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 10:11:10 UTC 2024
    - 79.6K bytes
    - Viewed (0)
  10. src/cmd/link/internal/loader/loader.go

    			// object file, the symbol data may not always contain trailing zeros,
    			// e.g. for [5]int{1,2,3} and [100]int{1,2,3}, the data is same
    			// (although the size is different).
    			// Also, for short symbols, the content hash is the identity function of
    			// the 8 bytes, and trailing zeros doesn't change the hash value, e.g.
    			// hash("A") == hash("A\0\0\0").
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
Back to top