Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for parameterize (0.76 sec)

  1. docs/en/docs/advanced/advanced-dependencies.md

    ## Parameterize the instance { #parameterize-the-instance }
    
    And now, we can use `__init__` to declare the parameters of the instance that we can use to "parameterize" the dependency:
    
    {* ../../docs_src/dependencies/tutorial011_an_py39.py hl[9] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/AbstractTester.java

     *
     * @param <G> the type of the test generator required by this tester. An instance of G should
     *     somehow provide an instance of the class under test, plus any other information required to
     *     parameterize the test.
     * @author George van den Driessche
     */
    @GwtCompatible
    @NullMarked
    public class AbstractTester<G> extends TestCase {
      private G subjectGenerator;
      private String suiteName;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/PerCollectionSizeTestSuiteBuilder.java

     * @param <G> The type of the generator to be passed to testers in the generated test suite. An
     *     instance of G should somehow provide an instance of the class under test, plus any other
     *     information required to parameterize the test.
     * @see FeatureSpecificTestSuiteBuilder
     * @author George van den Driessche
     */
    @GwtIncompatible
    public abstract class PerCollectionSizeTestSuiteBuilder<
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

          }
        },
    
        /**
         * Disables cycle detection. This option causes the factory to return unmodified lock
         * implementations provided by the JDK, and is provided to allow applications to easily
         * parameterize when cycle detection is enabled.
         *
         * <p>Note that locks created by a factory with this policy will not participate the
         * cycle detection performed by locks created by other factories.
         */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/lang/MethodUtil.java

        }
    
        /**
         * Returns the element type of the parameterized collection declared as the method's argument type.
         *
         * @param method
         *            The method. Cannot be {@literal null}
         * @param position
         *            The position of the parameterized collection in the method's argument list
         * @return The element type of the parameterized collection
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/lang/GenericsUtil.java

         * </p>
         * <p>
         * If <code>type</code> is a parameterized type but has no direct type arguments, an empty array is returned.
         * This includes cases where the parameterized type contains nested types without type arguments.
         * </p>
         * <p>
         * If <code>type</code> is not a parameterized type, <code>null</code> is returned.
         * </p>
         *
         * @param type
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/lang/FieldUtil.java

            assertArgumentNotNull("field", field);
    
            return Modifier.isFinal(field.getModifiers());
        }
    
        /**
         * Returns the element type of a parameterized collection field.
         *
         * @param field a field of a parameterized collection type (must not be {@literal null})
         * @return the element type of the collection
         */
        public static Class<?> getElementTypeOfCollection(final Field field) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

            // Verify instance is created
            assertNotNull(fileInfo);
            assertEquals(FileInformation.FILE_ENDOFFILE_INFO, fileInfo.getFileInformationLevel());
        }
    
        @Test
        @DisplayName("Test parameterized constructor with end of file value")
        void testParameterizedConstructor() {
            // Test with specific end of file value
            long endOfFile = 1024L;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  9. logger/slog.go

    	SlowThreshold             time.Duration
    	Parameterized             bool
    	Colorful                  bool // Ignored in slog
    	IgnoreRecordNotFoundError bool
    }
    
    func NewSlogLogger(logger *slog.Logger, config Config) Interface {
    	return &slogLogger{
    		Logger:                    logger,
    		LogLevel:                  config.LogLevel,
    		SlowThreshold:             config.SlowThreshold,
    		Parameterized:             config.ParameterizedQueries,
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 28 09:34:58 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/FileEntryTest.java

                return length;
            }
    
            @Override
            public int getFileIndex() {
                return fileIndex;
            }
        }
    
        // Functional helpers for concise parameterized tests
        private interface IntGetter {
            int apply(FileEntry e);
        }
    
        private interface LongGetter {
            long apply(FileEntry e);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10K bytes
    - Viewed (0)
Back to top