Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 152 for mytype (0.47 sec)

  1. src/go/types/gotype.go

    //go:build ignore
    
    // Build this command explicitly: go build gotype.go
    
    /*
    The gotype command, like the front-end of a Go compiler, parses and
    type-checks a single Go package. Errors are reported if the analysis
    fails; otherwise gotype is quiet (unless -v is set).
    
    Without a list of paths, gotype reads from standard input, which
    must provide a single Go source file defining a complete package.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  2. src/cmd/fix/cftype_test.go

    var z = x != 0
    `,
    	},
    	{
    		Name: "cftype.StructField",
    		In: `package main
    
    // typedef const void *CFTypeRef;
    import "C"
    
    type T struct {
    	x C.CFTypeRef
    }
    
    var t = T{x: nil}
    `,
    		Out: `package main
    
    // typedef const void *CFTypeRef;
    import "C"
    
    type T struct {
    	x C.CFTypeRef
    }
    
    var t = T{x: 0}
    `,
    	},
    	{
    		Name: "cftype.FunctionArgument",
    		In: `package main
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 16 22:02:42 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest-typed-test.h

    };
    
    // Next, associate a list of types with the test case, which will be
    // repeated for each type in the list.  The typedef is necessary for
    // the macro to parse correctly.
    typedef testing::Types<char, int, unsigned int> MyTypes;
    TYPED_TEST_CASE(FooTest, MyTypes);
    
    // If the type list contains only one type, you can write that type
    // directly without Types<...>:
    //   TYPED_TEST_CASE(FooTest, int);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 10K bytes
    - Viewed (0)
  4. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-typed-test.h

    };
    
    // Next, associate a list of types with the test case, which will be
    // repeated for each type in the list.  The typedef is necessary for
    // the macro to parse correctly.
    typedef testing::Types<char, int, unsigned int> MyTypes;
    TYPED_TEST_CASE(FooTest, MyTypes);
    
    // If the type list contains only one type, you can write that type
    // directly without Types<...>:
    //   TYPED_TEST_CASE(FooTest, int);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfrt/ir/mlrt/mlrt_ops.td

        executed.
      }];
    
      let arguments = (ins
        I1:$cond,
        Variadic<AnyType>:$args,
        SymbolRefAttr:$a_true_fn,
        SymbolRefAttr:$b_false_fn
      );
    
      let results = (outs
        Variadic<AnyType>:$results
      );
    
      let assemblyFormat = [{
        $cond $a_true_fn $b_false_fn `(` $args `)` attr-dict `:` `(` type($args) `)` `->` `(` type($results) `)`
      }];
    }
    
    def AsyncOp: Mlrt_Op<"async", []> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 22:07:30 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/api/meta/help.go

    		if err != nil {
    			return err
    		}
    		if src.Type().AssignableTo(dest.Type()) {
    			dest.Set(src)
    		} else if src.Type().ConvertibleTo(dest.Type()) {
    			dest.Set(src.Convert(dest.Type()))
    		} else {
    			return fmt.Errorf("item[%d]: can't assign or convert %v into %v", i, src.Type(), dest.Type())
    		}
    	}
    	items.Set(slice)
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 29 16:25:43 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test.py

            rng.uniform(low=0.0, high=1.0, size=static_input_shape).astype(
                np.float32
            )
        )
    
        def data_gen() -> repr_dataset.RepresentativeDataset:
          for _ in range(100):
            yield {
                'input_tensor': rng.uniform(
                    low=0.0, high=1.0, size=static_input_shape
                ).astype(np.float32)
            }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_executor_ops.td

    // Token type.
    def TfeTokenType : Type<CPred<"$_self.isa<TokenType>()">, "token">,
                       BuildableType<"$_builder.getType<TokenType>()">;
    
    // TODO(hinsu): Define and use TensorType instead of AnyType for data operands
    // and results. For example, MergeOp output type.
    
    //===----------------------------------------------------------------------===//
    // TensorFlow Executor Type Constraint
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 23 19:35:12 UTC 2023
    - 22K bytes
    - Viewed (0)
  9. cmd/admin-handlers_test.go

    	return objLayer, erasureDirs, nil
    }
    
    // cmdType - Represents different service subcomands like status, stop
    // and restart.
    type cmdType int
    
    const (
    	restartCmd cmdType = iota
    	stopCmd
    )
    
    // toServiceSignal - Helper function that translates a given cmdType
    // value to its corresponding serviceSignal value.
    func (c cmdType) toServiceSignal() serviceSignal {
    	switch c {
    	case restartCmd:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/ir/tf_device_ops.td

    ```
      }];
    
      let arguments = (ins
        Variadic<AnyType>:$replicated_inputs,
        Variadic<AnyType>:$packed_inputs,
    
        ConfinedAttr<I32Attr, [IntMinValue<2>]>:$n,
        OptionalAttr<DictionaryAttr>:$devices
      );
    
      let results = (outs
        Variadic<AnyType>:$replicated_outputs
      );
    
      let regions = (region SizedRegion<1>:$body);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 23:53:20 UTC 2024
    - 14.8K bytes
    - Viewed (0)
Back to top