Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 153 for getUnit (0.1 sec)

  1. src/math/big/nat.go

    	}
    	m := a + (b-a)/2 // avoid overflow
    	return z.mul(nat(nil).mulRange(a, m), nat(nil).mulRange(m+1, b))
    }
    
    // getNat returns a *nat of len n. The contents may not be zero.
    // The pool holds *nat to avoid allocation when converting to interface{}.
    func getNat(n int) *nat {
    	var z *nat
    	if v := natPool.Get(); v != nil {
    		z = v.(*nat)
    	}
    	if z == nil {
    		z = new(nat)
    	}
    	*z = z.make(n)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:31:58 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/internal/passes/xla_broadcast.cc

      if (!num_cores_per_replica_attr)
        return cluster.emitOpError(
            CreateMissingAttributeMsg(tensorflow::kNumCoresPerReplicaAttr));
      int num_cores_per_replica = num_cores_per_replica_attr.getInt();
    
      auto topology_attr = cluster->getAttrOfType<StringAttr>("topology");
      if (!topology_attr)
        return cluster.emitOpError(
            CreateMissingAttributeMsg(tensorflow::kTopologyAttr));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 18:52:07 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbSession.java

                    Config.getInt( "jcifs.smb1.netbios.lookupRespLimit", 3 );
        private static final String DOMAIN =
                    Config.getProperty("jcifs.smb1.smb.client.domain", null);
        private static final String USERNAME =
                    Config.getProperty("jcifs.smb1.smb.client.username", null);
        private static final int CACHE_POLICY =
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 18.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java

    package jcifs.smb1.smb1;
    
    import java.util.Arrays;
    
    import jcifs.smb1.Config;
    
    class SmbComSessionSetupAndX extends AndXServerMessageBlock {
    
        private static final int BATCH_LIMIT =
                Config.getInt( "jcifs.smb1.smb.client.SessionSetupAndX.TreeConnectAndX", 1 );
        private static final boolean DISABLE_PLAIN_TEXT_PASSWORDS =
                Config.getBoolean( "jcifs.smb1.smb.client.disablePlainTextPasswords", true );
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7.3K bytes
    - Viewed (0)
  5. tests/fuzz/misc_fuzzers.go

    	return 1
    }
    
    func FuzzYAMLManifestPatch(data []byte) int {
    	f := fuzz.NewConsumer(data)
    	f.AllowUnexportedFields()
    
    	overlay := []*v1alpha1.K8SObjectOverlay{}
    	number, err := f.GetInt()
    	if err != nil {
    		return 0
    	}
    	for i := 0; i < number%20; i++ {
    		o := &v1alpha1.K8SObjectOverlay{}
    		err := f.GenerateStruct(o)
    		if err != nil {
    			return 0
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 23 02:26:59 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/utils/utils.td

    def GetOffSet : NativeCodeCall<"TFL::GetOffSet($0, $1)">;
    
    // Attribute Constraint that checks if the attribute value is zero.
    def ZeroIntAttr
      : AttrConstraint<CPred<"$_self.cast<::mlir::IntegerAttr>().getInt() == 0">>;
    
    // Checks if the value has rank at most 'n'.
    class HasRankAtLeast<int n> : Constraint<
        CPred<"$0.getType().cast<ShapedType>().hasRank() && "
              "$0.getType().cast<ShapedType>().getRank() >= " # n>>;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

        auto delta_attr = delta_tensor.getValues<IntegerAttr>()[0];
        int num_elements;
        if (elem_type.isUnsignedInteger()) {
          uint64_t start = start_attr.getUInt();
          uint64_t limit = limit_attr.getUInt();
          uint64_t delta = delta_attr.getUInt();
          assert(start <= (uint64_t)INT_MAX);
          assert(limit <= (uint64_t)INT_MAX);
          assert(delta <= (uint64_t)INT_MAX);
          num_elements =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/legalize_tf.cc

        return false;
      if (ExtractSingleElementAsInteger(k).getInt() != 0) return false;
    
      // Extract num_rows constant tensor and check value = -1.
      ElementsAttr num_rows;
      if (!matchPattern(tf_matrix_diag_v2_or_v3_op.getNumRows(),
                        m_Constant(&num_rows)))
        return false;
      if (ExtractSingleElementAsInteger(num_rows).getInt() != -1) return false;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 20:06:54 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_stablehlo_composite_to_tfl_custom.cc

      const char* key = pair.getName().data();
      const auto attr = pair.getValue();
    
      if (mlir::isa<::mlir::IntegerAttr>(attr)) {
        fbb->Int(key, mlir::dyn_cast<mlir::IntegerAttr>(attr).getInt());
        return success();
      }
    
      if (mlir::isa<::mlir::FloatAttr>(attr)) {
        fbb->Double(key, mlir::dyn_cast<mlir::FloatAttr>(attr).getValueAsDouble());
        return success();
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  10. platforms/software/version-control/src/testFixtures/groovy/org/gradle/vcs/fixtures/GitFileRepository.java

        }
    
        /**
         * Returns the underlying Git object from JGit.
         *
         * Please consider adding more convenience methods to this fixture over using "raw" Git APIs.
         */
        public Git getGit() {
            return git;
        }
    
        @Override
        public String getName() {
            return repoName;
        }
    
        /**
         * Factory method for creating a GitRepository without using a JUnit @Rule.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 6.5K bytes
    - Viewed (0)
Back to top