Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for Instantiate (0.17 sec)

  1. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

            () -> tester.instantiate(FactoryMethodReturnsNullAndAnnotated.class));
      }
    
      public void testInstantiate_factoryMethodAcceptsNull() throws Exception {
        assertNull(tester.instantiate(FactoryMethodAcceptsNull.class).name);
      }
    
      public void testInstantiate_factoryMethodDoesNotAcceptNull() throws Exception {
        assertNotNull(tester.instantiate(FactoryMethodDoesNotAcceptNull.class).name);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

      }
    
      /**
       * Instantiates {@code cls} by invoking one of its non-private constructors or non-private static
       * factory methods with the parameters automatically provided using dummy values.
       *
       * @return The instantiated instance, or {@code null} if the class has no non-private constructor
       *     or factory method to be constructed.
       */
      <T> @Nullable T instantiate(Class<T> cls)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

      }
    
      /**
       * Instantiates {@code cls} by invoking one of its non-private constructors or non-private static
       * factory methods with the parameters automatically provided using dummy values.
       *
       * @return The instantiated instance, or {@code null} if the class has no non-private constructor
       *     or factory method to be constructed.
       */
      <T> @Nullable T instantiate(Class<T> cls)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbRandomAccessFile.java

        }
    
    
        /**
         * Instantiate a random access file from a {@link SmbFile}
         * 
         * @param file
         * @param mode
         * @throws SmbException
         */
        public SmbRandomAccessFile ( SmbFile file, String mode ) throws SmbException {
            this(file, mode, SmbConstants.DEFAULT_SHARING, false);
        }
    
    
        /**
         * Instantiate a random access file from a {@link SmbFile}
         * 
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 08 12:01:33 GMT 2020
    - 18.5K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/gradients/math_grad_test.cc

      outputs[0]->Unref();
      outputs[1]->Unref();
    }
    
    #ifdef PLATFORM_GOOGLE
    INSTANTIATE_TEST_SUITE_P(
        UnifiedCAPI, CppGradients,
        ::testing::Combine(::testing::Values("graphdef", "mlir"),
                           /*tfrt*/ ::testing::Values(false),
                           /*use_function*/ ::testing::Values(true, false)));
    #else
    INSTANTIATE_TEST_SUITE_P(
        UnifiedCAPI, CppGradients,
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Thu Apr 13 17:32:14 GMT 2023
    - 16.3K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

            findClassesToTest(loadClassesInPackage(), SERIALIZABLE_TEST_METHOD_NAMES)) {
          if (Serializable.class.isAssignableFrom(classToTest)) {
            try {
              Object instance = tester.instantiate(classToTest);
              if (instance != null) {
                if (isEqualsDefined(classToTest)) {
                  SerializableTester.reserializeAndAssert(instance);
                } else {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 17.5K bytes
    - Viewed (0)
  7. api/go1.18.txt

    pkg go/ast, type TypeSpec struct, TypeParams *FieldList
    pkg go/constant, method (Kind) String() string
    pkg go/token, const TILDE = 88
    pkg go/token, const TILDE Token
    pkg go/types, func Instantiate(*Context, Type, []Type, bool) (Type, error)
    pkg go/types, func NewContext() *Context
    pkg go/types, func NewSignature //deprecated
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 13K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/custom-response.md

    ### `FileResponse`
    
    Asynchronously streams a file as the response.
    
    Takes a different set of arguments to instantiate than the other response types:
    
    * `path` - The filepath to the file to stream.
    * `headers` - Any custom headers to include, as a dictionary.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

            findClassesToTest(loadClassesInPackage(), SERIALIZABLE_TEST_METHOD_NAMES)) {
          if (Serializable.class.isAssignableFrom(classToTest)) {
            try {
              Object instance = tester.instantiate(classToTest);
              if (instance != null) {
                if (isEqualsDefined(classToTest)) {
                  SerializableTester.reserializeAndAssert(instance);
                } else {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 17.5K bytes
    - Viewed (0)
  10. maven-core/src/test/resources/apiv4-repo/commons-logging/commons-logging/1.0.3/commons-logging-1.0.3.jar

    corresponding wrapper class (Jdk14Logger). Fall back to the default simple logging wrapper (SimpleLog). Load the class of the specified name from the thread context class loader (if any), or from the class loader that loaded the LogFactory class otherwise. Instantiate an instance of the selected Log implementation class, passing the specified name as the single argument to its constructor. See the SimpleLog JavaDocs for detailed configuration information for this default implementation. Configuring the Underlying...
    Archive
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 19 19:08:55 GMT 2023
    - 30.9K bytes
    - Viewed (0)
Back to top