Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 66 for newPara (0.46 sec)

  1. pilot/pkg/serviceregistry/kube/controller/namespacecontroller_test.go

    	watcher.SetAndNotify(nil, nil, newCaBundle)
    	newData := map[string]string{
    		constants.CACertNamespaceConfigMapDataName: string(newCaBundle),
    	}
    	expectConfigMap(t, nc.configmaps, CACertNamespaceConfigMap, "foo", newData)
    
    	deleteConfigMap(t, client.Kube(), "foo")
    	expectConfigMap(t, nc.configmaps, CACertNamespaceConfigMap, "foo", newData)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  2. cmd/api-response.go

    	for index, part := range partsInfo.Parts {
    		newPart := Part{}
    		newPart.PartNumber = part.PartNumber
    		newPart.ETag = "\"" + part.ETag + "\""
    		newPart.Size = part.Size
    		newPart.LastModified = amztime.ISO8601Format(part.LastModified.UTC())
    		newPart.ChecksumCRC32 = part.ChecksumCRC32
    		newPart.ChecksumCRC32C = part.ChecksumCRC32C
    		newPart.ChecksumSHA1 = part.ChecksumSHA1
    		newPart.ChecksumSHA256 = part.ChecksumSHA256
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  3. src/go/types/object.go

    }
    
    // NewVar returns a new variable.
    // The arguments set the attributes found with all Objects.
    func NewVar(pos token.Pos, pkg *Package, name string, typ Type) *Var {
    	return &Var{object: object{nil, pos, pkg, name, typ, 0, colorFor(typ), nopos}}
    }
    
    // NewParam returns a new variable representing a function parameter.
    func NewParam(pos token.Pos, pkg *Package, name string, typ Type) *Var {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/record_flags.go

    		return nil, err
    	}
    
    	oldData, err := json.Marshal(obj)
    	if err != nil {
    		return nil, err
    	}
    	newData, err := json.Marshal(objCopy)
    	if err != nil {
    		return nil, err
    	}
    
    	return jsonpatch.CreateMergePatch(oldData, newData)
    }
    
    // parseCommandArguments will stringify and return all environment arguments ie. a command run by a client
    // using the factory.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. pkg/volume/util/resize_util.go

    		return oldPV, fmt.Errorf("unexpected error marshaling old PV %q with error : %v", oldPV.Name, err)
    	}
    
    	newData, err := json.Marshal(newPV)
    	if err != nil {
    		return oldPV, fmt.Errorf("unexpected error marshaling new PV %q with error : %v", newPV.Name, err)
    	}
    
    	patchBytes, err := strategicpatch.CreateTwoWayMergePatch(oldData, newData, oldPV)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 17 19:30:35 UTC 2023
    - 14.8K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/object.go

    }
    
    // NewVar returns a new variable.
    // The arguments set the attributes found with all Objects.
    func NewVar(pos syntax.Pos, pkg *Package, name string, typ Type) *Var {
    	return &Var{object: object{nil, pos, pkg, name, typ, 0, colorFor(typ), nopos}}
    }
    
    // NewParam returns a new variable representing a function parameter.
    func NewParam(pos syntax.Pos, pkg *Package, name string, typ Type) *Var {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/post_quantize.cc

          auto quantize_output = quantize_op.getOutput();
          auto quantize_type = quantize_output.getType();
          input_types.push_back(quantize_type);
          auto new_arg = bb.addArgument(quantize_type, loc);
          quantize_output.replaceAllUsesWith(new_arg);
          quantize_op.erase();
          arg.dropAllUses();
          bb.eraseArgument(0);
        };
    
        // This is looking for a pattern: arg -> tfl.quantize
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/admission_test.go

    	params := []*unstructured.Unstructured{
    		newParam(matchingParamName, v1.NamespaceDefault, nonmatchingLabels),
    		newParam(matchingParamName, matchingNamespace, nonmatchingLabels),
    		newParam(matchingParamName, nonMatchingNamespace, nonmatchingLabels),
    
    		newParam(matchingParamName+"1", v1.NamespaceDefault, matchingLabels),
    		newParam(matchingParamName+"1", matchingNamespace, matchingLabels),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 25 01:39:01 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  9. src/go/internal/gcimporter/iimport.go

    	for i := range xs {
    		xs[i] = r.param()
    	}
    	return types.NewTuple(xs...)
    }
    
    func (r *importReader) param() *types.Var {
    	pos := r.pos()
    	name := r.ident()
    	typ := r.typ()
    	return types.NewParam(pos, r.currPkg, name, typ)
    }
    
    func (r *importReader) bool() bool {
    	return r.uint64() != 0
    }
    
    func (r *importReader) int64() int64 {
    	n, err := binary.ReadVarint(&r.declReader)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_outline_tpu_island.cc

        {
          Block &entry_block = outlined_func.getBody().front();
          auto loc = outlined_func.getLoc();
          for (Value operand : operands) {
            BlockArgument newArg = entry_block.addArgument(operand.getType(), loc);
            replaceAllUsesInRegionWith(operand, newArg, outlined_func.getBody());
          }
        }
    
        // The function is in place in the nested module, create a call and yield in
        // the original island.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top