Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 55 for strPtr (0.11 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_utils.td

      IsCompositeAttribute<attr_name, BoolAttr, val>;
    
    // Receives a composite DictionaryAttr as an argument and checks if has a
    // StrAttr with the name `attr_name` and value `val`.
    class IsStrCompositeAttribute <string attr_name, string val>:
      IsCompositeAttribute<attr_name, StrAttr, "\"" # val # "\"">;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 19:05:30 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/composite/composite.go

    			allKeyValue := true
    			var suggestedFixAvailable = len(cl.Elts) == strct.NumFields()
    			var missingKeys []analysis.TextEdit
    			for i, e := range cl.Elts {
    				if _, ok := e.(*ast.KeyValueExpr); !ok {
    					allKeyValue = false
    					if i >= strct.NumFields() {
    						break
    					}
    					field := strct.Field(i)
    					if !field.Exported() {
    						// Adding unexported field names for structs not defined
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_ops.td

      }];
      let arguments = (ins
        Variadic<TF_Tensor>:$operands_and_static_shapes,
        DenseI32ArrayAttr:$constant_operand_indices,
        StrAttr:$metadata,
        StrAttr:$mlir_module,
        UI32Attr:$num_operands,
        DenseI32ArrayAttr:$operands_with_static_shape,
        StrAttr:$producer_name
      );
    
      let results = (outs
        TF_Tensor:$rendezvous_key_base,
        Variadic<TF_Tensor>:$results
      );
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 21:35:32 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model_ops.td

        references.
    
        The `filename` attribute contains the file path to the asset file and it is
        relative to saved model directory.
      }];
    
      let arguments = (ins
        StrAttr:$sym_name,
        StrAttr:$filename
      );
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

        DefaultValuedOptionalAttr<I64ArrayAttr, "{}">:$allowed_batch_sizes,
        DefaultValuedOptionalAttr<StrAttr, "\"\"">:$container,
        DefaultValuedOptionalAttr<StrAttr, "\"\"">:$shared_name,
        DefaultValuedOptionalAttr<StrAttr, "\"\"">:$batching_queue,
        DefaultValuedOptionalAttr<I64Attr, "0">:$low_priority_max_batch_size,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/dump/dump_test.go

    limitations under the License.
    */
    
    package dump
    
    import (
    	"fmt"
    	"testing"
    )
    
    func ptrint(i int) *int {
    	return &i
    }
    
    func ptrstr(s string) *string {
    	return &s
    }
    
    // custom type to test Stringer interface on non-pointer receiver.
    type customString string
    
    // String implements the Stringer interface for testing invocation
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 27 01:24:22 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  7. src/encoding/json/encode_test.go

    			BoolStr:    true,
    			IntStr:     42,
    			UintptrStr: 44,
    			StrStr:     "xzbit",
    			NumberStr:  "46",
    		},
    		want: `{
    	"BoolStr": "true",
    	"IntStr": "42",
    	"UintptrStr": "44",
    	"StrStr": "\"xzbit\"",
    	"NumberStr": "46"
    }`,
    	}, {
    		// See golang.org/issues/38173.
    		CaseName: Name("StringDoubleEscapes"),
    		in: StringTag{
    			StrStr:    "\b\f\n\r\t\"\\",
    			NumberStr: "0", // just to satisfy the roundtrip
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  8. pkg/controller/volume/persistentvolume/pv_controller.go

    		// if Datasource in Claim is not nil and it is not a CSI plugin,
    		strerr := fmt.Sprintf("plugin %q is not a CSI plugin. Only CSI plugin can provision a claim with a datasource", pluginName)
    		logger.V(2).Info(strerr)
    		ctrl.eventRecorder.Event(claim, v1.EventTypeWarning, events.ProvisioningFailed, strerr)
    		return pluginName, fmt.Errorf(strerr)
    
    	}
    	provisionerName := storageClass.Provisioner
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 89.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/quantization/ir/QuantOps.td

        quantized kernel.
      }];
    
      let arguments = (ins Variadic<AnyType>:$inputs,
                        TypeArrayAttr:$input_specs,
                        TypeArrayAttr:$output_specs,
                        StrAttr:$logical_kernel);
      let results = (outs Variadic<AnyType>:$outputs);
      let regions = (region SizedRegion<1>:$body);
      let hasVerifier = 1;
    }
    
    def quantfork_ReturnOp : quantfork_Op<"return", [Terminator]> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 13 12:46:08 UTC 2022
    - 10.2K bytes
    - Viewed (0)
  10. src/runtime/runtime-gdb_test.go

        chanstr <- "spongepants"
        chanstr <- "squarebob"
    	mapvar["abc"] = "def"
    	mapvar["ghi"] = "jkl"
    	slicemap["a"] = []string{"b","c","d"}
        slicemap["e"] = []string{"f","g","h"}
    	strvar := "abc"
    	ptrvar := &strvar
    	slicevar := make([]string, 0, 16)
    	slicevar = append(slicevar, mapvar["abc"])
    	fmt.Println("hi")
    	runtime.KeepAlive(ptrvar)
    	_ = ptrvar // set breakpoint here
    	gslice = slicevar
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 23.2K bytes
    - Viewed (0)
Back to top