Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 148 for zero (0.14 sec)

  1. src/math/big/float.go

    	}
    
    	z.acc = Exact
    	if x.form == zero && y.form == zero || x.form == inf && y.form == inf {
    		// ±0 / ±0
    		// ±Inf / ±Inf
    		// value of z is undefined but make sure it's valid
    		z.form = zero
    		z.neg = false
    		panic(ErrNaN{"division of zero by zero or infinity by infinity"})
    	}
    
    	if x.form == zero || y.form == inf {
    		// ±0 / y
    		// x / ±Inf
    		z.form = zero
    		return z
    	}
    
    	// x / ±0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 15:46:54 UTC 2024
    - 44.5K bytes
    - Viewed (0)
  2. 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)
  3. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.td

                                      $n, $num_upper),
       (TF_RangeOp:$range_m $zero, $m, $one),
       (TF_RangeOp:$range_n $zero, $n, $one),
       (TF_SubOp:$offset (TF_ExpandDimsOp $range_m, $neg_one), $range_n),
       (TF_LogicalAndOp:$indicator (TF_LessEqualOp $offset, $num_lower_or_m),
                                   (TF_GreaterEqualOp $offset,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/internal/passes/xla_broadcast.cc

      } else {
        return false;
      }
      return true;
    }
    
    // Create a dummy zero to be fed locally from the host to the TPUExecute.
    Value CreateZeroInput(Location loc, OpBuilder& builder, Attribute zero_attr,
                          DenseIntElementsAttr shape_attr) {
      ConstOp zero = builder.create<ConstOp>(loc, zero_attr);
      zero->setAttr(kICIWeightDistributionMlirBridgeMarker,
                    builder.getBoolAttr(true));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 18:52:07 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  5. association.go

    				if _, zero := rel.Field.ValueOf(association.DB.Statement.Context, data); !zero {
    					fieldValue := reflect.Indirect(rel.Field.ReflectValueOf(association.DB.Statement.Context, data))
    					primaryValues := make([]interface{}, len(rel.FieldSchema.PrimaryFields))
    
    					switch fieldValue.Kind() {
    					case reflect.Slice, reflect.Array:
    						validFieldValues := reflect.Zero(rel.Field.IndirectFieldType)
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  6. src/sync/waitgroup.go

    // If the counter becomes zero, all goroutines blocked on [WaitGroup.Wait] are released.
    // If the counter goes negative, Add panics.
    //
    // Note that calls with a positive delta that occur when the counter is zero
    // must happen before a Wait. Calls with a negative delta, or calls with a
    // positive delta that start when the counter is greater than zero, may happen
    // at any time.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheStateStore.kt

        /**
         * Loads some value from zero or more state files.
         */
        fun <T : Any> useForStateLoad(action: (ConfigurationCacheRepository.Layout) -> T): T
    
        /**
         * Loads some value from a specific state file.
         */
        fun <T : Any> useForStateLoad(stateType: StateType, action: (ConfigurationCacheStateFile) -> T): T
    
        /**
         * Writes some value to zero or more state files.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.6K 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. analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_DivByZero.txt

    expression: 42 / 0
    constant: error("/ by zero")
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 11:53:09 UTC 2024
    - 73 bytes
    - Viewed (0)
  10. src/iter/iter.go

    //
    // Next returns the next value in the sequence
    // and a boolean indicating whether the value is valid.
    // When the sequence is over, next returns the zero V and false.
    // It is valid to call next after reaching the end of the sequence
    // or after calling stop. These calls will continue
    // to return the zero V and false.
    //
    // Stop ends the iteration. It must be called when the caller is
    // no longer interested in next values and next has not yet
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:09:28 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top