Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for attrKey (0.18 sec)

  1. pkg/test/fakes/gce_metadata_server/main.go

    	instIDPath     = metaPrefix + "/instance/id"
    	instancePath   = metaPrefix + "/instance/name"
    	zonePath       = metaPrefix + "/instance/zone"
    	attrKey        = "attribute"
    	attrPath       = metaPrefix + "/instance/attributes/{" + attrKey + "}"
    )
    
    var instAttrs = map[string]string{
    	"instance-template": "some-template",
    	"created-by":        "some-creator",
    	"cluster-name":      "test-cluster",
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 04 22:47:52 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/internal/mlir_bridge_pass_util.cc

              device.has_job && device.job == jobType) {
            for (const auto& attr : node->attrs()) {
              auto attr_key = attr.first;
              auto attr_value = attr.second;
              if (attr_key == attrKey &&
                  attr_value.value_case() == AttrValue::kType &&
                  attr_value.type() == DT_RESOURCE) {
                return true;
                break;
              }
            }
          }
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 12:22:33 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. src/log/slog/handler.go

    		// Close all open groups.
    		for range s.h.groups[:nOpenGroups] {
    			s.buf.WriteByte('}')
    		}
    		// Close the top-level object.
    		s.buf.WriteByte('}')
    	}
    }
    
    // attrSep returns the separator between attributes.
    func (h *commonHandler) attrSep() string {
    	if h.json {
    		return ","
    	}
    	return " "
    }
    
    // handleState holds state for a single call to commonHandler.handle.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 18:18:13 UTC 2023
    - 17.5K bytes
    - Viewed (0)
  4. src/syscall/netlink_linux.go

    func nlmAlignOf(msglen int) int {
    	return (msglen + NLMSG_ALIGNTO - 1) & ^(NLMSG_ALIGNTO - 1)
    }
    
    // Round the length of a netlink route attribute up to align it
    // properly.
    func rtaAlignOf(attrlen int) int {
    	return (attrlen + RTA_ALIGNTO - 1) & ^(RTA_ALIGNTO - 1)
    }
    
    // NetlinkRouteRequest represents a request message to receive routing
    // and link states from the kernel.
    type NetlinkRouteRequest struct {
    	Header NlMsghdr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 20:01:34 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfr/passes/raise_to_tf.cc

          auto attr_key = tensor_type.getAttrKeys().front();
          Builder builder(signature.getContext());
          if (auto attr = attrs.lookup(attr_key.getValue())) {
            output_types->push_back(
                UnrankedTensorType::get(mlir::cast<TypeAttr>(attr).getValue()));
          } else if (Type element_type =
                         GetFixedElementType(attr_key.getValue(), builder)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  6. src/html/template/content.go

    	// as it will be included verbatim in the template output.
    	URL string
    
    	// Srcset encapsulates a known safe srcset attribute
    	// (see https://w3c.github.io/html/semantics-embedded-content.html#element-attrdef-img-srcset).
    	//
    	// Use of this type presents a security risk:
    	// the encapsulated content should come from a trusted source,
    	// as it will be included verbatim in the template output.
    	Srcset string
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 01 14:30:25 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

    }
    
    // Helper method that returns list of all strings in a StringAttr identified
    // by 'attr_key' and values are separated by a comma.
    llvm::SmallVector<llvm::StringRef, 2> GetStringsFromAttrWithSeparator(
        mlir::DictionaryAttr attr, const std::string& attr_key) {
      llvm::SmallVector<llvm::StringRef, 2> result;
      if (auto str = attr.get(attr_key).dyn_cast_or_null<mlir::StringAttr>()) {
        str.getValue().split(result, ',', /*MaxSplit=*/-1,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/BUILD

            ),
            (
                ["-gen-enum-defs"],
                "ir/tfl_ops_enums.cc.inc",
            ),
            (
                ["-gen-attrdef-decls"],
                "ir/tfl_ops_attrdefs.h.inc",
            ),
            (
                ["-gen-attrdef-defs"],
                "ir/tfl_ops_attrdefs.cc.inc",
            ),
        ],
        tblgen = "@llvm-project//mlir:mlir-tblgen",
        td_file = "ir/tfl_op_enums.td",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 49.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

    // by 'attr_key' and values are separated by a comma.
    llvm::SmallVector<llvm::StringRef, 2> GetStringsFromAttrWithSeparator(
        mlir::DictionaryAttr attr, const std::string& attr_key) {
      llvm::SmallVector<llvm::StringRef, 2> result;
      if (auto str = mlir::dyn_cast_or_null<mlir::StringAttr>(attr.get(attr_key))) {
        str.getValue().split(result, ',', /*MaxSplit=*/-1,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  10. okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    arte
    
    // asda : 2015-07-31 Wal-Mart Stores, Inc.
    asda
    
    // associates : 2014-03-06 Binky Moon, LLC
    associates
    
    // athleta : 2015-07-30 The Gap, Inc.
    athleta
    
    // attorney : 2014-03-20 Dog Beach, LLC
    attorney
    
    // auction : 2014-03-20 Dog Beach, LLC
    auction
    
    // audi : 2015-05-21 AUDI Aktiengesellschaft
    audi
    
    // audible : 2015-06-25 Amazon Registry Services, Inc.
    audible
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 240.3K bytes
    - Viewed (0)
Back to top