Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 153 for getUnit (0.26 sec)

  1. src/math/big/natdiv.go

    */
    
    package big
    
    import "math/bits"
    
    // rem returns r such that r = u%v.
    // It uses z as the storage for r.
    func (z nat) rem(u, v nat) (r nat) {
    	if alias(z, u) {
    		z = nil
    	}
    	qp := getNat(0)
    	q, r := qp.div(z, u, v)
    	*qp = q
    	putNat(qp)
    	return r
    }
    
    // div returns q, r such that q = ⌊u/v⌋ and r = u%v = u - q·v.
    // It uses z and z2 as the storage for q and r.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 17:02:38 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  2. subprojects/core-api/src/main/java/org/gradle/api/AntBuilder.java

        /**
         * Returns this AntBuilder. Useful when you need to pass this builder to methods from within closures.
         *
         * @return this
         */
        public AntBuilder getAnt() {
            return this;
        }
    
        /**
         * Sets the Ant message priority that should correspond to the Gradle "lifecycle" log level.  Any messages logged at this
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 16 22:05:15 UTC 2022
    - 7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/walk/select.go

    	if ncas == 2 && dflt != nil {
    		cas := cases[0]
    		if cas == dflt {
    			cas = cases[1]
    		}
    
    		n := cas.Comm
    		ir.SetPos(n)
    		r := ir.NewIfStmt(base.Pos, nil, nil, nil)
    		r.SetInit(cas.Init())
    		var cond ir.Node
    		switch n.Op() {
    		default:
    			base.Fatalf("select %v", n.Op())
    
    		case ir.OSEND:
    			// if selectnbsend(c, v) { body } else { default body }
    			n := n.(*ir.SendStmt)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 01:53:41 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/cluster_tls_test.go

    				}
    				if got := ctx.CommonTlsContext.GetAlpnProtocols(); got != nil {
    					t.Fatalf("expected alpn list nil as not h2 or Istio_Mutual TLS Setting; got %v", got)
    				}
    				if got := ctx.GetSni(); got != simpleTLSSettingsWithCerts.Sni {
    					t.Fatalf("expected TLSContext SNI %v; got %v", simpleTLSSettingsWithCerts.Sni, got)
    				}
    			},
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 03:53:05 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

                    Config.getProperty("jcifs.smb1.http.insecureBasic")).booleanValue();
            realm = Config.getProperty("jcifs.smb1.http.basicRealm");
            if (realm == null) realm = "jCIFS";
    
            if(( level = Config.getInt( "jcifs.smb1.util.loglevel", -1 )) != -1 ) {
                LogStream.setLevel( level );
            }
            if( log.level > 2 ) {
                try {
                    Config.store( log, "JCIFS PROPERTIES" );
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/xla_call_module_deserialization.cc

              op->emitOpError()
                  << "is missing attribute '" << kCalledIndexAttrName << "'";
              return WalkResult::interrupt();
            }
            int called_index = called_index_attr.getInt();
            if (called_index < 0 || called_index >= function_list.size()) {
              op->emitOpError()
                  << "references function #" << called_index
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 23 09:05:47 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/tpu_resource_partitioning.cc

        const bool packed_input = partitioned_input.getIsPacked();
        int num_cores_per_replica = partitioned_input.getN();
        if (num_cores_per_replica_attr) {
          num_cores_per_replica = num_cores_per_replica_attr.getInt();
        } else if (packed_input) {
          return partitioned_input->emitOpError()
                 << "num cores per replica unavailable";
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform_patterns.cc

    LogicalResult ConvertToI32Attr(IntegerAttr attr, IntegerAttr* attr_i32) {
      if (attr.getType().isInteger(/*width=*/32)) {
        *attr_i32 = attr;
        return success();
      }
    
      int64_t value = attr.getInt();
      if (value > std::numeric_limits<int>::max() ||
          value < std::numeric_limits<int>::min()) {
        return failure();
      }
    
      *attr_i32 = IntegerAttr::get(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/api/internal/project/DefaultProject.java

        @Override
        public AntBuilder ant(Closure configureClosure) {
            return ConfigureUtil.configure(configureClosure, getAnt());
        }
    
        @Override
        public AntBuilder ant(Action<? super AntBuilder> configureAction) {
            AntBuilder ant = getAnt();
            configureAction.execute(ant);
            return ant;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 50.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.cc

      DCHECK(group_size_attr != nullptr)
          << "module attribute " << kGroupSizeAttrName
          << " is required for CollectiveInfo but not found.";
      int32_t group_key = group_key_attr.getInt();
      int32_t group_size = group_size_attr.getInt();
      VLOG(2) << "Populating CollectiveInfo: group_key=" << group_key
              << " group_size=" << group_size;
      compilation_result->collective_info = {group_key, group_size, 0};
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 17:24:39 UTC 2024
    - 45.3K bytes
    - Viewed (0)
Back to top