Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 824 for getZ (0.07 sec)

  1. test/fixedbugs/issue20014.dir/main.go

    	Y int `go:"track"`
    	Z int // untracked
    }
    
    func (t *T) GetX() int {
    	return t.X
    }
    func (t *T) GetY() int {
    	return t.Y
    }
    func (t *T) GetZ() int {
    	return t.Z
    }
    
    func samePackage() {
    	var t T
    	println(t.GetX())
    	println(t.GetZ())
    }
    
    func crossPackage() {
    	var t a.T
    	println(t.GetX())
    	println(t.GetZ())
    }
    
    // This global variable is set by the linker using the -k option.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 19:48:35 UTC 2022
    - 1K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/binding/DefaultStructBindingsStoreTest.groovy

            bindings.methodBindings*.getClass() == [ManagedPropertyMethodBinding, ManagedPropertyMethodBinding]
            bindings.methodBindings*.viewMethod*.name == ["getZ", "setZ"]
        }
    
        static abstract class TypeWithImplementedProperty {
            int getZ() { 0 }
            void setZ(int value) {}
        }
    
        def "extracts simple type with an implemented property"() {
            def bindings = extract(TypeWithImplementedProperty)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 26.8K bytes
    - Viewed (0)
  3. test/fixedbugs/issue20014.dir/a/a.go

    // license that can be found in the LICENSE file.
    
    package a
    
    type T struct {
    	X int `go:"track"`
    	Y int `go:"track"`
    	Z int // untracked
    }
    
    func (t *T) GetX() int {
    	return t.X
    }
    func (t *T) GetY() int {
    	return t.Y
    }
    func (t *T) GetZ() int {
    	return t.Z
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 21 20:24:34 UTC 2021
    - 367 bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Objects.java

       * single Object array, do not get any special handling; their hash codes are based on identity
       * and not contents.
       *
       * <p>This is useful for implementing {@link Object#hashCode()}. For example, in an object that
       * has three properties, {@code x}, {@code y}, and {@code z}, one could write:
       *
       * <pre>{@code
       * public int hashCode() {
       *   return Objects.hashCode(getX(), getY(), getZ());
       * }
       * }</pre>
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Objects.java

       * single Object array, do not get any special handling; their hash codes are based on identity
       * and not contents.
       *
       * <p>This is useful for implementing {@link Object#hashCode()}. For example, in an object that
       * has three properties, {@code x}, {@code y}, and {@code z}, one could write:
       *
       * <pre>{@code
       * public int hashCode() {
       *   return Objects.hashCode(getX(), getY(), getZ());
       * }
       * }</pre>
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/gpu_fusion.cc

          // through an AddV2 as well.
          add_op = dyn_cast_or_null<AddV2Op>(relu_input);
          if (!add_op) return failure();
    
          batch_norm =
              dyn_cast_or_null<FusedBatchNormV3Op>(add_op.getX().getDefiningOp());
          if (batch_norm) {
            side_input = add_op.getY();
          } else {
            // Didn't get a FusedBatchNorm on the LHS of the AddV2, try the RHS.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 03 12:35:38 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/optimize.cc

          // Get the sign-extended value (=>int64) if the type is signed.
          float_val = apint_val.getSExtValue();
        } else {
          // Get the zero-extended value (=>uint64) if unsigned or signless.
          float_val = apint_val.getZExtValue();
        }
      }
      return DenseFPElementsAttr::get(
          RankedTensorType::get({}, builder.getF32Type()),
          {llvm::APFloat(float_val)});
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/replace_cast_hacks_with_tf_xla_ops.cc

      }
    
      Value reduced = builder.create<TF::EinsumOp>(
          loc, RankedTensorType::get(output_shape, builder.getIntegerType(32)),
          input_arguments, builder.getStringAttr(einsum_equation));
    
      reduced.getDefiningOp()->setAttr(
          kTfQuantCreatedEinsum,
          BoolAttr::get(reduced.getDefiningOp()->getContext(), true));
      auto mul_op = builder.create<TF::MulOp>(loc, zp, reduced);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/DefaultModelSchemaExtractorTest.groovy

        @Managed
        interface A1 {
            A1 getA();
    
            B1 getB();
    
            C1 getC();
    
            D1 getD();
        }
    
        @Managed
        interface B1 {
            A1 getA();
    
            B1 getB();
    
            C1 getC();
    
            D1 getD();
        }
    
        @Managed
        interface C1 {
            A1 getA();
    
            B1 getB();
    
            C1 getC();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 29.9K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/CyclicalManagedTypeIntegrationTest.groovy

                interface A {
                    String getName()
                    void setName(String name)
    
                    B getB()
                }
    
                @Managed
                interface B {
                    C getC()
                }
    
                @Managed
                interface C {
                    A getA()
                    void setA(A a)
                }
    
                class RulePlugin extends RuleSource {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top