Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 664 for map1 (0.07 sec)

  1. src/runtime/alg.go

    // h is the seed.
    // This function is seldom used. Most maps use for hashing either
    // fixed functions (e.g. f32hash) or compiler-generated functions
    // (e.g. for a type like struct { x, y string }). This implementation
    // is slower but more general and is used for hashing interface types
    // (called from interhash or nilinterhash, above) or for hashing in
    // maps generated by reflect.MapOf (reflect_typehash, below).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/utils/export_utils.h

    namespace mlir {
    class ShapedType;
    }  // namespace mlir
    
    namespace tensorflow {
    
    using tsl::StatusOr;
    
    // Add custom op prefix for TensorFlow dialects.
    Status AddTensorFlowOpPrefix(std::string);
    
    // Maps an MLIR op name in the TensorFlow dialect or the TensorFlow control
    // dialect back into a TensorFlow valid op name.
    absl::StatusOr<llvm::StringRef> GetTensorFlowOpName(llvm::StringRef);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. src/internal/coverage/cformat/format.go

    	"text/tabwriter"
    )
    
    type Formatter struct {
    	// Maps import path to package state.
    	pm map[string]*pstate
    	// Records current package being visited.
    	pkg string
    	// Pointer to current package state.
    	p *pstate
    	// Counter mode.
    	cm coverage.CounterMode
    }
    
    // pstate records package-level coverage data state:
    // - a table of functions (file/fname/literal)
    // - a map recording the index/ID of each func encountered so far
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  4. src/internal/trace/summary.go

    	// (starting from goid).
    	gmap := make(map[GoID]struct{})
    	gmap[goid] = struct{}{}
    	for i := 0; i < 2; i++ {
    		// Copy the map.
    		gmap1 := make(map[GoID]struct{})
    		for g := range gmap {
    			gmap1[g] = struct{}{}
    		}
    		for _, edge := range unblockEdges {
    			if _, ok := gmap[edge.operand]; ok {
    				gmap1[edge.operator] = struct{}{}
    			}
    		}
    		gmap = gmap1
    	}
    	return gmap
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/isolation/IsolatedActionSerializer.kt

         * These might include references to classes, value sources and build services.
         *
         * Maps the integer written to the serialized [graph] to the external reference.
         * See [EnvironmentEncoder] and [EnvironmentDecoder] for details.
         */
        val environment: Map<Int, Any>,
    )
    
    
    internal
    class IsolatedActionSerializer(
        private val owner: IsolateOwner,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. src/go/ast/commentmap.go

    	slices.SortFunc(list, func(a, b *CommentGroup) int {
    		return cmp.Compare(a.Pos(), b.Pos())
    	})
    }
    
    // A CommentMap maps an AST node to a list of comment groups
    // associated with it. See [NewCommentMap] for a description of
    // the association.
    type CommentMap map[Node][]*CommentGroup
    
    func (cmap CommentMap) addComment(n Node, c *CommentGroup) {
    	list := cmap[n]
    	if len(list) == 0 {
    		list = []*CommentGroup{c}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/serviceentry/controller.go

    		store:       store,
    		meshWatcher: meshConfig,
    		serviceInstances: serviceInstancesStore{
    			ip2instance:            map[string][]*model.ServiceInstance{},
    			instances:              map[instancesKey]map[configKeyWithParent][]*model.ServiceInstance{},
    			instancesBySE:          map[types.NamespacedName]map[configKey][]*model.ServiceInstance{},
    			instancesByHostAndPort: sets.New[hostPort](),
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  8. pkg/volume/volume.go

    	// VolumesAreAttached checks whether the list of volumes still attached to the specified
    	// node. It returns a map which maps from the volume spec to the checking result.
    	// If an error is occurred during checking, the error will be returned
    	VolumesAreAttached(specs []*Spec, nodeName types.NodeName) (map[*Spec]bool, error)
    
    	// WaitForAttach blocks until the device is attached to this
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. src/mime/type.go

    	"sync"
    )
    
    var (
    	mimeTypes      sync.Map // map[string]string; ".Z" => "application/x-compress"
    	mimeTypesLower sync.Map // map[string]string; ".z" => "application/x-compress"
    
    	// extensions maps from MIME type to list of lowercase file
    	// extensions: "image/jpeg" => [".jpg", ".jpeg"]
    	extensionsMu sync.Mutex // Guards stores (but not loads) on extensions.
    	extensions   sync.Map   // map[string][]string; slice values are append-only.
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/utils/utils.h

        if (input_shape[perm_values[i]] != 1) {
          new_major_index_ordering.push_back(perm_values[i]);
        }
      }
      return (old_major_index_ordering == new_major_index_ordering);
    }
    
    // Returns the permutation that maps the input shape to the output shape.
    // This is only valid for trivial reshape ops.
    inline DenseElementsAttr GetPermutationFromTrivialReshape(
        ShapedType input_type, ShapedType output_type) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 11.6K bytes
    - Viewed (0)
Back to top