Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,548 for cas3 (0.04 sec)

  1. src/runtime/runtime1.go

    	}
    
    	var z uint32
    	z = 1
    	if !atomic.Cas(&z, 1, 2) {
    		throw("cas1")
    	}
    	if z != 2 {
    		throw("cas2")
    	}
    
    	z = 4
    	if atomic.Cas(&z, 5, 6) {
    		throw("cas3")
    	}
    	if z != 4 {
    		throw("cas4")
    	}
    
    	z = 0xffffffff
    	if !atomic.Cas(&z, 0xffffffff, 0xfffffffe) {
    		throw("cas5")
    	}
    	if z != 0xfffffffe {
    		throw("cas6")
    	}
    
    	m = [4]byte{1, 1, 1, 1}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  2. src/runtime/select.go

    		} else if cas.elem != nil {
    			raceWriteObjectPC(c.elemtype, cas.elem, casePC(casi), chanrecvpc)
    		}
    	}
    	if msanenabled {
    		if casi < nsends {
    			msanread(cas.elem, c.elemtype.Size_)
    		} else if cas.elem != nil {
    			msanwrite(cas.elem, c.elemtype.Size_)
    		}
    	}
    	if asanenabled {
    		if casi < nsends {
    			asanread(cas.elem, c.elemtype.Size_)
    		} else if cas.elem != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 13 21:36:04 UTC 2024
    - 15K bytes
    - Viewed (0)
  3. internal/s3select/sql/funceval.go

    	case sqlFnCoalesce:
    		return coalesce(argVals)
    
    	case sqlFnNullIf:
    		return nullif(argVals[0], argVals[1])
    
    	case sqlFnCharLength, sqlFnCharacterLength:
    		return charlen(argVals[0])
    
    	case sqlFnLower:
    		return lowerCase(argVals[0])
    
    	case sqlFnUpper:
    		return upperCase(argVals[0])
    
    	case sqlFnUTCNow:
    		return handleUTCNow()
    
    	case sqlFnToString, sqlFnToTimestamp:
    		// TODO: implement
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 13.2K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/api/internal/attributes/DefaultImmutableAttributes.java

            // 1) Both attributes are strongly typed and match, usually the case if both are sourced from the local build
            // 2) Both attributes are desugared, usually the case if both are sourced from published metadata
            if (otherAttributeType.isAssignableFrom(attribute.getType())) {
                return Cast.uncheckedCast(get());
            }
    
            // Attempt to coerce myself into the other attribute's type
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 12:57:50 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  5. platforms/jvm/ear/src/main/java/org/gradle/plugins/ear/descriptor/internal/DefaultDeploymentDescriptor.java

                for (final Node child : Cast.<List<Node>>uncheckedCast(appNode.children())) {
                    String childLocalName = localNameOf(child);
                    switch (childLocalName) {
                        case "application-name":
    
                            applicationName = child.text();
    
                            break;
                        case "initialize-in-order":
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 19 22:06:51 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/extensibility/ConventionAwareHelper.java

                MapProperty<Object, Object> asMapProperty = Cast.uncheckedNonnullCast(target);
                DefaultProvider<Map<Object, Object>> convention = new DefaultProvider<>(() -> Cast.uncheckedNonnullCast(mapping.getValue(_convention, _source)));
                asMapProperty.convention(convention);
            } else if (target instanceof HasMultipleValues) {
                HasMultipleValues<Object> asCollectionProperty = Cast.uncheckedNonnullCast(target);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 09:53:33 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfr/passes/raise_to_tf.cc

        if (attr_names.empty()) return success();
    
        // N*T case
        if (attr_names.size() == 2) {
          derived_attrs->insert({attr_names[0].getValue(),
                                 rewriter.getI32IntegerAttr(input_types.size())});
          // Note that this uses the first element of the list to infer the T value.
          // A tf.Cast is required to cast the other inputs to the same type.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/hash/Striped64.java

       * only become known via CAS failures, convergence can be slow,
       * and because threads are typically not bound to CPUS forever,
       * may not occur at all. However, despite these limitations,
       * observed contention rates are typically low in these cases.
       *
       * It is possible for a Cell to become unused when threads that
       * once hashed to it terminate, as well as in the case where
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_uniform_attribute_utils.cc

      std::vector<std::string> quantization_attributes;
      switch (op_type) {
        case OpType::kDynamicRangeOp:
          quantization_attributes = {"rhs_quantization"};
          break;
        case OpType::kUnaryOp:
          quantization_attributes = {"quantization"};
          break;
        case OpType::kBinaryOp:
          quantization_attributes = {"lhs_quantization", "rhs_quantization",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/region_control_flow_to_functional.cc

        if (std::get<0>(res_it) != std::get<1>(res_it)) return std::nullopt;
    
      // There can only be non-truncating cast op's prior to the call.
      for (; it != block.rend(); ++it) {
        CastOp cast = dyn_cast<CastOp>(*it);
        if (!cast || cast.getTruncate()) return std::nullopt;
      }
    
      return call;
    }
    
    using ArgMatcherFn = function_ref<bool(Value, Region&, Value, Region&)>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.7K bytes
    - Viewed (0)
Back to top