Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for attr_key (0.15 sec)

  1. 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)
  2. 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)
  3. cmd/sftp-server.go

    		return nil, errSFTPUserHasNoPolicies
    	}
    
    	claims := make(map[string]interface{})
    	for attribKey, attribValue := range lookupResult.Attributes {
    		// we skip multi-value attributes here, as they cannot
    		// be stored in the critical options.
    		if len(attribValue) != 1 {
    			continue
    		}
    
    		if attribKey == "sshPublicKey" && key != nil {
    			key2, _, _, _, err := ssh.ParseAuthorizedKey([]byte(attribValue[0]))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 16K bytes
    - Viewed (0)
  4. cmd/admin-handlers-idp-ldap.go

    			return
    		}
    
    		// Add LDAP attributes that were looked up into the claims.
    		for attribKey, attribValue := range lookupResult.Attributes {
    			opts.claims[ldapAttribPrefix+attribKey] = attribValue
    		}
    	}
    
    	newCred, updatedAt, err := globalIAMSys.NewServiceAccount(ctx, targetUser, targetGroups, opts)
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 03 19:58:48 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. cmd/ftp-server-driver.go

    			claims[ldapActualUser] = lookupResult.ActualDN
    			claims[ldapUserN] = ctx.Sess.LoginUser()
    
    			// Add LDAP attributes that were looked up into the claims.
    			for attribKey, attribValue := range lookupResult.Attributes {
    				claims[ldapAttribPrefix+attribKey] = attribValue
    			}
    
    			cred, err := auth.GetNewCredentialsWithMetadata(claims, globalActiveCred.SecretKey)
    			if err != nil {
    				return nil, err
    			}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 03 15:45:54 UTC 2024
    - 14K bytes
    - Viewed (0)
  6. cmd/admin-handlers-users.go

    		opts.claims[ldapUser] = targetUser // username DN
    		opts.claims[ldapActualUser] = lookupResult.ActualDN
    
    		// Add LDAP attributes that were looked up into the claims.
    		for attribKey, attribValue := range lookupResult.Attributes {
    			opts.claims[ldapAttribPrefix+attribKey] = attribValue
    		}
    
    		// NOTE: if not using LDAP, then internal IDP or open ID is
    		// being used - in the former, group info is enforced when
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 17:19:04 UTC 2024
    - 78.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

                                            : mlir::mhlo::Precision::HIGHEST;
      llvm::SmallVector<mlir::Attribute, 2> attr_vec;
      const int num_inputs = 2;
      for (int i = 0; i < num_inputs; i++) {
        attr_vec.push_back(
            mlir::mhlo::PrecisionAttr::get(builder->getContext(), precision));
      }
      return builder->getArrayAttr(attr_vec);
    }
    
    // If `value` is an IntegerAttr, returns the integer value for the HLO axis
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux.go

    	ipc_64 = 0x100
    )
    
    const (
    	IPC_RMID = 0x0
    	IPC_SET  = 0x1
    	IPC_STAT = 0x2
    )
    
    const (
    	SHM_RDONLY = 0x1000
    	SHM_RND    = 0x2000
    )
    
    type MountAttr struct {
    	Attr_set    uint64
    	Attr_clr    uint64
    	Propagation uint64
    	Userns_fd   uint64
    }
    
    const (
    	WG_CMD_GET_DEVICE                      = 0x0
    	WG_CMD_SET_DEVICE                      = 0x1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 251K bytes
    - Viewed (0)
Back to top