Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 70 for computations (0.26 sec)

  1. src/cmd/compile/internal/types2/predicates.go

    func isTypeParam(t Type) bool {
    	_, ok := Unalias(t).(*TypeParam)
    	return ok
    }
    
    // hasEmptyTypeset reports whether t is a type parameter with an empty type set.
    // The function does not force the computation of the type set and so is safe to
    // use anywhere, but it may report a false negative if the type set has not been
    // computed yet.
    func hasEmptyTypeset(t Type) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  2. src/go/types/predicates.go

    func isTypeParam(t Type) bool {
    	_, ok := Unalias(t).(*TypeParam)
    	return ok
    }
    
    // hasEmptyTypeset reports whether t is a type parameter with an empty type set.
    // The function does not force the computation of the type set and so is safe to
    // use anywhere, but it may report a false negative if the type set has not been
    // computed yet.
    func hasEmptyTypeset(t Type) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/asmdecl/asmdecl.go

    			// For now, assume 64-bit norms and print a warning.
    			// But this warning should really be deferred until we attempt to use
    			// arch, which is very unlikely. Better would be
    			// to defer size computation until we have Pass.TypesSizes.
    			arch.sizes = types.SizesFor("gc", "amd64")
    			log.Printf("unknown architecture %s", arch.name)
    		}
    		arch.intSize = int(arch.sizes.Sizeof(types.Typ[types.Int]))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  4. src/cmd/go/internal/work/shell.go

    	// but we don't know what the umask is.
    	// Create a dummy file to find out.
    	// This avoids build tags and works even on systems like Plan 9
    	// where the file mask computation incorporates other information.
    	mode := perm
    	f, err := os.OpenFile(filepath.Clean(dst)+"-go-tmp-umask", os.O_WRONLY|os.O_CREATE|os.O_EXCL, perm)
    	if err == nil {
    		fi, err := f.Stat()
    		if err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_sharding_identification_pass.cc

      // Look up function definition from module.
      Block& function_block = func.front();
    
      sharding_for_args.reserve(function_block.getNumArguments());
    
      // Iterate through operands of `cluster_func`.
      // The computation operand can either be:
      //   1) a TPUPartitionedInput Op if the input has a non-resource type;
      //   2) a ReadVariableOp else.
      //
      // Iterate through input arguments to the entry block of
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 02:01:13 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  6. src/internal/trace/summary.go

    		s.syncTs = ev.Time()
    
    	// Handle state transitions.
    	case EventStateTransition:
    		st := ev.StateTransition()
    		switch st.Resource.Kind {
    		// Handle goroutine transitions, which are the meat of this computation.
    		case ResourceGoroutine:
    			id := st.Resource.Goroutine()
    			old, new := st.Goroutine()
    			if old == new {
    				// Skip these events; they're not telling us anything new.
    				break
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.cc

      }
      return DeviceNameUtils::ParsedNameToString(tpu_device);
    }
    
    // Determine execution devices when topology and device assignment are not
    // defined. This is a special case where a single core computation is replicated
    // to every core in the mesh. TPU devices are simply added to
    // `execution_devices` of one replica. `num_replicas` must be 1 or the total
    // number of TPU devices available, and `num_cores_per_replica` must be 1.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 20:10:40 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/liveness/plive.go

    //
    //	OpVarDef x
    //	base, len, cap = pieces of x[1:]
    //	x = {base, len, cap}
    //
    // then the liveness analysis would decide the previous value of x was
    // unnecessary even though it is about to be used by the x[1:] computation.
    // Similarly, if the generated code looked like:
    //
    //	base, len, cap = pieces of x[1:]
    //	x = {base, len, cap}
    //	OpVarDef x
    //
    // then the liveness analysis will not preserve the new value of x, because
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  9. src/crypto/rsa/rsa.go

    const noCheck = false
    
    // decrypt performs an RSA decryption of ciphertext into out. If check is true,
    // m^e is calculated and compared with ciphertext, in order to defend against
    // errors in the CRT computation.
    func decrypt(priv *PrivateKey, ciphertext []byte, check bool) ([]byte, error) {
    	if len(priv.Primes) <= 2 {
    		boring.Unreachable()
    	}
    
    	var (
    		err  error
    		m, c *bigmod.Nat
    		N    *bigmod.Modulus
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  10. src/cmd/go/internal/work/gc.go

    	if cfg.ExperimentErr != nil || cfg.Experiment.FieldTrack || cfg.Experiment.PreemptibleLoops {
    		canDashC = false
    	}
    
    	if !canDashC {
    		return 1
    	}
    
    	// Decide how many concurrent backend compilations to allow.
    	//
    	// If we allow too many, in theory we might end up with p concurrent processes,
    	// each with c concurrent backend compiles, all fighting over the same resources.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:37:44 UTC 2024
    - 23K bytes
    - Viewed (0)
Back to top