Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for paramTypes (0.2 sec)

  1. android/guava-tests/test/com/google/common/reflect/SubtypeTester.java

        Type returnType = method.getGenericReturnType();
        Type paramType = getOnlyParameterType();
        TestSubtype spec = method.getAnnotation(TestSubtype.class);
        assertWithMessage("%s is subtype of %s", paramType, returnType)
            .that(TypeToken.of(paramType).isSubtypeOf(returnType))
            .isTrue();
        assertWithMessage("%s is supertype of %s", returnType, paramType)
            .that(TypeToken.of(returnType).isSupertypeOf(paramType))
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  2. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-param-util-generated.h.pump

      typedef ::std::tr1::tuple<$for j, [[T$j]]> ParamType;
    
      CartesianProductGenerator$i($for j, [[const ParamGenerator<T$j>& g$j]])
          : $for j, [[g$(j)_(g$j)]] {}
      virtual ~CartesianProductGenerator$i() {}
    
      virtual ParamIteratorInterface<ParamType>* Begin() const {
        return new Iterator(this, $for j, [[g$(j)_, g$(j)_.begin()]]);
      }
      virtual ParamIteratorInterface<ParamType>* End() const {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/ConstructorComparator.java

                long lhs = 0;
                for (Class<?> paramType : o1.getParameterTypes()) {
                    lhs += paramType.getCanonicalName().hashCode();
                }
                long rhs=0;
                for (Class<?> paramType : o2.getParameterTypes()) {
                    rhs += paramType.getCanonicalName().hashCode();
                }
                return Long.compare(lhs, rhs);
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/ManagedObjectFactory.java

            if (type.isAssignableFrom(Property.class)) {
                return attachOwner(getObjectFactory().property(paramType), owner, propertyName);
            }
            if (type.isAssignableFrom(ListProperty.class)) {
                return attachOwner(getObjectFactory().listProperty(paramType), owner, propertyName);
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 14 18:56:03 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-param-util-generated.h.pump

      typedef ::std::tr1::tuple<$for j, [[T$j]]> ParamType;
    
      CartesianProductGenerator$i($for j, [[const ParamGenerator<T$j>& g$j]])
          : $for j, [[g$(j)_(g$j)]] {}
      virtual ~CartesianProductGenerator$i() {}
    
      virtual ParamIteratorInterface<ParamType>* Begin() const {
        return new Iterator(this, $for j, [[g$(j)_, g$(j)_.begin()]]);
      }
      virtual ParamIteratorInterface<ParamType>* End() const {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/cel/library/lists.go

    				return sum(
    					func() ref.Val {
    						return zeroValuesOfSummableTypes[name]
    					})(list)
    			}))
    	}),
    	"max": templatedOverloads(comparableTypes, func(name string, paramType *cel.Type) cel.FunctionOpt {
    		return cel.MemberOverload(fmt.Sprintf("list_%s_max_%s", name, name),
    			[]*cel.Type{cel.ListType(paramType)}, paramType, cel.UnaryBinding(max()))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 23 21:31:27 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/DependencyInjectingInstantiator.java

            }
            return parameters;
        }
    
        private void nullPrimitiveType(int index, Class<?> paramType) {
            TreeFormatter formatter = new TreeFormatter();
            formatter.node("Unable to determine constructor argument #" + (index + 1) + ": null value is not assignable to type ");
            formatter.appendType(paramType);
            formatter.append(".");
            throw new IllegalArgumentException(formatter.toString());
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

        FreshValueGenerator paramValues = new FreshValueGenerator();
        List<@Nullable Object> passedArgs = Lists.newArrayList();
        for (Class<?> paramType : method.getParameterTypes()) {
          passedArgs.add(paramValues.generateFresh(paramType));
        }
        return passedArgs.toArray();
      }
    
      /** Tests a single interaction against a method. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 08 17:31:55 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

        FreshValueGenerator paramValues = new FreshValueGenerator();
        List<@Nullable Object> passedArgs = Lists.newArrayList();
        for (Class<?> paramType : method.getParameterTypes()) {
          passedArgs.add(paramValues.generateFresh(paramType));
        }
        return passedArgs.toArray();
      }
    
      /** Tests a single interaction against a method. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 08 17:31:55 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top