Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 150 for Indices (0.27 sec)

  1. guava/src/com/google/common/collect/ImmutableSet.java

        static boolean hashFloodingDetected(@Nullable Object[] hashTable) {
          int maxRunBeforeFallback = maxRunBeforeFallback(hashTable.length);
          int mask = hashTable.length - 1;
    
          // Invariant: all elements at indices in [knownRunStart, knownRunEnd) are nonnull.
          // If knownRunStart == knownRunEnd, this is vacuously true.
          // When knownRunEnd exceeds hashTable.length, it "wraps", detecting runs around the end
          // of the table.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/einsum.cc

                                                 PatternRewriter& rewriter) {
      auto inputs = op.getInputs();
      Value lhs = inputs.front();
    
      // Having indices in dnums.lhs list indicates that the ranks of the input and
      // output to the unary einsum are not equal making it non-candidate for simple
      // transpose.
      bool needs_reduce_sum = false;
      if (!dnums.lhs.empty()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  3. src/go/types/resolver.go

    	}
    
    	// unpack type parameters, if any
    	switch rtyp.(type) {
    	case *ast.IndexExpr, *ast.IndexListExpr:
    		ix := typeparams.UnpackIndexExpr(rtyp)
    		rtyp = ix.X
    		if unpackParams {
    			for _, arg := range ix.Indices {
    				var par *ast.Ident
    				switch arg := arg.(type) {
    				case *ast.Ident:
    					par = arg
    				case *ast.BadExpr:
    					// ignore - error already reported by parser
    				case nil:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/internal/typesinternal/errorcode.go

    	//  var s = []int{1,2,3}
    	//  var _ = s[-1]
    	//
    	// Example:
    	//  var s = []int{1,2,3}
    	//  var i string
    	//  var _ = s[i]
    	InvalidIndex
    
    	// SwappedSliceIndices occurs when constant indices in a slice expression
    	// are decreasing in value.
    	//
    	// Example:
    	//  var _ = []int{1,2,3}[2:1]
    	SwappedSliceIndices
    
    	/* operators > slice */
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 34K bytes
    - Viewed (0)
  5. src/go/types/unify.go

    // The result is never nil and has the same length as tparams; result types that
    // could not be inferred are nil. Corresponding type parameters and result types
    // have identical indices.
    func (u *unifier) inferred(tparams []*TypeParam) []Type {
    	list := make([]Type, len(tparams))
    	for i, x := range tparams {
    		list[i] = u.at(x)
    	}
    	return list
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  6. pkg/controller/statefulset/stateful_set_control.go

    			// if the ordinal is valid, but not within the range add it to the condemned list
    			condemned = append(condemned, pod)
    		}
    		// If the ordinal could not be parsed (ord < 0), ignore the Pod.
    	}
    
    	// for any empty indices in the sequence [0,set.Spec.Replicas) create a new Pod at the correct revision
    	for ord := getStartOrdinal(set); ord <= getEndOrdinal(set); ord++ {
    		replicaIdx := ord - getStartOrdinal(set)
    		if replicas[replicaIdx] == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:03:46 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_cluster_formation.cc

                    replicated_input_ops.push_back(ri);
                  }
                }
              }
            }
          });
    
      if (failed(status)) return mlir::failure();
    
      // Indices of the replicate op's arguments that are mirrored variables.
      llvm::SmallVector<int64_t, 8> mirrored_variable_indices;
    
      // Check if number of operands of each used TPUReplicatedInput op matches
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 39.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/CompactHashMap.java

      // If the `next` bits in `entries[i]` are 0 that means there are no further entries for the given
      // short hash. But 0 is also a valid index in `entries`, so we add 1 to these indices before
      // putting them in `table` or in `next` bits, and subtract 1 again when we need an index value.
      //
      // The elements of `keys`, `values`, and `entries` are added sequentially, so that elements 0 to
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 39.7K bytes
    - Viewed (0)
  9. src/crypto/internal/mlkem768/mlkem768.go

    			return err
    		}
    		ekPKE = ekPKE[encodingSize12:]
    	}
    	ρ := ekPKE
    
    	for i := byte(0); i < k; i++ {
    		for j := byte(0); j < k; j++ {
    			// See the note in pkeKeyGen about the order of the indices being
    			// consistent with Kyber round 3.
    			ex.A[i*k+j] = sampleNTT(ρ, j, i)
    		}
    	}
    
    	return nil
    }
    
    // pkeEncrypt encrypt a plaintext message.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/call.go

    		for len(targs) < len(tparams) {
    			targs = append(targs, nil)
    		}
    	}
    	assert(len(tparams) == len(targs))
    
    	// collect type parameters from generic function arguments
    	var genericArgs []int // indices of generic function arguments
    	if enableReverseTypeInference {
    		for i, arg := range args {
    			// generic arguments cannot have a defined (*Named) type - no need for underlying type below
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31.5K bytes
    - Viewed (0)
Back to top